[INFO] cloning repository https://github.com/ThePJB/random-notes-synth1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThePJB/random-notes-synth1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePJB%2Frandom-notes-synth1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePJB%2Frandom-notes-synth1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f077e620d456690d9f63be3b82c27e7a109fbe91 [INFO] checking ThePJB/random-notes-synth1/f077e620d456690d9f63be3b82c27e7a109fbe91 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePJB%2Frandom-notes-synth1" "/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/ThePJB/random-notes-synth1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ThePJB/random-notes-synth1 [INFO] finished tweaking git repo https://github.com/ThePJB/random-notes-synth1 [INFO] tweaked toml for git repo https://github.com/ThePJB/random-notes-synth1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ThePJB/random-notes-synth1 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coreaudio-sys v0.2.10 [INFO] [stderr] Downloaded redox_syscall v0.2.15 [INFO] [stderr] Downloaded bytes v1.2.0 [INFO] [stderr] Downloaded clap v3.2.14 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea7677c4c34f6273e7fd7e121c814c93eed9eb65f95d886ca5d6b5403c69ba6 [INFO] running `Command { std: "docker" "start" "-a" "4ea7677c4c34f6273e7fd7e121c814c93eed9eb65f95d886ca5d6b5403c69ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea7677c4c34f6273e7fd7e121c814c93eed9eb65f95d886ca5d6b5403c69ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea7677c4c34f6273e7fd7e121c814c93eed9eb65f95d886ca5d6b5403c69ba6", kill_on_drop: false }` [INFO] [stdout] 4ea7677c4c34f6273e7fd7e121c814c93eed9eb65f95d886ca5d6b5403c69ba6 [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77e9ff40f19881defe584a6e9feb0c1d5d2b0ed5c7f43fd3e28ccd3468cbd75d [INFO] running `Command { std: "docker" "start" "-a" "77e9ff40f19881defe584a6e9feb0c1d5d2b0ed5c7f43fd3e28ccd3468cbd75d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking ringbuf v0.2.8 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking clap v3.2.14 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking synth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | / loop { [INFO] [stdout] 58 | | std::thread::sleep(std::time::Duration::from_millis(2000)); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 60 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 57 | / loop { [INFO] [stdout] 58 | | std::thread::sleep(std::time::Duration::from_millis(2000)); [INFO] [stdout] 59 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 60 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Phi` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let Phi = (5.0f32.sqrt()) / 2.0; // silver, i used first [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Phi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let phi = (1.0 + 5.0f32.sqrt()) / 2.0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_clock` [INFO] [stdout] --> src/main.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let sample_clock = 0f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/kmath.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn lerp(x1: f32, x2: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlerp` is never used [INFO] [stdout] --> src/kmath.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn unlerp(x: f32, t1: f32, t2: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/kmath.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn remap(x: f32, from_low: f32, from_high: f32, to_low: f32, to_high: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_bezier` is never used [INFO] [stdout] --> src/kmath.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn cubic_bezier(start: Vec2, c1: Vec2, c2: Vec2, end: Vec2, t: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kuniform` is never used [INFO] [stdout] --> src/kmath.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn kuniform(seed: u32, min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Phi` should have a snake case name [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let Phi = (5.0f32.sqrt()) / 2.0; // silver, i used first [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `phi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Phi` [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let Phi = (5.0f32.sqrt()) / 2.0; // silver, i used first [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Phi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let phi = (1.0 + 5.0f32.sqrt()) / 2.0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_clock` [INFO] [stdout] --> src/main.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let sample_clock = 0f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp` is never used [INFO] [stdout] --> src/kmath.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn lerp(x1: f32, x2: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unlerp` is never used [INFO] [stdout] --> src/kmath.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn unlerp(x: f32, t1: f32, t2: f32) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remap` is never used [INFO] [stdout] --> src/kmath.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn remap(x: f32, from_low: f32, from_high: f32, to_low: f32, to_high: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_bezier` is never used [INFO] [stdout] --> src/kmath.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn cubic_bezier(start: Vec2, c1: Vec2, c2: Vec2, end: Vec2, t: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kuniform` is never used [INFO] [stdout] --> src/kmath.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn kuniform(seed: u32, min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Phi` should have a snake case name [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let Phi = (5.0f32.sqrt()) / 2.0; // silver, i used first [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `phi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.84s [INFO] running `Command { std: "docker" "inspect" "77e9ff40f19881defe584a6e9feb0c1d5d2b0ed5c7f43fd3e28ccd3468cbd75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e9ff40f19881defe584a6e9feb0c1d5d2b0ed5c7f43fd3e28ccd3468cbd75d", kill_on_drop: false }` [INFO] [stdout] 77e9ff40f19881defe584a6e9feb0c1d5d2b0ed5c7f43fd3e28ccd3468cbd75d