[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] checking menixator/biocomputation against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmenixator%2Fbiocomputation" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/menixator/biocomputation on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ee36f503e13310e578ddfe119d386ce0ab118e3e5941fec97161893ecc283d74 [INFO] running `Command { std: "docker" "start" "-a" "ee36f503e13310e578ddfe119d386ce0ab118e3e5941fec97161893ecc283d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee36f503e13310e578ddfe119d386ce0ab118e3e5941fec97161893ecc283d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee36f503e13310e578ddfe119d386ce0ab118e3e5941fec97161893ecc283d74", kill_on_drop: false }` [INFO] [stdout] ee36f503e13310e578ddfe119d386ce0ab118e3e5941fec97161893ecc283d74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11f710c110ab78b131f72d7fe9cb1efc144910bc5e72c842f132fd9dc4c3c05e [INFO] running `Command { std: "docker" "start" "-a" "11f710c110ab78b131f72d7fe9cb1efc144910bc5e72c842f132fd9dc4c3c05e", kill_on_drop: false }` [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 serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking 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 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: 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: 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: 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: 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: 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: 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] = note: `#[warn(dead_code)]` on by default [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] [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] [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] [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] [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: 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] = note: `#[warn(dead_code)]` on by default [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] [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] [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] [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: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.68s [INFO] running `Command { std: "docker" "inspect" "11f710c110ab78b131f72d7fe9cb1efc144910bc5e72c842f132fd9dc4c3c05e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f710c110ab78b131f72d7fe9cb1efc144910bc5e72c842f132fd9dc4c3c05e", kill_on_drop: false }` [INFO] [stdout] 11f710c110ab78b131f72d7fe9cb1efc144910bc5e72c842f132fd9dc4c3c05e