[INFO] fetching crate ostd 0.16.0... [INFO] checking ostd-0.16.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ostd 0.16.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate ostd 0.16.0 [INFO] finished tweaking crates.io crate ostd 0.16.0 [INFO] tweaked toml for crates.io crate ostd 0.16.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ostd 0.16.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ostd 0.16.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sbi-spec v0.0.7 [INFO] [stderr] Downloaded tdx-guest v0.2.1 [INFO] [stderr] Downloaded int-to-c-enum v0.1.0 [INFO] [stderr] Downloaded volatile v0.6.1 [INFO] [stderr] Downloaded sbi-rt v0.0.3 [INFO] [stderr] Downloaded align_ext v0.1.0 [INFO] [stderr] Downloaded fdt v0.1.5 [INFO] [stderr] Downloaded buddy_system_allocator v0.10.0 [INFO] [stderr] Downloaded acpi v5.2.0 [INFO] [stderr] Downloaded multiboot2 v0.24.0 [INFO] [stderr] Downloaded uguid v2.2.1 [INFO] [stderr] Downloaded uefi-raw v0.8.0 [INFO] [stderr] Downloaded loongArch64 v0.2.5 [INFO] [stderr] Downloaded unwinding v0.2.5 [INFO] [stderr] Downloaded id-alloc v0.1.0 [INFO] [stderr] Downloaded inherit-methods-macro v0.1.0 [INFO] [stderr] Downloaded int-to-c-enum-derive v0.1.1 [INFO] [stderr] Downloaded linux-boot-params v0.16.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.2.0 [INFO] [stderr] Downloaded ptr_meta v0.2.0 [INFO] [stderr] Downloaded ostd-pod-derive v0.1.1 [INFO] [stderr] Downloaded ostd-pod v0.1.1 [INFO] [stderr] Downloaded ostd-macros v0.16.0 [INFO] [stderr] Downloaded ostd-test v0.16.0 [INFO] [stderr] Downloaded riscv v0.11.1 [INFO] [stderr] Downloaded iced-x86 v1.21.0 [INFO] [stderr] Downloaded multiboot2-common v0.3.0 [INFO] [stderr] Downloaded x86 v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cfc2de2177444f289acc77e2d20b3ca0e46a98702ec65f7757f5d7ba7475aea [INFO] running `Command { std: "docker" "start" "-a" "5cfc2de2177444f289acc77e2d20b3ca0e46a98702ec65f7757f5d7ba7475aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cfc2de2177444f289acc77e2d20b3ca0e46a98702ec65f7757f5d7ba7475aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cfc2de2177444f289acc77e2d20b3ca0e46a98702ec65f7757f5d7ba7475aea", kill_on_drop: false }` [INFO] [stdout] 5cfc2de2177444f289acc77e2d20b3ca0e46a98702ec65f7757f5d7ba7475aea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e99f179fae54eb2578503ace106634100a5f738d06c5ae837607d002f46b2ff [INFO] running `Command { std: "docker" "start" "-a" "5e99f179fae54eb2578503ace106634100a5f738d06c5ae837607d002f46b2ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking linux-boot-params v0.16.0 [INFO] [stderr] Checking volatile v0.6.1 [INFO] [stderr] Checking ostd-test v0.16.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking align_ext v0.1.0 [INFO] [stderr] Checking buddy_system_allocator v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking id-alloc v0.1.0 [INFO] [stderr] Compiling int-to-c-enum-derive v0.1.1 [INFO] [stderr] Compiling ostd-macros v0.16.0 [INFO] [stderr] Checking int-to-c-enum v0.1.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling ostd-pod-derive v0.1.1 [INFO] [stderr] Checking ostd-pod v0.1.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling inherit-methods-macro v0.1.0 [INFO] [stderr] Checking ostd v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mm/frame/allocator.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | if let Some(allocated_end) = allocated.checked_add(size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/mm/frame/allocator.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | if let Some(allocated_end) = allocated.checked_add(size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/task/scheduler/fifo_scheduler.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if still_in_rq && let Err(_) = runnable.cpu().set_if_is_none(target_cpu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/task/scheduler/fifo_scheduler.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | if still_in_rq && let Err(_) = runnable.cpu().set_if_is_none(target_cpu) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/boot/smp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use acpi::madt::MadtEntry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/boot/smp.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | use acpi::platform::wakeup_aps; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/device/io_port.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/kernel/tsc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use x86::cpuid::cpuid; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/timer/apic.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use x86::msr::{wrmsr, IA32_TSC_DEADLINE}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/timer/apic.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use x86::cpuid::cpuid; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/gdt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use x86::cpuid::{CpuId, FeatureInfo}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use x86_64::registers::{control::Cr4Flags, model_specific::EferFlags, xcontrol::XCr0Flags}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] --> src/panic.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use unwinding::panic::{begin_panic, catch_unwind}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `unwinding`, use `cargo add unwinding` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/trap/gdt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use x86::bits64::segmentation::wrfsbase; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use x86_64::registers::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `multiboot2` [INFO] [stdout] --> src/arch/x86/boot/multiboot2/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use multiboot2::{BootInformation, BootInformationHeader, MemoryAreaType}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `super::multiboot2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/cpu/local.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use x86_64::registers::segmentation::{Segment64, GS}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use x86_64::registers::rflags::{self, RFlags}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/dmar.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub use x86::cpuid; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{rsdp::Rsdp, AcpiHandler, AcpiTables}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/dmar.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/kernel/apic/x2apic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use x86::msr::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/kernel/apic/xapic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use x86::apic::xapic; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/irq/mod.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use acpi::madt::{Madt, MadtEntry}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use x86_64::{instructions::tlb, structures::paging::PhysFrame, VirtAddr}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{rsdp::Rsdp, AcpiHandler, AcpiTables}; [INFO] [stdout] | ^^^^ help: a similar path exists: `super::acpi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/qemu.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use x86_64::instructions::port::Port; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use x86_64::{instructions::tlb, structures::paging::PhysFrame, VirtAddr}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/idt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `acpi` [INFO] [stdout] --> src/arch/x86/timer/hpet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use acpi::{AcpiError, HpetInfo}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/trap/syscall.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use x86::cpuid::CpuId; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/syscall.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/trap/idt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] --> src/arch/x86/tdx_guest.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tdx_guest::{tdcall::accept_page, tdvmcall::map_gpa, TdxTrapFrame}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/x86/tdx_guest.rs, use `mod tdx_guest` in this file to declare the module [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27+ mod tdx_guest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/trap/syscall.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] --> src/panic.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use unwinding::abi::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `unwinding`, use `cargo add unwinding` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdx_guest` [INFO] [stdout] --> src/arch/x86/tdx_guest.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tdx_guest::{tdcall::accept_page, tdvmcall::map_gpa, TdxTrapFrame}; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `super::tdx_guest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdx_guest` [INFO] [stdout] --> src/arch/x86/cpu/context/tdx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tdx_guest::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tdx_guest`, use `cargo add tdx_guest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/device/cmos.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use acpi::fadt::Fadt; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/device/cmos.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use x86_64::instructions::port::{ReadOnlyAccess, WriteOnlyAccess}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdx_guest` [INFO] [stdout] --> src/arch/x86/trap/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | use tdx_guest::{tdcall, handle_virtual_exception}; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `super::tdx_guest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/boot/smp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use acpi::madt::MadtEntry; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/boot/smp.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | use acpi::platform::wakeup_aps; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/device/io_port.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/kernel/tsc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use x86::cpuid::cpuid; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/timer/apic.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use x86::msr::{wrmsr, IA32_TSC_DEADLINE}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/timer/apic.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use x86::cpuid::cpuid; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/gdt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use x86::cpuid::{CpuId, FeatureInfo}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use x86_64::registers::{control::Cr4Flags, model_specific::EferFlags, xcontrol::XCr0Flags}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] --> src/panic.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub use unwinding::panic::{begin_panic, catch_unwind}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `unwinding`, use `cargo add unwinding` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/trap/gdt.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use x86::bits64::segmentation::wrfsbase; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use x86_64::registers::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `multiboot2` [INFO] [stdout] --> src/arch/x86/boot/multiboot2/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use multiboot2::{BootInformation, BootInformationHeader, MemoryAreaType}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `super::multiboot2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/cpu/local.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use x86_64::registers::segmentation::{Segment64, GS}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use x86_64::registers::rflags::{self, RFlags}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/dmar.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub use x86::cpuid; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{rsdp::Rsdp, AcpiHandler, AcpiTables}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/dmar.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{ [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/kernel/apic/x2apic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use x86::msr::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/kernel/apic/xapic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use x86::apic::xapic; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/irq/mod.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use acpi::madt::{Madt, MadtEntry}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use x86_64::{instructions::tlb, structures::paging::PhysFrame, VirtAddr}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{rsdp::Rsdp, AcpiHandler, AcpiTables}; [INFO] [stdout] | ^^^^ help: a similar path exists: `super::acpi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/qemu.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use x86_64::instructions::port::Port; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use x86_64::{instructions::tlb, structures::paging::PhysFrame, VirtAddr}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/idt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `acpi` [INFO] [stdout] --> src/arch/x86/timer/hpet.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use acpi::{AcpiError, HpetInfo}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stdout] --> src/arch/x86/trap/syscall.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use x86::cpuid::CpuId; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/syscall.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/trap/idt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] --> src/arch/x86/tdx_guest.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tdx_guest::{tdcall::accept_page, tdvmcall::map_gpa, TdxTrapFrame}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/arch/x86/tdx_guest.rs, use `mod tdx_guest` in this file to declare the module [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27+ mod tdx_guest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `x86_64` [INFO] [stdout] --> src/arch/x86/trap/syscall.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use x86_64::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] --> src/panic.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use unwinding::abi::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `unwinding` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `unwinding`, use `cargo add unwinding` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdx_guest` [INFO] [stdout] --> src/arch/x86/tdx_guest.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tdx_guest::{tdcall::accept_page, tdvmcall::map_gpa, TdxTrapFrame}; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `super::tdx_guest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdx_guest` [INFO] [stdout] --> src/arch/x86/cpu/context/tdx.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tdx_guest::{ [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tdx_guest`, use `cargo add tdx_guest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/device/cmos.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use acpi::fadt::Fadt; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/device/cmos.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use x86_64::instructions::port::{ReadOnlyAccess, WriteOnlyAccess}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdx_guest` [INFO] [stdout] --> src/arch/x86/trap/mod.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | use tdx_guest::{tdcall, handle_virtual_exception}; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `super::tdx_guest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/boot/linux_boot/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 189 | | .unwrap(); [INFO] [stdout] 190 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/boot/smp.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | let madt_table = acpi_tables.find_table::().ok()?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/boot/smp.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / if_tdx_enabled!({ [INFO] [stdout] 128 | | unsafe { wake_up_aps_via_mailbox(num_cpus) }; [INFO] [stdout] 129 | | } else { [INFO] [stdout] 130 | | unsafe { send_boot_ipis() }; [INFO] [stdout] 131 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | let page_fault_addr = x86_64::registers::control::Cr2::read_raw() as usize; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/boot/linux_boot/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 189 | | .unwrap(); [INFO] [stdout] 190 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | x86_64::instructions::interrupts::enable(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/boot/smp.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | let madt_table = acpi_tables.find_table::().ok()?; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | x86_64::instructions::nop(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | x86_64::instructions::interrupts::disable(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/boot/smp.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / if_tdx_enabled!({ [INFO] [stdout] 128 | | unsafe { wake_up_aps_via_mailbox(num_cpus) }; [INFO] [stdout] 129 | | } else { [INFO] [stdout] 130 | | unsafe { send_boot_ipis() }; [INFO] [stdout] 131 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/dmar.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn header(&self) -> &acpi::sdt::SdtHeader { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/cpu/context/mod.rs:178:39 [INFO] [stdout] | [INFO] [stdout] 178 | let page_fault_addr = x86_64::registers::control::Cr2::read_raw() as usize; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | acpi::PhysicalMapping::new(physical_address, virtual_address, size, size, self.clone()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/kernel/apic/xapic.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | x86_64::registers::model_specific::Msr::new(IA32_APIC_BASE_MSR) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/kernel/apic/xapic.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | (x86_64::registers::model_specific::Msr::new(IA32_APIC_BASE_MSR).read() & 0xf_ffff_f000) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | x86_64::instructions::interrupts::enable(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/kernel/irq/ioapic.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / if_tdx_enabled!({ [INFO] [stdout] 149 | | assert_eq!( [INFO] [stdout] 150 | | base_address % crate::mm::PAGE_SIZE, [INFO] [stdout] 151 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 165 | | unsafe { tdx_guest::unprotect_gpa_range(base_address, 1).unwrap() }; [INFO] [stdout] 166 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | x86_64::instructions::nop(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/irq.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | x86_64::instructions::interrupts::disable(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | x86_64::registers::control::Cr4::update(|cr4| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | *cr4 -= x86_64::registers::control::Cr4Flags::PAGE_GLOBAL; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/dmar.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn header(&self) -> &acpi::sdt::SdtHeader { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | x86_64::registers::control::Cr4::update(|cr4| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | *cr4 |= x86_64::registers::control::Cr4Flags::PAGE_GLOBAL; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | let addr = PhysFrame::from_start_address(x86_64::PhysAddr::new(root_paddr as u64)).unwrap(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | acpi::PhysicalMapping::new(physical_address, virtual_address, size, size, self.clone()) [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | CachePolicy::Writeback => x86_64::registers::control::Cr3Flags::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | CachePolicy::Writethrough => x86_64::registers::control::Cr3Flags::PAGE_LEVEL_WRITETHROUGH, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | CachePolicy::Uncacheable => x86_64::registers::control::Cr3Flags::PAGE_LEVEL_CACHE_DISABLE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/kernel/apic/xapic.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | x86_64::registers::model_specific::Msr::new(IA32_APIC_BASE_MSR) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | unsafe { x86_64::registers::control::Cr3::write(addr, flags) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/kernel/apic/xapic.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | (x86_64::registers::model_specific::Msr::new(IA32_APIC_BASE_MSR).read() & 0xf_ffff_f000) [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | x86_64::registers::control::Cr3::read_raw() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/kernel/irq/ioapic.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / if_tdx_enabled!({ [INFO] [stdout] 149 | | assert_eq!( [INFO] [stdout] 150 | | base_address % crate::mm::PAGE_SIZE, [INFO] [stdout] 151 | | 0, [INFO] [stdout] ... | [INFO] [stdout] 165 | | unsafe { tdx_guest::unprotect_gpa_range(base_address, 1).unwrap() }; [INFO] [stdout] 166 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/mod.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | f.rflags as u64 & x86_64::registers::rflags::RFlags::INTERRUPT_FLAG.bits() > 0; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/trap/mod.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | let priv_flags = if_tdx_enabled!({ [INFO] [stdout] | ______________________- [INFO] [stdout] 284 | | PrivFlags::SHARED | PrivFlags::GLOBAL [INFO] [stdout] 285 | | } else { [INFO] [stdout] 286 | | PrivFlags::GLOBAL [INFO] [stdout] 287 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | x86_64::registers::control::Cr4::update(|cr4| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | match ::tdx_guest::init_tdx() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | Err(::tdx_guest::tdcall::InitError::TdxGetVpInfoError(td_call_error)) => { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | *cr4 -= x86_64::registers::control::Cr4Flags::PAGE_GLOBAL; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 78 | / if_tdx_enabled!({ [INFO] [stdout] 79 | | } else { [INFO] [stdout] 80 | | match iommu::init(&io_mem_builder) { [INFO] [stdout] 81 | | Ok(_) => {} [INFO] [stdout] ... | [INFO] [stdout] 84 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | x86_64::registers::control::Cr4::update(|cr4| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | let mut cr4 = x86_64::registers::control::Cr4::read(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | *cr4 |= x86_64::registers::control::Cr4Flags::PAGE_GLOBAL; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | x86_64::registers::control::Cr4::write(cr4); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | let addr = PhysFrame::from_start_address(x86_64::PhysAddr::new(root_paddr as u64)).unwrap(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let mut xcr0 = x86_64::registers::xcontrol::XCr0::read(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | x86_64::registers::xcontrol::XCr0::write(xcr0); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | CachePolicy::Writeback => x86_64::registers::control::Cr3Flags::empty(), [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | x86_64::registers::model_specific::Efer::update(|efer| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | CachePolicy::Writethrough => x86_64::registers::control::Cr3Flags::PAGE_LEVEL_WRITETHROUGH, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | CachePolicy::Uncacheable => x86_64::registers::control::Cr3Flags::PAGE_LEVEL_CACHE_DISABLE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | unsafe { x86_64::registers::control::Cr3::write(addr, flags) }; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/console.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] 26 | | // Hold the lock to prevent the logs from interleaving. [INFO] [stdout] 27 | | let _guard = STDOUT.lock(); [INFO] [stdout] 28 | | tdx_guest::print(args); [INFO] [stdout] 29 | | } else { [INFO] [stdout] 30 | | STDOUT.lock().write_fmt(args).unwrap(); [INFO] [stdout] 31 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mm/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | x86_64::registers::control::Cr3::read_raw() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/trap/mod.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | f.rflags as u64 & x86_64::registers::rflags::RFlags::INTERRUPT_FLAG.bits() > 0; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/io/io_mem/mod.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let priv_flags = crate::arch::if_tdx_enabled!({ [INFO] [stdout] | __________________________- [INFO] [stdout] 94 | | assert!( [INFO] [stdout] 95 | | first_page_start == range.start && last_page_end == range.end, [INFO] [stdout] 96 | | "I/O memory is not page aligned, which cannot be unprotected in TDX: {:#x?}..{:#x?}", [INFO] [stdout] ... | [INFO] [stdout] 115 | | PrivilegedPageFlags::empty() [INFO] [stdout] 116 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/arch/x86/trap/mod.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | let priv_flags = if_tdx_enabled!({ [INFO] [stdout] | ______________________- [INFO] [stdout] 284 | | PrivFlags::SHARED | PrivFlags::GLOBAL [INFO] [stdout] 285 | | } else { [INFO] [stdout] 286 | | PrivFlags::GLOBAL [INFO] [stdout] 287 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_coherent.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 90 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | match ::tdx_guest::init_tdx() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_coherent.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 152 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | Err(::tdx_guest::tdcall::InitError::TdxGetVpInfoError(td_call_error)) => { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_stream.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 78 | / if_tdx_enabled!({ [INFO] [stdout] 79 | | } else { [INFO] [stdout] 80 | | match iommu::init(&io_mem_builder) { [INFO] [stdout] 81 | | Ok(_) => {} [INFO] [stdout] ... | [INFO] [stdout] 84 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_stream.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 191 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:183:19 [INFO] [stdout] | [INFO] [stdout] 183 | let mut cr4 = x86_64::registers::control::Cr4::read(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | x86_64::registers::control::Cr4::write(cr4); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let mut xcr0 = x86_64::registers::xcontrol::XCr0::read(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | x86_64::registers::xcontrol::XCr0::write(xcr0); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] --> src/arch/x86/mod.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | x86_64::registers::model_specific::Efer::update(|efer| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/console.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] 26 | | // Hold the lock to prevent the logs from interleaving. [INFO] [stdout] 27 | | let _guard = STDOUT.lock(); [INFO] [stdout] 28 | | tdx_guest::print(args); [INFO] [stdout] 29 | | } else { [INFO] [stdout] 30 | | STDOUT.lock().write_fmt(args).unwrap(); [INFO] [stdout] 31 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/io/io_mem/mod.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let priv_flags = crate::arch::if_tdx_enabled!({ [INFO] [stdout] | __________________________- [INFO] [stdout] 94 | | assert!( [INFO] [stdout] 95 | | first_page_start == range.start && last_page_end == range.end, [INFO] [stdout] 96 | | "I/O memory is not page aligned, which cannot be unprotected in TDX: {:#x?}..{:#x?}", [INFO] [stdout] ... | [INFO] [stdout] 115 | | PrivilegedPageFlags::empty() [INFO] [stdout] 116 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / arch::if_tdx_enabled!({ [INFO] [stdout] 91 | | } else { [INFO] [stdout] 92 | | arch::serial::init(); [INFO] [stdout] 93 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_coherent.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 90 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / arch::if_tdx_enabled!({ [INFO] [stdout] 124 | | arch::serial::init(); [INFO] [stdout] 125 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_coherent.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 152 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_stream.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/mm/dma/dma_stream.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] ... | [INFO] [stdout] 191 | | }); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/boot/memory_region.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/cpu/local/mod.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/cpu/set.rs:231:7 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/io/io_mem/allocator.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/dma/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/frame/mod.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/frame/allocator.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/kspace/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/kspace/kvirt_area.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/kspace/kvirt_area.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/mod.rs:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/cursor/mod.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/boot_pt.rs:275:11 [INFO] [stdout] | [INFO] [stdout] 275 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/mod.rs:409:11 [INFO] [stdout] | [INFO] [stdout] 409 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/vm_space.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/prelude.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/mutex.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/rcu/non_null/either.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/rwarc.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/wait.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/task/mod.rs:358:7 [INFO] [stdout] | [INFO] [stdout] 358 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/trap/irq.rs:263:7 [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/util/ops.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / arch::if_tdx_enabled!({ [INFO] [stdout] 91 | | } else { [INFO] [stdout] 92 | | arch::serial::init(); [INFO] [stdout] 93 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stdout] --> src/arch/x86/mod.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / arch::if_tdx_enabled!({ [INFO] [stdout] 124 | | arch::serial::init(); [INFO] [stdout] 125 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/lib.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/boot/memory_region.rs:276:7 [INFO] [stdout] | [INFO] [stdout] 276 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/cpu/local/mod.rs:316:7 [INFO] [stdout] | [INFO] [stdout] 316 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/cpu/set.rs:231:7 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/io/io_mem/allocator.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/dma/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/frame/mod.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/frame/allocator.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/kspace/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/kspace/kvirt_area.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/kspace/kvirt_area.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/mod.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/mod.rs:472:7 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/cursor/mod.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/boot_pt.rs:275:11 [INFO] [stdout] | [INFO] [stdout] 275 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/page_table/mod.rs:409:11 [INFO] [stdout] | [INFO] [stdout] 409 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/mm/vm_space.rs:414:7 [INFO] [stdout] | [INFO] [stdout] 414 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/prelude.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/mutex.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/rcu/non_null/either.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/rwarc.rs:116:7 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/sync/wait.rs:285:7 [INFO] [stdout] | [INFO] [stdout] 285 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/task/mod.rs:358:7 [INFO] [stdout] | [INFO] [stdout] 358 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/trap/irq.rs:263:7 [INFO] [stdout] | [INFO] [stdout] 263 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ktest` [INFO] [stdout] --> src/util/ops.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(ktest)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ktest)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ktest)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `trait_upcasting` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | #![feature(trait_upcasting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_sub_ptr` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_ptr_sub_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_sub_ptr` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(ptr_sub_ptr)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unbounded_shifts` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(unbounded_shifts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `trait_upcasting` has been stable since 1.86.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | #![feature(trait_upcasting)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_sub_ptr` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_ptr_sub_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_sub_ptr` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(ptr_sub_ptr)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `unbounded_shifts` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #![feature(unbounded_shifts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0366]: `!Send` impls cannot be specialized [INFO] [stdout] --> src/cpu/local/mod.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | impl !Send for CpuLocal> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaticStorage` is not a generic parameter [INFO] [stdout] note: use the same sequence of generic lifetime, type and const parameters as the struct definition [INFO] [stdout] --> src/cpu/local/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct CpuLocal> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0366]: `!Send` impls cannot be specialized [INFO] [stdout] --> src/cpu/local/mod.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | impl !Send for CpuLocal> {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaticStorage` is not a generic parameter [INFO] [stdout] note: use the same sequence of generic lifetime, type and const parameters as the struct definition [INFO] [stdout] --> src/cpu/local/mod.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct CpuLocal> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] --> src/arch/x86/boot/multiboot2/mod.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(boot_magic, multiboot2::MAGIC); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `multiboot2`, use `cargo add multiboot2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> acpi::PhysicalMapping { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | fn unmap_physical_region(_region: &acpi::PhysicalMapping) {} [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] --> src/console.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | tdx_guest::print(args); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tdx_guest`, use `cargo add tdx_guest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0366, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0366`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ostd` (lib) due to 87 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] --> src/arch/x86/boot/multiboot2/mod.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(boot_magic, multiboot2::MAGIC); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `multiboot2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `multiboot2`, use `cargo add multiboot2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> acpi::PhysicalMapping { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stdout] --> src/arch/x86/kernel/acpi/mod.rs:37:43 [INFO] [stdout] | [INFO] [stdout] 37 | fn unmap_physical_region(_region: &acpi::PhysicalMapping) {} [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] --> src/console.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | tdx_guest::print(args); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tdx_guest`, use `cargo add tdx_guest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0366, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0366`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ostd` (lib test) due to 88 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e99f179fae54eb2578503ace106634100a5f738d06c5ae837607d002f46b2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e99f179fae54eb2578503ace106634100a5f738d06c5ae837607d002f46b2ff", kill_on_drop: false }` [INFO] [stdout] 5e99f179fae54eb2578503ace106634100a5f738d06c5ae837607d002f46b2ff