[INFO] cloning repository https://github.com/DaAlbrecht/tichu-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaAlbrecht/tichu-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAlbrecht%2Ftichu-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAlbrecht%2Ftichu-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0c47cf9c5466e5fbde0856f0dcc49c30fbd41be [INFO] checking DaAlbrecht/tichu-rs/d0c47cf9c5466e5fbde0856f0dcc49c30fbd41be against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAlbrecht%2Ftichu-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DaAlbrecht/tichu-rs on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DaAlbrecht/tichu-rs [INFO] finished tweaking git repo https://github.com/DaAlbrecht/tichu-rs [INFO] tweaked toml for git repo https://github.com/DaAlbrecht/tichu-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DaAlbrecht/tichu-rs 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5dd60feebcda1fe4b7e1c9612db01a8a99d5d39eba4d4734507338f385d367b [INFO] running `Command { std: "docker" "start" "-a" "e5dd60feebcda1fe4b7e1c9612db01a8a99d5d39eba4d4734507338f385d367b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5dd60feebcda1fe4b7e1c9612db01a8a99d5d39eba4d4734507338f385d367b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5dd60feebcda1fe4b7e1c9612db01a8a99d5d39eba4d4734507338f385d367b", kill_on_drop: false }` [INFO] [stdout] e5dd60feebcda1fe4b7e1c9612db01a8a99d5d39eba4d4734507338f385d367b [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d87a487fa1406241c542abbb331fb773c27bdaedecdbfdb3809ddb6d09971f2 [INFO] running `Command { std: "docker" "start" "-a" "0d87a487fa1406241c542abbb331fb773c27bdaedecdbfdb3809ddb6d09971f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking state v0.6.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking engineioxide v0.10.2 [INFO] [stderr] Checking socketioxide v0.10.2 [INFO] [stderr] Checking tichu-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> src/handlers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> src/handlers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 86 | |socket: SocketRef, Data::(playturn), game_store: State| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | let mut guard = game_store.lock().unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | match game.play_turn(turn) { [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: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/events.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 86 | |socket: SocketRef, Data::(playturn), game_store: State| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | let mut guard = game_store.lock().unwrap(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | match game.play_turn(turn) { [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: associated items `new`, `validate_exchange`, and `cleanup_trick` are never used [INFO] [stdout] --> src/game_core/core.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(game_id: String, players: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn validate_exchange(&self, exchange: &Exchange) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn cleanup_trick(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player` and `player_card` are never read [INFO] [stdout] --> src/game_core/types.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct Exchange { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 321 | pub player: Sid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 322 | pub player_card: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exchange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_none_blocking_exchange_loop` is never used [INFO] [stdout] --> src/handlers.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn start_none_blocking_exchange_loop(game_id: String, app_state: State) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trick` [INFO] [stdout] --> src/game_core/tests.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | let trick = TrickType::try_from(cards.as_slice()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trick` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tichu-rs` (bin "tichu-rs") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `start_none_blocking_exchange_loop` is never used [INFO] [stdout] --> src/handlers.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn start_none_blocking_exchange_loop(game_id: String, app_state: State) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tichu-rs` (bin "tichu-rs" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0d87a487fa1406241c542abbb331fb773c27bdaedecdbfdb3809ddb6d09971f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d87a487fa1406241c542abbb331fb773c27bdaedecdbfdb3809ddb6d09971f2", kill_on_drop: false }` [INFO] [stdout] 0d87a487fa1406241c542abbb331fb773c27bdaedecdbfdb3809ddb6d09971f2