[INFO] fetching crate destiny-pkg 0.17.3... [INFO] testing destiny-pkg-0.17.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate destiny-pkg 0.17.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate destiny-pkg 0.17.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate destiny-pkg 0.17.3 [INFO] tweaked toml for crates.io crate destiny-pkg 0.17.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate destiny-pkg 0.17.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate destiny-pkg 0.17.3 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.14 [INFO] [stderr] Downloaded tracy-client v0.18.0 [INFO] [stderr] Downloaded tracy-client-sys v0.24.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd94d81d82e3b89324f16d6da42756a31fd24dacf148cde3ee1083422bf88471 [INFO] running `Command { std: "docker" "start" "-a" "dd94d81d82e3b89324f16d6da42756a31fd24dacf148cde3ee1083422bf88471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd94d81d82e3b89324f16d6da42756a31fd24dacf148cde3ee1083422bf88471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd94d81d82e3b89324f16d6da42756a31fd24dacf148cde3ee1083422bf88471", kill_on_drop: false }` [INFO] [stdout] dd94d81d82e3b89324f16d6da42756a31fd24dacf148cde3ee1083422bf88471 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb826f49b0e76ccca88199054818823fdfd6b839ed204df0dda5239231c0915 [INFO] running `Command { std: "docker" "start" "-a" "ffb826f49b0e76ccca88199054818823fdfd6b839ed204df0dda5239231c0915", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling binrw_derive v0.13.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling binrw v0.13.3 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling bincode v2.0.0-rc.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling clap-num v1.1.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.27 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling destiny-pkg v0.17.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/d2_shared.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BlockHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub hash: [u8; 20], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries`, `entries2`, and `path_base` are never read [INFO] [stdout] --> src/d1_internal_alpha/impl.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PackageD1InternalAlpha { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 30 | pub header: PackageHeader, [INFO] [stdout] 31 | entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | entries2: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | path_base: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_internal_alpha/structs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | #[br(assert(version == 11))] [INFO] [stdout] 9 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub patch: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub _unk8: u64, [INFO] [stdout] 15 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub entry2_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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 `unk0`, `unk4`, `unk8`, and `unkc` are never read [INFO] [stdout] --> src/d1_internal_alpha/structs.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct EntryHeader2 { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 67 | pub unk0: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub unk4: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub unk8: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | pub unkc: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryHeader2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_legacy/structs.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | #[br(assert(version == 24))] [INFO] [stdout] 11 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub named_tag_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_roi/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 24))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub _unk_buildid: u32, [INFO] [stdout] 18 | pub version_major: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub version_minor: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub named_tag_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thing` is never read [INFO] [stdout] --> src/d1_roi/structs.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct EntryHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | thing: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d2_beta/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 38))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub build_time: u64, // 0x10 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub tool_string: String, // 0x24 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, // 0xb0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub misc_data_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub misc_data_offset: u32, [INFO] [stdout] 40 | pub misc_data_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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 `version`, `build_time`, `header_signature_offset`, and `file_size` are never read [INFO] [stdout] --> src/d2_beyondlight/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 53))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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/d2_shared.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_block_raw(&self, block_index: usize) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 133 | fn get_block_raw(&self, block_index: usize) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compBuf` should have a snake case name [INFO] [stdout] --> src/oodle.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | compBuf: *const u8, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `comp_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compBufSize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | compBufSize: i64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `comp_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rawBuf` should have a snake case name [INFO] [stdout] --> src/oodle.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | rawBuf: *mut u8, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `raw_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rawLen` should have a snake case name [INFO] [stdout] --> src/oodle.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rawLen: i64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `raw_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fuzzSafe` should have a snake case name [INFO] [stdout] --> src/oodle.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fuzzSafe: OodleLzFuzzSafe, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `fuzz_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkCRC` should have a snake case name [INFO] [stdout] --> src/oodle.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | checkCRC: OodleLzCheckCRC, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `check_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decBufBase` should have a snake case name [INFO] [stdout] --> src/oodle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | decBufBase: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decBufSize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | decBufSize: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fpCallback` should have a snake case name [INFO] [stdout] --> src/oodle.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fpCallback: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fp_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `callbackUserData` should have a snake case name [INFO] [stdout] --> src/oodle.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | callbackUserData: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `callback_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decoderMemory` should have a snake case name [INFO] [stdout] --> src/oodle.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | decoderMemory: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decoderMemorySize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | decoderMemorySize: *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadPhase` should have a snake case name [INFO] [stdout] --> src/oodle.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | threadPhase: OodleLzThreadPhase, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `thread_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.72s [INFO] running `Command { std: "docker" "inspect" "ffb826f49b0e76ccca88199054818823fdfd6b839ed204df0dda5239231c0915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb826f49b0e76ccca88199054818823fdfd6b839ed204df0dda5239231c0915", kill_on_drop: false }` [INFO] [stdout] ffb826f49b0e76ccca88199054818823fdfd6b839ed204df0dda5239231c0915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9b6dd8ef7fcc98e132f832220f38d77d8a05dfb0d46027b80bec9e90e1f8247 [INFO] running `Command { std: "docker" "start" "-a" "b9b6dd8ef7fcc98e132f832220f38d77d8a05dfb0d46027b80bec9e90e1f8247", kill_on_drop: false }` [INFO] [stderr] Compiling tracy-client-sys v0.24.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling is-terminal v0.4.14 [INFO] [stderr] Compiling destiny-pkg v0.17.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pbr v1.1.1 [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/d2_shared.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BlockHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub hash: [u8; 20], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries`, `entries2`, and `path_base` are never read [INFO] [stdout] --> src/d1_internal_alpha/impl.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PackageD1InternalAlpha { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 30 | pub header: PackageHeader, [INFO] [stdout] 31 | entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | entries2: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | path_base: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_internal_alpha/structs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | #[br(assert(version == 11))] [INFO] [stdout] 9 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub patch: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub _unk8: u64, [INFO] [stdout] 15 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub entry2_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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 `unk0`, `unk4`, `unk8`, and `unkc` are never read [INFO] [stdout] --> src/d1_internal_alpha/structs.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct EntryHeader2 { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 67 | pub unk0: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub unk4: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub unk8: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | pub unkc: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryHeader2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_legacy/structs.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | #[br(assert(version == 24))] [INFO] [stdout] 11 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub named_tag_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_roi/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 24))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub _unk_buildid: u32, [INFO] [stdout] 18 | pub version_major: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub version_minor: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub named_tag_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thing` is never read [INFO] [stdout] --> src/d1_roi/structs.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct EntryHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | thing: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d2_beta/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 38))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub build_time: u64, // 0x10 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub tool_string: String, // 0x24 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, // 0xb0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub misc_data_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub misc_data_offset: u32, [INFO] [stdout] 40 | pub misc_data_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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 `version`, `build_time`, `header_signature_offset`, and `file_size` are never read [INFO] [stdout] --> src/d2_beyondlight/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 53))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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/d2_shared.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_block_raw(&self, block_index: usize) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 133 | fn get_block_raw(&self, block_index: usize) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compBuf` should have a snake case name [INFO] [stdout] --> src/oodle.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | compBuf: *const u8, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `comp_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compBufSize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | compBufSize: i64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `comp_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rawBuf` should have a snake case name [INFO] [stdout] --> src/oodle.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | rawBuf: *mut u8, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `raw_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rawLen` should have a snake case name [INFO] [stdout] --> src/oodle.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rawLen: i64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `raw_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fuzzSafe` should have a snake case name [INFO] [stdout] --> src/oodle.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fuzzSafe: OodleLzFuzzSafe, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `fuzz_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkCRC` should have a snake case name [INFO] [stdout] --> src/oodle.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | checkCRC: OodleLzCheckCRC, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `check_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decBufBase` should have a snake case name [INFO] [stdout] --> src/oodle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | decBufBase: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decBufSize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | decBufSize: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fpCallback` should have a snake case name [INFO] [stdout] --> src/oodle.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fpCallback: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fp_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `callbackUserData` should have a snake case name [INFO] [stdout] --> src/oodle.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | callbackUserData: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `callback_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decoderMemory` should have a snake case name [INFO] [stdout] --> src/oodle.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | decoderMemory: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decoderMemorySize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | decoderMemorySize: *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadPhase` should have a snake case name [INFO] [stdout] --> src/oodle.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | threadPhase: OodleLzThreadPhase, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `thread_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tracy-client v0.18.0 [INFO] [stderr] Compiling tracing-tracy v0.11.4 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/space_usage_analysis.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | (size, hash) if *size < entry.file_size => { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 43 | (size, hash) if *size < entry.file_size.try_into().unwrap() => { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `hash` on type `UEntryHeader` [INFO] [stdout] --> examples/space_usage_analysis.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | *hash = entry.hash; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `reference`, `file_type`, `file_subtype`, `starting_block`, `starting_block_offset`, `file_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/space_usage_analysis.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let (size, hash) = *size; [INFO] [stdout] | ^^^^^^^^^^^^ ----- this expression has type `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `usize`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `destiny-pkg` (example "space_usage_analysis") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `hash` is never read [INFO] [stdout] --> src/d2_shared.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct BlockHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub hash: [u8; 20], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries`, `entries2`, and `path_base` are never read [INFO] [stdout] --> src/d1_internal_alpha/impl.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct PackageD1InternalAlpha { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 30 | pub header: PackageHeader, [INFO] [stdout] 31 | entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | entries2: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | path_base: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_internal_alpha/structs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | #[br(assert(version == 11))] [INFO] [stdout] 9 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub patch: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub _unk8: u64, [INFO] [stdout] 15 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub entry2_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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 `unk0`, `unk4`, `unk8`, and `unkc` are never read [INFO] [stdout] --> src/d1_internal_alpha/structs.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct EntryHeader2 { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 67 | pub unk0: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | pub unk4: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 69 | pub unk8: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 70 | pub unkc: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryHeader2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_legacy/structs.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 10 | #[br(assert(version == 24))] [INFO] [stdout] 11 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub named_tag_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d1_roi/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 24))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub _unk_buildid: u32, [INFO] [stdout] 18 | pub version_major: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub version_minor: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub tool_string: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub named_tag_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thing` is never read [INFO] [stdout] --> src/d1_roi/structs.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct EntryHeader { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | thing: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EntryHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/d2_beta/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 38))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub build_time: u64, // 0x10 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub tool_string: String, // 0x24 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub header_signature_offset: u32, // 0xb0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub entry_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub block_table_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | pub misc_data_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub misc_data_offset: u32, [INFO] [stdout] 40 | pub misc_data_hash: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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 `version`, `build_time`, `header_signature_offset`, and `file_size` are never read [INFO] [stdout] --> src/d2_beyondlight/structs.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PackageHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | #[br(assert(version == 53))] [INFO] [stdout] 10 | pub version: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub build_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub header_signature_offset: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub file_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackageHeader` 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/d2_shared.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn get_block_raw(&self, block_index: usize) -> anyhow::Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden 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] 133 | fn get_block_raw(&self, block_index: usize) -> anyhow::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compBuf` should have a snake case name [INFO] [stdout] --> src/oodle.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | compBuf: *const u8, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `comp_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `compBufSize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | compBufSize: i64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `comp_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rawBuf` should have a snake case name [INFO] [stdout] --> src/oodle.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | rawBuf: *mut u8, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `raw_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rawLen` should have a snake case name [INFO] [stdout] --> src/oodle.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | rawLen: i64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `raw_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fuzzSafe` should have a snake case name [INFO] [stdout] --> src/oodle.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fuzzSafe: OodleLzFuzzSafe, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `fuzz_safe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkCRC` should have a snake case name [INFO] [stdout] --> src/oodle.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | checkCRC: OodleLzCheckCRC, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `check_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decBufBase` should have a snake case name [INFO] [stdout] --> src/oodle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | decBufBase: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decBufSize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | decBufSize: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `dec_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fpCallback` should have a snake case name [INFO] [stdout] --> src/oodle.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | fpCallback: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fp_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `callbackUserData` should have a snake case name [INFO] [stdout] --> src/oodle.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | callbackUserData: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `callback_user_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decoderMemory` should have a snake case name [INFO] [stdout] --> src/oodle.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | decoderMemory: *mut c_void, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `decoderMemorySize` should have a snake case name [INFO] [stdout] --> src/oodle.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | decoderMemorySize: *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decoder_memory_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `threadPhase` should have a snake case name [INFO] [stdout] --> src/oodle.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | threadPhase: OodleLzThreadPhase, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `thread_phase` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b9b6dd8ef7fcc98e132f832220f38d77d8a05dfb0d46027b80bec9e90e1f8247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b6dd8ef7fcc98e132f832220f38d77d8a05dfb0d46027b80bec9e90e1f8247", kill_on_drop: false }` [INFO] [stdout] b9b6dd8ef7fcc98e132f832220f38d77d8a05dfb0d46027b80bec9e90e1f8247