[INFO] fetching crate cargo-ndk 3.5.4... [INFO] checking cargo-ndk-3.5.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-ndk 3.5.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cargo-ndk 3.5.4 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-ndk 3.5.4 [INFO] finished tweaking crates.io crate cargo-ndk 3.5.4 [INFO] tweaked toml for crates.io crate cargo-ndk 3.5.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-ndk 3.5.4 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3f8a9d222c6d983326cb6a4bfb7ecf6c738432443f8530ddb54e9bc74252e600 [INFO] running `Command { std: "docker" "start" "-a" "3f8a9d222c6d983326cb6a4bfb7ecf6c738432443f8530ddb54e9bc74252e600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f8a9d222c6d983326cb6a4bfb7ecf6c738432443f8530ddb54e9bc74252e600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8a9d222c6d983326cb6a4bfb7ecf6c738432443f8530ddb54e9bc74252e600", kill_on_drop: false }` [INFO] [stdout] 3f8a9d222c6d983326cb6a4bfb7ecf6c738432443f8530ddb54e9bc74252e600 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] bd6aabc46a5db87519acfb433384336ab562670cb930d0a03d5df6ebe35f8144 [INFO] running `Command { std: "docker" "start" "-a" "bd6aabc46a5db87519acfb433384336ab562670cb930d0a03d5df6ebe35f8144", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rustix v0.38.27 [INFO] [stderr] Checking utf8-decode v1.0.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking winnow v0.5.26 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking pct-str v1.2.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking eieio v1.0.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking version_check v0.9.4 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking iref v1.4.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Checking pathos v0.3.0 [INFO] [stderr] Checking gumdrop v0.8.1 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking cargo-platform v0.1.5 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking cargo-ndk v3.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | panic::{self, PanicInfo}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | panic::{self, PanicInfo}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/cli.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | fn panic_hook(info: &PanicInfo<'_>) { [INFO] [stdout] | ^^^^^^^^^ [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/cargo.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 224 | let mut cargo_cmd = Command::new(&cargo_bin); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | cargo_cmd.args(cargo_args).status().expect("cargo crashed") [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/cli.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 96 | .filter_map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let path = x.path(); [INFO] [stdout] 98 | / path.components() [INFO] [stdout] 99 | | .last() [INFO] [stdout] 100 | | .and_then(|comp| comp.as_os_str().to_str()) [INFO] [stdout] 101 | | .and_then(|name| Version::parse(name).ok()) [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/cli.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | .and_then(|name| Version::parse(name).ok()) [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/shell.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn from_write(out: Box) -> Shell { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Shell { [INFO] [stdout] 122 | output: ShellOut::Write(out), [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/cargo.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 224 | let mut cargo_cmd = Command::new(&cargo_bin); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | cargo_cmd.args(cargo_args).status().expect("cargo crashed") [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/cli.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 96 | .filter_map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let path = x.path(); [INFO] [stdout] 98 | / path.components() [INFO] [stdout] 99 | | .last() [INFO] [stdout] 100 | | .and_then(|comp| comp.as_os_str().to_str()) [INFO] [stdout] 101 | | .and_then(|name| Version::parse(name).ok()) [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/cli.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | .and_then(|name| Version::parse(name).ok()) [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/shell.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn from_write(out: Box) -> Shell { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Shell { [INFO] [stdout] 122 | output: ShellOut::Write(out), [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: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-ndk` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-ndk` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd6aabc46a5db87519acfb433384336ab562670cb930d0a03d5df6ebe35f8144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd6aabc46a5db87519acfb433384336ab562670cb930d0a03d5df6ebe35f8144", kill_on_drop: false }` [INFO] [stdout] bd6aabc46a5db87519acfb433384336ab562670cb930d0a03d5df6ebe35f8144