[INFO] fetching crate cargo-credential 0.4.6... [INFO] checking cargo-credential-0.4.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-credential 0.4.6 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cargo-credential 0.4.6 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-credential 0.4.6 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cargo-credential 0.4.6 [INFO] tweaked toml for crates.io crate cargo-credential 0.4.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-credential 0.4.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dee677173cf9f276679eeb4eb8128f43b0ab1c54395f003d247225630885f29 [INFO] running `Command { std: "docker" "start" "-a" "2dee677173cf9f276679eeb4eb8128f43b0ab1c54395f003d247225630885f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dee677173cf9f276679eeb4eb8128f43b0ab1c54395f003d247225630885f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dee677173cf9f276679eeb4eb8128f43b0ab1c54395f003d247225630885f29", kill_on_drop: false }` [INFO] [stdout] 2dee677173cf9f276679eeb4eb8128f43b0ab1c54395f003d247225630885f29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a37bdadd2070ade8bada21082cb6ddba34aa42f6decddd46b6545f6e3a62de8 [INFO] running `Command { std: "docker" "start" "-a" "0a37bdadd2070ade8bada21082cb6ddba34aa42f6decddd46b6545f6e3a62de8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling escargot v0.5.10 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-lossy v1.1.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking snapbox-macros v0.3.9 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking anstyle-svg v0.1.3 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking snapbox v0.6.7 [INFO] [stderr] Checking cargo-credential v0.4.6 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(value: anyhow::Error) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut prev = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Error::Other(prev.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/secret.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn map(self, f: F) -> Secret [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Secret::from(f(self.inner)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stdio.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn stdin_stdout_to_console(f: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | let mut stdin = File::open(imp::IN_DEVICE).or_else(|_| File::open(imp::NULL_DEVICE))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let mut stdout = open_write(imp::OUT_DEVICE).or_else(|_| open_write(imp::NULL_DEVICE))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | let _stdin_guard = imp::ReplacementGuard::new(Stdio::Stdin, &mut stdin)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let _stdout_guard = imp::ReplacementGuard::new(Stdio::Stdout, &mut stdout)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Ok(f()) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn from(value: anyhow::Error) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut prev = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Error::Other(prev.unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/secret.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn map(self, f: F) -> Secret [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Secret::from(f(self.inner)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-credential` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stdio.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn stdin_stdout_to_console(f: F) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 11 | let mut stdin = File::open(imp::IN_DEVICE).or_else(|_| File::open(imp::NULL_DEVICE))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let mut stdout = open_write(imp::OUT_DEVICE).or_else(|_| open_write(imp::NULL_DEVICE))?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | let _stdin_guard = imp::ReplacementGuard::new(Stdio::Stdin, &mut stdin)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let _stdout_guard = imp::ReplacementGuard::new(Stdio::Stdout, &mut stdout)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Ok(f()) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-credential` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "0a37bdadd2070ade8bada21082cb6ddba34aa42f6decddd46b6545f6e3a62de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a37bdadd2070ade8bada21082cb6ddba34aa42f6decddd46b6545f6e3a62de8", kill_on_drop: false }` [INFO] [stdout] 0a37bdadd2070ade8bada21082cb6ddba34aa42f6decddd46b6545f6e3a62de8