[INFO] cloning repository https://github.com/menixator/biocomputation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/menixator/biocomputation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmenixator%2Fbiocomputation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmenixator%2Fbiocomputation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fce4c70f5865d933893abf7751e20b28ec7e3fd5 [INFO] testing menixator/biocomputation against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmenixator%2Fbiocomputation" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/menixator/biocomputation 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/menixator/biocomputation [INFO] finished tweaking git repo https://github.com/menixator/biocomputation [INFO] tweaked toml for git repo https://github.com/menixator/biocomputation written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate git repo https://github.com/menixator/biocomputation 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.10 [INFO] [stderr] Downloaded structopt v0.3.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 6024fd82248f4781f918bc94990566611dbd8aa19cda555c6ea66746701721aa [INFO] running `Command { std: "docker" "start" "-a" "6024fd82248f4781f918bc94990566611dbd8aa19cda555c6ea66746701721aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6024fd82248f4781f918bc94990566611dbd8aa19cda555c6ea66746701721aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6024fd82248f4781f918bc94990566611dbd8aa19cda555c6ea66746701721aa", kill_on_drop: false }` [INFO] [stdout] 6024fd82248f4781f918bc94990566611dbd8aa19cda555c6ea66746701721aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 6799249fccc3f79ca0142ecd6ebc8dcc7f7b67e7f58ce1e838974df2a2acd17b [INFO] running `Command { std: "docker" "start" "-a" "6799249fccc3f79ca0142ecd6ebc8dcc7f7b67e7f58ce1e838974df2a2acd17b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling structopt v0.3.17 [INFO] [stderr] Compiling biocomputation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/ga_spec.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dataitem::DataItem` [INFO] [stdout] --> src/population.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dataitem::DataItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/rule.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::candidate::Candidate` [INFO] [stdout] --> src/selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::candidate::Candidate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CrossoverStrategyCommonOptions`, `CrossoverStrategy`, `MatchupStrategy`, `MatingStrategy`, `MirroringStrategy` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | CrossoverStrategy, CrossoverStrategyCommonOptions, MatchupStrategy, MatingStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | MirroringStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutationStrategyCommonOptions`, `MutationStrategyVariant`, `MutationStrategy` [INFO] [stdout] --> src/main.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | use mutation::{MutationStrategy, MutationStrategyCommonOptions, MutationStrategyVariant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GaSpec` [INFO] [stdout] --> src/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use ga_spec::{CalculatedSpecs, GaSpec, GaSpecInput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DuplicateHandlingStrategy`, `RouletteSelection`, `SelectionStrategyCommonOptions`, `SelectionStrategyVariant`, `SelectionStrategy`, `TournamentSelection` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | DuplicateHandlingStrategy, RouletteSelection, Selection, SelectionStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | SelectionStrategyCommonOptions, SelectionStrategyVariant, TournamentSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Selection` [INFO] [stdout] --> src/main.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | DuplicateHandlingStrategy, RouletteSelection, Selection, SelectionStrategy, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let (training, test) = data_set.split_at_percentage(opt.split_percentage)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | for i in 0..ga_specs.max_evolutions { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate` [INFO] [stdout] --> src/main.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | for CandidateFitness { fitness, candidate } in &fitness { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `candidate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/selection.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | for i in 0..self.tournament_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mutation.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | mut population: &mut Population, [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: variable does not need to be mutable [INFO] [stdout] --> src/rule.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(mut rng: &mut T, spec: &GaSpec) -> Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mutation_count` [INFO] [stdout] --> src/candidate.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mutation_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Candidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/candidate.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, Eq)] [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: associated function is never used: `mutation_count` [INFO] [stdout] --> src/candidate.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn mutation_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mutation_count` [INFO] [stdout] --> src/candidate.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_mutation_count(&mut self, new_mutation_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_mutation_count` [INFO] [stdout] --> src/candidate.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn increment_mutation_count(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `age` [INFO] [stdout] --> src/candidate.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn age(&mut self, current_generation_id: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `birth_generation_id` [INFO] [stdout] --> src/candidate.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn birth_generation_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rules_mut` [INFO] [stdout] --> src/candidate.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn rules_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RngFail` [INFO] [stdout] --> src/crossover.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | RngFail, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CrossoverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/crossover.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `char_at` [INFO] [stdout] --> src/dataitem.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn char_at(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HeterogenousData` [INFO] [stdout] --> src/dataset.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | HeterogenousData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataSetError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dataset.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Error, Clone, 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: `InvalidPercentage` [INFO] [stdout] --> src/dataset.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | InvalidPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataSetError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dataset.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Error, Clone, 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: `set_generation` [INFO] [stdout] --> src/population.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn set_generation(&mut self, new_generation: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `candidates_mut` [INFO] [stdout] --> src/population.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn candidates_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "6799249fccc3f79ca0142ecd6ebc8dcc7f7b67e7f58ce1e838974df2a2acd17b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6799249fccc3f79ca0142ecd6ebc8dcc7f7b67e7f58ce1e838974df2a2acd17b", kill_on_drop: false }` [INFO] [stdout] 6799249fccc3f79ca0142ecd6ebc8dcc7f7b67e7f58ce1e838974df2a2acd17b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 17b3cd6d5aacc477f683cacb9eea40ac0612596903ee2f60018fe565240d75b2 [INFO] running `Command { std: "docker" "start" "-a" "17b3cd6d5aacc477f683cacb9eea40ac0612596903ee2f60018fe565240d75b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling biocomputation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/ga_spec.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dataitem::DataItem` [INFO] [stdout] --> src/population.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::dataitem::DataItem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/rule.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::candidate::Candidate` [INFO] [stdout] --> src/selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::candidate::Candidate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CrossoverStrategyCommonOptions`, `CrossoverStrategy`, `MatchupStrategy`, `MatingStrategy`, `MirroringStrategy` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | CrossoverStrategy, CrossoverStrategyCommonOptions, MatchupStrategy, MatingStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | MirroringStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutationStrategyCommonOptions`, `MutationStrategyVariant`, `MutationStrategy` [INFO] [stdout] --> src/main.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | use mutation::{MutationStrategy, MutationStrategyCommonOptions, MutationStrategyVariant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GaSpec` [INFO] [stdout] --> src/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use ga_spec::{CalculatedSpecs, GaSpec, GaSpecInput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DuplicateHandlingStrategy`, `RouletteSelection`, `SelectionStrategyCommonOptions`, `SelectionStrategyVariant`, `SelectionStrategy`, `TournamentSelection` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | DuplicateHandlingStrategy, RouletteSelection, Selection, SelectionStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | SelectionStrategyCommonOptions, SelectionStrategyVariant, TournamentSelection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Selection` [INFO] [stdout] --> src/main.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | DuplicateHandlingStrategy, RouletteSelection, Selection, SelectionStrategy, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let (training, test) = data_set.split_at_percentage(opt.split_percentage)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | for i in 0..ga_specs.max_evolutions { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `candidate` [INFO] [stdout] --> src/main.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | for CandidateFitness { fitness, candidate } in &fitness { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `candidate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/selection.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | for i in 0..self.tournament_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mutation.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | mut population: &mut Population, [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: variable does not need to be mutable [INFO] [stdout] --> src/rule.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate(mut rng: &mut T, spec: &GaSpec) -> Self { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mutation_count` [INFO] [stdout] --> src/candidate.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | mutation_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Candidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/candidate.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, Eq)] [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: associated function is never used: `mutation_count` [INFO] [stdout] --> src/candidate.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn mutation_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mutation_count` [INFO] [stdout] --> src/candidate.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_mutation_count(&mut self, new_mutation_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_mutation_count` [INFO] [stdout] --> src/candidate.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn increment_mutation_count(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `age` [INFO] [stdout] --> src/candidate.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn age(&mut self, current_generation_id: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `birth_generation_id` [INFO] [stdout] --> src/candidate.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn birth_generation_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rules_mut` [INFO] [stdout] --> src/candidate.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn rules_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RngFail` [INFO] [stdout] --> src/crossover.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | RngFail, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CrossoverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/crossover.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HeterogenousData` [INFO] [stdout] --> src/dataset.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | HeterogenousData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataSetError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dataset.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Error, Clone, 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: `InvalidPercentage` [INFO] [stdout] --> src/dataset.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | InvalidPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DataSetError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dataset.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Error, Clone, 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: `set_generation` [INFO] [stdout] --> src/population.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn set_generation(&mut self, new_generation: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `candidates_mut` [INFO] [stdout] --> src/population.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn candidates_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.11s [INFO] running `Command { std: "docker" "inspect" "17b3cd6d5aacc477f683cacb9eea40ac0612596903ee2f60018fe565240d75b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b3cd6d5aacc477f683cacb9eea40ac0612596903ee2f60018fe565240d75b2", kill_on_drop: false }` [INFO] [stdout] 17b3cd6d5aacc477f683cacb9eea40ac0612596903ee2f60018fe565240d75b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] f94bf60ee7239381d8952d1aeae2d4705ef370ac9adc9a91c2a0607f09b8f6f2 [INFO] running `Command { std: "docker" "start" "-a" "f94bf60ee7239381d8952d1aeae2d4705ef370ac9adc9a91c2a0607f09b8f6f2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/main.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/ga_spec.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::dataitem::DataItem` [INFO] [stderr] --> src/population.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::dataitem::DataItem; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Display` [INFO] [stderr] --> src/rule.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fmt::{self, Debug, Display}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::candidate::Candidate` [INFO] [stderr] --> src/selection.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::candidate::Candidate; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CrossoverStrategyCommonOptions`, `CrossoverStrategy`, `MatchupStrategy`, `MatingStrategy`, `MirroringStrategy` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | CrossoverStrategy, CrossoverStrategyCommonOptions, MatchupStrategy, MatingStrategy, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] 20 | MirroringStrategy, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MutationStrategyCommonOptions`, `MutationStrategyVariant`, `MutationStrategy` [INFO] [stderr] --> src/main.rs:22:16 [INFO] [stderr] | [INFO] [stderr] 22 | use mutation::{MutationStrategy, MutationStrategyCommonOptions, MutationStrategyVariant}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GaSpec` [INFO] [stderr] --> src/main.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | use ga_spec::{CalculatedSpecs, GaSpec, GaSpecInput}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DuplicateHandlingStrategy`, `RouletteSelection`, `SelectionStrategyCommonOptions`, `SelectionStrategyVariant`, `SelectionStrategy`, `TournamentSelection` [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | DuplicateHandlingStrategy, RouletteSelection, Selection, SelectionStrategy, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 28 | SelectionStrategyCommonOptions, SelectionStrategyVariant, TournamentSelection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Selection` [INFO] [stderr] --> src/main.rs:27:51 [INFO] [stderr] | [INFO] [stderr] 27 | DuplicateHandlingStrategy, RouletteSelection, Selection, SelectionStrategy, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `test` [INFO] [stderr] --> src/main.rs:78:20 [INFO] [stderr] | [INFO] [stderr] 78 | let (training, test) = data_set.split_at_percentage(opt.split_percentage)?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | for i in 0..ga_specs.max_evolutions { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `candidate` [INFO] [stderr] --> src/main.rs:102:41 [INFO] [stderr] | [INFO] [stderr] 102 | for CandidateFitness { fitness, candidate } in &fitness { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `candidate: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/selection.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | for i in 0..self.tournament_size { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/mutation.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | mut population: &mut Population, [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: variable does not need to be mutable [INFO] [stderr] --> src/rule.rs:48:29 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn generate(mut rng: &mut T, spec: &GaSpec) -> Self { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mutation_count` [INFO] [stderr] --> src/candidate.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | mutation_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Candidate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/candidate.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Clone, Eq)] [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: associated function is never used: `mutation_count` [INFO] [stderr] --> src/candidate.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn mutation_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_mutation_count` [INFO] [stderr] --> src/candidate.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn set_mutation_count(&mut self, new_mutation_count: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `increment_mutation_count` [INFO] [stderr] --> src/candidate.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn increment_mutation_count(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `age` [INFO] [stderr] --> src/candidate.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn age(&mut self, current_generation_id: usize) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `birth_generation_id` [INFO] [stderr] --> src/candidate.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn birth_generation_id(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rules_mut` [INFO] [stderr] --> src/candidate.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn rules_mut(&mut self) -> &mut HashSet { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RngFail` [INFO] [stderr] --> src/crossover.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | RngFail, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CrossoverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/crossover.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HeterogenousData` [INFO] [stderr] --> src/dataset.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | HeterogenousData, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataSetError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dataset.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Error, Clone, 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: `InvalidPercentage` [INFO] [stderr] --> src/dataset.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | InvalidPercentage, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataSetError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dataset.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | #[derive(Error, Clone, 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: `set_generation` [INFO] [stderr] --> src/population.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn set_generation(&mut self, new_generation: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `candidates_mut` [INFO] [stderr] --> src/population.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn candidates_mut(&mut self) -> &mut HashSet { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `biocomputation` (bin "biocomputation" test) generated 29 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/biocomputation-d6c16d4d9c671caa) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test dataitem::test::test_non_ascii ... ok [INFO] [stdout] test dataitem::test::test_num_digits_width ... ok [INFO] [stdout] test dataitem::test::test_binary ... ok [INFO] [stdout] test dataitem::test::test_one_ignored ... ok [INFO] [stdout] test dataitem::test::test_char_at ... FAILED [INFO] [stdout] test dataitem::test::test_non_digit ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- dataitem::test::test_char_at stdout ---- [INFO] [stdout] thread 'dataitem::test::test_char_at' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Some('1')`, [INFO] [stdout] right: `Some('9')`', src/dataitem.rs:172:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5594453496ed - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5594453496ed - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5594453496ed - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5594453496ed - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55944536facc - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x559445344fe8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stderr] error: test failed, to rerun pass '--bin biocomputation' [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55944534b9c7 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55944534b9c7 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55944534b9c7 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55944534b6fc - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55944534c119 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55944534be07 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x559445349bb4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55944534bb19 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55944513d673 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55944536e688 - core::panicking::assert_failed_inner::hbaac70a629215a04 [INFO] [stdout] 16: 0x55944513f6da - core::panicking::assert_failed::hc6aee132534aaa0c [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55944514055e - biocomputation::dataitem::test::test_char_at::hcb0e135b448a1b37 [INFO] [stdout] at /opt/rustwide/workdir/src/dataitem.rs:172:9 [INFO] [stdout] 18: 0x55944514041a - biocomputation::dataitem::test::test_char_at::{{closure}}::hfe6d3abd0e528f1b [INFO] [stdout] at /opt/rustwide/workdir/src/dataitem.rs:168:5 [INFO] [stdout] 19: 0x55944514178e - core::ops::function::FnOnce::call_once::hcf7f632172ab506c [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x559445171f13 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x559445171f13 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x559445170bf4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 23: 0x559445170bf4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x559445170bf4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x559445170bf4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x559445170bf4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x559445170bf4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x559445170bf4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55944517a511 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55944517a511 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x559445146b8f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x559445146b8f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x559445146b8f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x559445146b8f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x559445146b8f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x559445146b8f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x559445146b8f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x559445351e03 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 39: 0x559445351e03 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 40: 0x559445351e03 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fc301184609 - start_thread [INFO] [stdout] 42: 0x7fc30140d163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] dataitem::test::test_char_at [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f94bf60ee7239381d8952d1aeae2d4705ef370ac9adc9a91c2a0607f09b8f6f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94bf60ee7239381d8952d1aeae2d4705ef370ac9adc9a91c2a0607f09b8f6f2", kill_on_drop: false }` [INFO] [stdout] f94bf60ee7239381d8952d1aeae2d4705ef370ac9adc9a91c2a0607f09b8f6f2