[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzexa%2Fmafia-lol" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zexa/mafia-lol on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-71/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b22bdd9f0acbeb40a4852bf8e635b6902d80d00e638caf2a618c3b361a80d6b1 [INFO] running `Command { std: "docker" "start" "-a" "b22bdd9f0acbeb40a4852bf8e635b6902d80d00e638caf2a618c3b361a80d6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b22bdd9f0acbeb40a4852bf8e635b6902d80d00e638caf2a618c3b361a80d6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22bdd9f0acbeb40a4852bf8e635b6902d80d00e638caf2a618c3b361a80d6b1", kill_on_drop: false }` [INFO] [stdout] b22bdd9f0acbeb40a4852bf8e635b6902d80d00e638caf2a618c3b361a80d6b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04cf3c7168a976f00b11d0391968d900f6b82d4a6225541dde23775faf433862 [INFO] running `Command { std: "docker" "start" "-a" "04cf3c7168a976f00b11d0391968d900f6b82d4a6225541dde23775faf433862", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.67s [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "04cf3c7168a976f00b11d0391968d900f6b82d4a6225541dde23775faf433862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04cf3c7168a976f00b11d0391968d900f6b82d4a6225541dde23775faf433862", kill_on_drop: false }` [INFO] [stdout] 04cf3c7168a976f00b11d0391968d900f6b82d4a6225541dde23775faf433862 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4df6d22aece2fb0bd2fc0adda2358bbd5b86a7543e1af74aa8da1d8bc515fe1e [INFO] running `Command { std: "docker" "start" "-a" "4df6d22aece2fb0bd2fc0adda2358bbd5b86a7543e1af74aa8da1d8bc515fe1e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 test [unoptimized + debuginfo] target(s) in 32.08s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mafia_lol-18d35adae8fb5c54) [INFO] running `Command { std: "docker" "inspect" "4df6d22aece2fb0bd2fc0adda2358bbd5b86a7543e1af74aa8da1d8bc515fe1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4df6d22aece2fb0bd2fc0adda2358bbd5b86a7543e1af74aa8da1d8bc515fe1e", kill_on_drop: false }` [INFO] [stdout] 4df6d22aece2fb0bd2fc0adda2358bbd5b86a7543e1af74aa8da1d8bc515fe1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b676adf668078d632d56ceb5115fc9d950e9f015c36297735a271651f869bd55 [INFO] running `Command { std: "docker" "start" "-a" "b676adf668078d632d56ceb5115fc9d950e9f015c36297735a271651f869bd55", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `set_role_pool` [INFO] [stderr] --> src/lobby/lobby_manager.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn set_role_pool(lobby: &mut Lobby, role_pool: Vec) -> &Lobby { [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 2.50s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mafia_lol-18d35adae8fb5c54) [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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b676adf668078d632d56ceb5115fc9d950e9f015c36297735a271651f869bd55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b676adf668078d632d56ceb5115fc9d950e9f015c36297735a271651f869bd55", kill_on_drop: false }` [INFO] [stdout] b676adf668078d632d56ceb5115fc9d950e9f015c36297735a271651f869bd55