[INFO] cloning repository https://github.com/kgtkr/othello [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kgtkr/othello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkgtkr%2Fothello", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkgtkr%2Fothello'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98701536d5c8700feaae439a78d0c4d6a7c0425f [INFO] testing kgtkr/othello against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkgtkr%2Fothello" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kgtkr/othello on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kgtkr/othello [INFO] finished tweaking git repo https://github.com/kgtkr/othello [INFO] tweaked toml for git repo https://github.com/kgtkr/othello written to /workspace/builds/worker-82/source/Cargo.toml [INFO] crate git repo https://github.com/kgtkr/othello already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f6fa074a6d7701616336a6b4e7955b42e160307bb3d7b6230a903c03356c2a7 [INFO] running `Command { std: "docker" "start" "-a" "0f6fa074a6d7701616336a6b4e7955b42e160307bb3d7b6230a903c03356c2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f6fa074a6d7701616336a6b4e7955b42e160307bb3d7b6230a903c03356c2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6fa074a6d7701616336a6b4e7955b42e160307bb3d7b6230a903c03356c2a7", kill_on_drop: false }` [INFO] [stdout] 0f6fa074a6d7701616336a6b4e7955b42e160307bb3d7b6230a903c03356c2a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f77ed3a061efd96ca6363bc4a03c4cdee28d66ec7de2b1d4ca91571db635766 [INFO] running `Command { std: "docker" "start" "-a" "5f77ed3a061efd96ca6363bc4a03c4cdee28d66ec7de2b1d4ca91571db635766", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling othello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/game.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [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: `While` [INFO] [stdout] --> src/game.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [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: type alias is never used: `Cell` [INFO] [stdout] --> src/game.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | type Cell = Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Board` [INFO] [stdout] --> src/game.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type Board = [[Cell; 8]; 8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Next` [INFO] [stdout] --> src/game.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Next(Piece), [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `Pass` [INFO] [stdout] --> src/game.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | Pass(Piece), [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `IndexOutOf` [INFO] [stdout] --> src/game.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | IndexOutOf, [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `Already` [INFO] [stdout] --> src/game.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Already, [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `ZeroReverse` [INFO] [stdout] --> src/game.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | ZeroReverse, [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `End` [INFO] [stdout] --> src/game.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | End(usize, usize), [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: struct is never constructed: `Game` [INFO] [stdout] --> src/game.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `size` [INFO] [stdout] --> src/game.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | const size: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new() -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/game.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn next() -> GameResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `size` should have an upper case name [INFO] [stdout] --> src/game.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | const size: usize = 8; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.64s [INFO] running `Command { std: "docker" "inspect" "5f77ed3a061efd96ca6363bc4a03c4cdee28d66ec7de2b1d4ca91571db635766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f77ed3a061efd96ca6363bc4a03c4cdee28d66ec7de2b1d4ca91571db635766", kill_on_drop: false }` [INFO] [stdout] 5f77ed3a061efd96ca6363bc4a03c4cdee28d66ec7de2b1d4ca91571db635766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3b913bb073806211c9e03d28f5e324fae92ccb70534371ccd415374df031a7 [INFO] running `Command { std: "docker" "start" "-a" "be3b913bb073806211c9e03d28f5e324fae92ccb70534371ccd415374df031a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling othello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/game.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [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: `While` [INFO] [stdout] --> src/game.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [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: type alias is never used: `Cell` [INFO] [stdout] --> src/game.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | type Cell = Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Board` [INFO] [stdout] --> src/game.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | type Board = [[Cell; 8]; 8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Next` [INFO] [stdout] --> src/game.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Next(Piece), [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `Pass` [INFO] [stdout] --> src/game.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | Pass(Piece), [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `IndexOutOf` [INFO] [stdout] --> src/game.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | IndexOutOf, [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `Already` [INFO] [stdout] --> src/game.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Already, [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `ZeroReverse` [INFO] [stdout] --> src/game.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | ZeroReverse, [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: `End` [INFO] [stdout] --> src/game.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | End(usize, usize), [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] --> src/game.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(PartialEq, Debug, Clone)] [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: struct is never constructed: `Game` [INFO] [stdout] --> src/game.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `size` [INFO] [stdout] --> src/game.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | const size: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new() -> Game { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/game.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn next() -> GameResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `size` should have an upper case name [INFO] [stdout] --> src/game.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | const size: usize = 8; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.94s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/othello-67d5315508d70653) [INFO] running `Command { std: "docker" "inspect" "be3b913bb073806211c9e03d28f5e324fae92ccb70534371ccd415374df031a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3b913bb073806211c9e03d28f5e324fae92ccb70534371ccd415374df031a7", kill_on_drop: false }` [INFO] [stdout] be3b913bb073806211c9e03d28f5e324fae92ccb70534371ccd415374df031a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cafb4aa4d0b5ca66717d4abc1d828bf69c137720f2f093dd03b756eb644d1010 [INFO] running `Command { std: "docker" "start" "-a" "cafb4aa4d0b5ca66717d4abc1d828bf69c137720f2f093dd03b756eb644d1010", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variant is never constructed: `Black` [INFO] [stdout] [INFO] [stderr] --> src/game.rs:3:3 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 3 | Black, [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [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: `While` [INFO] [stderr] --> src/game.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | While, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Piece` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [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: type alias is never used: `Cell` [INFO] [stderr] --> src/game.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | type Cell = Option; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Board` [INFO] [stderr] --> src/game.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | type Board = [[Cell; 8]; 8]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Next` [INFO] [stderr] --> src/game.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | Next(Piece), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Clone)] [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: `Pass` [INFO] [stderr] --> src/game.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | Pass(Piece), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Clone)] [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: `IndexOutOf` [INFO] [stderr] --> src/game.rs:14:3 [INFO] [stderr] | [INFO] [stderr] 14 | IndexOutOf, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Clone)] [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: `Already` [INFO] [stderr] --> src/game.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 15 | Already, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Clone)] [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: `ZeroReverse` [INFO] [stderr] --> src/game.rs:16:3 [INFO] [stderr] | [INFO] [stderr] 16 | ZeroReverse, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Clone)] [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: `End` [INFO] [stderr] --> src/game.rs:17:3 [INFO] [stderr] | [INFO] [stderr] 17 | End(usize, usize), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(PartialEq, Debug, Clone)] [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: struct is never constructed: `Game` [INFO] [stderr] --> src/game.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct Game { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `size` [INFO] [stderr] --> src/game.rs:26:3 [INFO] [stderr] | [INFO] [stderr] 26 | const size: usize = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/game.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new() -> Game { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> src/game.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn next() -> GameResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `size` should have an upper case name [INFO] [stderr] --> src/game.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | const size: usize = 8; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `SIZE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `othello` (bin "othello" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.73s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/othello-67d5315508d70653) [INFO] running `Command { std: "docker" "inspect" "cafb4aa4d0b5ca66717d4abc1d828bf69c137720f2f093dd03b756eb644d1010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafb4aa4d0b5ca66717d4abc1d828bf69c137720f2f093dd03b756eb644d1010", kill_on_drop: false }` [INFO] [stdout] cafb4aa4d0b5ca66717d4abc1d828bf69c137720f2f093dd03b756eb644d1010