[INFO] fetching crate polyhal 0.1.3...
[INFO] testing polyhal-0.1.3 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate polyhal 0.1.3 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate polyhal 0.1.3 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate polyhal 0.1.3
[INFO] finished tweaking crates.io crate polyhal 0.1.3
[INFO] tweaked toml for crates.io crate polyhal 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 37 packages to latest compatible versions
[INFO] [stderr]       Adding aarch64-cpu v9.4.0 (available: v10.0.0)
[INFO] [stderr]       Adding buddy_system_allocator v0.9.1 (available: v0.11.0)
[INFO] [stderr]       Adding riscv v0.11.1 (available: v0.12.1)
[INFO] [stderr]       Adding sbi-rt v0.0.2 (available: v0.0.3)
[INFO] [stderr]       Adding tock-registers v0.8.1 (available: v0.9.0)
[INFO] [stderr]       Adding x86_64 v0.14.12 (available: v0.15.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded polyhal-macro v0.1.3
[INFO] [stderr]   Downloaded x2apic v0.4.3
[INFO] [stderr]   Downloaded multiboot v0.8.0
[INFO] [stderr]   Downloaded tock-registers v0.8.1
[INFO] [stderr]   Downloaded bit v0.1.1
[INFO] [stderr]   Downloaded sbi-rt v0.0.2
[INFO] [stderr]   Downloaded arm_gicv2 v0.1.0
[INFO] [stderr]   Downloaded arm_pl011 v0.1.0
[INFO] [stderr]   Downloaded buddy_system_allocator v0.9.1
[INFO] [stderr]   Downloaded aarch64-cpu v9.4.0
[INFO] [stderr]   Downloaded loongArch64 v0.2.4
[INFO] [stderr]   Downloaded fdt v0.1.5
[INFO] [stderr]   Downloaded sbi-spec v0.0.4
[INFO] [stderr]   Downloaded x86 v0.52.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57435b0dac19842c30d7c2a4afeb743502b9133f60e2f710eb1c097aa6771dfe
[INFO] running `Command { std: "docker" "start" "-a" "57435b0dac19842c30d7c2a4afeb743502b9133f60e2f710eb1c097aa6771dfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57435b0dac19842c30d7c2a4afeb743502b9133f60e2f710eb1c097aa6771dfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57435b0dac19842c30d7c2a4afeb743502b9133f60e2f710eb1c097aa6771dfe", kill_on_drop: false }`
[INFO] [stdout] 57435b0dac19842c30d7c2a4afeb743502b9133f60e2f710eb1c097aa6771dfe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 278ef3172e7ea53305a0a3ee2bba52d0a5fd6b113ccd78fa90c35841d69fef8b
[INFO] running `Command { std: "docker" "start" "-a" "278ef3172e7ea53305a0a3ee2bba52d0a5fd6b113ccd78fa90c35841d69fef8b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling x86 v0.52.0
[INFO] [stderr]    Compiling volatile v0.4.6
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling bit v0.1.1
[INFO] [stderr]    Compiling fdt v0.1.5
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling raw-cpuid v10.7.0
[INFO] [stderr]    Compiling raw-cpuid v11.2.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling x86_64 v0.14.12
[INFO] [stderr]    Compiling multiboot v0.8.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling x2apic v0.4.3
[INFO] [stderr]    Compiling polyhal-macro v0.1.3
[INFO] [stderr]    Compiling polyhal v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `c906`
[INFO] [stdout]    --> src/addr.rs:214:15
[INFO] [stdout]     |
[INFO] [stdout] 214 |         #[cfg(c906)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(c906)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(c906)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 name: `board`
[INFO] [stdout]    --> src/addr.rs:219:15
[INFO] [stdout]     |
[INFO] [stdout] 219 |         #[cfg(board = "2k1000")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("2k1000"))'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"2k1000\"))");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `board`
[INFO] [stdout]    --> src/addr.rs:235:15
[INFO] [stdout]     |
[INFO] [stdout] 235 |         #[cfg(board = "2k1000")]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(board, values("2k1000"))'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(board, values(\"2k1000\"))");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `c906`
[INFO] [stdout]    --> src/addr.rs:239:15
[INFO] [stdout]     |
[INFO] [stdout] 239 |         #[cfg(c906)]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(c906)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(c906)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Entry` and `HandlerFunc`
[INFO] [stdout]  --> src/components/arch/x86_64/idt.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use x86_64::structures::idt::{Entry, HandlerFunc, InterruptDescriptorTable};
[INFO] [stdout]   |                               ^^^^^  ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/utils/region.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stdout]    --> src/components/kcontext/x86_64.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | /     core::arch::asm!(
[INFO] [stdout] 110 | |         // Save Kernel Context.
[INFO] [stdout] 111 | |         "
[INFO] [stdout] 112 | |         pop     r8 
[INFO] [stdout] ...   |
[INFO] [stdout] 146 | |         options(noreturn)
[INFO] [stdout] 147 | |     )
[INFO] [stdout]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions
[INFO] [stdout]    --> src/components/kcontext/x86_64.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | /     core::arch::asm!(
[INFO] [stdout] 160 | |         // consume the return address(rip) in the stack
[INFO] [stdout] 161 | |         // for consistency with context_switch.
[INFO] [stdout] 162 | |         // and save page table to r9
[INFO] [stdout] ...   |
[INFO] [stdout] 205 | |         options(noreturn)
[INFO] [stdout] 206 | |     )
[INFO] [stdout]     | |_____^ consider using the `naked_asm!` macro instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(asm_const)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![feature(const_mut_refs)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_slice_from_raw_parts_mut` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | #![feature(const_slice_from_raw_parts_mut)]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `offset_of` has been stable since 1.77.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | #![feature(offset_of)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/components/arch/x86_64/idt.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let mut idt = Self(InterruptDescriptorTable::new());
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1_start`
[INFO] [stdout]   --> src/utils/region.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (r1_start, r1_end) = (self.start, other.start);
[INFO] [stdout]    |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_r1_start`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r1_end`
[INFO] [stdout]   --> src/utils/region.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (r1_start, r1_end) = (self.start, other.start);
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_r1_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2_start`
[INFO] [stdout]   --> src/utils/region.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (r2_start, r2_end) = (other.start + other.size, self.start + self.size);
[INFO] [stdout]    |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_r2_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r2_end`
[INFO] [stdout]   --> src/utils/region.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let (r2_start, r2_end) = (other.start + other.size, self.start + self.size);
[INFO] [stdout]    |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_r2_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0787`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `polyhal` (lib) due to 2 previous errors; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "278ef3172e7ea53305a0a3ee2bba52d0a5fd6b113ccd78fa90c35841d69fef8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "278ef3172e7ea53305a0a3ee2bba52d0a5fd6b113ccd78fa90c35841d69fef8b", kill_on_drop: false }`
[INFO] [stdout] 278ef3172e7ea53305a0a3ee2bba52d0a5fd6b113ccd78fa90c35841d69fef8b
