[INFO] cloning repository https://github.com/peter1490/mastermind [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peter1490/mastermind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter1490%2Fmastermind", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter1490%2Fmastermind'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82cc42cbbc08d1b79c181fd55ec9f0877cf7ee4f [INFO] testing peter1490/mastermind against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeter1490%2Fmastermind" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peter1490/mastermind on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/peter1490/mastermind [INFO] finished tweaking git repo https://github.com/peter1490/mastermind [INFO] tweaked toml for git repo https://github.com/peter1490/mastermind written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/peter1490/mastermind already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e72bd0dd3b92f57167c3616f76acaf75fb84ac54102e3f8c9d49790c077ce7b6 [INFO] running `Command { std: "docker" "start" "-a" "e72bd0dd3b92f57167c3616f76acaf75fb84ac54102e3f8c9d49790c077ce7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e72bd0dd3b92f57167c3616f76acaf75fb84ac54102e3f8c9d49790c077ce7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72bd0dd3b92f57167c3616f76acaf75fb84ac54102e3f8c9d49790c077ce7b6", kill_on_drop: false }` [INFO] [stdout] e72bd0dd3b92f57167c3616f76acaf75fb84ac54102e3f8c9d49790c077ce7b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e53c695b87e8a5219bd9a16eab19c2a335056241c178e52d4ed790ce8369427 [INFO] running `Command { std: "docker" "start" "-a" "9e53c695b87e8a5219bd9a16eab19c2a335056241c178e52d4ed790ce8369427", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling mastermind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `try_counter` [INFO] [stdout] --> src/lib/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | try_counter: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/lib/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | state: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_lost` [INFO] [stdout] --> src/lib/game.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_lost(&mut self, try_counter: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/lib/pawn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | color: PawnColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: field is never read: `position` [INFO] [stdout] --> src/lib/pawn.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | position: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: field is never read: `state` [INFO] [stdout] --> src/lib/pawn.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | state: PawnState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: `Blue` [INFO] [stdout] --> src/lib/pawn.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [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: `White` [INFO] [stdout] --> src/lib/pawn.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [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: `Red` [INFO] [stdout] --> src/lib/pawn.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [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: `GoodColorBadPosition` [INFO] [stdout] --> src/lib/pawn.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | GoodColorBadPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [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: `NothingGood` [INFO] [stdout] --> src/lib/pawn.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NothingGood, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "9e53c695b87e8a5219bd9a16eab19c2a335056241c178e52d4ed790ce8369427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e53c695b87e8a5219bd9a16eab19c2a335056241c178e52d4ed790ce8369427", kill_on_drop: false }` [INFO] [stdout] 9e53c695b87e8a5219bd9a16eab19c2a335056241c178e52d4ed790ce8369427 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 339623480d8a657260e3b5309c3249832e82385f90f5fbdb017d6b29efe8d27d [INFO] running `Command { std: "docker" "start" "-a" "339623480d8a657260e3b5309c3249832e82385f90f5fbdb017d6b29efe8d27d", kill_on_drop: false }` [INFO] [stderr] Compiling mastermind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `try_counter` [INFO] [stdout] --> src/lib/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | try_counter: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/lib/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | state: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_lost` [INFO] [stdout] --> src/lib/game.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn is_lost(&mut self, try_counter: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/lib/pawn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | color: PawnColor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: field is never read: `position` [INFO] [stdout] --> src/lib/pawn.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | position: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: field is never read: `state` [INFO] [stdout] --> src/lib/pawn.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | state: PawnState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: `Blue` [INFO] [stdout] --> src/lib/pawn.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [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: `White` [INFO] [stdout] --> src/lib/pawn.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [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: `Red` [INFO] [stdout] --> src/lib/pawn.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [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: `GoodColorBadPosition` [INFO] [stdout] --> src/lib/pawn.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | GoodColorBadPosition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [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: `NothingGood` [INFO] [stdout] --> src/lib/pawn.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NothingGood, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PawnState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib/pawn.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "339623480d8a657260e3b5309c3249832e82385f90f5fbdb017d6b29efe8d27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339623480d8a657260e3b5309c3249832e82385f90f5fbdb017d6b29efe8d27d", kill_on_drop: false }` [INFO] [stdout] 339623480d8a657260e3b5309c3249832e82385f90f5fbdb017d6b29efe8d27d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce63a5939dcad51d06b54a5097cfc73ab67feb3810e7340a9be612181a6bc787 [INFO] running `Command { std: "docker" "start" "-a" "ce63a5939dcad51d06b54a5097cfc73ab67feb3810e7340a9be612181a6bc787", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `try_counter` [INFO] [stderr] --> src/lib/game.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | try_counter: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/lib/game.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | state: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_lost` [INFO] [stderr] --> src/lib/game.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn is_lost(&mut self, try_counter: i32) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `color` [INFO] [stderr] --> src/lib/pawn.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | color: PawnColor, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [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: field is never read: `position` [INFO] [stderr] --> src/lib/pawn.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | position: u8, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [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: field is never read: `state` [INFO] [stderr] --> src/lib/pawn.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | state: PawnState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Pawn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [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: `Blue` [INFO] [stderr] --> src/lib/pawn.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Blue, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [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: `White` [INFO] [stderr] --> src/lib/pawn.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | White, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [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: `Red` [INFO] [stderr] --> src/lib/pawn.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | Red, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `PawnColor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [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: `GoodColorBadPosition` [INFO] [stderr] --> src/lib/pawn.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | GoodColorBadPosition, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PawnState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug)] [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: `NothingGood` [INFO] [stderr] --> src/lib/pawn.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | NothingGood, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PawnState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib/pawn.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug)] [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: `mastermind` (bin "mastermind" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.64s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mastermind-1cde2c7ca0d1694b) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce63a5939dcad51d06b54a5097cfc73ab67feb3810e7340a9be612181a6bc787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce63a5939dcad51d06b54a5097cfc73ab67feb3810e7340a9be612181a6bc787", kill_on_drop: false }` [INFO] [stdout] ce63a5939dcad51d06b54a5097cfc73ab67feb3810e7340a9be612181a6bc787