[INFO] cloning repository https://github.com/Moggers/dungeon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Moggers/dungeon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoggers%2Fdungeon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoggers%2Fdungeon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aae585bc7d2e97ad1ce5d89c1b926c9947c7cc14 [INFO] checking Moggers/dungeon/aae585bc7d2e97ad1ce5d89c1b926c9947c7cc14 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%2FMoggers%2Fdungeon" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Moggers/dungeon 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/Moggers/dungeon [INFO] finished tweaking git repo https://github.com/Moggers/dungeon [INFO] tweaked toml for git repo https://github.com/Moggers/dungeon written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Moggers/dungeon 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e898efcfff692c6ebe5a042183152097d19e30d103160e6659e2ea6ad67f7f01 [INFO] running `Command { std: "docker" "start" "-a" "e898efcfff692c6ebe5a042183152097d19e30d103160e6659e2ea6ad67f7f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e898efcfff692c6ebe5a042183152097d19e30d103160e6659e2ea6ad67f7f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e898efcfff692c6ebe5a042183152097d19e30d103160e6659e2ea6ad67f7f01", kill_on_drop: false }` [INFO] [stdout] e898efcfff692c6ebe5a042183152097d19e30d103160e6659e2ea6ad67f7f01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 29cdb3849b5c700274d3913501d3dbf7261b0b4c8736cf74000c5bfbc2e2f7dd [INFO] running `Command { std: "docker" "start" "-a" "29cdb3849b5c700274d3913501d3dbf7261b0b4c8736cf74000c5bfbc2e2f7dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling rusqlite_migration v1.2.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling sqlite3-parser v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling rusqlite-macros v0.2.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking r2d2_sqlite v0.24.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking dungeon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/server/connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/server/connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_updated` is never read [INFO] [stdout] --> src/models/position.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub last_updated: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/models/messages.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_row` is never used [INFO] [stdout] --> src/models/messages.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn from_row(r: &Row) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/models/rooms.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | room_id: i64, [INFO] [stdout] 8 | name: String, [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/server/connection.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 16 | mut conn: TcpStream, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | pool: r2d2::Pool, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> JoinHandle<()> { [INFO] [stdout] 19 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 20 | | println!("Client joined"); [INFO] [stdout] 21 | | let mut client_entity_id = None; [INFO] [stdout] 22 | | while let Ok(packet) = bincode::deserialize_from::<_, Packet>(conn.try_clone().unwrap()) [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | }) [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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dungeon` (bin "dungeon" test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `last_updated` is never read [INFO] [stdout] --> src/models/position.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub last_updated: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/models/messages.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_row` is never used [INFO] [stdout] --> src/models/messages.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Message { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 11 | pub fn from_row(r: &Row) -> rusqlite::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/models/rooms.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Room { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | room_id: i64, [INFO] [stdout] 8 | name: String, [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/server/connection.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 16 | mut conn: TcpStream, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | pool: r2d2::Pool, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> JoinHandle<()> { [INFO] [stdout] 19 | std::thread::spawn(move || { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 20 | | println!("Client joined"); [INFO] [stdout] 21 | | let mut client_entity_id = None; [INFO] [stdout] 22 | | while let Ok(packet) = bincode::deserialize_from::<_, Packet>(conn.try_clone().unwrap()) [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | }) [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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dungeon` (bin "dungeon") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "29cdb3849b5c700274d3913501d3dbf7261b0b4c8736cf74000c5bfbc2e2f7dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29cdb3849b5c700274d3913501d3dbf7261b0b4c8736cf74000c5bfbc2e2f7dd", kill_on_drop: false }` [INFO] [stdout] 29cdb3849b5c700274d3913501d3dbf7261b0b4c8736cf74000c5bfbc2e2f7dd