[INFO] cloning repository https://github.com/karimamer/audiofxrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karimamer/audiofxrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarimamer%2Faudiofxrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarimamer%2Faudiofxrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93935c8c591fb6cb7fe1c0098a8b8cbc3af3b63b [INFO] checking karimamer/audiofxrs against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarimamer%2Faudiofxrs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/karimamer/audiofxrs [INFO] finished tweaking git repo https://github.com/karimamer/audiofxrs [INFO] tweaked toml for git repo https://github.com/karimamer/audiofxrs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/karimamer/audiofxrs on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/karimamer/audiofxrs 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking karimamer/audiofxrs against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarimamer%2Faudiofxrs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/karimamer/audiofxrs [INFO] finished tweaking git repo https://github.com/karimamer/audiofxrs [INFO] tweaked toml for git repo https://github.com/karimamer/audiofxrs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/karimamer/audiofxrs on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/karimamer/audiofxrs 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded biquad v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9898f997556d1fb0540e919223abaf429a992134333bb5c00df8e55c41e8fd18 [INFO] running `Command { std: "docker" "start" "-a" "9898f997556d1fb0540e919223abaf429a992134333bb5c00df8e55c41e8fd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9898f997556d1fb0540e919223abaf429a992134333bb5c00df8e55c41e8fd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9898f997556d1fb0540e919223abaf429a992134333bb5c00df8e55c41e8fd18", kill_on_drop: false }` [INFO] [stdout] 9898f997556d1fb0540e919223abaf429a992134333bb5c00df8e55c41e8fd18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9fb401d63a78953a78c671972f12b7f8bae819d93c9092570f8805e4e9aca93 [INFO] running `Command { std: "docker" "start" "-a" "e9fb401d63a78953a78c671972f12b7f8bae819d93c9092570f8805e4e9aca93", kill_on_drop: false }` [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking dasp_window v0.11.1 [INFO] [stderr] Checking biquad v0.4.2 [INFO] [stderr] Checking dasp_rms v0.11.0 [INFO] [stderr] Checking dasp_peak v0.11.0 [INFO] [stderr] Checking dasp_interpolate v0.11.0 [INFO] [stderr] Checking dasp_slice v0.11.0 [INFO] [stderr] Checking dasp_envelope v0.11.0 [INFO] [stderr] Checking dasp_signal v0.11.0 [INFO] [stderr] Checking dasp v0.11.0 [INFO] [stderr] Checking audiofxrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/effects/bitcrusher.rs:176:27 [INFO] [stdout] | [INFO] [stdout] 176 | samples: vec![vec![0.5, -0.3], vec![0.8, -0.1]], [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `f32`, found `Vec<{float}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f32` [INFO] [stdout] found struct `Vec<{float}>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `AudioData` has no field named `channels` [INFO] [stdout] --> src/effects/bitcrusher.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | channels: 2, [INFO] [stdout] | ^^^^^^^^ `AudioData` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `spec`, `num_channels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `channels` on type `AudioData` [INFO] [stdout] --> src/effects/bitcrusher.rs:186:27 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(output.channels, input.channels); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(output.spec.channels, input.channels); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `channels` on type `AudioData` [INFO] [stdout] --> src/effects/bitcrusher.rs:186:43 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(output.channels, input.channels); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(output.channels, input.spec.channels); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_wav_spec` is never used [INFO] [stdout] --> src/audio_io.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn default_wav_spec(channels: u16, sample_rate: u32) -> WavSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CD_QUALITY` is never used [INFO] [stdout] --> src/audio_io.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | pub const CD_QUALITY: u32 = 44_100; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGH_QUALITY` is never used [INFO] [stdout] --> src/audio_io.rs:125:15 [INFO] [stdout] | [INFO] [stdout] 125 | pub const HIGH_QUALITY: u32 = 48_000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STUDIO_QUALITY` is never used [INFO] [stdout] --> src/audio_io.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub const STUDIO_QUALITY: u32 = 96_000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bool` is never used [INFO] [stdout] --> src/effects/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl ParameterValue { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn as_bool(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_parameters` and `reset` are never used [INFO] [stdout] --> src/effects/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub trait AudioEffect { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 80 | fn get_parameters(&self) -> Parameters; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TimeParams` is never constructed [INFO] [stdout] --> src/effects/mod.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct TimeParams { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModulationParams` is never constructed [INFO] [stdout] --> src/effects/mod.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct ModulationParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilterParams` is never constructed [INFO] [stdout] --> src/effects/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct FilterParams { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bool_param` is never used [INFO] [stdout] --> src/effects/mod.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn bool_param(name: &str, desc: &str, default: bool) -> ParameterDef { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_accumulator` is never read [INFO] [stdout] --> src/effects/bitcrusher.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Bitcrusher { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | sample_accumulator: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_int` is never used [INFO] [stdout] --> src/effects/distortion.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl DistortionType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | fn to_int(self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_damping` is never used [INFO] [stdout] --> src/effects/reverb.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl ReverbEffect { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | fn apply_damping(&mut self, input: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_int` is never used [INFO] [stdout] --> src/effects/tremolo.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl WaveShape { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | fn to_int(self) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `db_to_linear` is never used [INFO] [stdout] --> src/effects/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn db_to_linear(db: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_to_db` is never used [INFO] [stdout] --> src/effects/mod.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn linear_to_db(linear: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/effects/mod.rs:255:16 [INFO] [stdout] | [INFO] [stdout] 223 | impl DelayLine { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/effects/distortion.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut soft_distortion = DistortionEffect::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/effects/pitch_shifting.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut pitch_shift = PitchShiftingEffect::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/effects/time_stretching.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut time_stretch = TimeStretchingEffect::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_args` [INFO] [stdout] --> src/cli.rs:409:13 [INFO] [stdout] | [INFO] [stdout] 409 | let original_args = env::args().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `audiofxrs` (bin "audiofxrs" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e9fb401d63a78953a78c671972f12b7f8bae819d93c9092570f8805e4e9aca93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fb401d63a78953a78c671972f12b7f8bae819d93c9092570f8805e4e9aca93", kill_on_drop: false }` [INFO] [stdout] e9fb401d63a78953a78c671972f12b7f8bae819d93c9092570f8805e4e9aca93