[INFO] cloning repository https://github.com/TGElder/async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TGElder/async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTGElder%2Fasync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTGElder%2Fasync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a00d0bb2c0c4cc354ae707987aba6488280d5ea1 [INFO] checking TGElder/async/a00d0bb2c0c4cc354ae707987aba6488280d5ea1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTGElder%2Fasync" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TGElder/async 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 git repo https://github.com/TGElder/async [INFO] finished tweaking git repo https://github.com/TGElder/async [INFO] tweaked toml for git repo https://github.com/TGElder/async written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TGElder/async 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] a2d70f3fd601a2a056e30e8b1cb3e9fb340c08c4cfe5aa046bf5d1d218f43548 [INFO] running `Command { std: "docker" "start" "-a" "a2d70f3fd601a2a056e30e8b1cb3e9fb340c08c4cfe5aa046bf5d1d218f43548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2d70f3fd601a2a056e30e8b1cb3e9fb340c08c4cfe5aa046bf5d1d218f43548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d70f3fd601a2a056e30e8b1cb3e9fb340c08c4cfe5aa046bf5d1d218f43548", kill_on_drop: false }` [INFO] [stdout] a2d70f3fd601a2a056e30e8b1cb3e9fb340c08c4cfe5aa046bf5d1d218f43548 [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] 76d16549349ec55f88d33d3b4c00d943d447cdae3612a72c363f816473a947c4 [INFO] running `Command { std: "docker" "start" "-a" "76d16549349ec55f88d33d3b4c00d943d447cdae3612a72c363f816473a947c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | fn consume(&self, state: &Game) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extracted_usize` [INFO] [stdout] --> src/main.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let extracted_usize = game_updater [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extracted_usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extracted_string` [INFO] [stdout] --> src/main.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | let extracted_string = game_updater [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extracted_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/main.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 207 | consumer: GameEventConsumer, [INFO] [stdout] 208 | tx: SyncSender>>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:173:22 [INFO] [stdout] | [INFO] [stdout] 169 | let game_updater = self.game_updater.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let pathfinder_updater = self.pathfinder_updater.clone(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let active = self.active.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | thread::spawn(move || { [INFO] [stdout] 173 | block_on(async { [INFO] [stdout] | ______________________^ [INFO] [stdout] 174 | | let paths = pathfinder_updater [INFO] [stdout] 175 | | .update(|pathfinder| { [INFO] [stdout] 176 | | println!("Found path {}", pathfinder.paths); [INFO] [stdout] ... | [INFO] [stdout] 200 | | *active.lock().unwrap() = false; [INFO] [stdout] 201 | | }) [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:222:23 [INFO] [stdout] | [INFO] [stdout] 215 | let (tx, rx) = mpsc::sync_channel(10_000); [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] 216 | let mut pathfinder = Pathfinder::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | let pathfinder_updater = pathfinder.updater(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | consumer: GameEventConsumer { [INFO] [stdout] | _______________________^ [INFO] [stdout] 223 | | game_updater: GameUpdater { tx: tx.clone() }, [INFO] [stdout] 224 | | pathfinder_updater, [INFO] [stdout] 225 | | active: Arc::new(Mutex::new(false)), [INFO] [stdout] 226 | | }, [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 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async` (bin "async" test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | fn consume(&self, state: &Game) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extracted_usize` [INFO] [stdout] --> src/main.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let extracted_usize = game_updater [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extracted_usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extracted_string` [INFO] [stdout] --> src/main.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | let extracted_string = game_updater [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extracted_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx` is never read [INFO] [stdout] --> src/main.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 206 | struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 207 | consumer: GameEventConsumer, [INFO] [stdout] 208 | tx: SyncSender>>, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:173:22 [INFO] [stdout] | [INFO] [stdout] 169 | let game_updater = self.game_updater.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | let pathfinder_updater = self.pathfinder_updater.clone(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | let active = self.active.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | thread::spawn(move || { [INFO] [stdout] 173 | block_on(async { [INFO] [stdout] | ______________________^ [INFO] [stdout] 174 | | let paths = pathfinder_updater [INFO] [stdout] 175 | | .update(|pathfinder| { [INFO] [stdout] 176 | | println!("Found path {}", pathfinder.paths); [INFO] [stdout] ... | [INFO] [stdout] 200 | | *active.lock().unwrap() = false; [INFO] [stdout] 201 | | }) [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:222:23 [INFO] [stdout] | [INFO] [stdout] 215 | let (tx, rx) = mpsc::sync_channel(10_000); [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] 216 | let mut pathfinder = Pathfinder::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | let pathfinder_updater = pathfinder.updater(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 222 | consumer: GameEventConsumer { [INFO] [stdout] | _______________________^ [INFO] [stdout] 223 | | game_updater: GameUpdater { tx: tx.clone() }, [INFO] [stdout] 224 | | pathfinder_updater, [INFO] [stdout] 225 | | active: Arc::new(Mutex::new(false)), [INFO] [stdout] 226 | | }, [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 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async` (bin "async") due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76d16549349ec55f88d33d3b4c00d943d447cdae3612a72c363f816473a947c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d16549349ec55f88d33d3b4c00d943d447cdae3612a72c363f816473a947c4", kill_on_drop: false }` [INFO] [stdout] 76d16549349ec55f88d33d3b4c00d943d447cdae3612a72c363f816473a947c4