[INFO] fetching crate xbe 0.1.1... [INFO] checking xbe-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate xbe 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate xbe 0.1.1 [INFO] finished tweaking crates.io crate xbe 0.1.1 [INFO] tweaked toml for crates.io crate xbe 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xbe 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding version-sync v0.5.0 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cb3e78878c4ee8e08c19f23480f66ed2cde99f57abfcbc23aff418b1a044653 [INFO] running `Command { std: "docker" "start" "-a" "5cb3e78878c4ee8e08c19f23480f66ed2cde99f57abfcbc23aff418b1a044653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cb3e78878c4ee8e08c19f23480f66ed2cde99f57abfcbc23aff418b1a044653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cb3e78878c4ee8e08c19f23480f66ed2cde99f57abfcbc23aff418b1a044653", kill_on_drop: false }` [INFO] [stdout] 5cb3e78878c4ee8e08c19f23480f66ed2cde99f57abfcbc23aff418b1a044653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233cb24b6670bbf4dd3cd55a3ee7ca12bdd691eef1292493dbafaa9611b32ad6 [INFO] running `Command { std: "docker" "start" "-a" "233cb24b6670bbf4dd3cd55a3ee7ca12bdd691eef1292493dbafaa9611b32ad6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-xid v0.0.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking synom v0.11.3 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking syn v0.11.11 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking version-sync v0.5.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking xbe v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(feature = "cargo-clippy", deny(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(feature = "cargo-clippy", deny(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal, large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal, large_digit_groups))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:810:28 [INFO] [stdout] | [INFO] [stdout] 810 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:810:28 [INFO] [stdout] | [INFO] [stdout] 810 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cert.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | s.trim_right_matches('\0').to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 55 - s.trim_right_matches('\0').to_string() [INFO] [stdout] 55 + s.trim_end_matches('\0').to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/cert.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | s.trim_right_matches('\0').to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 55 - s.trim_right_matches('\0').to_string() [INFO] [stdout] 55 + s.trim_end_matches('\0').to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 300 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 306 | image_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 307 | image_header_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 308 | /// Creation time of the file. [INFO] [stdout] 309 | time_date: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | tls: raw::Tls, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pe_base_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 326 | pe_size: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 327 | pe_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 328 | pe_time_date: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | debug_filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | non_kernel_import_dir_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | kernel_library_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 354 | /// `LibraryVersion` struct for XAPI. [INFO] [stdout] 355 | xapi_library_version: Option, [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 `image_range` is never read [INFO] [stdout] --> src/lib.rs:877:5 [INFO] [stdout] | [INFO] [stdout] 869 | pub struct KernelThunkTable { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 877 | image_range: RangeInclusive, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KernelThunkTable` 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 `size` and `game_ratings` are never read [INFO] [stdout] --> src/cert.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Certificate { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | /// Certificate size in Bytes. [INFO] [stdout] 23 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | game_ratings: u32, // FIXME format unknown [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Certificate` 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 `section_name_refcount`, `head_shared_page_refcount_addr`, `tail_shared_page_refcount_addr`, and `section_digest` are never read [INFO] [stdout] --> src/raw.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 272 | pub section_name_refcount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | pub head_shared_page_refcount_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 274 | pub tail_shared_page_refcount_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | /// Signature digest. [INFO] [stdout] 276 | pub section_digest: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` 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 `data_start_addr`, `data_end_addr`, `tls_index_addr`, `tls_callback_addr`, `zero_fill_size`, and `characteristics` are never read [INFO] [stdout] --> src/raw.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct Tls { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 312 | pub data_start_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 313 | pub data_end_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 314 | pub tls_index_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 315 | pub tls_callback_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 316 | pub zero_fill_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 317 | pub characteristics: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tls` 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/lib.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn sections(&self) -> Sections { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn sections(&self) -> Sections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn find_section_containing(&self, virt_addr: u32) -> Option
{ [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn find_section_containing(&self, virt_addr: u32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn find_address_info(&self, virt_addr: u32) -> AddressInfo { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn find_address_info(&self, virt_addr: u32) -> AddressInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 300 | struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 306 | image_size: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 307 | image_header_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 308 | /// Creation time of the file. [INFO] [stdout] 309 | time_date: SystemTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | tls: raw::Tls, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pe_base_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 326 | pe_size: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 327 | pe_checksum: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 328 | pe_time_date: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | debug_filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | non_kernel_import_dir_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | kernel_library_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 354 | /// `LibraryVersion` struct for XAPI. [INFO] [stdout] 355 | xapi_library_version: Option, [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 `image_range` is never read [INFO] [stdout] --> src/lib.rs:877:5 [INFO] [stdout] | [INFO] [stdout] 869 | pub struct KernelThunkTable { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 877 | image_range: RangeInclusive, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KernelThunkTable` 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 `size` and `game_ratings` are never read [INFO] [stdout] --> src/cert.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Certificate { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | /// Certificate size in Bytes. [INFO] [stdout] 23 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | game_ratings: u32, // FIXME format unknown [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Certificate` 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 `section_name_refcount`, `head_shared_page_refcount_addr`, `tail_shared_page_refcount_addr`, and `section_digest` are never read [INFO] [stdout] --> src/raw.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 272 | pub section_name_refcount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | pub head_shared_page_refcount_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 274 | pub tail_shared_page_refcount_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 275 | /// Signature digest. [INFO] [stdout] 276 | pub section_digest: [u8; 20], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` 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 `data_start_addr`, `data_end_addr`, `tls_index_addr`, `tls_callback_addr`, `zero_fill_size`, and `characteristics` are never read [INFO] [stdout] --> src/raw.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 311 | pub struct Tls { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 312 | pub data_start_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 313 | pub data_end_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 314 | pub tls_index_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 315 | pub tls_callback_addr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 316 | pub zero_fill_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 317 | pub characteristics: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tls` 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/lib.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn sections(&self) -> Sections { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 153 | pub fn sections(&self) -> Sections<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:159:36 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn find_section_containing(&self, virt_addr: u32) -> Option
{ [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn find_section_containing(&self, virt_addr: u32) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn find_address_info(&self, virt_addr: u32) -> AddressInfo { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | pub fn find_address_info(&self, virt_addr: u32) -> AddressInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/xbe-dump.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/xbe-dump.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.85s [INFO] running `Command { std: "docker" "inspect" "233cb24b6670bbf4dd3cd55a3ee7ca12bdd691eef1292493dbafaa9611b32ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233cb24b6670bbf4dd3cd55a3ee7ca12bdd691eef1292493dbafaa9611b32ad6", kill_on_drop: false }` [INFO] [stdout] 233cb24b6670bbf4dd3cd55a3ee7ca12bdd691eef1292493dbafaa9611b32ad6