[INFO] cloning repository https://github.com/eutampieri/wwbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eutampieri/wwbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feutampieri%2Fwwbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feutampieri%2Fwwbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4b0ea72952cabef8735cd0d23f2bada51afdd01 [INFO] checking eutampieri/wwbot against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feutampieri%2Fwwbot" "/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/eutampieri/wwbot [INFO] finished tweaking git repo https://github.com/eutampieri/wwbot [INFO] tweaked toml for git repo https://github.com/eutampieri/wwbot written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eutampieri/wwbot on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eutampieri/wwbot 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5065a5f24040957dfd9e90478f0579f79504f15c7392bcb73a1ab475735e6a39 [INFO] running `Command { std: "docker" "start" "-a" "5065a5f24040957dfd9e90478f0579f79504f15c7392bcb73a1ab475735e6a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5065a5f24040957dfd9e90478f0579f79504f15c7392bcb73a1ab475735e6a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5065a5f24040957dfd9e90478f0579f79504f15c7392bcb73a1ab475735e6a39", kill_on_drop: false }` [INFO] [stdout] 5065a5f24040957dfd9e90478f0579f79504f15c7392bcb73a1ab475735e6a39 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 386da42910699013bbaa605147e2ac40ed0376a1a320be2f2ebe265e023db279 [INFO] running `Command { std: "docker" "start" "-a" "386da42910699013bbaa605147e2ac40ed0376a1a320be2f2ebe265e023db279", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wwbot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `GAME_DURATION` is never used [INFO] [stdout] --> src/game.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const GAME_DURATION: std::time::Duration = std::time::Duration::from_secs(300); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_game` and `delete_game` are never used [INFO] [stdout] --> src/game.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl GameManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_game(&self, id: GameId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn delete_game(&mut self, id: GameId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameStatus` is never used [INFO] [stdout] --> src/game.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `topics`, `players`, `wolf`, `start_time`, and `votes` are never read [INFO] [stdout] --> src/game.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 69 | topics: [String; 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | players: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | wolf: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | start_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | votes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_player`, `remove_player`, `start_game`, `get_status`, `vote`, and `wolf_won` are never used [INFO] [stdout] --> src/game.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 77 | pub fn add_player(&mut self, player: String) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove_player(&mut self, player: String) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn start_game(&mut self) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_status(&self) -> GameStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn vote(&mut self, voter: &str, voted: &str) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn wolf_won(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GAME_DURATION` is never used [INFO] [stdout] --> src/game.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const GAME_DURATION: std::time::Duration = std::time::Duration::from_secs(300); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_game` and `delete_game` are never used [INFO] [stdout] --> src/game.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl GameManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn get_game(&self, id: GameId) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn delete_game(&mut self, id: GameId) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameStatus` is never used [INFO] [stdout] --> src/game.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum GameStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `topics`, `players`, `wolf`, `start_time`, and `votes` are never read [INFO] [stdout] --> src/game.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 69 | topics: [String; 2], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 70 | players: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 71 | wolf: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | start_time: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 73 | votes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_player`, `remove_player`, `start_game`, `get_status`, `vote`, and `wolf_won` are never used [INFO] [stdout] --> src/game.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 77 | pub fn add_player(&mut self, player: String) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn remove_player(&mut self, player: String) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn start_game(&mut self) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_status(&self) -> GameStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn vote(&mut self, voter: &str, voted: &str) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn wolf_won(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "386da42910699013bbaa605147e2ac40ed0376a1a320be2f2ebe265e023db279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386da42910699013bbaa605147e2ac40ed0376a1a320be2f2ebe265e023db279", kill_on_drop: false }` [INFO] [stdout] 386da42910699013bbaa605147e2ac40ed0376a1a320be2f2ebe265e023db279