[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] checking aaratha/strings-rs against try#4949cf2f817beadb9a248d423b6d55d6d2398ffe for pr-142681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faaratha%2Fstrings-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aaratha/strings-rs on toolchain 4949cf2f817beadb9a248d423b6d55d6d2398ffe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "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" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51fc41d22c524677028aecb29f079929b3637243f6e2f861877f0ee87c81ee34 [INFO] running `Command { std: "docker" "start" "-a" "51fc41d22c524677028aecb29f079929b3637243f6e2f861877f0ee87c81ee34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51fc41d22c524677028aecb29f079929b3637243f6e2f861877f0ee87c81ee34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51fc41d22c524677028aecb29f079929b3637243f6e2f861877f0ee87c81ee34", kill_on_drop: false }` [INFO] [stdout] 51fc41d22c524677028aecb29f079929b3637243f6e2f861877f0ee87c81ee34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4949cf2f817beadb9a248d423b6d55d6d2398ffe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f63d03872d2c44cf2120704e443e59bfd58185606af712765e031d92a10e7f36 [INFO] running `Command { std: "docker" "start" "-a" "f63d03872d2c44cf2120704e443e59bfd58185606af712765e031d92a10e7f36", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking 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)]` 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: 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)]` 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: 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ks` [INFO] [stdout] --> src/main.rs:34:21 [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: 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)]` 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] [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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ks` [INFO] [stdout] --> src/main.rs:34:21 [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: 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)]` 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: `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] [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)]` 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] [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: 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)]` 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 13.80s [INFO] running `Command { std: "docker" "inspect" "f63d03872d2c44cf2120704e443e59bfd58185606af712765e031d92a10e7f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63d03872d2c44cf2120704e443e59bfd58185606af712765e031d92a10e7f36", kill_on_drop: false }` [INFO] [stdout] f63d03872d2c44cf2120704e443e59bfd58185606af712765e031d92a10e7f36