[INFO] cloning repository https://github.com/zexa/mafia-lol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zexa/mafia-lol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzexa%2Fmafia-lol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzexa%2Fmafia-lol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb96afac1234434234c5b8e10b70c8f88395639d [INFO] testing zexa/mafia-lol against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzexa%2Fmafia-lol" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zexa/mafia-lol on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zexa/mafia-lol [INFO] finished tweaking git repo https://github.com/zexa/mafia-lol [INFO] tweaked toml for git repo https://github.com/zexa/mafia-lol written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/zexa/mafia-lol already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a648c64361614838e932113145624d0a72fabdd3c36c2fcb112132e1d41026 [INFO] running `Command { std: "docker" "start" "-a" "f6a648c64361614838e932113145624d0a72fabdd3c36c2fcb112132e1d41026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a648c64361614838e932113145624d0a72fabdd3c36c2fcb112132e1d41026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a648c64361614838e932113145624d0a72fabdd3c36c2fcb112132e1d41026", kill_on_drop: false }` [INFO] [stdout] f6a648c64361614838e932113145624d0a72fabdd3c36c2fcb112132e1d41026 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e8f087e3e1187126bcfe78deb132f26a3b1542b512471170f41490d7505f663 [INFO] running `Command { std: "docker" "start" "-a" "3e8f087e3e1187126bcfe78deb132f26a3b1542b512471170f41490d7505f663", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nanoid v0.3.0 [INFO] [stderr] Compiling mafia-lol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `set_role_pool` [INFO] [stdout] --> src/lobby/lobby_manager.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_role_pool(lobby: &mut Lobby, role_pool: Vec) -> &Lobby { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/game/game_player.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unassigned` [INFO] [stdout] --> src/game/game_player_role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Unassigned, // Specatator [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Admin` [INFO] [stdout] --> src/game/game_player_role.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Admin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Godfather` [INFO] [stdout] --> src/game/game_player_role.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Godfather, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Goon` [INFO] [stdout] --> src/game/game_player_role.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Goon, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hooker` [INFO] [stdout] --> src/game/game_player_role.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Hooker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Townie` [INFO] [stdout] --> src/game/game_player_role.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Townie, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Medic` [INFO] [stdout] --> src/game/game_player_role.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Medic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sherif` [INFO] [stdout] --> src/game/game_player_role.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Sherif, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vigilante` [INFO] [stdout] --> src/game/game_player_role.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Vigilante, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SerialKiller` [INFO] [stdout] --> src/game/game_player_role.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | SerialKiller, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alien` [INFO] [stdout] --> src/game/game_player_role.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Alien, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "3e8f087e3e1187126bcfe78deb132f26a3b1542b512471170f41490d7505f663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8f087e3e1187126bcfe78deb132f26a3b1542b512471170f41490d7505f663", kill_on_drop: false }` [INFO] [stdout] 3e8f087e3e1187126bcfe78deb132f26a3b1542b512471170f41490d7505f663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d7cd885e7d5de9d2771f638a99d41b4533d83b5d3b8ecc69f8de53fe04c8a1 [INFO] running `Command { std: "docker" "start" "-a" "e4d7cd885e7d5de9d2771f638a99d41b4533d83b5d3b8ecc69f8de53fe04c8a1", kill_on_drop: false }` [INFO] [stderr] Compiling mafia-lol v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `set_role_pool` [INFO] [stdout] --> src/lobby/lobby_manager.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn set_role_pool(lobby: &mut Lobby, role_pool: Vec) -> &Lobby { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/game/game_player.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unassigned` [INFO] [stdout] --> src/game/game_player_role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Unassigned, // Specatator [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Admin` [INFO] [stdout] --> src/game/game_player_role.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Admin, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Godfather` [INFO] [stdout] --> src/game/game_player_role.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Godfather, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Goon` [INFO] [stdout] --> src/game/game_player_role.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Goon, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hooker` [INFO] [stdout] --> src/game/game_player_role.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Hooker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Townie` [INFO] [stdout] --> src/game/game_player_role.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Townie, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Medic` [INFO] [stdout] --> src/game/game_player_role.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Medic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sherif` [INFO] [stdout] --> src/game/game_player_role.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Sherif, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vigilante` [INFO] [stdout] --> src/game/game_player_role.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Vigilante, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SerialKiller` [INFO] [stdout] --> src/game/game_player_role.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | SerialKiller, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Alien` [INFO] [stdout] --> src/game/game_player_role.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Alien, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/game_player_role.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4d7cd885e7d5de9d2771f638a99d41b4533d83b5d3b8ecc69f8de53fe04c8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d7cd885e7d5de9d2771f638a99d41b4533d83b5d3b8ecc69f8de53fe04c8a1", kill_on_drop: false }` [INFO] [stdout] e4d7cd885e7d5de9d2771f638a99d41b4533d83b5d3b8ecc69f8de53fe04c8a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b6ec13e839267737e93a0cfd3b367ed5a4fa4b288f258d0eff622e303bc9019 [INFO] running `Command { std: "docker" "start" "-a" "1b6ec13e839267737e93a0cfd3b367ed5a4fa4b288f258d0eff622e303bc9019", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: associated function is never used: `set_role_pool` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lobby/lobby_manager.rs:30:11 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 30 | pub fn set_role_pool(lobby: &mut Lobby, role_pool: Vec) -> &Lobby { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_name` [INFO] [stderr] --> src/game/game_player.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn get_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Unassigned` [INFO] [stderr] --> src/game/game_player_role.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Unassigned, // Specatator [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Admin` [INFO] [stderr] --> src/game/game_player_role.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Admin, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Godfather` [INFO] [stderr] --> src/game/game_player_role.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Godfather, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Goon` [INFO] [stderr] --> src/game/game_player_role.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Goon, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Hooker` [INFO] [stderr] --> src/game/game_player_role.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Hooker, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Townie` [INFO] [stderr] --> src/game/game_player_role.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Townie, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Medic` [INFO] [stderr] --> src/game/game_player_role.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Medic, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Sherif` [INFO] [stderr] --> src/game/game_player_role.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Sherif, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Vigilante` [INFO] [stderr] --> src/game/game_player_role.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Vigilante, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SerialKiller` [INFO] [stderr] --> src/game/game_player_role.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | SerialKiller, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Alien` [INFO] [stderr] --> src/game/game_player_role.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | Alien, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GamePlayerRole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/game_player_role.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mafia-lol` (bin "mafia-lol" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mafia_lol-18d35adae8fb5c54) [INFO] running `Command { std: "docker" "inspect" "1b6ec13e839267737e93a0cfd3b367ed5a4fa4b288f258d0eff622e303bc9019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6ec13e839267737e93a0cfd3b367ed5a4fa4b288f258d0eff622e303bc9019", kill_on_drop: false }` [INFO] [stdout] 1b6ec13e839267737e93a0cfd3b367ed5a4fa4b288f258d0eff622e303bc9019