[INFO] cloning repository https://github.com/1879615351/CargoNightServer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1879615351/CargoNightServer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1879615351%2FCargoNightServer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1879615351%2FCargoNightServer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0741f14dfde49ea42ce12d03cdb7e0ffad691421
[INFO] testing 1879615351/CargoNightServer against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1879615351%2FCargoNightServer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/1879615351/CargoNightServer
[INFO] finished tweaking git repo https://github.com/1879615351/CargoNightServer
[INFO] tweaked toml for git repo https://github.com/1879615351/CargoNightServer written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/1879615351/CargoNightServer on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/1879615351/CargoNightServer 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 845583f2d2f790ac792250b04503b064de4991b6c1b47ea131e3797d6a3c1fc6
[INFO] running `Command { std: "docker" "start" "-a" "845583f2d2f790ac792250b04503b064de4991b6c1b47ea131e3797d6a3c1fc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "845583f2d2f790ac792250b04503b064de4991b6c1b47ea131e3797d6a3c1fc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "845583f2d2f790ac792250b04503b064de4991b6c1b47ea131e3797d6a3c1fc6", kill_on_drop: false }`
[INFO] [stdout] 845583f2d2f790ac792250b04503b064de4991b6c1b47ea131e3797d6a3c1fc6
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10451d785b635377cff90a0998c8e1e192ff535545945c7c0ff55c5d0b1906b2
[INFO] running `Command { std: "docker" "start" "-a" "10451d785b635377cff90a0998c8e1e192ff535545945c7c0ff55c5d0b1906b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling num-conv v0.2.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling rusticata-macros v4.1.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling data-encoding v2.11.0
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling tokio v1.52.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling oid-registry v0.7.1
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling arc-swap v1.9.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling substring v1.4.5
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling rand v0.9.4
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling waitgroup v0.1.2
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling asn1-rs-impl v0.2.0
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling asn1-rs-derive v0.5.1
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling asn1-rs-derive v0.4.0
[INFO] [stderr]    Compiling asn1-rs-impl v0.1.0
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling asn1-rs v0.6.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling block-padding v0.3.3
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling asn1-rs v0.5.2
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling der-parser v9.0.0
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling ccm v0.5.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling cbc v0.1.2
[INFO] [stderr]    Compiling tungstenite v0.29.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling simple_asn1 v0.6.4
[INFO] [stderr]    Compiling x509-parser v0.16.0
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling der-parser v8.2.0
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling axum-macros v0.5.1
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling x25519-dalek v2.0.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling smol_str v0.2.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling p384 v0.13.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling rcgen v0.13.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling sdp v0.6.2
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling webrtc-util v0.9.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.29.0
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling rtp v0.11.0
[INFO] [stderr]    Compiling stun v0.6.0
[INFO] [stderr]    Compiling rtcp v0.11.0
[INFO] [stderr]    Compiling webrtc-sctp v0.10.0
[INFO] [stderr]    Compiling webrtc-mdns v0.7.0
[INFO] [stderr]    Compiling webrtc-dtls v0.10.0
[INFO] [stderr]    Compiling webrtc-media v0.8.0
[INFO] [stderr]    Compiling turn v0.8.0
[INFO] [stderr]    Compiling webrtc-srtp v0.13.0
[INFO] [stderr]    Compiling interceptor v0.12.0
[INFO] [stderr]    Compiling webrtc-data v0.9.0
[INFO] [stderr]    Compiling webrtc-ice v0.11.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling webrtc v0.11.0
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling cargo-night-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/handlers/chat.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, routing::{get, post}, extract::{State, Path, Query}, Json};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/game/avalon/ai.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GamePhase`
[INFO] [stdout]  --> src/game/avalon/ai.rs:6:56
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::engine::{AvalonGame, TeamVote, MissionVote, GamePhase};
[INFO] [stdout]   |                                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fails_needed`
[INFO] [stdout]  --> src/game/avalon/ai.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::roles::{Role, Alignment, fails_needed};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db::AppState`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use db::AppState;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]    --> src/handlers/avalon.rs:263:17
[INFO] [stdout]     |
[INFO] [stdout] 263 |             let game = match games.get(&room_id) { Some(g) => g, None => break };
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `difficulty`
[INFO] [stdout]   --> src/handlers/ai.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let difficulty = body.difficulty.unwrap_or_else(|| "normal".into());
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/handlers/ai.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let row = sqlx::query_as::<_, crate::models::room::RoomRow>("SELECT * FROM rooms WHERE id = $1")
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]    --> src/game/avalon/ai.rs:140:70
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn select_team(&self, player_ids: &[Uuid], team_size: usize, game: &AvalonGame, rng: &mut impl Rng) -> Vec<Uuid> {
[INFO] [stdout]     |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OnlineFriend` is never constructed
[INFO] [stdout]   --> src/models/user.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct OnlineFriend {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlatformAnnouncement` is never constructed
[INFO] [stdout]   --> src/models/user.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct PlatformAnnouncement {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `game_name` is never read
[INFO] [stdout]   --> src/models/room.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct CreateRoomPayload {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub game_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateRoomPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `before` is never read
[INFO] [stdout]   --> src/models/chat.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ChatQuery {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 25 |     pub before: Option<i64>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AcceptFriendReq` is never constructed
[INFO] [stdout]   --> src/models/friend.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct AcceptFriendReq {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Signaling`, `VoiceState`, `SpeakEnd`, `Speak`, and `StageChange` are never constructed
[INFO] [stdout]   --> src/ws/manager.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum RoomEvent {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Signaling {
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     VoiceState {
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     SpeakEnd {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Speak {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     StageChange {
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RoomEvent` 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: method `remove_room` is never used
[INFO] [stdout]    --> src/ws/manager.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl WsState {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub async fn remove_room(&self, room_id: Uuid) {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalingMessage` is never constructed
[INFO] [stdout]  --> src/ws/signaling.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SignalingMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalingOut` is never constructed
[INFO] [stdout]   --> src/ws/signaling.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct SignalingOut {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `is_evil_visible_to` are never used
[INFO] [stdout]   --> src/game/avalon/roles.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Role {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 22 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn is_evil_visible_to(&self, viewer: Role) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoleConfig` is never constructed
[INFO] [stdout]   --> src/game/avalon/roles.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct RoleConfig {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `now_secs`, and `try_ai_takeover` are never used
[INFO] [stdout]    --> src/game/avalon/engine.rs:75:12
[INFO] [stdout]     |
[INFO] [stdout]  74 | impl AvalonGame {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  75 |     pub fn new(player_infos: Vec<(Uuid, String, String)>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn now_secs() -> i64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     pub fn try_ai_takeover(&mut self, player_id: Uuid) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `difficulty` are never read
[INFO] [stdout]   --> src/game/avalon/ai.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct AIPlayer {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 28 |     pub id: Uuid,
[INFO] [stdout] 29 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 30 |     pub role: Role,
[INFO] [stdout] 31 |     pub difficulty: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AIPlayer` 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: fields `round` and `event_type` are never read
[INFO] [stdout]   --> src/game/avalon/ai.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct GameEventRecord {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 40 |     pub round: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub event_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameEventRecord` 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: methods `select_team`, `choose_assassination_target`, and `ai_speak` are never used
[INFO] [stdout]    --> src/game/avalon/ai.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl AIPlayer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn select_team(&self, player_ids: &[Uuid], team_size: usize, game: &AvalonGame, rng: &mut impl Rng) -> Vec<Uuid> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn choose_assassination_target(&self, player_ids: &[Uuid], rng: &mut impl Rng) -> Uuid {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub fn ai_speak(&self, game: &AvalonGame, rng: &mut impl Rng) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_player_mut` is never used
[INFO] [stdout]    --> src/game/avalon/ai.rs:319:12
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl AIController {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub fn get_player_mut(&mut self, id: Uuid) -> Option<&mut AIPlayer> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 45s
[INFO] running `Command { std: "docker" "inspect" "10451d785b635377cff90a0998c8e1e192ff535545945c7c0ff55c5d0b1906b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10451d785b635377cff90a0998c8e1e192ff535545945c7c0ff55c5d0b1906b2", kill_on_drop: false }`
[INFO] [stdout] 10451d785b635377cff90a0998c8e1e192ff535545945c7c0ff55c5d0b1906b2
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 858dbf6fa0602608a89037057251e683504c904fc5d2c00d4bc2b743cda6885b
[INFO] running `Command { std: "docker" "start" "-a" "858dbf6fa0602608a89037057251e683504c904fc5d2c00d4bc2b743cda6885b", kill_on_drop: false }`
[INFO] [stderr]    Compiling cargo-night-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/handlers/chat.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{Router, routing::{get, post}, extract::{State, Path, Query}, Json};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/game/avalon/ai.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GamePhase`
[INFO] [stdout]  --> src/game/avalon/ai.rs:6:56
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::engine::{AvalonGame, TeamVote, MissionVote, GamePhase};
[INFO] [stdout]   |                                                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fails_needed`
[INFO] [stdout]  --> src/game/avalon/ai.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::roles::{Role, Alignment, fails_needed};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db::AppState`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use db::AppState;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]    --> src/handlers/avalon.rs:263:17
[INFO] [stdout]     |
[INFO] [stdout] 263 |             let game = match games.get(&room_id) { Some(g) => g, None => break };
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `difficulty`
[INFO] [stdout]   --> src/handlers/ai.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let difficulty = body.difficulty.unwrap_or_else(|| "normal".into());
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `row`
[INFO] [stdout]   --> src/handlers/ai.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let row = sqlx::query_as::<_, crate::models::room::RoomRow>("SELECT * FROM rooms WHERE id = $1")
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]    --> src/game/avalon/ai.rs:140:70
[INFO] [stdout]     |
[INFO] [stdout] 140 |     pub fn select_team(&self, player_ids: &[Uuid], team_size: usize, game: &AvalonGame, rng: &mut impl Rng) -> Vec<Uuid> {
[INFO] [stdout]     |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OnlineFriend` is never constructed
[INFO] [stdout]   --> src/models/user.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct OnlineFriend {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlatformAnnouncement` is never constructed
[INFO] [stdout]   --> src/models/user.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct PlatformAnnouncement {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `game_name` is never read
[INFO] [stdout]   --> src/models/room.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct CreateRoomPayload {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub game_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CreateRoomPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `before` is never read
[INFO] [stdout]   --> src/models/chat.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ChatQuery {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 25 |     pub before: Option<i64>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ChatQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AcceptFriendReq` is never constructed
[INFO] [stdout]   --> src/models/friend.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct AcceptFriendReq {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Signaling`, `VoiceState`, `SpeakEnd`, `Speak`, and `StageChange` are never constructed
[INFO] [stdout]   --> src/ws/manager.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub enum RoomEvent {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 25 |     Signaling {
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     VoiceState {
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     SpeakEnd {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     Speak {
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     StageChange {
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RoomEvent` 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: method `remove_room` is never used
[INFO] [stdout]    --> src/ws/manager.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout]  65 | impl WsState {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub async fn remove_room(&self, room_id: Uuid) {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalingMessage` is never constructed
[INFO] [stdout]  --> src/ws/signaling.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SignalingMessage {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SignalingOut` is never constructed
[INFO] [stdout]   --> src/ws/signaling.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct SignalingOut {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `name` and `is_evil_visible_to` are never used
[INFO] [stdout]   --> src/game/avalon/roles.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Role {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 22 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn is_evil_visible_to(&self, viewer: Role) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RoleConfig` is never constructed
[INFO] [stdout]   --> src/game/avalon/roles.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct RoleConfig {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `now_secs`, and `try_ai_takeover` are never used
[INFO] [stdout]    --> src/game/avalon/engine.rs:75:12
[INFO] [stdout]     |
[INFO] [stdout]  74 | impl AvalonGame {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  75 |     pub fn new(player_infos: Vec<(Uuid, String, String)>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn now_secs() -> i64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 391 |     pub fn try_ai_takeover(&mut self, player_id: Uuid) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `difficulty` are never read
[INFO] [stdout]   --> src/game/avalon/ai.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct AIPlayer {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 28 |     pub id: Uuid,
[INFO] [stdout] 29 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 30 |     pub role: Role,
[INFO] [stdout] 31 |     pub difficulty: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AIPlayer` 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: fields `round` and `event_type` are never read
[INFO] [stdout]   --> src/game/avalon/ai.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct GameEventRecord {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 40 |     pub round: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 41 |     pub event_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GameEventRecord` 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: methods `select_team`, `choose_assassination_target`, and `ai_speak` are never used
[INFO] [stdout]    --> src/game/avalon/ai.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl AIPlayer {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn select_team(&self, player_ids: &[Uuid], team_size: usize, game: &AvalonGame, rng: &mut impl Rng) -> Vec<Uuid> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn choose_assassination_target(&self, player_ids: &[Uuid], rng: &mut impl Rng) -> Uuid {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 235 |     pub fn ai_speak(&self, game: &AvalonGame, rng: &mut impl Rng) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_player_mut` is never used
[INFO] [stdout]    --> src/game/avalon/ai.rs:319:12
[INFO] [stdout]     |
[INFO] [stdout] 298 | impl AIController {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 319 |     pub fn get_player_mut(&mut self, id: Uuid) -> Option<&mut AIPlayer> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.04s
[INFO] running `Command { std: "docker" "inspect" "858dbf6fa0602608a89037057251e683504c904fc5d2c00d4bc2b743cda6885b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "858dbf6fa0602608a89037057251e683504c904fc5d2c00d4bc2b743cda6885b", kill_on_drop: false }`
[INFO] [stdout] 858dbf6fa0602608a89037057251e683504c904fc5d2c00d4bc2b743cda6885b
[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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e0d6d661e0c18c79a85df73530f0664339f6b897cbc255b4df3ce6f99e35ba8c
[INFO] running `Command { std: "docker" "start" "-a" "e0d6d661e0c18c79a85df73530f0664339f6b897cbc255b4df3ce6f99e35ba8c", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `post`
[INFO] [stderr]  --> src/handlers/chat.rs:1:35
[INFO] [stderr]   |
[INFO] [stderr] 1 | use axum::{Router, routing::{get, post}, extract::{State, Path, Query}, Json};
[INFO] [stderr]   |                                   ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stderr]  --> src/game/avalon/ai.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use rand::seq::SliceRandom;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `GamePhase`
[INFO] [stderr]  --> src/game/avalon/ai.rs:6:56
[INFO] [stderr]   |
[INFO] [stderr] 6 | use super::engine::{AvalonGame, TeamVote, MissionVote, GamePhase};
[INFO] [stderr]   |                                                        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `fails_needed`
[INFO] [stderr]  --> src/game/avalon/ai.rs:7:37
[INFO] [stderr]   |
[INFO] [stderr] 7 | use super::roles::{Role, Alignment, fails_needed};
[INFO] [stderr]   |                                     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `db::AppState`
[INFO] [stderr]   --> src/main.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use db::AppState;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `game`
[INFO] [stderr]    --> src/handlers/avalon.rs:263:17
[INFO] [stderr]     |
[INFO] [stderr] 263 |             let game = match games.get(&room_id) { Some(g) => g, None => break };
[INFO] [stderr]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `difficulty`
[INFO] [stderr]   --> src/handlers/ai.rs:39:9
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let difficulty = body.difficulty.unwrap_or_else(|| "normal".into());
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_difficulty`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `row`
[INFO] [stderr]   --> src/handlers/ai.rs:69:9
[INFO] [stderr]    |
[INFO] [stderr] 69 |     let row = sqlx::query_as::<_, crate::models::room::RoomRow>("SELECT * FROM rooms WHERE id = $1")
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_row`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `game`
[INFO] [stderr]    --> src/game/avalon/ai.rs:140:70
[INFO] [stderr]     |
[INFO] [stderr] 140 |     pub fn select_team(&self, player_ids: &[Uuid], team_size: usize, game: &AvalonGame, rng: &mut impl Rng) -> Vec<Uuid> {
[INFO] [stderr]     |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OnlineFriend` is never constructed
[INFO] [stderr]   --> src/models/user.rs:73:12
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub struct OnlineFriend {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PlatformAnnouncement` is never constructed
[INFO] [stderr]   --> src/models/user.rs:82:12
[INFO] [stderr]    |
[INFO] [stderr] 82 | pub struct PlatformAnnouncement {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `game_name` is never read
[INFO] [stderr]   --> src/models/room.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub struct CreateRoomPayload {
[INFO] [stderr]    |            ----------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub game_name: String,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CreateRoomPayload` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `before` is never read
[INFO] [stderr]   --> src/models/chat.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct ChatQuery {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 25 |     pub before: Option<i64>,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ChatQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AcceptFriendReq` is never constructed
[INFO] [stderr]   --> src/models/friend.rs:39:12
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub struct AcceptFriendReq {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Signaling`, `VoiceState`, `SpeakEnd`, `Speak`, and `StageChange` are never constructed
[INFO] [stderr]   --> src/ws/manager.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub enum RoomEvent {
[INFO] [stderr]    |          --------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 25 |     Signaling {
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     VoiceState {
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 46 |     SpeakEnd {
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 50 |     Speak {
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 55 |     StageChange {
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RoomEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `remove_room` is never used
[INFO] [stderr]    --> src/ws/manager.rs:103:18
[INFO] [stderr]     |
[INFO] [stderr]  65 | impl WsState {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 103 |     pub async fn remove_room(&self, room_id: Uuid) {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SignalingMessage` is never constructed
[INFO] [stderr]  --> src/ws/signaling.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct SignalingMessage {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SignalingOut` is never constructed
[INFO] [stderr]   --> src/ws/signaling.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct SignalingOut {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `name` and `is_evil_visible_to` are never used
[INFO] [stderr]   --> src/game/avalon/roles.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl Role {
[INFO] [stderr]    | --------- methods in this implementation
[INFO] [stderr] 22 |     pub fn name(&self) -> &str {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 42 |     pub fn is_evil_visible_to(&self, viewer: Role) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RoleConfig` is never constructed
[INFO] [stderr]   --> src/game/avalon/roles.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub struct RoleConfig {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `now_secs`, and `try_ai_takeover` are never used
[INFO] [stderr]    --> src/game/avalon/engine.rs:75:12
[INFO] [stderr]     |
[INFO] [stderr]  74 | impl AvalonGame {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr]  75 |     pub fn new(player_infos: Vec<(Uuid, String, String)>) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 112 |     pub fn now_secs() -> i64 {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 391 |     pub fn try_ai_takeover(&mut self, player_id: Uuid) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `difficulty` are never read
[INFO] [stderr]   --> src/game/avalon/ai.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub struct AIPlayer {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] 28 |     pub id: Uuid,
[INFO] [stderr] 29 |     pub name: String,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 30 |     pub role: Role,
[INFO] [stderr] 31 |     pub difficulty: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AIPlayer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `round` and `event_type` are never read
[INFO] [stderr]   --> src/game/avalon/ai.rs:40:9
[INFO] [stderr]    |
[INFO] [stderr] 39 | pub struct GameEventRecord {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr] 40 |     pub round: usize,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 41 |     pub event_type: String,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `GameEventRecord` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `select_team`, `choose_assassination_target`, and `ai_speak` are never used
[INFO] [stderr]    --> src/game/avalon/ai.rs:140:12
[INFO] [stderr]     |
[INFO] [stderr]  47 | impl AIPlayer {
[INFO] [stderr]     | ------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 140 |     pub fn select_team(&self, player_ids: &[Uuid], team_size: usize, game: &AvalonGame, rng: &mut impl Rng) -> Vec<Uuid> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 183 |     pub fn choose_assassination_target(&self, player_ids: &[Uuid], rng: &mut impl Rng) -> Uuid {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 235 |     pub fn ai_speak(&self, game: &AvalonGame, rng: &mut impl Rng) -> String {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_player_mut` is never used
[INFO] [stderr]    --> src/game/avalon/ai.rs:319:12
[INFO] [stderr]     |
[INFO] [stderr] 298 | impl AIController {
[INFO] [stderr]     | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 319 |     pub fn get_player_mut(&mut self, id: Uuid) -> Option<&mut AIPlayer> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `cargo-night-server` (bin "cargo-night-server" test) generated 25 warnings (run `cargo fix --bin "cargo-night-server" -p cargo-night-server --tests` to apply 9 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_night_server-0b32064407a7c935)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e0d6d661e0c18c79a85df73530f0664339f6b897cbc255b4df3ce6f99e35ba8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0d6d661e0c18c79a85df73530f0664339f6b897cbc255b4df3ce6f99e35ba8c", kill_on_drop: false }`
[INFO] [stdout] e0d6d661e0c18c79a85df73530f0664339f6b897cbc255b4df3ce6f99e35ba8c
