[INFO] fetching crate libwave 0.1.2... [INFO] checking libwave-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate libwave 0.1.2 into /workspace/builds/worker-1-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-1-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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f88d7529224c92e0c2eb1d0d374702eba2f3aa51ebf2e5ac9d743ab364b37cc [INFO] running `Command { std: "docker" "start" "-a" "9f88d7529224c92e0c2eb1d0d374702eba2f3aa51ebf2e5ac9d743ab364b37cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f88d7529224c92e0c2eb1d0d374702eba2f3aa51ebf2e5ac9d743ab364b37cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f88d7529224c92e0c2eb1d0d374702eba2f3aa51ebf2e5ac9d743ab364b37cc", kill_on_drop: false }` [INFO] [stdout] 9f88d7529224c92e0c2eb1d0d374702eba2f3aa51ebf2e5ac9d743ab364b37cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f6ee1d94f2d405d429fd646a98f90bf7863927feb865b700b9d79187f66599 [INFO] running `Command { std: "docker" "start" "-a" "c5f6ee1d94f2d405d429fd646a98f90bf7863927feb865b700b9d79187f66599", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.74s [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] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [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] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [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] [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] running `Command { std: "docker" "inspect" "c5f6ee1d94f2d405d429fd646a98f90bf7863927feb865b700b9d79187f66599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f6ee1d94f2d405d429fd646a98f90bf7863927feb865b700b9d79187f66599", kill_on_drop: false }` [INFO] [stdout] c5f6ee1d94f2d405d429fd646a98f90bf7863927feb865b700b9d79187f66599