[INFO] cloning repository https://github.com/darrellp/rustbo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darrellp/rustbo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrellp%2Frustbo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrellp%2Frustbo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9f2c38c2523271842385ac3fac4aeb7fdd36b59 [INFO] checking darrellp/rustbo against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarrellp%2Frustbo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/darrellp/rustbo [INFO] finished tweaking git repo https://github.com/darrellp/rustbo [INFO] tweaked toml for git repo https://github.com/darrellp/rustbo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darrellp/rustbo on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/darrellp/rustbo 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e325da801ef4048600e7512ee0fc49e054ccef905032c0f8c5c6ab308f2e8a19 [INFO] running `Command { std: "docker" "start" "-a" "e325da801ef4048600e7512ee0fc49e054ccef905032c0f8c5c6ab308f2e8a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e325da801ef4048600e7512ee0fc49e054ccef905032c0f8c5c6ab308f2e8a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e325da801ef4048600e7512ee0fc49e054ccef905032c0f8c5c6ab308f2e8a19", kill_on_drop: false }` [INFO] [stdout] e325da801ef4048600e7512ee0fc49e054ccef905032c0f8c5c6ab308f2e8a19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab76ded4aef17c8ff0aa636db6f64b7c0b536f5f8572e8fc538d23bb7298195 [INFO] running `Command { std: "docker" "start" "-a" "dab76ded4aef17c8ff0aa636db6f64b7c0b536f5f8572e8fc538d23bb7298195", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking getrandom v0.2.12 [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 rustbo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `pop` are never used [INFO] [stdout] --> src/card_stack.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CardStack { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deal` is never used [INFO] [stdout] --> src/player.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn deal(deck: &mut CardStack, player_count: usize, index: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `player_count` and `new` are never used [INFO] [stdout] --> src/game.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn player_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new(player_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Card` is never used [INFO] [stdout] --> src/card.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CardStack` is never constructed [INFO] [stdout] --> src/card_stack.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct CardStack { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_deck`, `new`, `len`, `pop`, `peek`, and `deal_off` are never used [INFO] [stdout] --> src/card_stack.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CardStack { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new_deck() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn peek(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn deal_off(&mut self, n: usize) -> CardStack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> src/player.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deal` is never used [INFO] [stdout] --> src/player.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn deal(deck: &mut CardStack, player_count: usize, index: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> src/game.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `player_count` and `new` are never used [INFO] [stdout] --> src/game.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn player_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new(player_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.21s [INFO] running `Command { std: "docker" "inspect" "dab76ded4aef17c8ff0aa636db6f64b7c0b536f5f8572e8fc538d23bb7298195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab76ded4aef17c8ff0aa636db6f64b7c0b536f5f8572e8fc538d23bb7298195", kill_on_drop: false }` [INFO] [stdout] dab76ded4aef17c8ff0aa636db6f64b7c0b536f5f8572e8fc538d23bb7298195