[INFO] cloning repository https://github.com/bgalvao/nodevo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgalvao/nodevo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgalvao%2Fnodevo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgalvao%2Fnodevo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fa9c3bb1f088fdf7b45fb5eb96f8f79e8f3b9b0 [INFO] checking bgalvao/nodevo against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgalvao%2Fnodevo" "/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/bgalvao/nodevo on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bgalvao/nodevo [INFO] finished tweaking git repo https://github.com/bgalvao/nodevo [INFO] tweaked toml for git repo https://github.com/bgalvao/nodevo written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/bgalvao/nodevo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-core v1.0.0 [INFO] [stderr] Downloaded rayon v0.7.0 [INFO] [stderr] Downloaded deque v0.3.2 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb12f85bfd1e48b2b298e4e4219397ce28a40032187f290d3ea49278c76280de [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" "cb12f85bfd1e48b2b298e4e4219397ce28a40032187f290d3ea49278c76280de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb12f85bfd1e48b2b298e4e4219397ce28a40032187f290d3ea49278c76280de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb12f85bfd1e48b2b298e4e4219397ce28a40032187f290d3ea49278c76280de", kill_on_drop: false }` [INFO] [stdout] cb12f85bfd1e48b2b298e4e4219397ce28a40032187f290d3ea49278c76280de [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1be8ecbb7d174aab81798ef44c4d99f1f3a6167817154c92ad61b78ad979f86 [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" "f1be8ecbb7d174aab81798ef44c4d99f1f3a6167817154c92ad61b78ad979f86", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.0.0 [INFO] [stderr] Checking deque v0.3.2 [INFO] [stderr] Checking num_cpus v1.4.0 [INFO] [stderr] Checking rayon v0.7.0 [INFO] [stderr] Checking nodevo v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn fitness_proportionate_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn fitness_proportionate_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Selection` in public interface (error E0446) [INFO] [stdout] --> src/core/gp.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train` [INFO] [stdout] --> src/core/data.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn train(&self) -> &Vec> { [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: `test` [INFO] [stdout] --> src/core/data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test(&self) -> &Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dims` [INFO] [stdout] --> src/core/data.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn dims(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train_targets` [INFO] [stdout] --> src/core/data.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn train_targets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test_targets` [INFO] [stdout] --> src/core/data.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn test_targets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/data.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dataset: &'static str) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_df` [INFO] [stdout] --> src/core/data.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn new_df(filename: String) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_iterator` [INFO] [stdout] --> src/core/data.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_iterator(filepath: &str) -> Lines> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_array` [INFO] [stdout] --> src/core/data.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn fill_array(lines: Lines>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose_array` [INFO] [stdout] --> src/core/data.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn transpose_array(array: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rmse` [INFO] [stdout] --> src/core/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rmse(x: &Vec, y: &Vec) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/core/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn add(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subtract` [INFO] [stdout] --> src/core/utils.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn subtract(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `multiply` [INFO] [stdout] --> src/core/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn multiply(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cosine` [INFO] [stdout] --> src/core/utils.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn cosine(x: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `logistic_function` [INFO] [stdout] --> src/core/utils.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn logistic_function(x: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `divide` [INFO] [stdout] --> src/core/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn divide(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Addition` [INFO] [stdout] --> src/core/node.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Addition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtraction` [INFO] [stdout] --> src/core/node.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Subtraction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiplication` [INFO] [stdout] --> src/core/node.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Multiplication, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Division` [INFO] [stdout] --> src/core/node.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cosine` [INFO] [stdout] --> src/core/node.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Cosine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogFunction` [INFO] [stdout] --> src/core/node.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | LogFunction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/core/node.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Input(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Constant` [INFO] [stdout] --> src/core/node.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Constant(f32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/core/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op` [INFO] [stdout] --> src/core/node.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn op(&self, args: Vec>) -> Vec { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_const` [INFO] [stdout] --> src/core/node.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_random_const() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_functional` [INFO] [stdout] --> src/core/node.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_random_functional() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_input` [INFO] [stdout] --> src/core/node.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_random_input(dimensions: usize) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clone_core` [INFO] [stdout] --> src/core/individual.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn clone_core(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train` [INFO] [stdout] --> src/core/individual.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn train(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test` [INFO] [stdout] --> src/core/individual.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn test(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/core/individual.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `depth` [INFO] [stdout] --> src/core/individual.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn depth(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train_semantics` [INFO] [stdout] --> src/core/individual.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn train_semantics(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test_semantics` [INFO] [stdout] --> src/core/individual.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn test_semantics(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `semantics` [INFO] [stdout] --> src/core/individual.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn semantics(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/individual.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn new() -> Individual { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full` [INFO] [stdout] --> src/core/individual.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn full(max_depth: usize, data_ref: &Data) -> Individual { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_full` [INFO] [stdout] --> src/core/individual.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn inner_full(&mut self, current_depth: usize, max_depth: usize, data_dims: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grow` [INFO] [stdout] --> src/core/individual.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn grow(max_depth: usize, data_ref: &Data) -> Individual { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_grow` [INFO] [stdout] --> src/core/individual.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn inner_grow(&mut self, current_depth: usize, max_depth: usize, data_dims: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/core/individual.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn get(&mut self, idx: usize) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepend_node` [INFO] [stdout] --> src/core/individual.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn prepend_node(&mut self, node: Node) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_depth` [INFO] [stdout] --> src/core/individual.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn compute_depth(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_compute_depth` [INFO] [stdout] --> src/core/individual.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | fn inner_compute_depth(&mut self, idx: &mut usize, current_depth: &usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `output` [INFO] [stdout] --> src/core/individual.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn output(&mut self, mut idx: usize, df: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_semantics` [INFO] [stdout] --> src/core/individual.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn compute_semantics(&mut self, data: &Data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluate` [INFO] [stdout] --> src/core/individual.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn evaluate(&mut self, data: &Data) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_subtree_nodes` [INFO] [stdout] --> src/core/individual.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn count_subtree_nodes(&self, starting_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `outer_left_copy` [INFO] [stdout] --> src/core/individual.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn outer_left_copy(&self, excluding_node_at: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `outer_right_copy` [INFO] [stdout] --> src/core/individual.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn outer_right_copy(&self, including_node_at: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy_subtree` [INFO] [stdout] --> src/core/individual.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn copy_subtree(&self, from_node: usize, subtree_nodes: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plug_in_core` [INFO] [stdout] --> src/core/individual.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn plug_in_core(&mut self, nodes: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `crossover` [INFO] [stdout] --> src/core/individual.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn crossover(p1: &Individual, p2: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mutation` [INFO] [stdout] --> src/core/individual.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn mutation(p1: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `crossover` [INFO] [stdout] --> src/core/individual.rs:369:16 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn crossover(p1: &Individual, p2: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gs_crossover_semantics` [INFO] [stdout] --> src/core/individual.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | fn gs_crossover_semantics(p1_semantics: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_xo_offspring_size` [INFO] [stdout] --> src/core/individual.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | fn calc_xo_offspring_size(p1: &Individual, p2: &Individual, r1: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_xo_offspring_depth` [INFO] [stdout] --> src/core/individual.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | fn calc_xo_offspring_depth(p1: &Individual, p2: &Individual, r1: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mutation` [INFO] [stdout] --> src/core/individual.rs:415:16 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn mutation(p1: &Individual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gs_mutation_semantics` [INFO] [stdout] --> src/core/individual.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | fn gs_mutation_semantics(p1_sems: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_mut_offspring_size` [INFO] [stdout] --> src/core/individual.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | fn calc_mut_offspring_size(p1: &Individual, r1: &Individual, r2: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_mut_offspring_depth` [INFO] [stdout] --> src/core/individual.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | fn calc_mut_offspring_depth(p1: &Individual, r1: &Individual, r2: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/core/population.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/population.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Population { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/core/population.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_individual` [INFO] [stdout] --> src/core/population.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_individual(&mut self, new_guy: Individual) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_individuals` [INFO] [stdout] --> src/core/population.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn add_individuals(&mut self, new_guys: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core_mut` [INFO] [stdout] --> src/core/population.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn core_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core` [INFO] [stdout] --> src/core/population.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn core(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rhh` [INFO] [stdout] --> src/core/population.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new_rhh(pop_size: usize, max_init_depth: usize, data: &Data) -> Population { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_by_te` [INFO] [stdout] --> src/core/population.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn sort_by_te(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_first` [INFO] [stdout] --> src/core/population.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_first(&self) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Selection` in public interface (error E0446) [INFO] [stdout] --> src/core/gp.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clone_k_best` [INFO] [stdout] --> src/core/population.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn clone_k_best(&self, k: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep_k_best` [INFO] [stdout] --> src/core/population.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn keep_k_best(&mut self, k: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tournament_select` [INFO] [stdout] --> src/core/population.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn tournament_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fitness_proportionate_select` [INFO] [stdout] --> src/core/population.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn fitness_proportionate_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train` [INFO] [stdout] --> src/core/data.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn train(&self) -> &Vec> { [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: `test` [INFO] [stdout] --> src/core/data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn test(&self) -> &Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank_select` [INFO] [stdout] --> src/core/population.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pareto_rank_select` [INFO] [stdout] --> src/core/population.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dims` [INFO] [stdout] --> src/core/data.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn dims(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Selection` [INFO] [stdout] --> src/core/gp.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Selection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train_targets` [INFO] [stdout] --> src/core/data.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn train_targets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Variation` [INFO] [stdout] --> src/core/gp.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Variation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test_targets` [INFO] [stdout] --> src/core/data.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn test_targets(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GP` [INFO] [stdout] --> src/core/gp.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GP { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/data.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(dataset: &'static str) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_gp` [INFO] [stdout] --> src/core/gp.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_gp(dataset: Data) -> GP { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_df` [INFO] [stdout] --> src/core/data.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn new_df(filename: String) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_gsgp` [INFO] [stdout] --> src/core/gp.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new_gsgp(dataset: Data) -> GP { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pop` [INFO] [stdout] --> src/core/gp.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pop(mut self, pop: Population) -> GP { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_iterator` [INFO] [stdout] --> src/core/data.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_iterator(filepath: &str) -> Lines> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pop_size` [INFO] [stdout] --> src/core/gp.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_pop_size(mut self, size: usize) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_array` [INFO] [stdout] --> src/core/data.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn fill_array(lines: Lines>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_xo_rate` [INFO] [stdout] --> src/core/gp.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn set_xo_rate(mut self, xo_rate: f32) -> GP { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose_array` [INFO] [stdout] --> src/core/data.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn transpose_array(array: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pool_size` [INFO] [stdout] --> src/core/gp.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn set_pool_size(mut self, ps: usize) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rmse` [INFO] [stdout] --> src/core/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn rmse(x: &Vec, y: &Vec) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_selection_method` [INFO] [stdout] --> src/core/gp.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/core/utils.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn add(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/core/gp.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pop(&self) -> &Population { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subtract` [INFO] [stdout] --> src/core/utils.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn subtract(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_mut` [INFO] [stdout] --> src/core/gp.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn pop_mut(&mut self) -> &mut Population { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `multiply` [INFO] [stdout] --> src/core/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn multiply(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_new_pop` [INFO] [stdout] --> src/core/gp.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn init_new_pop(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cosine` [INFO] [stdout] --> src/core/utils.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn cosine(x: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_state` [INFO] [stdout] --> src/core/gp.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `logistic_function` [INFO] [stdout] --> src/core/utils.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn logistic_function(x: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select` [INFO] [stdout] --> src/core/gp.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn select(&self) -> &Individual { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `divide` [INFO] [stdout] --> src/core/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn divide(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crossover` [INFO] [stdout] --> src/core/gp.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn crossover(&self, p1: &Individual, p2: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Addition` [INFO] [stdout] --> src/core/node.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Addition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Subtraction` [INFO] [stdout] --> src/core/node.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Subtraction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mutation` [INFO] [stdout] --> src/core/gp.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn mutation(&self, p1: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiplication` [INFO] [stdout] --> src/core/node.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Multiplication, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Division` [INFO] [stdout] --> src/core/node.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve` [INFO] [stdout] --> src/core/gp.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn evolve(&mut self, gens: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cosine` [INFO] [stdout] --> src/core/node.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Cosine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clean` [INFO] [stdout] --> src/core/gp.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn clean(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogFunction` [INFO] [stdout] --> src/core/node.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | LogFunction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Input` [INFO] [stdout] --> src/core/node.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Input(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Mgp` [INFO] [stdout] --> src/core/multi_gp.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Mgp { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Constant` [INFO] [stdout] --> src/core/node.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Constant(f32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/multi_gp.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Mgp { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arity` [INFO] [stdout] --> src/core/node.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn arity(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_subpop` [INFO] [stdout] --> src/core/multi_gp.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_subpop(mut self, s: GP) -> Mgp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `op` [INFO] [stdout] --> src/core/node.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn op(&self, args: Vec>) -> Vec { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/core/multi_gp.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve_in_parallel` [INFO] [stdout] --> src/core/multi_gp.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn evolve_in_parallel(&mut self, turns: u8, gens_per_turn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_const` [INFO] [stdout] --> src/core/node.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_random_const() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_functional` [INFO] [stdout] --> src/core/node.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_random_functional() -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random_input` [INFO] [stdout] --> src/core/node.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_random_input(dimensions: usize) -> Node { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clone_core` [INFO] [stdout] --> src/core/individual.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn clone_core(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train` [INFO] [stdout] --> src/core/individual.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn train(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test` [INFO] [stdout] --> src/core/individual.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn test(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/core/individual.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `depth` [INFO] [stdout] --> src/core/individual.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn depth(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `train_semantics` [INFO] [stdout] --> src/core/individual.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn train_semantics(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `test_semantics` [INFO] [stdout] --> src/core/individual.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn test_semantics(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `semantics` [INFO] [stdout] --> src/core/individual.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn semantics(&self) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/individual.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn new() -> Individual { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full` [INFO] [stdout] --> src/core/individual.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn full(max_depth: usize, data_ref: &Data) -> Individual { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_full` [INFO] [stdout] --> src/core/individual.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn inner_full(&mut self, current_depth: usize, max_depth: usize, data_dims: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grow` [INFO] [stdout] --> src/core/individual.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn grow(max_depth: usize, data_ref: &Data) -> Individual { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_grow` [INFO] [stdout] --> src/core/individual.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn inner_grow(&mut self, current_depth: usize, max_depth: usize, data_dims: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/core/individual.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn get(&mut self, idx: usize) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prepend_node` [INFO] [stdout] --> src/core/individual.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn prepend_node(&mut self, node: Node) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_depth` [INFO] [stdout] --> src/core/individual.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn compute_depth(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_compute_depth` [INFO] [stdout] --> src/core/individual.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | fn inner_compute_depth(&mut self, idx: &mut usize, current_depth: &usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `output` [INFO] [stdout] --> src/core/individual.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn output(&mut self, mut idx: usize, df: &Vec>) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compute_semantics` [INFO] [stdout] --> src/core/individual.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn compute_semantics(&mut self, data: &Data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluate` [INFO] [stdout] --> src/core/individual.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn evaluate(&mut self, data: &Data) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_subtree_nodes` [INFO] [stdout] --> src/core/individual.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn count_subtree_nodes(&self, starting_index: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `outer_left_copy` [INFO] [stdout] --> src/core/individual.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn outer_left_copy(&self, excluding_node_at: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `outer_right_copy` [INFO] [stdout] --> src/core/individual.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn outer_right_copy(&self, including_node_at: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `copy_subtree` [INFO] [stdout] --> src/core/individual.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn copy_subtree(&self, from_node: usize, subtree_nodes: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plug_in_core` [INFO] [stdout] --> src/core/individual.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn plug_in_core(&mut self, nodes: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `crossover` [INFO] [stdout] --> src/core/individual.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn crossover(p1: &Individual, p2: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mutation` [INFO] [stdout] --> src/core/individual.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn mutation(p1: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `crossover` [INFO] [stdout] --> src/core/individual.rs:369:16 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn crossover(p1: &Individual, p2: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gs_crossover_semantics` [INFO] [stdout] --> src/core/individual.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | fn gs_crossover_semantics(p1_semantics: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_xo_offspring_size` [INFO] [stdout] --> src/core/individual.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | fn calc_xo_offspring_size(p1: &Individual, p2: &Individual, r1: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_xo_offspring_depth` [INFO] [stdout] --> src/core/individual.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | fn calc_xo_offspring_depth(p1: &Individual, p2: &Individual, r1: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mutation` [INFO] [stdout] --> src/core/individual.rs:415:16 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn mutation(p1: &Individual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gs_mutation_semantics` [INFO] [stdout] --> src/core/individual.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | fn gs_mutation_semantics(p1_sems: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_mut_offspring_size` [INFO] [stdout] --> src/core/individual.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | fn calc_mut_offspring_size(p1: &Individual, r1: &Individual, r2: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_mut_offspring_depth` [INFO] [stdout] --> src/core/individual.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 465 | fn calc_mut_offspring_depth(p1: &Individual, r1: &Individual, r2: &Individual) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/core/population.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/population.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Population { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/core/population.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_individual` [INFO] [stdout] --> src/core/population.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_individual(&mut self, new_guy: Individual) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_individuals` [INFO] [stdout] --> src/core/population.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn add_individuals(&mut self, new_guys: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core_mut` [INFO] [stdout] --> src/core/population.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn core_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core` [INFO] [stdout] --> src/core/population.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn core(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rhh` [INFO] [stdout] --> src/core/population.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new_rhh(pop_size: usize, max_init_depth: usize, data: &Data) -> Population { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sort_by_te` [INFO] [stdout] --> src/core/population.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn sort_by_te(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_first` [INFO] [stdout] --> src/core/population.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_first(&self) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clone_k_best` [INFO] [stdout] --> src/core/population.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn clone_k_best(&self, k: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep_k_best` [INFO] [stdout] --> src/core/population.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn keep_k_best(&mut self, k: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tournament_select` [INFO] [stdout] --> src/core/population.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn tournament_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fitness_proportionate_select` [INFO] [stdout] --> src/core/population.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn fitness_proportionate_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rank_select` [INFO] [stdout] --> src/core/population.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pareto_rank_select` [INFO] [stdout] --> src/core/population.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Selection` [INFO] [stdout] --> src/core/gp.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | enum Selection { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Variation` [INFO] [stdout] --> src/core/gp.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Variation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `GP` [INFO] [stdout] --> src/core/gp.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GP { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_gp` [INFO] [stdout] --> src/core/gp.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_gp(dataset: Data) -> GP { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_gsgp` [INFO] [stdout] --> src/core/gp.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new_gsgp(dataset: Data) -> GP { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pop` [INFO] [stdout] --> src/core/gp.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pop(mut self, pop: Population) -> GP { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pop_size` [INFO] [stdout] --> src/core/gp.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn set_pop_size(mut self, size: usize) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_xo_rate` [INFO] [stdout] --> src/core/gp.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn set_xo_rate(mut self, xo_rate: f32) -> GP { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pool_size` [INFO] [stdout] --> src/core/gp.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn set_pool_size(mut self, ps: usize) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_selection_method` [INFO] [stdout] --> src/core/gp.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/core/gp.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pop(&self) -> &Population { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_mut` [INFO] [stdout] --> src/core/gp.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn pop_mut(&mut self) -> &mut Population { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_new_pop` [INFO] [stdout] --> src/core/gp.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn init_new_pop(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_state` [INFO] [stdout] --> src/core/gp.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `select` [INFO] [stdout] --> src/core/gp.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn select(&self) -> &Individual { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crossover` [INFO] [stdout] --> src/core/gp.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn crossover(&self, p1: &Individual, p2: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mutation` [INFO] [stdout] --> src/core/gp.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn mutation(&self, p1: &Individual, data: &Data) -> Individual { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve` [INFO] [stdout] --> src/core/gp.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn evolve(&mut self, gens: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clean` [INFO] [stdout] --> src/core/gp.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn clean(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Mgp` [INFO] [stdout] --> src/core/multi_gp.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Mgp { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/core/multi_gp.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new() -> Mgp { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_subpop` [INFO] [stdout] --> src/core/multi_gp.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn add_subpop(mut self, s: GP) -> Mgp { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init` [INFO] [stdout] --> src/core/multi_gp.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn init(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve_in_parallel` [INFO] [stdout] --> src/core/multi_gp.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn evolve_in_parallel(&mut self, turns: u8, gens_per_turn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn fitness_proportionate_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn fitness_proportionate_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_size` [INFO] [stdout] --> src/core/population.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Selection` in public interface (error E0446) [INFO] [stdout] --> src/core/gp.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/core/population.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_empty(&self) -> bool { [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: `core_mut` [INFO] [stdout] --> src/core/population.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn core_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core` [INFO] [stdout] --> src/core/population.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn core(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pareto_rank_select` [INFO] [stdout] --> src/core/population.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FitnessProportionate` [INFO] [stdout] --> src/core/gp.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | FitnessProportionate, // TODO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rank` [INFO] [stdout] --> src/core/gp.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Rank, // TODO [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GeometricSemantic` [INFO] [stdout] --> src/core/gp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | GeometricSemantic(f32, bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_gsgp` [INFO] [stdout] --> src/core/gp.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new_gsgp(dataset: Data) -> GP { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pop` [INFO] [stdout] --> src/core/gp.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pop(mut self, pop: Population) -> GP { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_selection_method` [INFO] [stdout] --> src/core/gp.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Selection` in public interface (error E0446) [INFO] [stdout] --> src/core/gp.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/core/population.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn is_empty(&self) -> bool { [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: `core_mut` [INFO] [stdout] --> src/core/population.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn core_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core` [INFO] [stdout] --> src/core/population.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn core(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pareto_rank_select` [INFO] [stdout] --> src/core/population.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn pareto_rank_select(&self, pool_size: usize) -> &Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FitnessProportionate` [INFO] [stdout] --> src/core/gp.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | FitnessProportionate, // TODO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rank` [INFO] [stdout] --> src/core/gp.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Rank, // TODO [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GeometricSemantic` [INFO] [stdout] --> src/core/gp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | GeometricSemantic(f32, bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_gsgp` [INFO] [stdout] --> src/core/gp.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new_gsgp(dataset: Data) -> GP { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pop` [INFO] [stdout] --> src/core/gp.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn set_pop(mut self, pop: Population) -> GP { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_selection_method` [INFO] [stdout] --> src/core/gp.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn set_selection_method(mut self, sm: Selection) -> GP { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "f1be8ecbb7d174aab81798ef44c4d99f1f3a6167817154c92ad61b78ad979f86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1be8ecbb7d174aab81798ef44c4d99f1f3a6167817154c92ad61b78ad979f86", kill_on_drop: false }` [INFO] [stdout] f1be8ecbb7d174aab81798ef44c4d99f1f3a6167817154c92ad61b78ad979f86