[INFO] fetching crate birdcage 0.8.1... [INFO] checking birdcage-0.8.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate birdcage 0.8.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate birdcage 0.8.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 birdcage 0.8.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate birdcage 0.8.1 [INFO] tweaked toml for crates.io crate birdcage 0.8.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate birdcage 0.8.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-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] a83e8e47ccc5efad9ecc309e1b78c182c9a63a4812d9be3fc3159a64f37c23af [INFO] running `Command { std: "docker" "start" "-a" "a83e8e47ccc5efad9ecc309e1b78c182c9a63a4812d9be3fc3159a64f37c23af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a83e8e47ccc5efad9ecc309e1b78c182c9a63a4812d9be3fc3159a64f37c23af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83e8e47ccc5efad9ecc309e1b78c182c9a63a4812d9be3fc3159a64f37c23af", kill_on_drop: false }` [INFO] [stdout] a83e8e47ccc5efad9ecc309e1b78c182c9a63a4812d9be3fc3159a64f37c23af [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] e852f8490d01636a41794c974e99b0c3b5d93b6f0affa722df0036080f0e5b96 [INFO] running `Command { std: "docker" "start" "-a" "e852f8490d01636a41794c974e99b0c3b5d93b6f0affa722df0036080f0e5b96", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking seccompiler v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking birdcage v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling clap_derive v3.2.25 [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/linux/mod.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 159 | let init_arg: Box = unsafe { Box::from_raw(arg as _) }; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | [INFO] [stdout] 161 | match sandbox_init_inner(*init_arg) { [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/linux/mod.rs:422:33 [INFO] [stdout] | [INFO] [stdout] 422 | path.ancestors().any(|path| path.read_link().is_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/process/linux.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 335 | exit_signal: OwnedFd, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | stdin: Option, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | stdout: Option, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | stderr: Option, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 339 | ) -> io::Result { [INFO] [stdout] 340 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 341 | | exit_signal, [INFO] [stdout] 342 | | pid: pid as u32, [INFO] [stdout] 343 | | stdin: stdin.map(ChildStdin::new).transpose()?, [INFO] [stdout] 344 | | stdout: stdout.map(ChildStdout::new).transpose()?, [INFO] [stdout] 345 | | stderr: stderr.map(ChildStderr::new).transpose()?, [INFO] [stdout] 346 | | }) [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/process/linux.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 708 | fn new(fd: OwnedFd) -> io::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | Ok(Self { fd }) [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/process/linux.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 737 | fn new(fd: OwnedFd) -> io::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 738 | Ok(Self { fd }) [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/process/linux.rs:783:12 [INFO] [stdout] | [INFO] [stdout] 768 | fn new(stdout: Option, stderr: Option) -> io::Result { [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] 783 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 784 | | poll_fds, [INFO] [stdout] 785 | | stdout, [INFO] [stdout] 786 | | stderr, [INFO] [stdout] 787 | | stdout_buffer: Default::default(), [INFO] [stdout] 788 | | stderr_buffer: Default::default(), [INFO] [stdout] 789 | | }) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `birdcage` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e852f8490d01636a41794c974e99b0c3b5d93b6f0affa722df0036080f0e5b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e852f8490d01636a41794c974e99b0c3b5d93b6f0affa722df0036080f0e5b96", kill_on_drop: false }` [INFO] [stdout] e852f8490d01636a41794c974e99b0c3b5d93b6f0affa722df0036080f0e5b96