[INFO] cloning repository https://github.com/aaratha/strings-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aaratha/strings-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaratha%2Fstrings-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaratha%2Fstrings-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b683a1092d3a7dfef1dba11e4d0897ab5580ee9 [INFO] building aaratha/strings-rs against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaratha%2Fstrings-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aaratha/strings-rs [INFO] finished tweaking git repo https://github.com/aaratha/strings-rs [INFO] tweaked toml for git repo https://github.com/aaratha/strings-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aaratha/strings-rs on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aaratha/strings-rs 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded miniquad v0.4.6 [INFO] [stderr] Downloaded macroquad v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03bc252e02c02f803c42d38e220e3a079e8daa48d851eea9244f8a5088033f52 [INFO] running `Command { std: "docker" "start" "-a" "03bc252e02c02f803c42d38e220e3a079e8daa48d851eea9244f8a5088033f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03bc252e02c02f803c42d38e220e3a079e8daa48d851eea9244f8a5088033f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03bc252e02c02f803c42d38e220e3a079e8daa48d851eea9244f8a5088033f52", kill_on_drop: false }` [INFO] [stdout] 03bc252e02c02f803c42d38e220e3a079e8daa48d851eea9244f8a5088033f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 3ae980dc9c8a821ed354403edcd3f038d53d4ad2ce273fdde7480a561e81f159 [INFO] running `Command { std: "docker" "start" "-a" "3ae980dc9c8a821ed354403edcd3f038d53d4ad2ce273fdde7480a561e81f159", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling macroquad v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling rl-strings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_frequency` [INFO] [stdout] --> src/main.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use audio::{init_audio, set_frequency, AudioState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VisualsState` [INFO] [stdout] --> src/main.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | use visuals::{init_visuals, update_visuals, VisualsState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut ks = audio_state.ks.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock_clone` [INFO] [stdout] --> src/audio.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let clock_clone = Arc::clone(&clock); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bpm` [INFO] [stdout] --> src/clock.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(bpm: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bpm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let freq = min_freq + (mouse_x / screen_width()) * (max_freq - min_freq); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ks` [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut ks = audio_state.ks.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_frequency` is never used [INFO] [stdout] --> src/audio.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_frequency(freq: f32, phase_step: &Arc>, sample_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_beat` is never used [INFO] [stdout] --> src/clock.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Clock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_beat(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELAY_TIME` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DELAY_TIME: f32 = 0.02; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELAY_FEEDBACK` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DELAY_FEEDBACK: f32 = 0.8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delay` is never constructed [INFO] [stdout] --> src/delay.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Delay { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process`, and `set_delay_time` are never used [INFO] [stdout] --> src/delay.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Delay { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(delay_time: f32, sample_rate: f32, feedback: f32, mix: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn process(&mut self, input: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_delay_time(&mut self, delay_time: f32, sample_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.47s [INFO] running `Command { std: "docker" "inspect" "3ae980dc9c8a821ed354403edcd3f038d53d4ad2ce273fdde7480a561e81f159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ae980dc9c8a821ed354403edcd3f038d53d4ad2ce273fdde7480a561e81f159", kill_on_drop: false }` [INFO] [stdout] 3ae980dc9c8a821ed354403edcd3f038d53d4ad2ce273fdde7480a561e81f159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c1da15a26777f958ef5f5ff9d28c4a6a86651783a945f38b953aab5eab796b9b [INFO] running `Command { std: "docker" "start" "-a" "c1da15a26777f958ef5f5ff9d28c4a6a86651783a945f38b953aab5eab796b9b", kill_on_drop: false }` [INFO] [stderr] Compiling rl-strings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `set_frequency` [INFO] [stdout] --> src/main.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | use audio::{init_audio, set_frequency, AudioState}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VisualsState` [INFO] [stdout] --> src/main.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | use visuals::{init_visuals, update_visuals, VisualsState}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut ks = audio_state.ks.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock_clone` [INFO] [stdout] --> src/audio.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let clock_clone = Arc::clone(&clock); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clock_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bpm` [INFO] [stdout] --> src/clock.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(bpm: f32) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bpm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let freq = min_freq + (mouse_x / screen_width()) * (max_freq - min_freq); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ks` [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let mut ks = audio_state.ks.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_frequency` is never used [INFO] [stdout] --> src/audio.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_frequency(freq: f32, phase_step: &Arc>, sample_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_beat` is never used [INFO] [stdout] --> src/clock.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Clock { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_beat(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELAY_TIME` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DELAY_TIME: f32 = 0.02; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DELAY_FEEDBACK` is never used [INFO] [stdout] --> src/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DELAY_FEEDBACK: f32 = 0.8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delay` is never constructed [INFO] [stdout] --> src/delay.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Delay { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process`, and `set_delay_time` are never used [INFO] [stdout] --> src/delay.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Delay { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(delay_time: f32, sample_rate: f32, feedback: f32, mix: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn process(&mut self, input: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set_delay_time(&mut self, delay_time: f32, sample_rate: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "c1da15a26777f958ef5f5ff9d28c4a6a86651783a945f38b953aab5eab796b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1da15a26777f958ef5f5ff9d28c4a6a86651783a945f38b953aab5eab796b9b", kill_on_drop: false }` [INFO] [stdout] c1da15a26777f958ef5f5ff9d28c4a6a86651783a945f38b953aab5eab796b9b