[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftectrixer%2Fneat" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tectrixer/neat on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-21/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" "+beta-2022-02-22" "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-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e707cb2a94075665aea761bc224788825b98d72406b8562c1c683759e2fa4136 [INFO] running `Command { std: "docker" "start" "-a" "e707cb2a94075665aea761bc224788825b98d72406b8562c1c683759e2fa4136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e707cb2a94075665aea761bc224788825b98d72406b8562c1c683759e2fa4136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e707cb2a94075665aea761bc224788825b98d72406b8562c1c683759e2fa4136", kill_on_drop: false }` [INFO] [stdout] e707cb2a94075665aea761bc224788825b98d72406b8562c1c683759e2fa4136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52f33175e47fb979123d3164dca94206f7b81f7984c508e64ba6338865f64fe7 [INFO] running `Command { std: "docker" "start" "-a" "52f33175e47fb979123d3164dca94206f7b81f7984c508e64ba6338865f64fe7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling quote v1.0.9 [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.35s [INFO] running `Command { std: "docker" "inspect" "52f33175e47fb979123d3164dca94206f7b81f7984c508e64ba6338865f64fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f33175e47fb979123d3164dca94206f7b81f7984c508e64ba6338865f64fe7", kill_on_drop: false }` [INFO] [stdout] 52f33175e47fb979123d3164dca94206f7b81f7984c508e64ba6338865f64fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946f08d4c1142e2bdd029b0e0c764bd92d77ff224ac1d528dcbe2f1f15572e3b [INFO] running `Command { std: "docker" "start" "-a" "946f08d4c1142e2bdd029b0e0c764bd92d77ff224ac1d528dcbe2f1f15572e3b", kill_on_drop: false }` [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 0.51s [INFO] running `Command { std: "docker" "inspect" "946f08d4c1142e2bdd029b0e0c764bd92d77ff224ac1d528dcbe2f1f15572e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946f08d4c1142e2bdd029b0e0c764bd92d77ff224ac1d528dcbe2f1f15572e3b", kill_on_drop: false }` [INFO] [stdout] 946f08d4c1142e2bdd029b0e0c764bd92d77ff224ac1d528dcbe2f1f15572e3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4085ca17c9106b2507f81ebde2c6cba1237ed217f966eaa6636431ce33fe1e0 [INFO] running `Command { std: "docker" "start" "-a" "c4085ca17c9106b2507f81ebde2c6cba1237ed217f966eaa6636431ce33fe1e0", 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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/neat-13fdd762ea049cfa) [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" "c4085ca17c9106b2507f81ebde2c6cba1237ed217f966eaa6636431ce33fe1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4085ca17c9106b2507f81ebde2c6cba1237ed217f966eaa6636431ce33fe1e0", kill_on_drop: false }` [INFO] [stdout] c4085ca17c9106b2507f81ebde2c6cba1237ed217f966eaa6636431ce33fe1e0