[INFO] cloning repository https://github.com/Shinribo/nunix-kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shinribo/nunix-kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinribo%2Fnunix-kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinribo%2Fnunix-kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3aa317af42a514b3d98fc28a254ddedd6d8ba7e6 [INFO] checking Shinribo/nunix-kernel/3aa317af42a514b3d98fc28a254ddedd6d8ba7e6 against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinribo%2Fnunix-kernel" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shinribo/nunix-kernel on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Shinribo/nunix-kernel [INFO] finished tweaking git repo https://github.com/Shinribo/nunix-kernel [INFO] tweaked toml for git repo https://github.com/Shinribo/nunix-kernel written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding uefi v0.32.0 (available: v0.33.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.bootloader [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ptr_meta v0.2.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.2.0 [INFO] [stderr] Downloaded uguid v2.2.0 [INFO] [stderr] Downloaded uefi-raw v0.8.0 [INFO] [stderr] Downloaded uefi-macros v0.16.0 [INFO] [stderr] Downloaded ucs2 v0.3.3 [INFO] [stderr] Downloaded limine v0.3.1 [INFO] [stderr] Downloaded x86_64 v0.15.2 [INFO] [stderr] Downloaded uefi v0.32.0 [INFO] [stderr] Downloaded talc v4.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7d0c8b0ac9ba5960a4fc721211ea58ca1d7b6fa2c78d65323052878c4f79ab0 [INFO] running `Command { std: "docker" "start" "-a" "c7d0c8b0ac9ba5960a4fc721211ea58ca1d7b6fa2c78d65323052878c4f79ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7d0c8b0ac9ba5960a4fc721211ea58ca1d7b6fa2c78d65323052878c4f79ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d0c8b0ac9ba5960a4fc721211ea58ca1d7b6fa2c78d65323052878c4f79ab0", kill_on_drop: false }` [INFO] [stdout] c7d0c8b0ac9ba5960a4fc721211ea58ca1d7b6fa2c78d65323052878c4f79ab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20cbaca99a6ef816abda9918d52b9b58dcdc07ef97da826f48524a1d9d633d2d [INFO] running `Command { std: "docker" "start" "-a" "20cbaca99a6ef816abda9918d52b9b58dcdc07ef97da826f48524a1d9d633d2d", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.bootloader [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking uguid v2.2.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking volatile v0.4.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ucs2 v0.3.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking limine v0.3.1 [INFO] [stderr] Checking raw-cpuid v11.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking x86_64 v0.15.2 [INFO] [stderr] Checking talc v4.4.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling ptr_meta_derive v0.2.0 [INFO] [stderr] Checking ptr_meta v0.2.0 [INFO] [stderr] Compiling uefi-macros v0.16.0 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Checking uefi-raw v0.8.0 [INFO] [stderr] Checking uefi v0.32.0 [INFO] [stderr] Checking trinium-kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `irqlvmutex` [INFO] [stdout] --> src/hal/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod irqlvmutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `irqlvmutex`, create file "src/hal/irqlvmutex.rs" or "src/hal/irqlvmutex/mod.rs" [INFO] [stdout] = note: if there is a `mod irqlvmutex` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO: SET PAT MSR [INFO] [stdout] --> src/hal/x86_64/paging.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | compile_error!("TODO: SET PAT MSR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Maybe split pmm init into two phases: on boot alloc a small amount of memory for datastructures and use that to manage like 10MB and once ACPI is up set up NUMA Aware Structures [INFO] [stdout] --> src/pmm.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | compile_error!("Maybe split pmm init into two phases: on boot alloc a small amount of memory for datastructures and use that to manage like 10MB and once ACPI is up set up NUMA Aware Structures... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Box Size is Runtime Constant depending on Paging config: on x86_64 its 512 for 2M and 4K Page Arrays [INFO] [stdout] --> src/vmm.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | compile_error!("Box Size is Runtime Constant depending on Paging config: on x86_64 its 512 for 2M and 4K Page Arrays"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe allow a trailing box to be smaller [INFO] [stdout] --> src/vmm.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | compile_error!("maybe allow a trailing box to be smaller"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implement demand paging so that pages are attempted to be allocated Lv2 > Lv1 > Lv3 [INFO] [stdout] --> src/vmm.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / compile_error!( [INFO] [stdout] 13 | | "implement demand paging so that pages are attempted to be allocated Lv2 > Lv1 > Lv3" [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe make it so that lv3 cannot be allocated but only merged when a lv3 page is filled with smaller pages [INFO] [stdout] --> src/vmm.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | compile_error!("maybe make it so that lv3 cannot be allocated but only merged when a lv3 page is filled with smaller pages"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe choose nested trees [INFO] [stdout] --> src/vmm.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | compile_error!("maybe choose nested trees"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Add a in Progrss bit to indicate that the current segment is beeing modified and the #pf may be a false positive [INFO] [stdout] --> src/vmm.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | compile_error!("Add a in Progrss bit to indicate that the current segment is beeing modified and the #pf may be a false positive"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe add page attributes into the segment struct [INFO] [stdout] --> src/vmm.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | compile_error!("maybe add page attributes into the segment struct"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stdout] --> src/pmm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use spin::mutex::Mutex; [INFO] [stdout] | ^^^^ use of undeclared crate or module `spin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `irqlvmutex` [INFO] [stdout] --> src/hal/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod irqlvmutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `irqlvmutex`, create file "src/hal/irqlvmutex.rs" or "src/hal/irqlvmutex/mod.rs" [INFO] [stdout] = note: if there is a `mod irqlvmutex` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO: SET PAT MSR [INFO] [stdout] --> src/hal/x86_64/paging.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | compile_error!("TODO: SET PAT MSR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) type IrqLevel = super::arch::interrupt::ArchIrqLevel; [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) const MASK_ALL: IrqLevel = super::arch::interrupt::MASK_ALL; [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/paging.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/hal/x86_64/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Maybe split pmm init into two phases: on boot alloc a small amount of memory for datastructures and use that to manage like 10MB and once ACPI is up set up NUMA Aware Structures [INFO] [stdout] --> src/pmm.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | compile_error!("Maybe split pmm init into two phases: on boot alloc a small amount of memory for datastructures and use that to manage like 10MB and once ACPI is up set up NUMA Aware Structures... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/pmm.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | compile_error!("TODO"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Box Size is Runtime Constant depending on Paging config: on x86_64 its 512 for 2M and 4K Page Arrays [INFO] [stdout] --> src/vmm.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | compile_error!("Box Size is Runtime Constant depending on Paging config: on x86_64 its 512 for 2M and 4K Page Arrays"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe allow a trailing box to be smaller [INFO] [stdout] --> src/vmm.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | compile_error!("maybe allow a trailing box to be smaller"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implement demand paging so that pages are attempted to be allocated Lv2 > Lv1 > Lv3 [INFO] [stdout] --> src/vmm.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / compile_error!( [INFO] [stdout] 13 | | "implement demand paging so that pages are attempted to be allocated Lv2 > Lv1 > Lv3" [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe make it so that lv3 cannot be allocated but only merged when a lv3 page is filled with smaller pages [INFO] [stdout] --> src/vmm.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | compile_error!("maybe make it so that lv3 cannot be allocated but only merged when a lv3 page is filled with smaller pages"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe choose nested trees [INFO] [stdout] --> src/vmm.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | compile_error!("maybe choose nested trees"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Add a in Progrss bit to indicate that the current segment is beeing modified and the #pf may be a false positive [INFO] [stdout] --> src/vmm.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | compile_error!("Add a in Progrss bit to indicate that the current segment is beeing modified and the #pf may be a false positive"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | super::arch::interrupt::set_irq_level(value); [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: maybe add page attributes into the segment struct [INFO] [stdout] --> src/vmm.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | compile_error!("maybe add page attributes into the segment struct"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | super::arch::interrupt::bump_irq_level(value) [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: TODO [INFO] [stdout] --> src/vmm.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | compile_error!("TODO") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spin` [INFO] [stdout] --> src/pmm.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use spin::mutex::Mutex; [INFO] [stdout] | ^^^^ use of undeclared crate or module `spin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic_handler.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 6 | | loop { [INFO] [stdout] 7 | | x86_64::instructions::interrupts::disable(); [INFO] [stdout] 8 | | x86_64::instructions::hlt(); [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [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/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ea2006fbcbea27b7.rlib [INFO] [stdout] = note: second definition in the local crate (`trinium_kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) type IrqLevel = super::arch::interrupt::ArchIrqLevel; [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) const MASK_ALL: IrqLevel = super::arch::interrupt::MASK_ALL; [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | super::arch::interrupt::set_irq_level(value); [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `interrupt` in `arch` [INFO] [stdout] --> src/hal/interrupt.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | super::arch::interrupt::bump_irq_level(value) [INFO] [stdout] | ^^^^^^^^^ could not find `interrupt` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trinium-kernel` (bin "trinium-kernel" test) due to 52 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [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] error[E0308]: mismatched types [INFO] [stdout] --> src/bal/limine/hhdm.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_hhdm_start() -> VirtLv1PageAddress {} [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^ expected `VirtLv1PageAddress`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hal/x86_64/cpu.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn get_hrng_value() -> u64 {} [INFO] [stdout] | -------------- ^^^ expected `u64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hal/x86_64/memory.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_lowest_higher_half_address() -> VirtLv1PageAddress {} [INFO] [stdout] | ------------------------------ ^^^^^^^^^^^^^^^^^^ expected `VirtLv1PageAddress`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hal/x86_64/paging.rs:191:81 [INFO] [stdout] | [INFO] [stdout] 191 | fn check_virt_space_is_free(start: VirtLv1PageAddress, number_of_pages: u64) -> bool { [INFO] [stdout] | ------------------------ ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hal/x86_64/paging.rs:195:60 [INFO] [stdout] | [INFO] [stdout] 195 | fn decode_caching_bits(pwt: bool, pcd: bool, pat: bool) -> CachingMode { [INFO] [stdout] | ------------------- ^^^^^^^^^^^ expected `CachingMode`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/hal/x86_64/paging.rs:200:54 [INFO] [stdout] | [INFO] [stdout] 200 | fn encode_caching_bits(caching_mode: CachingMode) -> (bool, bool, bool) { [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^ expected `(bool, bool, bool)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(bool, bool, bool)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pmm.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | fn init_pmm() -> PhysLv1PageAddress { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ expected `PhysLv1PageAddress`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pmm.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn alloc_lv1(zeroed: bool) -> PhysLv1PageAddress { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ expected `PhysLv1PageAddress`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pmm.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn alloc_lv2(zeroed: bool) -> PhysLv2PageAddress { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ expected `PhysLv2PageAddress`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pmm.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn alloc_lv3(zeroed: bool) -> PhysLv3PageAddress { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ expected `PhysLv3PageAddress`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: use of inline assembly is unsafe and requires unsafe function or block [INFO] [stdout] --> src/hal/x86_64/memory.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / asm!( [INFO] [stdout] 30 | | "mov {}, cr4", [INFO] [stdout] 31 | | out(reg) data, [INFO] [stdout] 32 | | ); [INFO] [stdout] | |_____^ use of inline assembly [INFO] [stdout] | [INFO] [stdout] = note: inline assembly is entirely unchecked and can cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.segment_type` which is behind a shared reference [INFO] [stdout] --> src/vmm.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | self.segment_type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ move occurs because `self.segment_type` has type `SegmentsTypes`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `SegmentsTypes` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/vmm.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum SegmentsTypes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 171 | self.segment_type [INFO] [stdout] | ----------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0308, E0433, E0507, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trinium-kernel` (bin "trinium-kernel") due to 65 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "20cbaca99a6ef816abda9918d52b9b58dcdc07ef97da826f48524a1d9d633d2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20cbaca99a6ef816abda9918d52b9b58dcdc07ef97da826f48524a1d9d633d2d", kill_on_drop: false }` [INFO] [stdout] 20cbaca99a6ef816abda9918d52b9b58dcdc07ef97da826f48524a1d9d633d2d