[INFO] cloning repository https://github.com/kurotakazuki/wav_ast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kurotakazuki/wav_ast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurotakazuki%2Fwav_ast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurotakazuki%2Fwav_ast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f92a132c4e3be038bc35f693ce365784a5b26cf [INFO] checking kurotakazuki/wav_ast against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkurotakazuki%2Fwav_ast" "/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/kurotakazuki/wav_ast on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kurotakazuki/wav_ast [INFO] finished tweaking git repo https://github.com/kurotakazuki/wav_ast [INFO] tweaked toml for git repo https://github.com/kurotakazuki/wav_ast written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kurotakazuki/wav_ast 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4437ee4f6509e92c3b61446d12894b86ba8ec36256242fdc7495069682046804 [INFO] running `Command { std: "docker" "start" "-a" "4437ee4f6509e92c3b61446d12894b86ba8ec36256242fdc7495069682046804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4437ee4f6509e92c3b61446d12894b86ba8ec36256242fdc7495069682046804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4437ee4f6509e92c3b61446d12894b86ba8ec36256242fdc7495069682046804", kill_on_drop: false }` [INFO] [stdout] 4437ee4f6509e92c3b61446d12894b86ba8ec36256242fdc7495069682046804 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 094b8eae21bbac2ed732b79bb7f0e6df48fe64a10854ce2283af83e4f080191d [INFO] running `Command { std: "docker" "start" "-a" "094b8eae21bbac2ed732b79bb7f0e6df48fe64a10854ce2283af83e4f080191d", kill_on_drop: false }` [INFO] [stderr] Compiling wav_ast v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking mpl v0.1.0 [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/chunk/data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DataChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | pub chunk_header: ChunkHeader, [INFO] [stdout] 7 | pub data: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataChunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/chunk/data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DataChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | pub chunk_header: ChunkHeader, [INFO] [stdout] 7 | pub data: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataChunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `valid_bits_per_sample`, `samples_per_block`, `reserved`, `channel_mask`, and `sub_format` are never read [INFO] [stdout] --> src/chunk/fmt.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct WaveFormatExtensible { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 41 | pub valid_bits_per_sample: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub samples_per_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub reserved: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub channel_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub sub_format: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaveFormatExtensible` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `valid_bits_per_sample`, `samples_per_block`, `reserved`, `channel_mask`, and `sub_format` are never read [INFO] [stdout] --> src/chunk/fmt.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct WaveFormatExtensible { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 41 | pub valid_bits_per_sample: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub samples_per_block: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub reserved: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub channel_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | pub sub_format: u128, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WaveFormatExtensible` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/chunk/other.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OtherChunk<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub chunk_header: ChunkHeader, [INFO] [stdout] 6 | pub data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OtherChunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/chunk/other.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OtherChunk<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub chunk_header: ChunkHeader, [INFO] [stdout] 6 | pub data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OtherChunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_type` is never read [INFO] [stdout] --> src/chunk/riff.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RiffChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 5 | pub chunk_header: ChunkHeader, [INFO] [stdout] 6 | pub form_type: FourCC, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiffChunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `form_type` is never read [INFO] [stdout] --> src/chunk/riff.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RiffChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 5 | pub chunk_header: ChunkHeader, [INFO] [stdout] 6 | pub form_type: FourCC, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RiffChunk` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | U8(u8), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | U8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | U8(u8), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 | U8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | U16(u16), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | U16(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | U16(u16), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | U16(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | F32(f32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | F32(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | F32(f32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | F32(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sample.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | F64(f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Sample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | F64(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | let riff: &[u8; 4] = b"RIFF".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let wave: &[u8; 4] = b"WAVE".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let fmt: &[u8; 4] = b"fmt ".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | let data: &[u8; 4] = b"data".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | let other: &[u8; 4] = b"else".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | let riff: &[u8; 4] = b"RIFF".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | let wave: &[u8; 4] = b"WAVE".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:127:29 [INFO] [stdout] | [INFO] [stdout] 127 | let fmt: &[u8; 4] = b"fmt ".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | let data: &[u8; 4] = b"data".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&[u8; 4]` to `&[u8; 4]` [INFO] [stdout] --> src/chunk/mod.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | let other: &[u8; 4] = b"else".into(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wav_ast` (bin "wav_ast" test) due to 10 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "094b8eae21bbac2ed732b79bb7f0e6df48fe64a10854ce2283af83e4f080191d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "094b8eae21bbac2ed732b79bb7f0e6df48fe64a10854ce2283af83e4f080191d", kill_on_drop: false }` [INFO] [stdout] 094b8eae21bbac2ed732b79bb7f0e6df48fe64a10854ce2283af83e4f080191d