[INFO] cloning repository https://github.com/chrolo3/sevens [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrolo3/sevens" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrolo3%2Fsevens", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrolo3%2Fsevens'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9dc30f1db85589e7d184e48f93830f69c90abf6 [INFO] checking chrolo3/sevens against master#fce0e74720d199eb7839fdb51af35ac5226da178 for pr-145262 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrolo3%2Fsevens" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chrolo3/sevens [INFO] finished tweaking git repo https://github.com/chrolo3/sevens [INFO] tweaked toml for git repo https://github.com/chrolo3/sevens written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chrolo3/sevens on toolchain fce0e74720d199eb7839fdb51af35ac5226da178 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chrolo3/sevens 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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72fa826f37de162e918896aaa5769a2a8c3e90955ee6f00213f936eed46cee65 [INFO] running `Command { std: "docker" "start" "-a" "72fa826f37de162e918896aaa5769a2a8c3e90955ee6f00213f936eed46cee65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72fa826f37de162e918896aaa5769a2a8c3e90955ee6f00213f936eed46cee65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72fa826f37de162e918896aaa5769a2a8c3e90955ee6f00213f936eed46cee65", kill_on_drop: false }` [INFO] [stdout] 72fa826f37de162e918896aaa5769a2a8c3e90955ee6f00213f936eed46cee65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fce0e74720d199eb7839fdb51af35ac5226da178" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8387e72517483d137131523b0bb6d84a7744e49ae1d84fbd99b3d74e01de9d97 [INFO] running `Command { std: "docker" "start" "-a" "8387e72517483d137131523b0bb6d84a7744e49ae1d84fbd99b3d74e01de9d97", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking sevens v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `SuitColor` is more private than the item `Suit::new` [INFO] [stdout] --> src/cards.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(name: &str, symbol: &str, color: SuitColor, rank: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Suit::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SuitColor` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cards.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum SuitColor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Gray` are never constructed [INFO] [stdout] --> src/cards.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum SuitColor { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 27 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuitColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suits` is never read [INFO] [stdout] --> src/cards.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 116 | pub(crate) suits: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `board` is never read [INFO] [stdout] --> src/cards.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct GameResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 219 | winner: Option, [INFO] [stdout] 220 | board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SuitColor` is more private than the item `Suit::new` [INFO] [stdout] --> src/cards.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(name: &str, symbol: &str, color: SuitColor, rank: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Suit::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SuitColor` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/cards.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum SuitColor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Gray` are never constructed [INFO] [stdout] --> src/cards.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | enum SuitColor { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 27 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SuitColor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `suits` is never read [INFO] [stdout] --> src/cards.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct Board { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 116 | pub(crate) suits: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Board` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `board` is never read [INFO] [stdout] --> src/cards.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct GameResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 219 | winner: Option, [INFO] [stdout] 220 | board: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.74s [INFO] running `Command { std: "docker" "inspect" "8387e72517483d137131523b0bb6d84a7744e49ae1d84fbd99b3d74e01de9d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8387e72517483d137131523b0bb6d84a7744e49ae1d84fbd99b3d74e01de9d97", kill_on_drop: false }` [INFO] [stdout] 8387e72517483d137131523b0bb6d84a7744e49ae1d84fbd99b3d74e01de9d97