[INFO] fetching crate extdivga 0.1.0... [INFO] testing extdivga-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate extdivga 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate extdivga 0.1.0 [INFO] finished tweaking crates.io crate extdivga 0.1.0 [INFO] tweaked toml for crates.io crate extdivga 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate extdivga 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate extdivga 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06e23c29975d7e710a0d0625f2874fa580705d27b34101d84ce98b9f5f6d5a38 [INFO] running `Command { std: "docker" "start" "-a" "06e23c29975d7e710a0d0625f2874fa580705d27b34101d84ce98b9f5f6d5a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06e23c29975d7e710a0d0625f2874fa580705d27b34101d84ce98b9f5f6d5a38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e23c29975d7e710a0d0625f2874fa580705d27b34101d84ce98b9f5f6d5a38", kill_on_drop: false }` [INFO] [stdout] 06e23c29975d7e710a0d0625f2874fa580705d27b34101d84ce98b9f5f6d5a38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ff2d5d62f6d327f02cad4885f62a1424e7726a62062bd1ed400b68f03edb136 [INFO] running `Command { std: "docker" "start" "-a" "8ff2d5d62f6d327f02cad4885f62a1424e7726a62062bd1ed400b68f03edb136", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling reborrow v0.5.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling dyn-stack v0.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling faer-core v0.11.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling coe-rs v0.1.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling matrixcompare-core v0.1.0 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling assert2-macros v0.3.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling pulp v0.13.2 [INFO] [stderr] Compiling gemm-common v0.15.4 [INFO] [stderr] Compiling gemm-f32 v0.15.4 [INFO] [stderr] Compiling gemm-c32 v0.15.4 [INFO] [stderr] Compiling gemm-f64 v0.15.4 [INFO] [stderr] Compiling gemm-c64 v0.15.4 [INFO] [stderr] Compiling assert2 v0.3.11 [INFO] [stderr] Compiling gemm-f16 v0.15.4 [INFO] [stderr] Compiling gemm v0.15.4 [INFO] [stderr] Compiling faer-qr v0.11.0 [INFO] [stderr] Compiling faer-cholesky v0.11.0 [INFO] [stderr] Compiling faer-lu v0.11.0 [INFO] [stderr] Compiling faer-svd v0.11.0 [INFO] [stderr] Compiling extdivga v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/GA/fitness.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | faer_core::Parallelism::Rayon((0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - faer_core::Parallelism::Rayon((0)), [INFO] [stdout] 54 + faer_core::Parallelism::Rayon(0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if (nilp_buff.read(y, x) == 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - if (nilp_buff.read(y, x) == 0.0) { [INFO] [stdout] 86 + if nilp_buff.read(y, x) == 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | } else if (nilp_buff.read(y, x) != 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - } else if (nilp_buff.read(y, x) != 0.0) { [INFO] [stdout] 89 + } else if nilp_buff.read(y, x) != 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/GA/fitness.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | faer_core::Parallelism::Rayon((0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - faer_core::Parallelism::Rayon((0)), [INFO] [stdout] 112 + faer_core::Parallelism::Rayon(0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | if (ext_div_buff_r.ncols() < ext_div_buff_l.ncols()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - if (ext_div_buff_r.ncols() < ext_div_buff_l.ncols()) { [INFO] [stdout] 161 + if ext_div_buff_r.ncols() < ext_div_buff_l.ncols() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | } else if (ext_div_buff_r.ncols() > ext_div_buff_l.ncols()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - } else if (ext_div_buff_r.ncols() > ext_div_buff_l.ncols()) { [INFO] [stdout] 163 + } else if ext_div_buff_r.ncols() > ext_div_buff_l.ncols() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | if (_reproduction_metric >= 1.5 * mean_fit) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - if (_reproduction_metric >= 1.5 * mean_fit) { [INFO] [stdout] 45 + if _reproduction_metric >= 1.5 * mean_fit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if (new_gen.len() > _pop_size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - if (new_gen.len() > _pop_size) { [INFO] [stdout] 62 + if new_gen.len() > _pop_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/GA.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | while ((new_gen.len()) > _pop_size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - while ((new_gen.len()) > _pop_size) { [INFO] [stdout] 63 + while (new_gen.len()) > _pop_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if (new_gen.len() < _pop_size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if (new_gen.len() < _pop_size) { [INFO] [stdout] 70 + if new_gen.len() < _pop_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | if (x > prob_fill) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (x > prob_fill) { [INFO] [stdout] 78 + if x > prob_fill { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (final_pop[i].1 >= fitness_value) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (final_pop[i].1 >= fitness_value) { [INFO] [stdout] 105 + if final_pop[i].1 >= fitness_value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fitness` is never read [INFO] [stdout] --> src/GA/fitness.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut fitness: f64 = 0.0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moved_k_forms` [INFO] [stdout] --> src/GA.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let moved_k_forms = k_forms.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moved_k_forms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moved_k_plus_one_forms` [INFO] [stdout] --> src/GA.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let moved_k_plus_one_forms = k_plus_one_forms.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moved_k_plus_one_forms` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.51s [INFO] running `Command { std: "docker" "inspect" "8ff2d5d62f6d327f02cad4885f62a1424e7726a62062bd1ed400b68f03edb136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff2d5d62f6d327f02cad4885f62a1424e7726a62062bd1ed400b68f03edb136", kill_on_drop: false }` [INFO] [stdout] 8ff2d5d62f6d327f02cad4885f62a1424e7726a62062bd1ed400b68f03edb136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0da9af56790d9f16a61105ff4a3a028f8f30d1b8cb6ee404ace3a3a8d3637e0 [INFO] running `Command { std: "docker" "start" "-a" "c0da9af56790d9f16a61105ff4a3a028f8f30d1b8cb6ee404ace3a3a8d3637e0", kill_on_drop: false }` [INFO] [stderr] Compiling extdivga v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/GA/fitness.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | faer_core::Parallelism::Rayon((0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - faer_core::Parallelism::Rayon((0)), [INFO] [stdout] 54 + faer_core::Parallelism::Rayon(0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | if (nilp_buff.read(y, x) == 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - if (nilp_buff.read(y, x) == 0.0) { [INFO] [stdout] 86 + if nilp_buff.read(y, x) == 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | } else if (nilp_buff.read(y, x) != 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - } else if (nilp_buff.read(y, x) != 0.0) { [INFO] [stdout] 89 + } else if nilp_buff.read(y, x) != 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/GA/fitness.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | faer_core::Parallelism::Rayon((0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - faer_core::Parallelism::Rayon((0)), [INFO] [stdout] 112 + faer_core::Parallelism::Rayon(0), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | if (ext_div_buff_r.ncols() < ext_div_buff_l.ncols()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - if (ext_div_buff_r.ncols() < ext_div_buff_l.ncols()) { [INFO] [stdout] 161 + if ext_div_buff_r.ncols() < ext_div_buff_l.ncols() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA/fitness.rs:163:15 [INFO] [stdout] | [INFO] [stdout] 163 | } else if (ext_div_buff_r.ncols() > ext_div_buff_l.ncols()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - } else if (ext_div_buff_r.ncols() > ext_div_buff_l.ncols()) { [INFO] [stdout] 163 + } else if ext_div_buff_r.ncols() > ext_div_buff_l.ncols() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | if (_reproduction_metric >= 1.5 * mean_fit) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 - if (_reproduction_metric >= 1.5 * mean_fit) { [INFO] [stdout] 45 + if _reproduction_metric >= 1.5 * mean_fit { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if (new_gen.len() > _pop_size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 62 - if (new_gen.len() > _pop_size) { [INFO] [stdout] 62 + if new_gen.len() > _pop_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/GA.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | while ((new_gen.len()) > _pop_size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - while ((new_gen.len()) > _pop_size) { [INFO] [stdout] 63 + while (new_gen.len()) > _pop_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | if (new_gen.len() < _pop_size) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - if (new_gen.len() < _pop_size) { [INFO] [stdout] 70 + if new_gen.len() < _pop_size { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | if (x > prob_fill) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (x > prob_fill) { [INFO] [stdout] 78 + if x > prob_fill { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/GA.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | if (final_pop[i].1 >= fitness_value) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - if (final_pop[i].1 >= fitness_value) { [INFO] [stdout] 105 + if final_pop[i].1 >= fitness_value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fitness` is never read [INFO] [stdout] --> src/GA/fitness.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut fitness: f64 = 0.0f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moved_k_forms` [INFO] [stdout] --> src/GA.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let moved_k_forms = k_forms.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moved_k_forms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `moved_k_plus_one_forms` [INFO] [stdout] --> src/GA.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let moved_k_plus_one_forms = k_plus_one_forms.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moved_k_plus_one_forms` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "c0da9af56790d9f16a61105ff4a3a028f8f30d1b8cb6ee404ace3a3a8d3637e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0da9af56790d9f16a61105ff4a3a028f8f30d1b8cb6ee404ace3a3a8d3637e0", kill_on_drop: false }` [INFO] [stdout] c0da9af56790d9f16a61105ff4a3a028f8f30d1b8cb6ee404ace3a3a8d3637e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a5016dd1a492b22504114e11c251dce8b968a8396074a4d119badf5ab45be45 [INFO] running `Command { std: "docker" "start" "-a" "1a5016dd1a492b22504114e11c251dce8b968a8396074a4d119badf5ab45be45", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/GA/fitness.rs:54:39 [INFO] [stderr] | [INFO] [stderr] 54 | faer_core::Parallelism::Rayon((0)), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 54 - faer_core::Parallelism::Rayon((0)), [INFO] [stderr] 54 + faer_core::Parallelism::Rayon(0), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA/fitness.rs:86:16 [INFO] [stderr] | [INFO] [stderr] 86 | if (nilp_buff.read(y, x) == 0.0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 86 - if (nilp_buff.read(y, x) == 0.0) { [INFO] [stderr] 86 + if nilp_buff.read(y, x) == 0.0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA/fitness.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | } else if (nilp_buff.read(y, x) != 0.0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 89 - } else if (nilp_buff.read(y, x) != 0.0) { [INFO] [stderr] 89 + } else if nilp_buff.read(y, x) != 0.0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/GA/fitness.rs:112:39 [INFO] [stderr] | [INFO] [stderr] 112 | faer_core::Parallelism::Rayon((0)), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 112 - faer_core::Parallelism::Rayon((0)), [INFO] [stderr] 112 + faer_core::Parallelism::Rayon(0), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA/fitness.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 161 | if (ext_div_buff_r.ncols() < ext_div_buff_l.ncols()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 161 - if (ext_div_buff_r.ncols() < ext_div_buff_l.ncols()) { [INFO] [stderr] 161 + if ext_div_buff_r.ncols() < ext_div_buff_l.ncols() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA/fitness.rs:163:15 [INFO] [stderr] | [INFO] [stderr] 163 | } else if (ext_div_buff_r.ncols() > ext_div_buff_l.ncols()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 163 - } else if (ext_div_buff_r.ncols() > ext_div_buff_l.ncols()) { [INFO] [stderr] 163 + } else if ext_div_buff_r.ncols() > ext_div_buff_l.ncols() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA.rs:45:24 [INFO] [stderr] | [INFO] [stderr] 45 | if (_reproduction_metric >= 1.5 * mean_fit) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 45 - if (_reproduction_metric >= 1.5 * mean_fit) { [INFO] [stderr] 45 + if _reproduction_metric >= 1.5 * mean_fit { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | if (new_gen.len() > _pop_size) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 62 - if (new_gen.len() > _pop_size) { [INFO] [stderr] 62 + if new_gen.len() > _pop_size { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/GA.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | while ((new_gen.len()) > _pop_size) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 63 - while ((new_gen.len()) > _pop_size) { [INFO] [stderr] 63 + while (new_gen.len()) > _pop_size { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | if (new_gen.len() < _pop_size) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 70 - if (new_gen.len() < _pop_size) { [INFO] [stderr] 70 + if new_gen.len() < _pop_size { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA.rs:78:20 [INFO] [stderr] | [INFO] [stderr] 78 | if (x > prob_fill) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 78 - if (x > prob_fill) { [INFO] [stderr] 78 + if x > prob_fill { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/GA.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | if (final_pop[i].1 >= fitness_value) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 105 - if (final_pop[i].1 >= fitness_value) { [INFO] [stderr] 105 + if final_pop[i].1 >= fitness_value { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: value assigned to `fitness` is never read [INFO] [stderr] --> src/GA/fitness.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | let mut fitness: f64 = 0.0f64; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `moved_k_forms` [INFO] [stderr] --> src/GA.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let moved_k_forms = k_forms.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moved_k_forms` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `moved_k_plus_one_forms` [INFO] [stderr] --> src/GA.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let moved_k_plus_one_forms = k_plus_one_forms.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_moved_k_plus_one_forms` [INFO] [stderr] [INFO] [stderr] warning: `extdivga` (bin "extdivga" test) generated 15 warnings (run `cargo fix --bin "extdivga" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/extdivga-9db6519afc16c8b4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test GA::reproduction::tests::rep_mutate_standard ... ok [INFO] [stdout] test GA::reproduction::tests::rep_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a5016dd1a492b22504114e11c251dce8b968a8396074a4d119badf5ab45be45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5016dd1a492b22504114e11c251dce8b968a8396074a4d119badf5ab45be45", kill_on_drop: false }` [INFO] [stdout] 1a5016dd1a492b22504114e11c251dce8b968a8396074a4d119badf5ab45be45