[INFO] cloning repository https://github.com/ddx533534/rust-avalon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddx533534/rust-avalon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddx533534%2Frust-avalon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddx533534%2Frust-avalon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96776cdfcf67cfecdc8bf01781ba2829197028ef
[INFO] checking ddx533534/rust-avalon against try#f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2 for pr-156992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddx533534%2Frust-avalon" "/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/ddx533534/rust-avalon
[INFO] finished tweaking git repo https://github.com/ddx533534/rust-avalon
[INFO] tweaked toml for git repo https://github.com/ddx533534/rust-avalon written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ddx533534/rust-avalon on toolchain f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ddx533534/rust-avalon 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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "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-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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 077ee4acded530659999b2d7cd4eebf371f0b4d1047838fc90be849b29601f1e
[INFO] running `Command { std: "docker" "start" "-a" "077ee4acded530659999b2d7cd4eebf371f0b4d1047838fc90be849b29601f1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "077ee4acded530659999b2d7cd4eebf371f0b4d1047838fc90be849b29601f1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "077ee4acded530659999b2d7cd4eebf371f0b4d1047838fc90be849b29601f1e", kill_on_drop: false }`
[INFO] [stdout] 077ee4acded530659999b2d7cd4eebf371f0b4d1047838fc90be849b29601f1e
[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" "+f16624c7fb52ccf15cd304a9728caf1ef4b9c0d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6777e8c10b2c256454eb66f776dce988b6ed99ef58ceceeef936dd4c965e48a3
[INFO] running `Command { std: "docker" "start" "-a" "6777e8c10b2c256454eb66f776dce988b6ed99ef58ceceeef936dd4c965e48a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rust-avalon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Role`
[INFO] [stdout]  --> src/main.rs:2:80
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::role::{Assassin, LoyalOfficial, Merlin, Morgana, Pai, Pawn, Player, Role, RoleImpl, Vote};
[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 variable: `round`
[INFO] [stdout]   --> src/role.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn vote_with_round(&self, round: i32) -> Vote {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:170:37
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:170:49
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:303:37
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:303:49
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:335:37
[INFO] [stdout]     |
[INFO] [stdout] 335 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:335:49
[INFO] [stdout]     |
[INFO] [stdout] 335 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:367:37
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:367:49
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 |     for (index, player) in players.iter().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/main.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     for (index, player) in players.iter().enumerate() {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `car_leader` is never read
[INFO] [stdout]   --> src/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         car_leader += 1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn vote_for_car(round: usize, mut car_info: &mut CarInfo, players: &Vec<Player>, map: &mut HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                   ----^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Description` is never used
[INFO] [stdout]   --> src/role.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Description {
[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 `GameInfo` is never constructed
[INFO] [stdout]   --> src/info.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct GameInfo {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/info.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl GameInfo {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 29 |     pub fn default() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Role`
[INFO] [stdout]  --> src/main.rs:2:80
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::role::{Assassin, LoyalOfficial, Merlin, Morgana, Pai, Pawn, Player, Role, RoleImpl, Vote};
[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 variable: `round`
[INFO] [stdout]   --> src/role.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn vote_with_round(&self, round: i32) -> Vote {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:170:37
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:170:49
[INFO] [stdout]     |
[INFO] [stdout] 170 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:303:37
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:303:49
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:335:37
[INFO] [stdout]     |
[INFO] [stdout] 335 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:335:49
[INFO] [stdout]     |
[INFO] [stdout] 335 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/role.rs:367:37
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/role.rs:367:49
[INFO] [stdout]     |
[INFO] [stdout] 367 |     fn update_after_vote(&mut self, round: i32, map: &HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:75:10
[INFO] [stdout]    |
[INFO] [stdout] 75 |     for (index, player) in players.iter().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/main.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     for (index, player) in players.iter().enumerate() {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `car_leader` is never read
[INFO] [stdout]   --> src/main.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |         car_leader += 1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:127:35
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn vote_for_car(round: usize, mut car_info: &mut CarInfo, players: &Vec<Player>, map: &mut HashMap<i32, (Vec<Player>, u32)>) {
[INFO] [stdout]     |                                   ----^^^^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Description` is never used
[INFO] [stdout]   --> src/role.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Description {
[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 `GameInfo` is never constructed
[INFO] [stdout]   --> src/info.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct GameInfo {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/info.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl GameInfo {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 29 |     pub fn default() -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.45s
[INFO] running `Command { std: "docker" "inspect" "6777e8c10b2c256454eb66f776dce988b6ed99ef58ceceeef936dd4c965e48a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6777e8c10b2c256454eb66f776dce988b6ed99ef58ceceeef936dd4c965e48a3", kill_on_drop: false }`
[INFO] [stdout] 6777e8c10b2c256454eb66f776dce988b6ed99ef58ceceeef936dd4c965e48a3
