[INFO] cloning repository https://github.com/brandonphelps/rai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brandonphelps/rai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Frai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Frai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8189ce0e044af3b0bbcc17195141a65e58ae6c61 [INFO] checking brandonphelps/rai against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrandonphelps%2Frai" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brandonphelps/rai on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brandonphelps/rai [INFO] finished tweaking git repo https://github.com/brandonphelps/rai [INFO] tweaked toml for git repo https://github.com/brandonphelps/rai written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/brandonphelps/rai already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded more-asserts v0.2.1 [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded ppv-lite86 v0.2.10 [INFO] [stderr] Downloaded prgrs v0.6.4 [INFO] [stderr] Downloaded getrandom v0.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dea16fddf97eb4fb9c07177834cbd254b9c28c2048be838ac9ba6295467c883e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dea16fddf97eb4fb9c07177834cbd254b9c28c2048be838ac9ba6295467c883e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dea16fddf97eb4fb9c07177834cbd254b9c28c2048be838ac9ba6295467c883e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dea16fddf97eb4fb9c07177834cbd254b9c28c2048be838ac9ba6295467c883e", kill_on_drop: false }` [INFO] [stdout] dea16fddf97eb4fb9c07177834cbd254b9c28c2048be838ac9ba6295467c883e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "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] 6999f149a626ef1306e51bf03e706c7ed6b690d0f13417ee8e6eb70b1ed1409e [INFO] running `Command { std: "docker" "start" "-a" "6999f149a626ef1306e51bf03e706c7ed6b690d0f13417ee8e6eb70b1ed1409e", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking prgrs v0.6.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] Checking rai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate [INFO] [stdout] --> src/main.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let normal = Normal::new(0.0, 0.5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `rand::distributions::Normal`: moved to rand_distr crate [INFO] [stdout] --> src/main.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let normal = Normal::new(0.0, 0.5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/main.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::distributions::{Distribution, Normal}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/main.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::distributions::{Distribution, Normal}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `iteration_count` is assigned to, but never used [INFO] [stdout] --> src/main.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let mut iteration_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_iteration_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | for i in [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_msg` [INFO] [stdout] --> src/main.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | let mut default_msg = &mut String::from("default message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> src/main.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | for (edge_index, edge) in network.edges.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inno_num` [INFO] [stdout] --> src/neat.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | .position(|inno_num| conn_history.matches(network_inno_ids, from_node, to_node)) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inno_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/nn.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | for n in 0..self.layer_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_inno_id` [INFO] [stdout] --> src/nn.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let new_inno_id = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_inno_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `iteration_count` is assigned to, but never used [INFO] [stdout] --> src/main.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let mut iteration_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_iteration_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | for i in [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default_msg` [INFO] [stdout] --> src/main.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | let mut default_msg = &mut String::from("default message"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T` [INFO] [stdout] --> src/nn.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | Some(T) => return true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> src/main.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | for (edge_index, edge) in network.edges.iter().enumerate() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inno_num` [INFO] [stdout] --> src/neat.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | .position(|inno_num| conn_history.matches(network_inno_ids, from_node, to_node)) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inno_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/nn.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | for n in 0..self.layer_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_inno_id` [INFO] [stdout] --> src/nn.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let new_inno_id = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_inno_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T` [INFO] [stdout] --> src/nn.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | Some(T) => return true, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `innovation_history` [INFO] [stdout] --> src/main.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let mut innovation_history = neat::InnovationHistory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_innovation_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | let mut default_msg = &mut String::from("default message"); [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/main.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | let mut network = nn::Network::new(num_inputs, num_outputs, true); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | let mut network_two = nn::Network::new(num_inputs, num_outputs, true); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let mut innovation_history = neat::InnovationHistory { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | let mut network_three = nn::Network::new(num_inputs, num_outputs, false); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let mut network = nn::Network::new(num_inputs, num_outputs, true); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | let mut network_three = nn::Network::new(num_inputs, num_outputs, false); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | let mut default_msg = &mut String::from("default message"); [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/nn.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | mut inno_handler: &mut Option<&mut InnovationHistory>, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nn.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | mut inno_handler: &mut Option<&mut InnovationHistory>, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/hrm.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Instruction {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Program` [INFO] [stdout] --> src/hrm.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Species` [INFO] [stdout] --> src/neat.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Species { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/neat.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(excess_coeff: f64, weight_diff_coeff: f64, compat_threashold: f64) -> Species { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_champion` [INFO] [stdout] --> src/neat.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn set_champion(&mut self, new_champ: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `same_species` [INFO] [stdout] --> src/neat.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn same_species(&self, other: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_excess_disjoint` [INFO] [stdout] --> src/neat.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_excess_disjoint(one: &Vec, two: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_average_weight_diff` [INFO] [stdout] --> src/neat.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_average_weight_diff(one: &Vec, two: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pretty_print` [INFO] [stdout] --> src/nn.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn pretty_print(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SortedIdCount` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | static SortedIdCount: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `GLOBAL_INNO_ID` [INFO] [stdout] --> src/main.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | static GLOBAL_INNO_ID: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(input_count: u32, output_count: u32) -> TestNetwork { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_fitness_func` [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn do_fitness_func(individuals: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_parents` [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn select_parents(individuals: &Vec, parent_count: usize) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_offspring` [INFO] [stdout] --> src/main.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn generate_offspring(parents: &Vec<&T>, offspring_count: u128) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `t_main` [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn t_main() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `SinFIdCount` should have an upper case name [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | static SinFIdCount: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SIN_FID_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fitnessSum` should have a snake case name [INFO] [stdout] --> src/main.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut fitnessSum: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fitness_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `runningSum` should have a snake case name [INFO] [stdout] --> src/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let mut runningSum: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `running_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/nn.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | Some(T) => return true, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/nn.rs:356:22 [INFO] [stdout] | [INFO] [stdout] 356 | Some(T) => return T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/nn.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | Some(T) => return T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Instruction` [INFO] [stdout] --> src/hrm.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Instruction {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Program` [INFO] [stdout] --> src/hrm.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SortedIdCount` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | static SortedIdCount: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `GLOBAL_INNO_ID` [INFO] [stdout] --> src/main.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | static GLOBAL_INNO_ID: u64 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn new(input_count: u32, output_count: u32) -> TestNetwork { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_fitness_func` [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn do_fitness_func(individuals: &Vec) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_parents` [INFO] [stdout] --> src/main.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | fn select_parents(individuals: &Vec, parent_count: usize) -> Vec<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_offspring` [INFO] [stdout] --> src/main.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn generate_offspring(parents: &Vec<&T>, offspring_count: u128) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `t_main` [INFO] [stdout] --> src/main.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn t_main() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `SinFIdCount` should have an upper case name [INFO] [stdout] --> src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | static SinFIdCount: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `SIN_FID_COUNT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fitnessSum` should have a snake case name [INFO] [stdout] --> src/main.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut fitnessSum: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fitness_sum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `runningSum` should have a snake case name [INFO] [stdout] --> src/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let mut runningSum: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `running_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/nn.rs:331:18 [INFO] [stdout] | [INFO] [stdout] 331 | Some(T) => return true, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/nn.rs:356:22 [INFO] [stdout] | [INFO] [stdout] 356 | Some(T) => return T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> src/nn.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | Some(T) => return T, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.19s [INFO] running `Command { std: "docker" "inspect" "6999f149a626ef1306e51bf03e706c7ed6b690d0f13417ee8e6eb70b1ed1409e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6999f149a626ef1306e51bf03e706c7ed6b690d0f13417ee8e6eb70b1ed1409e", kill_on_drop: false }` [INFO] [stdout] 6999f149a626ef1306e51bf03e706c7ed6b690d0f13417ee8e6eb70b1ed1409e