[INFO] cloning repository https://github.com/Comeza/gpn-maze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Comeza/gpn-maze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComeza%2Fgpn-maze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FComeza%2Fgpn-maze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2ae5dadca20c93f09e4776fdec31fecb2d56a35 [INFO] checking Comeza/gpn-maze/a2ae5dadca20c93f09e4776fdec31fecb2d56a35 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%2FComeza%2Fgpn-maze" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Comeza/gpn-maze 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/Comeza/gpn-maze [INFO] finished tweaking git repo https://github.com/Comeza/gpn-maze [INFO] tweaked toml for git repo https://github.com/Comeza/gpn-maze written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Comeza/gpn-maze 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0d1a92db123ea56bec2a96bc1cef8ac0ab381bed8fc437199a4f4be3da3cbcf1 [INFO] running `Command { std: "docker" "start" "-a" "0d1a92db123ea56bec2a96bc1cef8ac0ab381bed8fc437199a4f4be3da3cbcf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1a92db123ea56bec2a96bc1cef8ac0ab381bed8fc437199a4f4be3da3cbcf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1a92db123ea56bec2a96bc1cef8ac0ab381bed8fc437199a4f4be3da3cbcf1", kill_on_drop: false }` [INFO] [stdout] 0d1a92db123ea56bec2a96bc1cef8ac0ab381bed8fc437199a4f4be3da3cbcf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c38d864d5a58af52045e6e00f4de965ff838b3ac8caf932947d9f9c2c07aaa8c [INFO] running `Command { std: "docker" "start" "-a" "c38d864d5a58af52045e6e00f4de965ff838b3ac8caf932947d9f9c2c07aaa8c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking once_cell v1.11.0 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking staubichsauger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::io::AsyncRead` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::AsyncRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncRead` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::AsyncRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | _=> {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 109 | PrioMode::Random => space.shuffle(&mut thread_rng()), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 110 | PrioMode::Distance => space [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 111 | .sort_unstable_by_key(|d| -(pos.add(d).distance(&state.goal) * 100f32) as i32), [INFO] [stdout] 112 | PrioMode::Deterministic(seq) => { space [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | _=> {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | _=> {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/main.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 109 | PrioMode::Random => space.shuffle(&mut thread_rng()), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 110 | PrioMode::Distance => space [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 111 | .sort_unstable_by_key(|d| -(pos.add(d).distance(&state.goal) * 100f32) as i32), [INFO] [stdout] 112 | PrioMode::Deterministic(seq) => { space [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | _=> {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | goal, [INFO] [stdout] | ^^^^ help: try ignoring the field: `goal: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | start, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stree` [INFO] [stdout] --> src/main.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | fn flood(state: &mut State, stree: &STree, curr: &Position) -> HashSet { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `goal` [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | goal, [INFO] [stdout] | ^^^^ help: try ignoring the field: `goal: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | start, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `start: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stree` [INFO] [stdout] --> src/main.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | fn flood(state: &mut State, stree: &STree, curr: &Position) -> HashSet { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stree` [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:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 65 | || if DRAW { [INFO] [stdout] 66 | || draw_sate(&state.lock().expect("Could not lock state")); [INFO] [stdout] 67 | || } [INFO] [stdout] 68 | || tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 69 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 65 | || if DRAW { [INFO] [stdout] 66 | || draw_sate(&state.lock().expect("Could not lock state")); [INFO] [stdout] 67 | || } [INFO] [stdout] 68 | || tokio::time::sleep(Duration::from_millis(1000)).await; [INFO] [stdout] 69 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | write!(stream.get_mut(), "chat|im stuck :/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | write!(stream.get_mut(), "chat|im stuck :/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staubichsauger` (bin "staubichsauger" test) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `staubichsauger` (bin "staubichsauger") due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c38d864d5a58af52045e6e00f4de965ff838b3ac8caf932947d9f9c2c07aaa8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38d864d5a58af52045e6e00f4de965ff838b3ac8caf932947d9f9c2c07aaa8c", kill_on_drop: false }` [INFO] [stdout] c38d864d5a58af52045e6e00f4de965ff838b3ac8caf932947d9f9c2c07aaa8c