[INFO] cloning repository https://github.com/nsmryan/rgep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nsmryan/rgep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Frgep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Frgep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6c51757e7117c4eab7d9ef19b1a56b90482b979 [INFO] checking nsmryan/rgep against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Frgep" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/rgep on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nsmryan/rgep [INFO] finished tweaking git repo https://github.com/nsmryan/rgep [INFO] tweaked toml for git repo https://github.com/nsmryan/rgep written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/rgep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9073bb7412ff9da31c0acbcf44a592b00b3972ed5ab21167a7a21343c5322afa [INFO] running `Command { std: "docker" "start" "-a" "9073bb7412ff9da31c0acbcf44a592b00b3972ed5ab21167a7a21343c5322afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9073bb7412ff9da31c0acbcf44a592b00b3972ed5ab21167a7a21343c5322afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9073bb7412ff9da31c0acbcf44a592b00b3972ed5ab21167a7a21343c5322afa", kill_on_drop: false }` [INFO] [stdout] 9073bb7412ff9da31c0acbcf44a592b00b3972ed5ab21167a7a21343c5322afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6df3e53ef8d4ecfcf7e3c22cc6aaf42638d9ad8c656bd14c946a5c4ad36bffe2 [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" "6df3e53ef8d4ecfcf7e3c22cc6aaf42638d9ad8c656bd14c946a5c4ad36bffe2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking myopic v0.1.2 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling im v12.3.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking serde_json v1.0.36 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking criterion-plot v0.3.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking tinytemplate v1.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking statrs v0.12.0 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Checking rgep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/crossover.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/point_mutation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/ga/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::PrimInt` [INFO] [stdout] --> src/ga/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num::PrimInt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/rgep/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::crossover::*` [INFO] [stdout] --> src/rgep/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::crossover::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::point_mutation::*` [INFO] [stdout] --> src/rgep/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::point_mutation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rotation::*` [INFO] [stdout] --> src/rgep/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::rotation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::selection::*` [INFO] [stdout] --> src/rgep/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::selection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alt_pop` [INFO] [stdout] --> src/rgep/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut alt_pop = create_rgep_fast(¶ms); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alt_pop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits_per_sym` [INFO] [stdout] --> src/rgep/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let bits_per_sym = context.bits_per_sym(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/rgep/mod.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | state: &B, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval_ind` [INFO] [stdout] --> src/rgep/mod.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | eval_ind: &EvalFunction, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_ind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossover.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut cross_state = getter(state); [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/point_mutation.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut pm_state = getter(state); [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/selection.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut sus_state = getter(state); [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/evaluation.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut eval_state = getter(state); [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/rgep/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pop = create_rgep(¶ms, &context, rng); [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/rgep/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut alt_pop = create_rgep_fast(¶ms); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populationU8` should have a snake case name [INFO] [stdout] --> src/ga/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn populationU8(pop_size: usize, ind_size: usize, rng: &mut R) -> PopU8 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `population_u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populationU8Zeros` should have a snake case name [INFO] [stdout] --> src/ga/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn populationU8Zeros(pop_size: usize, ind_size: usize) -> PopU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `population_u8_zeros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_expr` [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn main_expr() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.2.8 [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> examples/ga.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | Rc::new(|ind, rng| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/crossover.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/point_mutation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/ga/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::PrimInt` [INFO] [stdout] --> src/ga/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use num::PrimInt; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/rgep/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::crossover::*` [INFO] [stdout] --> src/rgep/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::crossover::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rotation::*` [INFO] [stdout] --> src/rgep/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::rotation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::selection::*` [INFO] [stdout] --> src/rgep/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::selection::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main_expr` [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn main_expr() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] --> benches/bench.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | point_mutate_naive(&mut ind, 4, pm, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/point_mutation.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | I: 'a + IntoIterator, [INFO] [stdout] | -------------- required by this bound in `rgep::point_mutate_naive` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `rgep::Ind<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::Iterator` for `&mut rgep::Ind<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] --> benches/bench.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | point_mutate_naive(&mut ind, 4, pm, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/point_mutation.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | I: 'a + IntoIterator, [INFO] [stdout] | -------------- required by this bound in `rgep::point_mutate_naive` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `rgep::Ind<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::Iterator` for `&mut rgep::Ind<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] --> benches/bench.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | point_mutate_naive(&mut ind, 4, pm, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/point_mutation.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | I: 'a + IntoIterator, [INFO] [stdout] | -------------- required by this bound in `rgep::point_mutate_naive` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `rgep::Ind<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::Iterator` for `&mut rgep::Ind<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] --> benches/bench.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | point_mutate_naive(&mut ind, 4, pm, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/point_mutation.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | I: 'a + IntoIterator, [INFO] [stdout] | -------------- required by this bound in `rgep::point_mutate_naive` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `rgep::Ind<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::Iterator` for `&mut rgep::Ind<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] --> benches/bench.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | point_mutate_naive(&mut ind, 4, pm, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/point_mutation.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | I: 'a + IntoIterator, [INFO] [stdout] | -------------- required by this bound in `rgep::point_mutate_naive` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `rgep::Ind<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::Iterator` for `&mut rgep::Ind<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] --> benches/bench.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | point_mutate_naive(&mut ind, 4, pm, &mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `rgep::Ind<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/point_mutation.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | I: 'a + IntoIterator, [INFO] [stdout] | -------------- required by this bound in `rgep::point_mutate_naive` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `rgep::Ind<{integer}>` [INFO] [stdout] = note: required because of the requirements on the impl of `std::iter::Iterator` for `&mut rgep::Ind<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `&Vec` cannot be built from an iterator over elements of type `f64` [INFO] [stdout] --> benches/bench.rs:277:50 [INFO] [stdout] | [INFO] [stdout] 277 | let fitnesses = (0..n).map(|f| f as f64).collect(); [INFO] [stdout] | ^^^^^^^ value of type `&Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `&Vec` cannot be built from an iterator over elements of type `f64` [INFO] [stdout] --> benches/bench.rs:291:50 [INFO] [stdout] | [INFO] [stdout] 291 | let fitnesses = (0..n).map(|f| f as f64).collect(); [INFO] [stdout] | ^^^^^^^ value of type `&Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `&Vec` cannot be built from an iterator over elements of type `f64` [INFO] [stdout] --> benches/bench.rs:301:50 [INFO] [stdout] | [INFO] [stdout] 301 | let fitnesses = (0..n).map(|f| f as f64).collect(); [INFO] [stdout] | ^^^^^^^ value of type `&Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rgep` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `alt_pop` [INFO] [stdout] --> src/rgep/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut alt_pop = create_rgep_fast(¶ms); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alt_pop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits_per_sym` [INFO] [stdout] --> src/rgep/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let bits_per_sym = context.bits_per_sym(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bits_per_sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/rgep/mod.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | state: &B, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval_ind` [INFO] [stdout] --> src/rgep/mod.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | eval_ind: &EvalFunction, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval_ind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crossover.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut cross_state = getter(state); [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/point_mutation.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut pm_state = getter(state); [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/selection.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut sus_state = getter(state); [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/evaluation.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut eval_state = getter(state); [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/rgep/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let mut pop = create_rgep(¶ms, &context, rng); [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/rgep/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut alt_pop = create_rgep_fast(¶ms); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populationU8` should have a snake case name [INFO] [stdout] --> src/ga/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn populationU8(pop_size: usize, ind_size: usize, rng: &mut R) -> PopU8 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `population_u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `populationU8Zeros` should have a snake case name [INFO] [stdout] --> src/ga/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn populationU8Zeros(pop_size: usize, ind_size: usize) -> PopU8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `population_u8_zeros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6df3e53ef8d4ecfcf7e3c22cc6aaf42638d9ad8c656bd14c946a5c4ad36bffe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df3e53ef8d4ecfcf7e3c22cc6aaf42638d9ad8c656bd14c946a5c4ad36bffe2", kill_on_drop: false }` [INFO] [stdout] 6df3e53ef8d4ecfcf7e3c22cc6aaf42638d9ad8c656bd14c946a5c4ad36bffe2