[INFO] cloning repository https://github.com/prestonmlangford/synth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prestonmlangford/synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonmlangford%2Fsynth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonmlangford%2Fsynth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d83ed4e403fe610d0552414b20665c55dd1ca3a0 [INFO] checking prestonmlangford/synth against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprestonmlangford%2Fsynth" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prestonmlangford/synth on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prestonmlangford/synth [INFO] finished tweaking git repo https://github.com/prestonmlangford/synth [INFO] tweaked toml for git repo https://github.com/prestonmlangford/synth written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/prestonmlangford/synth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f96be242b74ede5c6158155d84fdac830290b2f7ef2caa2dfd41234e847bfe0d [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" "f96be242b74ede5c6158155d84fdac830290b2f7ef2caa2dfd41234e847bfe0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f96be242b74ede5c6158155d84fdac830290b2f7ef2caa2dfd41234e847bfe0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96be242b74ede5c6158155d84fdac830290b2f7ef2caa2dfd41234e847bfe0d", kill_on_drop: false }` [INFO] [stdout] f96be242b74ede5c6158155d84fdac830290b2f7ef2caa2dfd41234e847bfe0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93432ddf7cacd313c30f18132caa0db43a1b1094d885735f5e714414d0677b94 [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" "93432ddf7cacd313c30f18132caa0db43a1b1094d885735f5e714414d0677b94", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Checking transpose v0.2.0 [INFO] [stderr] Checking rustfft v4.0.0 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Checking synth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `randn` [INFO] [stdout] --> src/ks.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut randn = normal.sample_iter(thread_rng()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_randn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `randn` [INFO] [stdout] --> src/ks.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut randn = normal.sample_iter(thread_rng()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_randn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ks.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut randn = normal.sample_iter(thread_rng()); [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/ks.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut randn = normal.sample_iter(thread_rng()); [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: function is never used: `norm` [INFO] [stdout] --> src/de.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn norm(v: &Vec) -> f64 { [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: `step` [INFO] [stdout] --> src/de.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn step(&mut self) -> Result<(),&'static str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crossover_probability` [INFO] [stdout] --> src/de.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn crossover_probability(mut self,p: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `differential_weight` [INFO] [stdout] --> src/de.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn differential_weight(mut self,w: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `corr` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn corr(a: &Vec, b: &Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xcorr` [INFO] [stdout] --> src/main.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn xcorr(a: &Vec, b: &Vec) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fitness` [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn fitness(h: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fitness2` [INFO] [stdout] --> src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn fitness2(h: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut A: Vec> = vec![Complex::new(0.0,0.0);n]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut B: Vec> = vec![Complex::new(0.0,0.0);n]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AB` should have a snake case name [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut AB: Vec> = A.iter().zip(B.iter()).map(|(x,y)| x*y).collect(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm` [INFO] [stdout] --> src/de.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn norm(v: &Vec) -> f64 { [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: `step` [INFO] [stdout] --> src/de.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn step(&mut self) -> Result<(),&'static str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `crossover_probability` [INFO] [stdout] --> src/de.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn crossover_probability(mut self,p: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `differential_weight` [INFO] [stdout] --> src/de.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn differential_weight(mut self,w: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `corr` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn corr(a: &Vec, b: &Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xcorr` [INFO] [stdout] --> src/main.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn xcorr(a: &Vec, b: &Vec) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fitness` [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn fitness(h: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fitness2` [INFO] [stdout] --> src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn fitness2(h: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut A: Vec> = vec![Complex::new(0.0,0.0);n]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut B: Vec> = vec![Complex::new(0.0,0.0);n]; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AB` should have a snake case name [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut AB: Vec> = A.iter().zip(B.iter()).map(|(x,y)| x*y).collect(); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.76s [INFO] running `Command { std: "docker" "inspect" "93432ddf7cacd313c30f18132caa0db43a1b1094d885735f5e714414d0677b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93432ddf7cacd313c30f18132caa0db43a1b1094d885735f5e714414d0677b94", kill_on_drop: false }` [INFO] [stdout] 93432ddf7cacd313c30f18132caa0db43a1b1094d885735f5e714414d0677b94