[INFO] cloning repository https://github.com/julientregoat/aiff-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julientregoat/aiff-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulientregoat%2Faiff-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulientregoat%2Faiff-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 867e93338064b6c3a9d82ac1070eefb4b710d80f [INFO] checking julientregoat/aiff-rs against master#c5af0610196bc39c44e54f1e08bd9149bdc66929 for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulientregoat%2Faiff-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julientregoat/aiff-rs on toolchain c5af0610196bc39c44e54f1e08bd9149bdc66929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julientregoat/aiff-rs [INFO] finished tweaking git repo https://github.com/julientregoat/aiff-rs [INFO] tweaked toml for git repo https://github.com/julientregoat/aiff-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/julientregoat/aiff-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" "+c5af0610196bc39c44e54f1e08bd9149bdc66929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking julientregoat/aiff-rs against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulientregoat%2Faiff-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julientregoat/aiff-rs on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julientregoat/aiff-rs [INFO] finished tweaking git repo https://github.com/julientregoat/aiff-rs [INFO] tweaked toml for git repo https://github.com/julientregoat/aiff-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/julientregoat/aiff-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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "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 julientregoat/aiff-rs against try#a832c07a2bcc7587230eb0706f83d1d602ae5c2b for pr-118120 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulientregoat%2Faiff-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julientregoat/aiff-rs on toolchain a832c07a2bcc7587230eb0706f83d1d602ae5c2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julientregoat/aiff-rs [INFO] finished tweaking git repo https://github.com/julientregoat/aiff-rs [INFO] tweaked toml for git repo https://github.com/julientregoat/aiff-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/julientregoat/aiff-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" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "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 alsa-sys v0.3.0 [INFO] [stderr] Downloaded seek_bufread v1.2.2 [INFO] [stderr] Downloaded id3 v0.5.1 [INFO] [stderr] Downloaded alsa v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d924fb707b573af3b560f05c71bd93284ffb177a63285a909701b58e01e57d24 [INFO] running `Command { std: "docker" "start" "-a" "d924fb707b573af3b560f05c71bd93284ffb177a63285a909701b58e01e57d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d924fb707b573af3b560f05c71bd93284ffb177a63285a909701b58e01e57d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d924fb707b573af3b560f05c71bd93284ffb177a63285a909701b58e01e57d24", kill_on_drop: false }` [INFO] [stdout] d924fb707b573af3b560f05c71bd93284ffb177a63285a909701b58e01e57d24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+a832c07a2bcc7587230eb0706f83d1d602ae5c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f2f4d710ad86909f3d5148dfb3ce1f4e77a50b8843acf450fcb2e8887113da3 [INFO] running `Command { std: "docker" "start" "-a" "8f2f4d710ad86909f3d5148dfb3ce1f4e77a50b8843acf450fcb2e8887113da3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling cpal v0.12.1 [INFO] [stderr] Checking seek_bufread v1.2.2 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking id3 v0.5.1 [INFO] [stderr] Checking aiff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::reader::Buffer` [INFO] [stdout] --> src/ids.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::reader::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `SeekFrom`, `Seek` [INFO] [stdout] --> src/ids.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frames` [INFO] [stdout] --> src/chunks.rs:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | let frames: Vec<_> = tag.frames().collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frames` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/chunks.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FormChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | size: i32, // required [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `position`, and `marker_name` are never read [INFO] [stdout] --> src/chunks.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct Marker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 249 | id: MarkerId, [INFO] [stdout] | ^^ [INFO] [stdout] 250 | position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 251 | marker_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Marker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `play_mode`, `begin_loop`, and `end_loop` are never read [INFO] [stdout] --> src/chunks.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct Loop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 350 | // 0 no looping / 1 foward loop / 2 forward backward loop - use enum? [INFO] [stdout] 351 | play_mode: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | begin_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 353 | end_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/chunks.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct InstrumentChunk { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 374 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | base_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 376 | detune: i8, // -50..50 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 377 | low_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 378 | high_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 379 | low_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 380 | high_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 381 | gain: i16, // in db [INFO] [stdout] | ^^^^ [INFO] [stdout] 382 | sustain_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 383 | release_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstrumentChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 423 | pub struct MIDIDataChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 424 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 425 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MIDIDataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct AudioRecordingChunk { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 448 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | data: [u8; 24], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioRecordingChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `application_signature`, and `data` are never read [INFO] [stdout] --> src/chunks.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub struct ApplicationSpecificChunk { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 477 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 478 | application_signature: ChunkID, // TODO check if bytes should be i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 479 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationSpecificChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `marker_id`, `count`, and `text` are never read [INFO] [stdout] --> src/chunks.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 506 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 507 | marker_id: MarkerId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 508 | count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 509 | text: String, // padded to an even # of bytes [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `num_comments`, and `comments` are never read [INFO] [stdout] --> src/chunks.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 533 | pub struct CommentsChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 534 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 535 | num_comments: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 536 | comments: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentsChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/chunks.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 577 | pub struct ID3v2Chunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 578 | version: [u8; 2], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ID3v2Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG` is never used [INFO] [stdout] --> src/ids.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TAG: &[u8; 3] = b"TAG"; // id3 v1 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AiffSamples` is never constructed [INFO] [stdout] --> src/samples.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AiffSamples { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/samples.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl Samples32 { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 122 | pub fn new(sound_data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking alsa v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> examples/play.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | std::thread::sleep_ms((duration * 1000.0).trunc() as u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::reader::Buffer` [INFO] [stdout] --> src/ids.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::reader::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `SeekFrom`, `Seek` [INFO] [stdout] --> src/ids.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_f32` found for reference `&i32` in the current scope [INFO] [stdout] --> examples/play.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | reader.samples::().iter().map(|s| s.to_f32()).collect(); [INFO] [stdout] | ^^^^^^ method not found in `&i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sample` [INFO] [stdout] --> examples/play.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Sample, SampleRate, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aiff` (example "play") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `frames` [INFO] [stdout] --> src/chunks.rs:604:13 [INFO] [stdout] | [INFO] [stdout] 604 | let frames: Vec<_> = tag.frames().collect(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_frames` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/chunks.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FormChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 35 | size: i32, // required [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `position`, and `marker_name` are never read [INFO] [stdout] --> src/chunks.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct Marker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 249 | id: MarkerId, [INFO] [stdout] | ^^ [INFO] [stdout] 250 | position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 251 | marker_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Marker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `play_mode`, `begin_loop`, and `end_loop` are never read [INFO] [stdout] --> src/chunks.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct Loop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 350 | // 0 no looping / 1 foward loop / 2 forward backward loop - use enum? [INFO] [stdout] 351 | play_mode: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | begin_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 353 | end_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/chunks.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct InstrumentChunk { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 374 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | base_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 376 | detune: i8, // -50..50 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 377 | low_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 378 | high_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 379 | low_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 380 | high_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 381 | gain: i16, // in db [INFO] [stdout] | ^^^^ [INFO] [stdout] 382 | sustain_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 383 | release_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstrumentChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 423 | pub struct MIDIDataChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 424 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 425 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MIDIDataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 447 | pub struct AudioRecordingChunk { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 448 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | data: [u8; 24], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioRecordingChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `application_signature`, and `data` are never read [INFO] [stdout] --> src/chunks.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 476 | pub struct ApplicationSpecificChunk { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 477 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 478 | application_signature: ChunkID, // TODO check if bytes should be i8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 479 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationSpecificChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `marker_id`, `count`, and `text` are never read [INFO] [stdout] --> src/chunks.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 506 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 507 | marker_id: MarkerId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 508 | count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 509 | text: String, // padded to an even # of bytes [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `num_comments`, and `comments` are never read [INFO] [stdout] --> src/chunks.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 533 | pub struct CommentsChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 534 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 535 | num_comments: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 536 | comments: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentsChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/chunks.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 577 | pub struct ID3v2Chunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 578 | version: [u8; 2], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ID3v2Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TAG` is never used [INFO] [stdout] --> src/ids.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const TAG: &[u8; 3] = b"TAG"; // id3 v1 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AiffSamples` is never constructed [INFO] [stdout] --> src/samples.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AiffSamples { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/samples.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl Samples32 { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 122 | pub fn new(sound_data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f2f4d710ad86909f3d5148dfb3ce1f4e77a50b8843acf450fcb2e8887113da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f2f4d710ad86909f3d5148dfb3ce1f4e77a50b8843acf450fcb2e8887113da3", kill_on_drop: false }` [INFO] [stdout] 8f2f4d710ad86909f3d5148dfb3ce1f4e77a50b8843acf450fcb2e8887113da3