[INFO] fetching crate teams 4.0.1... [INFO] checking teams-4.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate teams 4.0.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate teams 4.0.1 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 teams 4.0.1 [INFO] finished tweaking crates.io crate teams 4.0.1 [INFO] tweaked toml for crates.io crate teams 4.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate teams 4.0.1 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1ff37434100ed122a71598db6e66367d9d12b2359a240e4964dcc14c3fc97b38 [INFO] running `Command { std: "docker" "start" "-a" "1ff37434100ed122a71598db6e66367d9d12b2359a240e4964dcc14c3fc97b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ff37434100ed122a71598db6e66367d9d12b2359a240e4964dcc14c3fc97b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff37434100ed122a71598db6e66367d9d12b2359a240e4964dcc14c3fc97b38", kill_on_drop: false }` [INFO] [stdout] 1ff37434100ed122a71598db6e66367d9d12b2359a240e4964dcc14c3fc97b38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 169379d0bb479f27c484b6cd30dcfe5dcd3b0a069fb5f75e29daa1da7a4e6d1d [INFO] running `Command { std: "docker" "start" "-a" "169379d0bb479f27c484b6cd30dcfe5dcd3b0a069fb5f75e29daa1da7a4e6d1d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking teams v4.0.1 (/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/main.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 118 | let log = File::create("log").expect("failed to create log"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | read_to_string("log").expect("failed to parse file") [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/main.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 440 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 441 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 442 | package.clone().homepage.expect("no homepage") [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/main.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 446 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 447 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 448 | / package [INFO] [stdout] 449 | | .clone() [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/main.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 456 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 457 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 458 | / package [INFO] [stdout] 459 | | .clone() [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/main.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 466 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 468 | package.clone().repository.expect("no repository define") [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 5 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/main.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 118 | let log = File::create("log").expect("failed to create log"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | read_to_string("log").expect("failed to parse file") [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] [stderr] error: could not compile `teams` (bin "teams") due to 6 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/main.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 440 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 441 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 442 | package.clone().homepage.expect("no homepage") [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/main.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 446 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 447 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 448 | / package [INFO] [stdout] 449 | | .clone() [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/main.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 456 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 457 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 458 | / package [INFO] [stdout] 459 | | .clone() [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/main.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 466 | let metadata = MetadataCommand::new().no_deps().exec().unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | let package: &cargo_metadata::Package = metadata.packages.first().unwrap(); [INFO] [stdout] 468 | package.clone().repository.expect("no repository define") [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teams` (bin "teams" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "169379d0bb479f27c484b6cd30dcfe5dcd3b0a069fb5f75e29daa1da7a4e6d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "169379d0bb479f27c484b6cd30dcfe5dcd3b0a069fb5f75e29daa1da7a4e6d1d", kill_on_drop: false }` [INFO] [stdout] 169379d0bb479f27c484b6cd30dcfe5dcd3b0a069fb5f75e29daa1da7a4e6d1d