[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 try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Frgep" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/rgep on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded myopic v0.1.2 [INFO] [stderr] Downloaded im v12.3.0 [INFO] [stderr] Downloaded criterion-plot v0.3.0 [INFO] [stderr] Downloaded criterion v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d84b624c8c770ef06f26e01b88e81bd7a46160a72b2095fc3d2aa311a0be4060 [INFO] running `Command { std: "docker" "start" "-a" "d84b624c8c770ef06f26e01b88e81bd7a46160a72b2095fc3d2aa311a0be4060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d84b624c8c770ef06f26e01b88e81bd7a46160a72b2095fc3d2aa311a0be4060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84b624c8c770ef06f26e01b88e81bd7a46160a72b2095fc3d2aa311a0be4060", kill_on_drop: false }` [INFO] [stdout] d84b624c8c770ef06f26e01b88e81bd7a46160a72b2095fc3d2aa311a0be4060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c71ac19ffcf978341916a8de457e7b7edce2045f8021d02c9aa9f7a293ee2ba [INFO] running `Command { std: "docker" "start" "-a" "5c71ac19ffcf978341916a8de457e7b7edce2045f8021d02c9aa9f7a293ee2ba", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking scopeguard v0.3.3 [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] Compiling serde v1.0.85 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking myopic v0.1.2 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Compiling im v12.3.0 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking criterion-plot v0.3.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking statrs v0.12.0 [INFO] [stderr] Checking num v0.2.0 [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:13 [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: panic message is not a string literal [INFO] [stdout] --> src/selection.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | assert!(increment.is_normal(), format!("Selection cannot work with {} increment!", increment)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 175 | assert!(increment.is_normal(), "Selection cannot work with {} increment!", increment); [INFO] [stdout] | -- -- [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: 22 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 serde_json v1.0.36 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Checking tinytemplate v1.0.1 [INFO] [stderr] Checking criterion v0.2.8 [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/criterion-0.2.8/src/macros_private.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | println!("Criterion.rs ERROR: {}", &format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/criterion-0.2.8/src/html/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(out) => error!("Error in Gnuplot: {}", String::from_utf8_lossy(&out.stderr)), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/criterion-0.2.8/src/macros_private.rs:36:63 [INFO] [stdout] | [INFO] [stdout] 36 | println!("Criterion.rs ERROR: {}", &format!($($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/criterion-0.2.8/src/html/mod.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => error!("Got IO error while waiting for Gnuplot to complete: {}", e), [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/criterion-0.2.8/src/macros_private.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | try_else_return!($x, || {}); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/criterion-0.2.8/src/html/mod.rs:508:29 [INFO] [stdout] | [INFO] [stdout] 508 | let mut found_ids = try_else_return!(fs::list_existing_benchmarks(&output_directory)); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_else_return` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `criterion` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5c71ac19ffcf978341916a8de457e7b7edce2045f8021d02c9aa9f7a293ee2ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c71ac19ffcf978341916a8de457e7b7edce2045f8021d02c9aa9f7a293ee2ba", kill_on_drop: false }` [INFO] [stdout] 5c71ac19ffcf978341916a8de457e7b7edce2045f8021d02c9aa9f7a293ee2ba