[INFO] cloning repository https://github.com/Rantanen/waste [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rantanen/waste" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRantanen%2Fwaste", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRantanen%2Fwaste'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b3c0c455c28096ee5e706a0a39877acb4f06e4c [INFO] checking Rantanen/waste against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRantanen%2Fwaste" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rantanen/waste on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rantanen/waste [INFO] finished tweaking git repo https://github.com/Rantanen/waste [INFO] tweaked toml for git repo https://github.com/Rantanen/waste written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rantanen/waste 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.35 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b869c97e3b64a506f9cdc9cf125827fe35bd138ba474cd57024d46dc9e1cb3ca [INFO] running `Command { std: "docker" "start" "-a" "b869c97e3b64a506f9cdc9cf125827fe35bd138ba474cd57024d46dc9e1cb3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b869c97e3b64a506f9cdc9cf125827fe35bd138ba474cd57024d46dc9e1cb3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b869c97e3b64a506f9cdc9cf125827fe35bd138ba474cd57024d46dc9e1cb3ca", kill_on_drop: false }` [INFO] [stdout] b869c97e3b64a506f9cdc9cf125827fe35bd138ba474cd57024d46dc9e1cb3ca [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f39b81fcb7c093458e93087a1f40e04bdc9bc1cb66cac87db47e1afc199ae56 [INFO] running `Command { std: "docker" "start" "-a" "2f39b81fcb7c093458e93087a1f40e04bdc9bc1cb66cac87db47e1afc199ae56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking waste v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let segment = match start { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/main.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copied` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let copied = std::io::copy(&mut limited, writer)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `magic2`, `version`, `checksum`, `timestamp`, and `flags` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | signature: u32, [INFO] [stdout] 15 | magic2: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: field `0` is never read [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Unknown(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_len` is never read [INFO] [stdout] --> src/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct StreamHeader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 90 | ty: StreamType, [INFO] [stdout] 91 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListStream` is never constructed [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct ThreadListStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl ThreadListStream { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 119 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListThread` is never constructed [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct ThreadListThread { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl ThreadListThread { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 139 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct MemoryDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 158 | impl MemoryDescriptor { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 159 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_len` and `data_offset` are never read [INFO] [stdout] --> src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct LocationDescriptor { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | data_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableStream` is never constructed [INFO] [stdout] --> src/main.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct FunctionTableStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 193 | impl FunctionTableStream { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 194 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | struct FunctionTableDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl FunctionTableDescriptor { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 216 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 245 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 246 | module_name_offset: u32, [INFO] [stdout] 247 | file_info: FixedFileInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 248 | cv_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 249 | misc_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 250 | reserved0: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 251 | reserved1: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_memory` is never used [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl Memory64List { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct FixedFileInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 383 | signature: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 384 | struct_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 385 | file_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 386 | product_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 387 | file_flags_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 388 | file_flags: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 389 | file_os: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 390 | file_type: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 391 | file_subtype: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 392 | file_date_ms: u32, // Can't use u64 due to alignment. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 393 | file_date_ls: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FixedFileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let segment = match start { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/main.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copied` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let copied = std::io::copy(&mut limited, writer)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `magic2`, `version`, `checksum`, `timestamp`, and `flags` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | signature: u32, [INFO] [stdout] 15 | magic2: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: field `0` is never read [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Unknown(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_len` is never read [INFO] [stdout] --> src/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct StreamHeader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 90 | ty: StreamType, [INFO] [stdout] 91 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListStream` is never constructed [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct ThreadListStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl ThreadListStream { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 119 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListThread` is never constructed [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct ThreadListThread { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl ThreadListThread { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 139 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct MemoryDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 158 | impl MemoryDescriptor { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 159 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_len` and `data_offset` are never read [INFO] [stdout] --> src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct LocationDescriptor { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | data_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableStream` is never constructed [INFO] [stdout] --> src/main.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct FunctionTableStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 193 | impl FunctionTableStream { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 194 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | struct FunctionTableDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl FunctionTableDescriptor { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 216 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 245 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 246 | module_name_offset: u32, [INFO] [stdout] 247 | file_info: FixedFileInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 248 | cv_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 249 | misc_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 250 | reserved0: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 251 | reserved1: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_memory` is never used [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl Memory64List { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct FixedFileInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 383 | signature: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 384 | struct_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 385 | file_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 386 | product_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 387 | file_flags_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 388 | file_flags: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 389 | file_os: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 390 | file_type: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 391 | file_subtype: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 392 | file_date_ms: u32, // Can't use u64 due to alignment. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 393 | file_date_ls: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FixedFileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.53s [INFO] running `Command { std: "docker" "inspect" "2f39b81fcb7c093458e93087a1f40e04bdc9bc1cb66cac87db47e1afc199ae56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f39b81fcb7c093458e93087a1f40e04bdc9bc1cb66cac87db47e1afc199ae56", kill_on_drop: false }` [INFO] [stdout] 2f39b81fcb7c093458e93087a1f40e04bdc9bc1cb66cac87db47e1afc199ae56 [INFO] checking Rantanen/waste against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRantanen%2Fwaste" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rantanen/waste on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rantanen/waste [INFO] finished tweaking git repo https://github.com/Rantanen/waste [INFO] tweaked toml for git repo https://github.com/Rantanen/waste written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rantanen/waste 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82e6299d0367f65fcebae5736731b905cfa553636841539c1d6ddbdf2387ca88 [INFO] running `Command { std: "docker" "start" "-a" "82e6299d0367f65fcebae5736731b905cfa553636841539c1d6ddbdf2387ca88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82e6299d0367f65fcebae5736731b905cfa553636841539c1d6ddbdf2387ca88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82e6299d0367f65fcebae5736731b905cfa553636841539c1d6ddbdf2387ca88", kill_on_drop: false }` [INFO] [stdout] 82e6299d0367f65fcebae5736731b905cfa553636841539c1d6ddbdf2387ca88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ae562431841983da3de4131f21ea1cc95c529e24e34a35b186e7c965d8fc0e8 [INFO] running `Command { std: "docker" "start" "-a" "6ae562431841983da3de4131f21ea1cc95c529e24e34a35b186e7c965d8fc0e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking waste v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let segment = match start { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/main.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copied` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let copied = std::io::copy(&mut limited, writer)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `magic2`, `version`, `checksum`, `timestamp`, and `flags` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | signature: u32, [INFO] [stdout] 15 | magic2: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: field `0` is never read [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Unknown(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_len` is never read [INFO] [stdout] --> src/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct StreamHeader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 90 | ty: StreamType, [INFO] [stdout] 91 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListStream` is never constructed [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct ThreadListStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl ThreadListStream { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 119 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListThread` is never constructed [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct ThreadListThread { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl ThreadListThread { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 139 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct MemoryDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 158 | impl MemoryDescriptor { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 159 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_len` and `data_offset` are never read [INFO] [stdout] --> src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct LocationDescriptor { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | data_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableStream` is never constructed [INFO] [stdout] --> src/main.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct FunctionTableStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 193 | impl FunctionTableStream { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 194 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | struct FunctionTableDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl FunctionTableDescriptor { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 216 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 245 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 246 | module_name_offset: u32, [INFO] [stdout] 247 | file_info: FixedFileInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 248 | cv_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 249 | misc_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 250 | reserved0: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 251 | reserved1: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_memory` is never used [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl Memory64List { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct FixedFileInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 383 | signature: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 384 | struct_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 385 | file_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 386 | product_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 387 | file_flags_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 388 | file_flags: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 389 | file_os: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 390 | file_type: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 391 | file_subtype: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 392 | file_date_ms: u32, // Can't use u64 due to alignment. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 393 | file_date_ls: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FixedFileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let segment = match start { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/main.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copied` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let copied = std::io::copy(&mut limited, writer)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `magic2`, `version`, `checksum`, `timestamp`, and `flags` are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 14 | signature: u32, [INFO] [stdout] 15 | magic2: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | flags: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` 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: field `0` is never read [INFO] [stdout] --> src/main.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Unknown(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data_len` is never read [INFO] [stdout] --> src/main.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct StreamHeader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 90 | ty: StreamType, [INFO] [stdout] 91 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListStream` is never constructed [INFO] [stdout] --> src/main.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | struct ThreadListStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl ThreadListStream { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 119 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadListThread` is never constructed [INFO] [stdout] --> src/main.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | struct ThreadListThread { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl ThreadListThread { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 139 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | struct MemoryDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 158 | impl MemoryDescriptor { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 159 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_len` and `data_offset` are never read [INFO] [stdout] --> src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct LocationDescriptor { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | data_len: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 170 | data_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableStream` is never constructed [INFO] [stdout] --> src/main.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | struct FunctionTableStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 193 | impl FunctionTableStream { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 194 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionTableDescriptor` is never constructed [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | struct FunctionTableDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl FunctionTableDescriptor { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 216 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 241 | struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 244 | checksum: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 245 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 246 | module_name_offset: u32, [INFO] [stdout] 247 | file_info: FixedFileInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 248 | cv_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 249 | misc_record: LocationDescriptor, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 250 | reserved0: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 251 | reserved1: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_memory` is never used [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 294 | impl Memory64List { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct FixedFileInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 383 | signature: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 384 | struct_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 385 | file_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 386 | product_version: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 387 | file_flags_mask: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 388 | file_flags: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 389 | file_os: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 390 | file_type: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 391 | file_subtype: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 392 | file_date_ms: u32, // Can't use u64 due to alignment. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 393 | file_date_ls: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FixedFileInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.52s [INFO] running `Command { std: "docker" "inspect" "6ae562431841983da3de4131f21ea1cc95c529e24e34a35b186e7c965d8fc0e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae562431841983da3de4131f21ea1cc95c529e24e34a35b186e7c965d8fc0e8", kill_on_drop: false }` [INFO] [stdout] 6ae562431841983da3de4131f21ea1cc95c529e24e34a35b186e7c965d8fc0e8