[INFO] fetching crate libwave 0.1.2... [INFO] testing libwave-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate libwave 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate libwave 0.1.2 [INFO] finished tweaking crates.io crate libwave 0.1.2 [INFO] tweaked toml for crates.io crate libwave 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libwave 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding nom v4.2.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1044518f1d58c7919cbb8b21842d468cbe1ea4ab6b0cc1fe2b02eee7e3d92362 [INFO] running `Command { std: "docker" "start" "-a" "1044518f1d58c7919cbb8b21842d468cbe1ea4ab6b0cc1fe2b02eee7e3d92362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1044518f1d58c7919cbb8b21842d468cbe1ea4ab6b0cc1fe2b02eee7e3d92362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1044518f1d58c7919cbb8b21842d468cbe1ea4ab6b0cc1fe2b02eee7e3d92362", kill_on_drop: false }` [INFO] [stdout] 1044518f1d58c7919cbb8b21842d468cbe1ea4ab6b0cc1fe2b02eee7e3d92362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34cde8d8d2d744863be70933c829ce95b841a7547e02e7dcee107052b308884d [INFO] running `Command { std: "docker" "start" "-a" "34cde8d8d2d744863be70933c829ce95b841a7547e02e7dcee107052b308884d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libwave v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom` [INFO] [stdout] --> src/sample.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros` [INFO] [stdout] --> src/sample.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use macros; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sample.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | used += (size as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - used += (size as usize); [INFO] [stdout] 59 + used += size as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/chunks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ChunkHeader<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | id: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkHeader` 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 `audio_format`, `sample_rate`, `byte_rate`, and `block_align` are never read [INFO] [stdout] --> src/chunks.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FmtChunk<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | pub header : ChunkHeader<'a>, [INFO] [stdout] 18 | audio_format: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | num_channels: u16, [INFO] [stdout] 20 | sample_rate : u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | byte_rate: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | block_align: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FmtChunk` 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 `header` and `channels` are never read [INFO] [stdout] --> src/chunks.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DataChunk<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 28 | header: ChunkHeader<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | channels: Channels //sample set of multi track [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | named!(chunk_header<&[u8],ChunkHeader>, [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | named!(chunk_header<&[u8],ChunkHeader<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | named!(master_chunk<&[u8],MasterChunk>, [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | named!(master_chunk<&[u8],MasterChunk<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | named!(fmt_chunk<&[u8],FmtChunk>, [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | named!(fmt_chunk<&[u8],FmtChunk<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | named!(pub parse_wave<&[u8],WAVE>, [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | named!(pub parse_wave<&[u8],WAVE<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "34cde8d8d2d744863be70933c829ce95b841a7547e02e7dcee107052b308884d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34cde8d8d2d744863be70933c829ce95b841a7547e02e7dcee107052b308884d", kill_on_drop: false }` [INFO] [stdout] 34cde8d8d2d744863be70933c829ce95b841a7547e02e7dcee107052b308884d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24b856581aec900a69177a92e90734b2da63e0ae0b681aedcf89cc2754a49c20 [INFO] running `Command { std: "docker" "start" "-a" "24b856581aec900a69177a92e90734b2da63e0ae0b681aedcf89cc2754a49c20", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom` [INFO] [stdout] --> src/sample.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros` [INFO] [stdout] --> src/sample.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use macros; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sample.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | used += (size as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - used += (size as usize); [INFO] [stdout] 59 + used += size as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/chunks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ChunkHeader<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | id: &'a str, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkHeader` 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 `audio_format`, `sample_rate`, `byte_rate`, and `block_align` are never read [INFO] [stdout] --> src/chunks.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FmtChunk<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 17 | pub header : ChunkHeader<'a>, [INFO] [stdout] 18 | audio_format: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | num_channels: u16, [INFO] [stdout] 20 | sample_rate : u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | byte_rate: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | block_align: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FmtChunk` 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 `header` and `channels` are never read [INFO] [stdout] --> src/chunks.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DataChunk<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 28 | header: ChunkHeader<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | channels: Channels //sample set of multi track [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | named!(chunk_header<&[u8],ChunkHeader>, [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | named!(chunk_header<&[u8],ChunkHeader<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | named!(master_chunk<&[u8],MasterChunk>, [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | named!(master_chunk<&[u8],MasterChunk<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | named!(fmt_chunk<&[u8],FmtChunk>, [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | named!(fmt_chunk<&[u8],FmtChunk<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libwave v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | named!(pub parse_wave<&[u8],WAVE>, [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | named!(pub parse_wave<&[u8],WAVE<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom` [INFO] [stdout] --> src/sample.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros` [INFO] [stdout] --> src/sample.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use macros; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/sample.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | used += (size as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - used += (size as usize); [INFO] [stdout] 59 + used += size as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/chunks.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | let (i,mut instance) = ret.unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/chunks.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | let (i,mut instance) = ret.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: fields `header` and `channels` are never read [INFO] [stdout] --> src/chunks.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct DataChunk<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 28 | header: ChunkHeader<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | channels: Channels //sample set of multi track [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataChunk` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | named!(chunk_header<&[u8],ChunkHeader>, [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | named!(chunk_header<&[u8],ChunkHeader<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | named!(master_chunk<&[u8],MasterChunk>, [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | named!(master_chunk<&[u8],MasterChunk<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | named!(fmt_chunk<&[u8],FmtChunk>, [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | named!(fmt_chunk<&[u8],FmtChunk<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chunks.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | named!(pub parse_wave<&[u8],WAVE>, [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 104 | named!(pub parse_wave<&[u8],WAVE<'_>>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "24b856581aec900a69177a92e90734b2da63e0ae0b681aedcf89cc2754a49c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24b856581aec900a69177a92e90734b2da63e0ae0b681aedcf89cc2754a49c20", kill_on_drop: false }` [INFO] [stdout] 24b856581aec900a69177a92e90734b2da63e0ae0b681aedcf89cc2754a49c20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2293052478efb84ed9ec20aa486d0b296c87544019a5723d1bc1120420f66e6 [INFO] running `Command { std: "docker" "start" "-a" "f2293052478efb84ed9ec20aa486d0b296c87544019a5723d1bc1120420f66e6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `nom` [INFO] [stderr] --> src/sample.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use nom; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `macros` [INFO] [stderr] --> src/sample.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use macros; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/sample.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | used += (size as usize); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 59 - used += (size as usize); [INFO] [stderr] 59 + used += size as usize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/chunks.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ChunkHeader<'a> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 7 | id: &'a str, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChunkHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `audio_format`, `sample_rate`, `byte_rate`, and `block_align` are never read [INFO] [stderr] --> src/chunks.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct FmtChunk<'a> { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 17 | pub header : ChunkHeader<'a>, [INFO] [stderr] 18 | audio_format: u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 19 | num_channels: u16, [INFO] [stderr] 20 | sample_rate : u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 21 | byte_rate: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 22 | block_align: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FmtChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `header` and `channels` are never read [INFO] [stderr] --> src/chunks.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct DataChunk<'a> { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 28 | header: ChunkHeader<'a>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | channels: Channels //sample set of multi track [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chunks.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | named!(chunk_header<&[u8],ChunkHeader>, [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | named!(chunk_header<&[u8],ChunkHeader<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chunks.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | named!(master_chunk<&[u8],MasterChunk>, [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 49 | named!(master_chunk<&[u8],MasterChunk<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chunks.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | named!(fmt_chunk<&[u8],FmtChunk>, [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | named!(fmt_chunk<&[u8],FmtChunk<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/chunks.rs:104:23 [INFO] [stderr] | [INFO] [stderr] 104 | named!(pub parse_wave<&[u8],WAVE>, [INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | named!(pub parse_wave<&[u8],WAVE<'_>>, [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/chunks.rs:118:10 [INFO] [stderr] | [INFO] [stderr] 118 | let (i,mut instance) = ret.unwrap(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/chunks.rs:118:12 [INFO] [stderr] | [INFO] [stderr] 118 | let (i,mut instance) = ret.unwrap(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `header` and `channels` are never read [INFO] [stderr] --> src/chunks.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct DataChunk<'a> { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 28 | header: ChunkHeader<'a>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 29 | channels: Channels //sample set of multi track [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `libwave` (lib) generated 11 warnings (run `cargo fix --lib -p libwave` to apply 7 suggestions) [INFO] [stderr] warning: `libwave` (lib test) generated 11 warnings (8 duplicates) (run `cargo fix --lib -p libwave --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libwave-5efa0577f473d3e3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test chunks::test_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests libwave [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/sample.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | used += (size as usize); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 59 - used += (size as usize); [INFO] [stderr] 59 + used += size as usize; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f2293052478efb84ed9ec20aa486d0b296c87544019a5723d1bc1120420f66e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2293052478efb84ed9ec20aa486d0b296c87544019a5723d1bc1120420f66e6", kill_on_drop: false }` [INFO] [stdout] f2293052478efb84ed9ec20aa486d0b296c87544019a5723d1bc1120420f66e6