[INFO] cloning repository https://github.com/KevinJasinghe/aarch64-secure-boot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinJasinghe/aarch64-secure-boot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinJasinghe%2Faarch64-secure-boot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinJasinghe%2Faarch64-secure-boot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72ed7421f4d3bd11f0e4cb3a3585463af261b833
[INFO] checking KevinJasinghe/aarch64-secure-boot against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinJasinghe%2Faarch64-secure-boot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/KevinJasinghe/aarch64-secure-boot
[INFO] finished tweaking git repo https://github.com/KevinJasinghe/aarch64-secure-boot
[INFO] tweaked toml for git repo https://github.com/KevinJasinghe/aarch64-secure-boot written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KevinJasinghe/aarch64-secure-boot on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KevinJasinghe/aarch64-secure-boot 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c
[INFO] running `Command { std: "docker" "start" "e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking aarch64-secure-boot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mmu::setup_page_tables` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     setup_page_tables();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/mmu.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub unsafe fn init() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mmu::configure_mmu_registers` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     configure_mmu_registers();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mmu::enable_mmu` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     enable_mmu();
[INFO] [stdout]    |     ^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     (*table).entries[0] = (0x0000_0000) | ATTR_DEVICE;
[INFO] [stdout]    |     ^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/mmu.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | unsafe fn setup_page_tables() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     (*table).entries[1] = (0x4000_0000) | ATTR_NORMAL;
[INFO] [stdout]    |     ^^^^^^^^ dereference of raw pointer
[INFO] [stdout]    |
[INFO] [stdout]    = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     asm!("msr mair_el1, {0}", in(reg) mair);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly
[INFO] [stdout]    |
[INFO] [stdout]    = note: inline assembly is entirely unchecked and can cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/mmu.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | unsafe fn configure_mmu_registers() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     asm!("msr tcr_el1, {0}", in(reg) tcr);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly
[INFO] [stdout]    |
[INFO] [stdout]    = note: inline assembly is entirely unchecked and can cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 67 |     asm!("msr ttbr0_el1, {0}", in(reg) table_addr);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly
[INFO] [stdout]    |
[INFO] [stdout]    = note: inline assembly is entirely unchecked and can cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     asm!("isb");
[INFO] [stdout]    |     ^^^^^^^^^^^ use of inline assembly
[INFO] [stdout]    |
[INFO] [stdout]    = note: inline assembly is entirely unchecked and can cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     asm!("mrs {0}, sctlr_el1", out(reg) sctlr);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly
[INFO] [stdout]    |
[INFO] [stdout]    = note: inline assembly is entirely unchecked and can cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/mmu.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | unsafe fn enable_mmu() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mmu.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | /     asm!(
[INFO] [stdout] 84 | |         "msr sctlr_el1, {0}",
[INFO] [stdout] 85 | |         "isb",
[INFO] [stdout] 86 | |         in(reg) sctlr,
[INFO] [stdout] 87 | |         options(nostack)
[INFO] [stdout] 88 | |     );
[INFO] [stdout]    | |_____^ use of inline assembly
[INFO] [stdout]    |
[INFO] [stdout]    = note: inline assembly is entirely unchecked and can cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:134:1
[INFO] [stdout]     |
[INFO] [stdout] 134 | / fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout] 135 | |     println!("\n[CPU PANIC] {}", info);
[INFO] [stdout] 136 | |     loop {
[INFO] [stdout] 137 | |         unsafe { asm!("wfi") };
[INFO] [stdout] 138 | |     }
[INFO] [stdout] 139 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6ee2a0f0126c8a50.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`aarch64_secure_boot`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aarch64-secure-boot` (bin "aarch64-secure-boot" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `aarch64-secure-boot` (bin "aarch64-secure-boot") due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c", kill_on_drop: false }`
[INFO] [stdout] e9e840f44145dfb67d1b81bc5db0aa56f9a02fd2e3969eb584c4e5551447370c
