[INFO] cloning repository https://github.com/bharatgohil/embevisor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bharatgohil/embevisor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faceda372fef639888e55049d431b48a361a4d78 [INFO] checking bharatgohil/embevisor against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bharatgohil/embevisor on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bharatgohil/embevisor [INFO] finished tweaking git repo https://github.com/bharatgohil/embevisor [INFO] tweaked toml for git repo https://github.com/bharatgohil/embevisor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bharatgohil/embevisor 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking bharatgohil/embevisor against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bharatgohil/embevisor on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bharatgohil/embevisor [INFO] finished tweaking git repo https://github.com/bharatgohil/embevisor [INFO] tweaked toml for git repo https://github.com/bharatgohil/embevisor written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bharatgohil/embevisor 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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [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 [ERROR] error running command: no output for 300 seconds [INFO] checking bharatgohil/embevisor against try#3931cbb869e499bf6db1e4d580cc247efbf183df for pr-118920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbharatgohil%2Fembevisor" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bharatgohil/embevisor on toolchain 3931cbb869e499bf6db1e4d580cc247efbf183df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bharatgohil/embevisor [INFO] finished tweaking git repo https://github.com/bharatgohil/embevisor [INFO] tweaked toml for git repo https://github.com/bharatgohil/embevisor written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bharatgohil/embevisor 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" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [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 tock-registers v0.7.0 [INFO] [stderr] Downloaded cortex-a v6.1.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1e317b914e34c1e542d835f147f6b6b1ee8c8cfb6acb8e5c6e0ab2f394cb212 [INFO] running `Command { std: "docker" "start" "-a" "d1e317b914e34c1e542d835f147f6b6b1ee8c8cfb6acb8e5c6e0ab2f394cb212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e317b914e34c1e542d835f147f6b6b1ee8c8cfb6acb8e5c6e0ab2f394cb212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e317b914e34c1e542d835f147f6b6b1ee8c8cfb6acb8e5c6e0ab2f394cb212", kill_on_drop: false }` [INFO] [stdout] d1e317b914e34c1e542d835f147f6b6b1ee8c8cfb6acb8e5c6e0ab2f394cb212 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3931cbb869e499bf6db1e4d580cc247efbf183df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb033bb87d2d8fbc462bda2e82ebb74edf97a785c996b6a7dc002430d174075 [INFO] running `Command { std: "docker" "start" "-a" "ffb033bb87d2d8fbc462bda2e82ebb74edf97a785c996b6a7dc002430d174075", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Checking tock-registers v0.7.0 [INFO] [stderr] Checking embevisor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/kernel.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/timer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cortex_a::{registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/mmu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/uart.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/mmu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::asm::barrier; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/timer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/mmu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/kernel.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/timer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use cortex_a::{registers::*}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/mmu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_a::registers::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/uart.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `cortex_a` [INFO] [stdout] --> src/mmu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::asm::barrier; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/timer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/mmu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `cortex_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/kernel.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | global_asm!(include_str!("vectors.S")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/kernel.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | global_asm!(include_str!("boot.S")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/kernel.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | global_asm!(include_str!("vectors.S")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `global_asm` in this scope [INFO] [stdout] --> src/kernel.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | global_asm!(include_str!("boot.S")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 7 + use core::arch::global_asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/timer.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | DAIF.write(DAIF::I::Unmasked) [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/timer.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DAIF` [INFO] [stdout] --> src/timer.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | DAIF.write(DAIF::I::Unmasked) [INFO] [stdout] | ^^^^ use of undeclared type `DAIF` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2` [INFO] [stdout] --> src/mmu.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MAIR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2` [INFO] [stdout] --> src/mmu.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | MAIR_EL2::Attr1_Normal_Outer::WriteBack_NonTransient_ReadWriteAlloc + [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MAIR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] --> src/timer.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `CNTP_CTL_EL0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2` [INFO] [stdout] --> src/mmu.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | MAIR_EL2::Attr0_Device::nonGathering_nonReordering_EarlyWriteAck); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MAIR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2` [INFO] [stdout] --> src/mmu.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MAIR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2` [INFO] [stdout] --> src/mmu.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | MAIR_EL2::Attr1_Normal_Outer::WriteBack_NonTransient_ReadWriteAlloc + [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MAIR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:90:56 [INFO] [stdout] | [INFO] [stdout] 90 | TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MAIR_EL2` [INFO] [stdout] --> src/mmu.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | MAIR_EL2::Attr0_Device::nonGathering_nonReordering_EarlyWriteAck); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MAIR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:91:72 [INFO] [stdout] | [INFO] [stdout] 91 | TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:91:94 [INFO] [stdout] | [INFO] [stdout] 91 | TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:90:56 [INFO] [stdout] | [INFO] [stdout] 90 | TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored); [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored); [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:91:72 [INFO] [stdout] | [INFO] [stdout] 91 | TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2` [INFO] [stdout] --> src/mmu.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:91:94 [INFO] [stdout] | [INFO] [stdout] 91 | TCR_EL2::ORGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + TCR_EL2::SH0::Inner + TCR_EL2::PS::Bits_32 + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored); [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSel` [INFO] [stdout] --> src/mmu.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | SPSel.write(SPSel::SP::ELx); [INFO] [stdout] | ^^^^^ use of undeclared type `SPSel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | TCR_EL2::TG0::KiB_4 + TCR_EL2::TBI::Ignored); [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2` [INFO] [stdout] --> src/mmu.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:121:51 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:121:77 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SPSel` [INFO] [stdout] --> src/mmu.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | SPSel.write(SPSel::SP::ELx); [INFO] [stdout] | ^^^^^ use of undeclared type `SPSel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:122:63 [INFO] [stdout] | [INFO] [stdout] 122 | + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:121:51 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:121:77 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_TVAL_EL0` in this scope [INFO] [stdout] --> src/timer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/timer.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/timer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | CNTP_CTL_EL0.set(0x1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DAIF` in this scope [INFO] [stdout] --> src/timer.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | DAIF.write(DAIF::I::Unmasked) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/timer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAIR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TCR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HCR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPSel` in this scope [INFO] [stdout] --> src/mmu.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | SPSel.write(SPSel::SP::ELx); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TTBR0_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | TTBR0_EL2.set(self.get_base_addr() as u64); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCTLR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CurrentEL` in this scope [INFO] [stdout] --> src/kernel.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SCTLR_EL2` [INFO] [stdout] --> src/mmu.rs:122:63 [INFO] [stdout] | [INFO] [stdout] 122 | + SCTLR_EL2::SA::Disable + SCTLR_EL2::M::Enable + SCTLR_EL2::C::Cacheable); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SCTLR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_TVAL_EL0` in this scope [INFO] [stdout] --> src/timer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTFRQ_EL0` in this scope [INFO] [stdout] --> src/timer.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | CNTP_TVAL_EL0.set(CNTFRQ_EL0.get()/100); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/timer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | CNTP_CTL_EL0.set(0x1); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DAIF` in this scope [INFO] [stdout] --> src/timer.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | DAIF.write(DAIF::I::Unmasked) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CNTP_CTL_EL0` in this scope [INFO] [stdout] --> src/timer.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | CNTP_CTL_EL0.matches_all(CNTP_CTL_EL0::ISTATUS::SET) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAIR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | MAIR_EL2.write(MAIR_EL2::Attr1_Normal_Inner::WriteBack_NonTransient_ReadWriteAlloc + [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TCR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HCR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SPSel` in this scope [INFO] [stdout] --> src/mmu.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | SPSel.write(SPSel::SP::ELx); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TTBR0_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | TTBR0_EL2.set(self.get_base_addr() as u64); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SCTLR_EL2` in this scope [INFO] [stdout] --> src/mmu.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | SCTLR_EL2.write(SCTLR_EL2::I::Cacheable + SCTLR_EL2::WXN::Disable + SCTLR_EL2::A::Disable [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CurrentEL` in this scope [INFO] [stdout] --> src/kernel.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | Some(CurrentEL::EL::Value::EL2)=>{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> src/uart.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / register_bitfields! { [INFO] [stdout] 34 | | u32, [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | /// Flag Register. [INFO] [stdout] ... | [INFO] [stdout] 144 | | ] [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::uart::CR::RXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::TXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::UARTEN::Value`: not accessible [INFO] [stdout] | | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::BUSY::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::RXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFF::Value`: not accessible [INFO] [stdout] | | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible [INFO] [stdout] | | `crate::uart::ICR::ALL::Value`: not accessible [INFO] [stdout] | |_`crate::uart::LCR_H::FEN::Value`: not accessible [INFO] [stdout] | `crate::uart::LCR_H::WLEN::Value`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / register_bitfields! {u64, [INFO] [stdout] 14 | | STAGE1_BLOCK_DESCRIPTOR [ [INFO] [stdout] 15 | | /// Unprivileged execute-never. [INFO] [stdout] 16 | | UXN OFFSET(54) NUMBITS(1) [ [INFO] [stdout] ... | [INFO] [stdout] 68 | | ] [INFO] [stdout] 69 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible [INFO] [stdout] | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible [INFO] [stdout] | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible [INFO] [stdout] = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | Some(CurrentEL::EL::Value::EL2)=>{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> src/uart.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / register_bitfields! { [INFO] [stdout] 34 | | u32, [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | /// Flag Register. [INFO] [stdout] ... | [INFO] [stdout] 144 | | ] [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::uart::CR::RXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::TXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::UARTEN::Value`: not accessible [INFO] [stdout] | | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::BUSY::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::RXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFF::Value`: not accessible [INFO] [stdout] | | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible [INFO] [stdout] | | `crate::uart::ICR::ALL::Value`: not accessible [INFO] [stdout] | |_`crate::uart::LCR_H::FEN::Value`: not accessible [INFO] [stdout] | `crate::uart::LCR_H::WLEN::Value`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / register_bitfields! {u64, [INFO] [stdout] 14 | | STAGE1_BLOCK_DESCRIPTOR [ [INFO] [stdout] 15 | | /// Unprivileged execute-never. [INFO] [stdout] 16 | | UXN OFFSET(54) NUMBITS(1) [ [INFO] [stdout] ... | [INFO] [stdout] 68 | | ] [INFO] [stdout] 69 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible [INFO] [stdout] | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible [INFO] [stdout] | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible [INFO] [stdout] = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | Some(CurrentEL::EL::Value::EL1)=>{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> src/uart.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / register_bitfields! { [INFO] [stdout] 34 | | u32, [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | /// Flag Register. [INFO] [stdout] ... | [INFO] [stdout] 144 | | ] [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::uart::CR::RXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::TXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::UARTEN::Value`: not accessible [INFO] [stdout] | | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::BUSY::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::RXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFF::Value`: not accessible [INFO] [stdout] | | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible [INFO] [stdout] | | `crate::uart::ICR::ALL::Value`: not accessible [INFO] [stdout] | |_`crate::uart::LCR_H::FEN::Value`: not accessible [INFO] [stdout] | `crate::uart::LCR_H::WLEN::Value`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / register_bitfields! {u64, [INFO] [stdout] 14 | | STAGE1_BLOCK_DESCRIPTOR [ [INFO] [stdout] 15 | | /// Unprivileged execute-never. [INFO] [stdout] 16 | | UXN OFFSET(54) NUMBITS(1) [ [INFO] [stdout] ... | [INFO] [stdout] 68 | | ] [INFO] [stdout] 69 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible [INFO] [stdout] | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible [INFO] [stdout] | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible [INFO] [stdout] = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | Some(CurrentEL::EL::Value::EL1)=>{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> src/uart.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / register_bitfields! { [INFO] [stdout] 34 | | u32, [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | /// Flag Register. [INFO] [stdout] ... | [INFO] [stdout] 144 | | ] [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::uart::CR::RXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::TXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::UARTEN::Value`: not accessible [INFO] [stdout] | | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::BUSY::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::RXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFF::Value`: not accessible [INFO] [stdout] | | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible [INFO] [stdout] | | `crate::uart::ICR::ALL::Value`: not accessible [INFO] [stdout] | |_`crate::uart::LCR_H::FEN::Value`: not accessible [INFO] [stdout] | `crate::uart::LCR_H::WLEN::Value`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / register_bitfields! {u64, [INFO] [stdout] 14 | | STAGE1_BLOCK_DESCRIPTOR [ [INFO] [stdout] 15 | | /// Unprivileged execute-never. [INFO] [stdout] 16 | | UXN OFFSET(54) NUMBITS(1) [ [INFO] [stdout] ... | [INFO] [stdout] 68 | | ] [INFO] [stdout] 69 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible [INFO] [stdout] | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible [INFO] [stdout] | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible [INFO] [stdout] = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | Some(CurrentEL::EL::Value::EL0)=>{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> src/uart.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / register_bitfields! { [INFO] [stdout] 34 | | u32, [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | /// Flag Register. [INFO] [stdout] ... | [INFO] [stdout] 144 | | ] [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::uart::CR::RXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::TXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::UARTEN::Value`: not accessible [INFO] [stdout] | | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::BUSY::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::RXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFF::Value`: not accessible [INFO] [stdout] | | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible [INFO] [stdout] | | `crate::uart::ICR::ALL::Value`: not accessible [INFO] [stdout] | |_`crate::uart::LCR_H::FEN::Value`: not accessible [INFO] [stdout] | `crate::uart::LCR_H::WLEN::Value`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / register_bitfields! {u64, [INFO] [stdout] 14 | | STAGE1_BLOCK_DESCRIPTOR [ [INFO] [stdout] 15 | | /// Unprivileged execute-never. [INFO] [stdout] 16 | | UXN OFFSET(54) NUMBITS(1) [ [INFO] [stdout] ... | [INFO] [stdout] 68 | | ] [INFO] [stdout] 69 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible [INFO] [stdout] | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible [INFO] [stdout] | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible [INFO] [stdout] = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | Some(CurrentEL::EL::Value::EL0)=>{ [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] | [INFO] [stdout] note: these enums exist but are inaccessible [INFO] [stdout] --> src/uart.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / register_bitfields! { [INFO] [stdout] 34 | | u32, [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | /// Flag Register. [INFO] [stdout] ... | [INFO] [stdout] 144 | | ] [INFO] [stdout] 145 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::uart::CR::RXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::TXE::Value`: not accessible [INFO] [stdout] | | `crate::uart::CR::UARTEN::Value`: not accessible [INFO] [stdout] | | `crate::uart::FBRD::BAUD_DIVFRAC::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::BUSY::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::RXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFE::Value`: not accessible [INFO] [stdout] | | `crate::uart::FR::TXFF::Value`: not accessible [INFO] [stdout] | | `crate::uart::IBRD::BAUD_DIVINT::Value`: not accessible [INFO] [stdout] | | `crate::uart::ICR::ALL::Value`: not accessible [INFO] [stdout] | |_`crate::uart::LCR_H::FEN::Value`: not accessible [INFO] [stdout] | `crate::uart::LCR_H::WLEN::Value`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/mmu.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / register_bitfields! {u64, [INFO] [stdout] 14 | | STAGE1_BLOCK_DESCRIPTOR [ [INFO] [stdout] 15 | | /// Unprivileged execute-never. [INFO] [stdout] 16 | | UXN OFFSET(54) NUMBITS(1) [ [INFO] [stdout] ... | [INFO] [stdout] 68 | | ] [INFO] [stdout] 69 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AF::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AP::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::AttrIndx::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_1GB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::OUTPUT_ADDR_2MB::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::PXN::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::SH::Value`: not accessible [INFO] [stdout] | | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::TYPE::Value`: not accessible [INFO] [stdout] | |_____________`crate::mmu::STAGE1_BLOCK_DESCRIPTOR::UXN::Value`: not accessible [INFO] [stdout] | `crate::mmu::STAGE1_BLOCK_DESCRIPTOR::VALID::Value`: not accessible [INFO] [stdout] = note: this error originates in the macro `$crate::register_bitmasks` which comes from the expansion of the macro `register_bitfields` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/kernel.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn panic(_info: &PanicInfo) -> ! { [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/3931cbb869e499bf6db1e4d580cc247efbf183df/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ac8c01c554941eda.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/kernel.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2` [INFO] [stdout] --> src/mmu.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embevisor` (bin "kernel" test) due to 48 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TCR_EL2` [INFO] [stdout] --> src/mmu.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | TCR_EL2.write(TCR_EL2::T0SZ.val(64 - 39) + TCR_EL2::IRGN0::WriteBack_ReadAlloc_WriteAlloc_Cacheable + [INFO] [stdout] | ^^^^^^^ use of undeclared type `TCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HCR_EL2` [INFO] [stdout] --> src/mmu.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | HCR_EL2.write(HCR_EL2::VM::Disable + HCR_EL2::DC.val(0)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HCR_EL2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurrentEL` [INFO] [stdout] --> src/kernel.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | let el = CurrentEL.read_as_enum(CurrentEL::EL); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurrentEL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Readable` [INFO] [stdout] --> src/kernel.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use tock_registers::interfaces::{Readable}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embevisor` (bin "kernel") due to 47 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ffb033bb87d2d8fbc462bda2e82ebb74edf97a785c996b6a7dc002430d174075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb033bb87d2d8fbc462bda2e82ebb74edf97a785c996b6a7dc002430d174075", kill_on_drop: false }` [INFO] [stdout] ffb033bb87d2d8fbc462bda2e82ebb74edf97a785c996b6a7dc002430d174075