[INFO] cloning repository https://github.com/Flux-Audio/glitch_div [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Flux-Audio/glitch_div" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlux-Audio%2Fglitch_div", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlux-Audio%2Fglitch_div'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24c6293825a524171aa0a6cfafe2d2de591cf97c [INFO] building Flux-Audio/glitch_div against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlux-Audio%2Fglitch_div" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Flux-Audio/glitch_div on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Flux-Audio/glitch_div [INFO] finished tweaking git repo https://github.com/Flux-Audio/glitch_div [INFO] tweaked toml for git repo https://github.com/Flux-Audio/glitch_div written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Flux-Audio/glitch_div 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xoshiro v0.4.0 [INFO] [stderr] Downloaded cc v1.0.65 [INFO] [stderr] Downloaded vst v0.2.1 [INFO] [stderr] Downloaded dialog v0.3.0 [INFO] [stderr] Downloaded libc v0.2.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 187381829b139789357d0f687d5e1296dffb04b55b9d38b9d0e6236194974ce6 [INFO] running `Command { std: "docker" "start" "-a" "187381829b139789357d0f687d5e1296dffb04b55b9d38b9d0e6236194974ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "187381829b139789357d0f687d5e1296dffb04b55b9d38b9d0e6236194974ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187381829b139789357d0f687d5e1296dffb04b55b9d38b9d0e6236194974ce6", kill_on_drop: false }` [INFO] [stdout] 187381829b139789357d0f687d5e1296dffb04b55b9d38b9d0e6236194974ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0f9228a2e1e7cdf57c4fa6e48e8eec8c3f3ea3791da352aa542eac59ff79bae [INFO] running `Command { std: "docker" "start" "-a" "a0f9228a2e1e7cdf57c4fa6e48e8eec8c3f3ea3791da352aa542eac59ff79bae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling rpassword v2.1.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling dialog v0.3.0 [INFO] [stderr] Compiling vst v0.2.1 [INFO] [stderr] Compiling glitch_div v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compute.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | return if (count > 0.0) {sum / count} else {0.0}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - return if (count > 0.0) {sum / count} else {0.0}; [INFO] [stdout] 13 + return if count > 0.0 {sum / count} else {0.0}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | bias = if(bias < 0.0) {-(bias*bias)} else {bias*bias*bias*bias}; // bias^6 / bias 12 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - bias = if(bias < 0.0) {-(bias*bias)} else {bias*bias*bias*bias}; // bias^6 / bias 12 [INFO] [stdout] 146 + bias = if bias < 0.0 {-(bias*bias)} else {bias*bias*bias*bias}; // bias^6 / bias 12 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | if ((self.rng.next_u64() as f32)/(u64::MAX as f32) < chaos){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - if ((self.rng.next_u64() as f32)/(u64::MAX as f32) < chaos){ [INFO] [stdout] 165 + if (self.rng.next_u64() as f32)/(u64::MAX as f32) < chaos { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_rts` [INFO] [stdout] --> src/compute.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut c_rts: Vec = ratios.iter().map(|x| x.ceil() as u32).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_rts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/compute.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut idx: Vec = vec![0; num]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/compute.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | for j in 0..f_acc[i]{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compute.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut c_rts: Vec = ratios.iter().map(|x| x.ceil() as u32).collect(); [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/compute.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut idx: Vec = vec![0; num]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | for i in 0..(self.yl.len() - self.sr as usize/120*6){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/compute.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn mean (x: VecDeque) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "a0f9228a2e1e7cdf57c4fa6e48e8eec8c3f3ea3791da352aa542eac59ff79bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f9228a2e1e7cdf57c4fa6e48e8eec8c3f3ea3791da352aa542eac59ff79bae", kill_on_drop: false }` [INFO] [stdout] a0f9228a2e1e7cdf57c4fa6e48e8eec8c3f3ea3791da352aa542eac59ff79bae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e91eae5302a54552e8394843a2829ccfd0dcfd268193158cdec9263701bb93f [INFO] running `Command { std: "docker" "start" "-a" "0e91eae5302a54552e8394843a2829ccfd0dcfd268193158cdec9263701bb93f", kill_on_drop: false }` [INFO] [stderr] Compiling glitch_div v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/compute.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | return if (count > 0.0) {sum / count} else {0.0}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - return if (count > 0.0) {sum / count} else {0.0}; [INFO] [stdout] 13 + return if count > 0.0 {sum / count} else {0.0}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | bias = if(bias < 0.0) {-(bias*bias)} else {bias*bias*bias*bias}; // bias^6 / bias 12 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 146 - bias = if(bias < 0.0) {-(bias*bias)} else {bias*bias*bias*bias}; // bias^6 / bias 12 [INFO] [stdout] 146 + bias = if bias < 0.0 {-(bias*bias)} else {bias*bias*bias*bias}; // bias^6 / bias 12 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | if ((self.rng.next_u64() as f32)/(u64::MAX as f32) < chaos){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - if ((self.rng.next_u64() as f32)/(u64::MAX as f32) < chaos){ [INFO] [stdout] 165 + if (self.rng.next_u64() as f32)/(u64::MAX as f32) < chaos { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_rts` [INFO] [stdout] --> src/compute.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut c_rts: Vec = ratios.iter().map(|x| x.ceil() as u32).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_c_rts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/compute.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut idx: Vec = vec![0; num]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/compute.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | for j in 0..f_acc[i]{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compute.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut c_rts: Vec = ratios.iter().map(|x| x.ceil() as u32).collect(); [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/compute.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut idx: Vec = vec![0; num]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | for i in 0..(self.yl.len() - self.sr as usize/120*6){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/compute.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn mean (x: VecDeque) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "0e91eae5302a54552e8394843a2829ccfd0dcfd268193158cdec9263701bb93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e91eae5302a54552e8394843a2829ccfd0dcfd268193158cdec9263701bb93f", kill_on_drop: false }` [INFO] [stdout] 0e91eae5302a54552e8394843a2829ccfd0dcfd268193158cdec9263701bb93f