[INFO] fetching crate retread 0.1.1... [INFO] checking retread-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate retread 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate retread 0.1.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 retread 0.1.1 [INFO] finished tweaking crates.io crate retread 0.1.1 [INFO] tweaked toml for crates.io crate retread 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate retread 0.1.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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 41e7882ff83dff8e1020e81cdf36b94041c5bf3f9830675cc902d36baa650b88 [INFO] running `Command { std: "docker" "start" "-a" "41e7882ff83dff8e1020e81cdf36b94041c5bf3f9830675cc902d36baa650b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41e7882ff83dff8e1020e81cdf36b94041c5bf3f9830675cc902d36baa650b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e7882ff83dff8e1020e81cdf36b94041c5bf3f9830675cc902d36baa650b88", kill_on_drop: false }` [INFO] [stdout] 41e7882ff83dff8e1020e81cdf36b94041c5bf3f9830675cc902d36baa650b88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] befd907d939a9c1f5a939e5e8af3aade0b66e300bbdd7cef0966bb00ea0058d1 [INFO] running `Command { std: "docker" "start" "-a" "befd907d939a9c1f5a939e5e8af3aade0b66e300bbdd7cef0966bb00ea0058d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling serde v1.0.182 [INFO] [stderr] Compiling serde_derive v1.0.182 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling moka v0.11.3 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking triomphe v0.1.9 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking lcs v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking quanta v0.11.1 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking regex-automata v0.3.6 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking log-panics v2.1.0 [INFO] [stderr] Checking dap v0.3.1-alpha1 [INFO] [stderr] Checking regex v1.9.3 [INFO] [stderr] Checking retread v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crossbeam::channel::Sender` [INFO] [stdout] --> src/dap_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam::channel::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::channel::Sender` [INFO] [stdout] --> src/dap_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam::channel::Sender; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dap::responses::*` [INFO] [stdout] --> src/dap_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use dap::responses::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dap::responses::*` [INFO] [stdout] --> src/dap_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use dap::responses::*; [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/app_state.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new(settings: LogSearchSettings) -> Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let include = settings [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Ok(RunningState { [INFO] [stdout] | ____________^ [INFO] [stdout] 187 | | settings, [INFO] [stdout] 188 | | log_index: 0, [INFO] [stdout] 189 | | breakpoints: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 192 | | files, [INFO] [stdout] 193 | | }) [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/app_state.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | .flat_map(|p| glob(p).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] [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/app_state.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | .flat_map(|p| glob(p).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] [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/app_state.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | .flat_map(|f| match std::fs::read_to_string(f) { [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/dap_server.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 38 | let (tx, rx) = unbounded::(); [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] 53 | let server = Server::new(BufReader::new(stdin()), BufWriter::new(stdout())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | DapServer { [INFO] [stdout] 55 | outgoing: Mutex::new(server), [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/app_state.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new(settings: LogSearchSettings) -> Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 162 | let include = settings [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 186 | Ok(RunningState { [INFO] [stdout] | ____________^ [INFO] [stdout] 187 | | settings, [INFO] [stdout] 188 | | log_index: 0, [INFO] [stdout] 189 | | breakpoints: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 192 | | files, [INFO] [stdout] 193 | | }) [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/app_state.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | .flat_map(|p| glob(p).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] [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/app_state.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | .flat_map(|p| glob(p).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] [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/app_state.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | .flat_map(|f| match std::fs::read_to_string(f) { [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/dap_server.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 38 | let (tx, rx) = unbounded::(); [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] 53 | let server = Server::new(BufReader::new(stdin()), BufWriter::new(stdout())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | DapServer { [INFO] [stdout] 55 | outgoing: Mutex::new(server), [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `retread` (bin "retread") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `retread` (bin "retread" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "befd907d939a9c1f5a939e5e8af3aade0b66e300bbdd7cef0966bb00ea0058d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befd907d939a9c1f5a939e5e8af3aade0b66e300bbdd7cef0966bb00ea0058d1", kill_on_drop: false }` [INFO] [stdout] befd907d939a9c1f5a939e5e8af3aade0b66e300bbdd7cef0966bb00ea0058d1