[INFO] cloning repository https://github.com/tectrixer/neat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tectrixer/neat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftectrixer%2Fneat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftectrixer%2Fneat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e038135772d8bac08da7794cc8b03f3137c331f [INFO] testing tectrixer/neat against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftectrixer%2Fneat" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tectrixer/neat 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/tectrixer/neat [INFO] finished tweaking git repo https://github.com/tectrixer/neat [INFO] tweaked toml for git repo https://github.com/tectrixer/neat written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/tectrixer/neat 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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 0f6fda21d91ec347920de032c5436488cd0999666c1ad7f82ec64be4e188f3de [INFO] running `Command { std: "docker" "start" "-a" "0f6fda21d91ec347920de032c5436488cd0999666c1ad7f82ec64be4e188f3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f6fda21d91ec347920de032c5436488cd0999666c1ad7f82ec64be4e188f3de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6fda21d91ec347920de032c5436488cd0999666c1ad7f82ec64be4e188f3de", kill_on_drop: false }` [INFO] [stdout] 0f6fda21d91ec347920de032c5436488cd0999666c1ad7f82ec64be4e188f3de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] ebe90f3af81fa42931420d4f21d92323d29b92a0f25ca340d75c5f24785c1f67 [INFO] running `Command { std: "docker" "start" "-a" "ebe90f3af81fa42931420d4f21d92323d29b92a0f25ca340d75c5f24785c1f67", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling neat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/phenotype.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_genotype(mut genotype: Genotype) -> Phenotype { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/genotype.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save(&self, filename_option: Option) -> Result<(), GenotypeError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/genotype.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn load(filename_option: Option) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileNotFound` [INFO] [stdout] --> src/genotype.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | FileNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileSystemError` [INFO] [stdout] --> src/genotype.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | FileSystemError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SerializingError` [INFO] [stdout] --> src/genotype.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | SerializingError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeserializingError` [INFO] [stdout] --> src/genotype.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | DeserializingError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TicTacToeGame` [INFO] [stdout] --> src/tictactoe.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TicTacToeGame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/tictactoe.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | X, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `O` [INFO] [stdout] --> src/tictactoe.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | O, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/tictactoe.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tictactoe.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> TicTacToeGame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `whos_turn` [INFO] [stdout] --> src/tictactoe.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn whos_turn(&self) -> Fields { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/tictactoe.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn make_move( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_winner` [INFO] [stdout] --> src/tictactoe.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn check_winner(&mut self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_board` [INFO] [stdout] --> src/tictactoe.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn format_board(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FieldNotEmpty` [INFO] [stdout] --> src/tictactoe.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | FieldNotEmpty, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(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: `NoEmptyFieldLeft` [INFO] [stdout] --> src/tictactoe.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | NoEmptyFieldLeft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(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: `NotAValidField` [INFO] [stdout] --> src/tictactoe.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | NotAValidField, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.24s [INFO] running `Command { std: "docker" "inspect" "ebe90f3af81fa42931420d4f21d92323d29b92a0f25ca340d75c5f24785c1f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe90f3af81fa42931420d4f21d92323d29b92a0f25ca340d75c5f24785c1f67", kill_on_drop: false }` [INFO] [stdout] ebe90f3af81fa42931420d4f21d92323d29b92a0f25ca340d75c5f24785c1f67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] bcdf227cb1421a2ca972ebdfa4b0dae9931a40aed645ff54754575392788ab23 [INFO] running `Command { std: "docker" "start" "-a" "bcdf227cb1421a2ca972ebdfa4b0dae9931a40aed645ff54754575392788ab23", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling neat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/phenotype.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_genotype(mut genotype: Genotype) -> Phenotype { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/genotype.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save(&self, filename_option: Option) -> Result<(), GenotypeError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/genotype.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn load(filename_option: Option) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileNotFound` [INFO] [stdout] --> src/genotype.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | FileNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FileSystemError` [INFO] [stdout] --> src/genotype.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | FileSystemError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SerializingError` [INFO] [stdout] --> src/genotype.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | SerializingError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeserializingError` [INFO] [stdout] --> src/genotype.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | DeserializingError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TicTacToeGame` [INFO] [stdout] --> src/tictactoe.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TicTacToeGame { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/tictactoe.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | X, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `O` [INFO] [stdout] --> src/tictactoe.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | O, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/tictactoe.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/tictactoe.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> TicTacToeGame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `whos_turn` [INFO] [stdout] --> src/tictactoe.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn whos_turn(&self) -> Fields { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/tictactoe.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn make_move( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_winner` [INFO] [stdout] --> src/tictactoe.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn check_winner(&mut self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `format_board` [INFO] [stdout] --> src/tictactoe.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn format_board(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FieldNotEmpty` [INFO] [stdout] --> src/tictactoe.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | FieldNotEmpty, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(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: `NoEmptyFieldLeft` [INFO] [stdout] --> src/tictactoe.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | NoEmptyFieldLeft, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(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: `NotAValidField` [INFO] [stdout] --> src/tictactoe.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | NotAValidField, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/tictactoe.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "bcdf227cb1421a2ca972ebdfa4b0dae9931a40aed645ff54754575392788ab23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcdf227cb1421a2ca972ebdfa4b0dae9931a40aed645ff54754575392788ab23", kill_on_drop: false }` [INFO] [stdout] bcdf227cb1421a2ca972ebdfa4b0dae9931a40aed645ff54754575392788ab23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 0697a3ddb2cfedcc6a2c728da48510611c29b1ba03e8b664c74f2bde6ccefb8e [INFO] running `Command { std: "docker" "start" "-a" "0697a3ddb2cfedcc6a2c728da48510611c29b1ba03e8b664c74f2bde6ccefb8e", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/phenotype.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn from_genotype(mut genotype: Genotype) -> Phenotype { [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save` [INFO] [stderr] --> src/genotype.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn save(&self, filename_option: Option) -> Result<(), GenotypeError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load` [INFO] [stderr] --> src/genotype.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn load(filename_option: Option) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FileNotFound` [INFO] [stderr] --> src/genotype.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | FileNotFound, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FileSystemError` [INFO] [stderr] --> src/genotype.rs:115:5 [INFO] [stderr] | [INFO] [stderr] 115 | FileSystemError, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `SerializingError` [INFO] [stderr] --> src/genotype.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | SerializingError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DeserializingError` [INFO] [stderr] --> src/genotype.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | DeserializingError, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `TicTacToeGame` [INFO] [stderr] --> src/tictactoe.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct TicTacToeGame { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `X` [INFO] [stderr] --> src/tictactoe.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | X, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tictactoe.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `O` [INFO] [stderr] --> src/tictactoe.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | O, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tictactoe.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Empty` [INFO] [stderr] --> src/tictactoe.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Empty, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Fields` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tictactoe.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Clone, Copy, PartialEq, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/tictactoe.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new() -> TicTacToeGame { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `whos_turn` [INFO] [stderr] --> src/tictactoe.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn whos_turn(&self) -> Fields { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `make_move` [INFO] [stderr] --> src/tictactoe.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn make_move( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_winner` [INFO] [stderr] --> src/tictactoe.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | fn check_winner(&mut self, x: usize, y: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `format_board` [INFO] [stderr] --> src/tictactoe.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn format_board(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FieldNotEmpty` [INFO] [stderr] --> src/tictactoe.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | FieldNotEmpty, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tictactoe.rs:149:10 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(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: `NoEmptyFieldLeft` [INFO] [stderr] --> src/tictactoe.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | NoEmptyFieldLeft, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tictactoe.rs:149:10 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(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: `NotAValidField` [INFO] [stderr] --> src/tictactoe.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | NotAValidField, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MoveNotPossibleError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/tictactoe.rs:149:10 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(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: `neat` (bin "neat" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/neat-9f8ba585b189927b) [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" "0697a3ddb2cfedcc6a2c728da48510611c29b1ba03e8b664c74f2bde6ccefb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0697a3ddb2cfedcc6a2c728da48510611c29b1ba03e8b664c74f2bde6ccefb8e", kill_on_drop: false }` [INFO] [stdout] 0697a3ddb2cfedcc6a2c728da48510611c29b1ba03e8b664c74f2bde6ccefb8e