[INFO] fetching crate xbe 0.1.1... [INFO] testing xbe-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate xbe 0.1.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xbe 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 48 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" "+1.90.0" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matches v0.1.10 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded version-sync v0.5.0 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded pulldown-cmark v0.1.2 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71a66b0488061b7710d97dfa0f4880c1b9a3a475377a939253da0ebc995fc5e9 [INFO] running `Command { std: "docker" "start" "-a" "71a66b0488061b7710d97dfa0f4880c1b9a3a475377a939253da0ebc995fc5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71a66b0488061b7710d97dfa0f4880c1b9a3a475377a939253da0ebc995fc5e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a66b0488061b7710d97dfa0f4880c1b9a3a475377a939253da0ebc995fc5e9", kill_on_drop: false }` [INFO] [stdout] 71a66b0488061b7710d97dfa0f4880c1b9a3a475377a939253da0ebc995fc5e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4089997dab3279b2035f42c1cf89199b0a5b36fd909c98ddc91c4304853b82c [INFO] running `Command { std: "docker" "start" "-a" "b4089997dab3279b2035f42c1cf89199b0a5b36fd909c98ddc91c4304853b82c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling 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: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: 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: 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 25.21s [INFO] running `Command { std: "docker" "inspect" "b4089997dab3279b2035f42c1cf89199b0a5b36fd909c98ddc91c4304853b82c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4089997dab3279b2035f42c1cf89199b0a5b36fd909c98ddc91c4304853b82c", kill_on_drop: false }` [INFO] [stdout] b4089997dab3279b2035f42c1cf89199b0a5b36fd909c98ddc91c4304853b82c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0837b1c02fa782d88d82294e3a87f78ea2cbf8f6e7874285defaf76d150a1714 [INFO] running `Command { std: "docker" "start" "-a" "0837b1c02fa782d88d82294e3a87f78ea2cbf8f6e7874285defaf76d150a1714", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [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: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: 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] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling itertools v0.7.11 [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] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling version-sync v0.5.0 [INFO] [stderr] Compiling xbe v0.1.1 (/opt/rustwide/workdir) [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: 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: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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.87s [INFO] running `Command { std: "docker" "inspect" "0837b1c02fa782d88d82294e3a87f78ea2cbf8f6e7874285defaf76d150a1714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0837b1c02fa782d88d82294e3a87f78ea2cbf8f6e7874285defaf76d150a1714", kill_on_drop: false }` [INFO] [stdout] 0837b1c02fa782d88d82294e3a87f78ea2cbf8f6e7874285defaf76d150a1714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 605bcbb0e628ca7ac36833517388f2dc69642f75663a5fa4ab5b4175829d8523 [INFO] running `Command { std: "docker" "start" "-a" "605bcbb0e628ca7ac36833517388f2dc69642f75663a5fa4ab5b4175829d8523", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | #![cfg_attr(feature = "cargo-clippy", deny(indexing_slicing))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal, large_digit_groups))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:810:28 [INFO] [stderr] | [INFO] [stderr] 810 | #[cfg_attr(feature = "cargo-clippy", allow(indexing_slicing))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `bitflags::core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/cert.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 55 | s.trim_right_matches('\0').to_string() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 55 - s.trim_right_matches('\0').to_string() [INFO] [stderr] 55 + s.trim_end_matches('\0').to_string() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib.rs:306:5 [INFO] [stderr] | [INFO] [stderr] 300 | struct Header { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 306 | image_size: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 307 | image_header_size: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 308 | /// Creation time of the file. [INFO] [stderr] 309 | time_date: SystemTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 321 | tls: raw::Tls, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 325 | pe_base_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 326 | pe_size: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 327 | pe_checksum: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 328 | pe_time_date: SystemTime, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 332 | debug_filename: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 349 | non_kernel_import_dir_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 353 | kernel_library_version: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 354 | /// `LibraryVersion` struct for XAPI. [INFO] [stderr] 355 | xapi_library_version: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `image_range` is never read [INFO] [stderr] --> src/lib.rs:877:5 [INFO] [stderr] | [INFO] [stderr] 869 | pub struct KernelThunkTable { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 877 | image_range: RangeInclusive, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `KernelThunkTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `size` and `game_ratings` are never read [INFO] [stderr] --> src/cert.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Certificate { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 22 | /// Certificate size in Bytes. [INFO] [stderr] 23 | size: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | game_ratings: u32, // FIXME format unknown [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Certificate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `section_name_refcount`, `head_shared_page_refcount_addr`, `tail_shared_page_refcount_addr`, and `section_digest` are never read [INFO] [stderr] --> src/raw.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 259 | pub struct SectionHeader { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 272 | pub section_name_refcount: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 273 | pub head_shared_page_refcount_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 274 | pub tail_shared_page_refcount_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 275 | /// Signature digest. [INFO] [stderr] 276 | pub section_digest: [u8; 20], [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `data_start_addr`, `data_end_addr`, `tls_index_addr`, `tls_callback_addr`, `zero_fill_size`, and `characteristics` are never read [INFO] [stderr] --> src/raw.rs:312:9 [INFO] [stderr] | [INFO] [stderr] 311 | pub struct Tls { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 312 | pub data_start_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 313 | pub data_end_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 314 | pub tls_index_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 315 | pub tls_callback_addr: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 316 | pub zero_fill_size: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 317 | pub characteristics: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Tls` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:153:21 [INFO] [stderr] | [INFO] [stderr] 153 | pub fn sections(&self) -> Sections { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 153 | pub fn sections(&self) -> Sections<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:159:36 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn find_section_containing(&self, virt_addr: u32) -> Option
{ [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 159 | pub fn find_section_containing(&self, virt_addr: u32) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:173:30 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn find_address_info(&self, virt_addr: u32) -> AddressInfo { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 173 | pub fn find_address_info(&self, virt_addr: u32) -> AddressInfo<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `xbe` (lib) generated 12 warnings (run `cargo fix --lib -p xbe` to apply 1 suggestion) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/xbe-dump.rs:10:29 [INFO] [stderr] | [INFO] [stderr] 10 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 | fn main() -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `xbe` (bin "xbe-dump") generated 1 warning (run `cargo fix --bin "xbe-dump"` to apply 1 suggestion) [INFO] [stderr] warning: `xbe` (bin "xbe-dump" test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `xbe` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xbe-ae8860cf29ba89d8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/xbe-dump.rs (/opt/rustwide/target/debug/deps/xbe_dump-edea13f42b65dec2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/version-numbers.rs (/opt/rustwide/target/debug/deps/version_numbers-e103542a8ce77b0c) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_readme_deps ... ok [INFO] [stderr] Doc-tests xbe [INFO] [stdout] test test_html_root_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "605bcbb0e628ca7ac36833517388f2dc69642f75663a5fa4ab5b4175829d8523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "605bcbb0e628ca7ac36833517388f2dc69642f75663a5fa4ab5b4175829d8523", kill_on_drop: false }` [INFO] [stdout] 605bcbb0e628ca7ac36833517388f2dc69642f75663a5fa4ab5b4175829d8523