[INFO] fetching crate arm-gic-driver 0.15.7... [INFO] checking arm-gic-driver-0.15.7 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate arm-gic-driver 0.15.7 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate arm-gic-driver 0.15.7 [INFO] finished tweaking crates.io crate arm-gic-driver 0.15.7 [INFO] tweaked toml for crates.io crate arm-gic-driver 0.15.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate arm-gic-driver 0.15.7 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate arm-gic-driver 0.15.7 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af8d41ec0f204bc3a09ebb9b05cfecb101c5b741b3c7a4662fccf173d5288e0a [INFO] running `Command { std: "docker" "start" "-a" "af8d41ec0f204bc3a09ebb9b05cfecb101c5b741b3c7a4662fccf173d5288e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af8d41ec0f204bc3a09ebb9b05cfecb101c5b741b3c7a4662fccf173d5288e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af8d41ec0f204bc3a09ebb9b05cfecb101c5b741b3c7a4662fccf173d5288e0a", kill_on_drop: false }` [INFO] [stdout] af8d41ec0f204bc3a09ebb9b05cfecb101c5b741b3c7a4662fccf173d5288e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d72b59ad28964b5da07e987f45660b4e35ccadd049bcf4c03e9ed7003e38b77c [INFO] running `Command { std: "docker" "start" "-a" "d72b59ad28964b5da07e987f45660b4e35ccadd049bcf4c03e9ed7003e38b77c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking tock-registers v0.9.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking aarch64-cpu v10.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Checking arm-gic-driver v0.15.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: struct import `LPI` is private [INFO] [stdout] --> src/tests.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | version::v3::{LPI, RedistributorV3, RedistributorV4, SGI}, [INFO] [stdout] | ^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `LPI` is defined here... [INFO] [stdout] --> src/version/v3/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gicr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `LPI` which is defined here [INFO] [stdout] --> src/version/v3/gicr.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / register_structs! { [INFO] [stdout] 112 | | /// GIC Redistributor LPI registers. [INFO] [stdout] 113 | | #[allow(non_snake_case)] [INFO] [stdout] 114 | | pub LPI { [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] | |_^ you could import this directly [INFO] [stdout] = note: this error originates in the macro `$crate::register_fields` which comes from the expansion of the macro `register_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `RedistributorV3` is private [INFO] [stdout] --> src/tests.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | version::v3::{LPI, RedistributorV3, RedistributorV4, SGI}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `RedistributorV3` is defined here... [INFO] [stdout] --> src/version/v3/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gicr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `RedistributorV3` which is defined here [INFO] [stdout] --> src/version/v3/gicr.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct RedistributorV3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `RedistributorV4` is private [INFO] [stdout] --> src/tests.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | version::v3::{LPI, RedistributorV3, RedistributorV4, SGI}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `RedistributorV4` is defined here... [INFO] [stdout] --> src/version/v3/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gicr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `RedistributorV4` which is defined here [INFO] [stdout] --> src/version/v3/gicr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct RedistributorV4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `SGI` is private [INFO] [stdout] --> src/tests.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | version::v3::{LPI, RedistributorV3, RedistributorV4, SGI}, [INFO] [stdout] | ^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `SGI` is defined here... [INFO] [stdout] --> src/version/v3/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use gicr::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `SGI` which is defined here [INFO] [stdout] --> src/version/v3/gicr.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | / register_structs! { [INFO] [stdout] 284 | | #[allow(non_snake_case)] [INFO] [stdout] 285 | | pub SGI { [INFO] [stdout] 286 | | (0x0000 => _rsv0), [INFO] [stdout] ... | [INFO] [stdout] 323 | | } [INFO] [stdout] | |_^ you could import this directly [INFO] [stdout] = note: this error originates in the macro `$crate::register_fields` which comes from the expansion of the macro `register_structs` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0603`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arm-gic-driver` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/version/v3/gicd.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl DistributorReg { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn set_interrupt_group(&self, intid: u32, group: u32, group_modifier: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn generate_spi_ns(&self, intid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn generate_spi_s(&self, intid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | pub fn clear_spi_ns(&self, intid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn clear_spi_s(&self, intid: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn set_nmi(&self, intid: u32, nmi: bool) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn is_nmi(&self, intid: u32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn has_extended_spi(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn extended_spi_range(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn has_message_based_spi(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 501 | pub fn has_lpis(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn has_direct_vlpi(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/version/v3/gicr.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl LPI { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn enable_lpi(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn disable_lpi(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn is_lpi_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn set_lpi_pending(&self, intid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn clear_lpi_pending(&self, intid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn invalidate_lpi(&self, intid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn invalidate_all_lpi(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn sync(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn is_last(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn get_affinity(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn supports_physical_lpi(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn supports_virtual_lpi(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_group`, `is_group1`, and `set_group_modifier` are never used [INFO] [stdout] --> src/version/v3/gicr.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 324 | impl SGI { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 464 | pub fn set_group(&self, intid: IntId, group1: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn is_group1(&self, intid: IntId) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 481 | pub fn set_group_modifier(&self, intid: IntId, modifier: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d72b59ad28964b5da07e987f45660b4e35ccadd049bcf4c03e9ed7003e38b77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72b59ad28964b5da07e987f45660b4e35ccadd049bcf4c03e9ed7003e38b77c", kill_on_drop: false }` [INFO] [stdout] d72b59ad28964b5da07e987f45660b4e35ccadd049bcf4c03e9ed7003e38b77c