[INFO] fetching crate n_audio 1.3.0... [INFO] testing n_audio-1.3.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate n_audio 1.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate n_audio 1.3.0 [INFO] finished tweaking crates.io crate n_audio 1.3.0 [INFO] tweaked toml for crates.io crate n_audio 1.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate n_audio 1.3.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate n_audio 1.3.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 893a50b88e52290098760a4be94bdb593b5aaecfa13eb73998270c4796234829 [INFO] running `Command { std: "docker" "start" "-a" "893a50b88e52290098760a4be94bdb593b5aaecfa13eb73998270c4796234829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "893a50b88e52290098760a4be94bdb593b5aaecfa13eb73998270c4796234829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893a50b88e52290098760a4be94bdb593b5aaecfa13eb73998270c4796234829", kill_on_drop: false }` [INFO] [stdout] 893a50b88e52290098760a4be94bdb593b5aaecfa13eb73998270c4796234829 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03d14f03f5ef325aecc9864deecfe8bf0b45d86d0eb94fce59cbba5899a23124 [INFO] running `Command { std: "docker" "start" "-a" "03d14f03f5ef325aecc9864deecfe8bf0b45d86d0eb94fce59cbba5899a23124", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling dasp_ring_buffer v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling dasp_window v0.11.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling rb v0.4.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling symphonia-core v0.5.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling dasp_peak v0.11.0 [INFO] [stderr] Compiling dasp_rms v0.11.0 [INFO] [stderr] Compiling dasp_interpolate v0.11.0 [INFO] [stderr] Compiling dasp_slice v0.11.0 [INFO] [stderr] Compiling dasp_envelope v0.11.0 [INFO] [stderr] Compiling dasp_signal v0.11.0 [INFO] [stderr] Compiling dasp v0.11.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling symphonia-metadata v0.5.3 [INFO] [stderr] Compiling symphonia-codec-pcm v0.5.3 [INFO] [stderr] Compiling symphonia-codec-adpcm v0.5.3 [INFO] [stderr] Compiling symphonia-codec-aac v0.5.3 [INFO] [stderr] Compiling symphonia-codec-alac v0.5.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling alsa v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling symphonia-utils-xiph v0.5.3 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Compiling symphonia-format-wav v0.5.3 [INFO] [stderr] Compiling symphonia-format-isomp4 v0.5.3 [INFO] [stderr] Compiling symphonia-codec-vorbis v0.5.3 [INFO] [stderr] Compiling symphonia-bundle-flac v0.5.3 [INFO] [stderr] Compiling symphonia-format-ogg v0.5.3 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling symphonia-format-mkv v0.5.3 [INFO] [stderr] Compiling audiopus_sys v0.2.2 [INFO] [stderr] Compiling audiopus v0.3.0-rc.0 [INFO] [stderr] Compiling symphonia v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling n_audio v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AudioOutput { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 18 | fn write(&mut self, decoded: AudioBufferRef<'_>, volume: f32) -> Result<()>; [INFO] [stdout] 19 | fn flush(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/output.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct CpalAudioOutputImpl [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | stream: cpal::Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.54s [INFO] running `Command { std: "docker" "inspect" "03d14f03f5ef325aecc9864deecfe8bf0b45d86d0eb94fce59cbba5899a23124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03d14f03f5ef325aecc9864deecfe8bf0b45d86d0eb94fce59cbba5899a23124", kill_on_drop: false }` [INFO] [stdout] 03d14f03f5ef325aecc9864deecfe8bf0b45d86d0eb94fce59cbba5899a23124 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f075f02a4c25536e0815e9077d67a5bd344829eb660b3a91fe856467cc519105 [INFO] running `Command { std: "docker" "start" "-a" "f075f02a4c25536e0815e9077d67a5bd344829eb660b3a91fe856467cc519105", kill_on_drop: false }` [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AudioOutput { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 18 | fn write(&mut self, decoded: AudioBufferRef<'_>, volume: f32) -> Result<()>; [INFO] [stdout] 19 | fn flush(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/output.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct CpalAudioOutputImpl [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | stream: cpal::Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling nconsole v0.4.0 [INFO] [stderr] Compiling n_audio v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> examples/cli_player.rs:187:38 [INFO] [stdout] | [INFO] [stdout] 187 | let player = Arc::new(Mutex::new(Player::new( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 188 | String::from("N Cli Player"), [INFO] [stdout] | ---------------------------- unexpected argument #1 of type `String` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/player.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(volume: f32, playback_speed: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 188 - String::from("N Cli Player"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `n_audio` (example "cli_player") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/output.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait AudioOutput { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 18 | fn write(&mut self, decoded: AudioBufferRef<'_>, volume: f32) -> Result<()>; [INFO] [stdout] 19 | fn flush(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/output.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct CpalAudioOutputImpl [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 92 | stream: cpal::Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f075f02a4c25536e0815e9077d67a5bd344829eb660b3a91fe856467cc519105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f075f02a4c25536e0815e9077d67a5bd344829eb660b3a91fe856467cc519105", kill_on_drop: false }` [INFO] [stdout] f075f02a4c25536e0815e9077d67a5bd344829eb660b3a91fe856467cc519105