osdk-test-kernel 0.17.0

The OSTD-based kernel for running unit tests with OSDK.
Build #2729787 2025-12-13 16:17:33

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.94.0-nightly (fa5eda19b 2025-12-12)

# docs.rs version docsrs 0.6.0 (c9c56e32 2025-12-11 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/osdk-test-kernel-0.17.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/osdk-test-kernel-0.17.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251212-1.94.0-nightly-fa5eda19b\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eeca912d0169d4fc458f64c630be87f14c7976ba0d154212021a66a37eabd26f [INFO] running `Command { std: "docker" "start" "-a" "eeca912d0169d4fc458f64c630be87f14c7976ba0d154212021a66a37eabd26f", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking ostd v0.17.0 [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/boot/smp.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use acpi::madt::MadtEntry; [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/boot/smp.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | use acpi::platform::wakeup_aps; [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/device/io_port.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/ops.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use x86_64::registers::rflags::{self, RFlags}; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/timer/apic.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | use x86::msr::{IA32_TSC_DEADLINE, wrmsr}; [INFO] [stderr] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/gdt.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/gdt.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | use ::tdx_guest::{ [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:154:9 [INFO] [stderr] | [INFO] [stderr] 154 | use x86_64::registers::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unwinding` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/panic.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub use unwinding::panic::{begin_panic, catch_unwind}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `unwinding` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `unwinding`, use `cargo add unwinding` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tdx_guest` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | use ::tdx_guest::{ [INFO] [stderr] | ^^^^^^^^^ help: a similar path exists: `self::tdx_guest` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/cpu/context/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use x86::bits64::segmentation::wrfsbase; [INFO] [stderr] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/cpu/context/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use x86_64::registers::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/cpu/local.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use x86_64::registers::segmentation::{GS, Segment64}; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/chip/mod.rs:165:9 [INFO] [stderr] | [INFO] [stderr] 165 | use acpi::madt::{Madt, MadtEntry}; [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `multiboot2` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/boot/multiboot2/mod.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use multiboot2::{BootInformation, BootInformationHeader, MemoryAreaType}; [INFO] [stderr] | ^^^^^^^^^^ help: a similar path exists: `super::multiboot2` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/dmar.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use acpi::{ [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/dmar.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use acpi::{ [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use acpi::{ [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/apic/x2apic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use x86::msr::{ [INFO] [stderr] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/apic/xapic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use x86::{ [INFO] [stderr] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use acpi::{ [INFO] [stderr] | ^^^^ help: a similar path exists: `super::acpi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/pat.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use x86::msr::{IA32_PAT, wrmsr}; [INFO] [stderr] | ^^^ use of unresolved module or unlinked crate `x86` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86`, use `cargo add x86` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/timer/hpet.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use acpi::{AcpiError, HpetInfo}; [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/idt.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/idt.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/syscall.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/syscall.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use x86_64::{ [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tdx_guest` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/tdx_guest.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tdx_guest::{TdxTrapFrame, tdcall::accept_page, tdvmcall::map_gpa}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stderr] | [INFO] [stderr] help: to make use of source file /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/tdx_guest.rs, use `mod tdx_guest` in this file to declare the module [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/lib.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 + mod tdx_guest; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `unwinding` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/panic.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | use unwinding::abi::{ [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `unwinding` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `unwinding`, use `cargo add unwinding` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tdx_guest` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/tdx_guest.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tdx_guest::{TdxTrapFrame, tdcall::accept_page, tdvmcall::map_gpa}; [INFO] [stderr] | ^^^^^^^^^ help: a similar path exists: `super::tdx_guest` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tdx_guest` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/cpu/context/tdx.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use tdx_guest::{ [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `tdx_guest`, use `cargo add tdx_guest` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `tdx_guest` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/mod.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | use tdx_guest::{tdcall, handle_virtual_exception}; [INFO] [stderr] | ^^^^^^^^^ help: a similar path exists: `super::tdx_guest` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/boot/linux_boot/mod.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | / if_tdx_enabled!({ [INFO] [stderr] ... | [INFO] [stderr] 189 | | .unwrap(); [INFO] [stderr] 190 | | }); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/boot/smp.rs:56:47 [INFO] [stderr] | [INFO] [stderr] 56 | let madt_table = acpi_tables.find_table::<acpi::madt::Madt>().ok()?; [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:218:18 [INFO] [stderr] | [INFO] [stderr] 218 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/boot/smp.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | / if_tdx_enabled!({ [INFO] [stderr] 128 | | unsafe { wake_up_aps_via_mailbox(num_cpus) }; [INFO] [stderr] 129 | | } else { [INFO] [stderr] 130 | | unsafe { send_boot_ipis() }; [INFO] [stderr] 131 | | }); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/cpu/context/mod.rs:176:39 [INFO] [stderr] | [INFO] [stderr] 176 | let page_fault_addr = x86_64::registers::control::Cr2::read_raw() as usize; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/chip/ioapic.rs:186:9 [INFO] [stderr] | [INFO] [stderr] 186 | / if_tdx_enabled!({ [INFO] [stderr] 187 | | assert_eq!( [INFO] [stderr] 188 | | base_address % crate::mm::PAGE_SIZE, [INFO] [stderr] 189 | | 0, [INFO] [stderr] ... | [INFO] [stderr] 203 | | unsafe { tdx_guest::unprotect_gpa_range(base_address, 1).unwrap() }; [INFO] [stderr] 204 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/ops.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | x86_64::instructions::interrupts::enable(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/ops.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | x86_64::instructions::nop(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/ops.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | x86_64::instructions::interrupts::disable(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/ops.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | x86_64::instructions::interrupts::disable(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/irq/ops.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | x86_64::instructions::hlt(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/dmar.rs:69:26 [INFO] [stderr] | [INFO] [stderr] 69 | fn header(&self) -> &acpi::sdt::SdtHeader { [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/mod.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | acpi::PhysicalMapping::new(physical_address, virtual_address, size, size, self.clone()) [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | x86_64::registers::control::Cr4::update(|cr4| { [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:113:21 [INFO] [stderr] | [INFO] [stderr] 113 | *cr4 -= x86_64::registers::control::Cr4Flags::PAGE_GLOBAL; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | x86_64::registers::control::Cr4::update(|cr4| { [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | *cr4 |= x86_64::registers::control::Cr4Flags::PAGE_GLOBAL; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:144:46 [INFO] [stderr] | [INFO] [stderr] 144 | let addr = PhysFrame::from_start_address(x86_64::PhysAddr::new(root_paddr as u64)).unwrap(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:146:35 [INFO] [stderr] | [INFO] [stderr] 146 | CachePolicy::Writeback => x86_64::registers::control::Cr3Flags::empty(), [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:147:38 [INFO] [stderr] | [INFO] [stderr] 147 | CachePolicy::Writethrough => x86_64::registers::control::Cr3Flags::PAGE_LEVEL_WRITETHROUGH, [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:148:37 [INFO] [stderr] | [INFO] [stderr] 148 | CachePolicy::Uncacheable => x86_64::registers::control::Cr3Flags::PAGE_LEVEL_CACHE_DISABLE, [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:159:14 [INFO] [stderr] | [INFO] [stderr] 159 | unsafe { x86_64::registers::control::Cr3::write(addr, flags) }; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mm/mod.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | x86_64::registers::control::Cr3::read_raw() [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/trap/mod.rs:152:27 [INFO] [stderr] | [INFO] [stderr] 152 | f.rflags as u64 & x86_64::registers::rflags::RFlags::INTERRUPT_FLAG.bits() > 0; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:218:18 [INFO] [stderr] | [INFO] [stderr] 80 | / if_tdx_enabled!({ [INFO] [stderr] 81 | | } else { [INFO] [stderr] 82 | | match iommu::init(&io_mem_builder) { [INFO] [stderr] 83 | | Ok(_) => {} [INFO] [stderr] ... | [INFO] [stderr] 86 | | }); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 218 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:161:19 [INFO] [stderr] | [INFO] [stderr] 161 | let mut cr0 = x86_64::registers::control::Cr0::read(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:167:14 [INFO] [stderr] | [INFO] [stderr] 167 | unsafe { x86_64::registers::control::Cr0::write(cr0) }; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:169:19 [INFO] [stderr] | [INFO] [stderr] 169 | let mut cr4 = x86_64::registers::control::Cr4::read(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:185:14 [INFO] [stderr] | [INFO] [stderr] 185 | unsafe { x86_64::registers::control::Cr4::write(cr4) }; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:188:24 [INFO] [stderr] | [INFO] [stderr] 188 | let mut xcr0 = x86_64::registers::xcontrol::XCr0::read(); [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:196:18 [INFO] [stderr] | [INFO] [stderr] 196 | unsafe { x86_64::registers::xcontrol::XCr0::write(xcr0) }; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `x86_64` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `x86_64`, use `cargo add x86_64` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:218:18 [INFO] [stderr] | [INFO] [stderr] 218 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/console.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | / crate::arch::if_tdx_enabled!({ [INFO] [stderr] 26 | | // Hold the lock to prevent the logs from interleaving. [INFO] [stderr] 27 | | let _guard = STDOUT.lock(); [INFO] [stderr] 28 | | tdx_guest::print(args); [INFO] [stderr] 29 | | } else { [INFO] [stderr] 30 | | STDOUT.lock().write_fmt(args).unwrap(); [INFO] [stderr] 31 | | }); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:218:18 [INFO] [stderr] | [INFO] [stderr] 218 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/io/io_mem/mod.rs:88:26 [INFO] [stderr] | [INFO] [stderr] 88 | let priv_flags = crate::arch::if_tdx_enabled!({ [INFO] [stderr] | __________________________- [INFO] [stderr] 89 | | assert!( [INFO] [stderr] 90 | | first_page_start == range.start && last_page_end == range.end, [INFO] [stderr] 91 | | "I/O memory is not page aligned, which cannot be unprotected in TDX: {:#x?}..{:#x?}", [INFO] [stderr] ... | [INFO] [stderr] 110 | | PrivilegedPageFlags::empty() [INFO] [stderr] 111 | | }); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/mm/dma/dma_coherent.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | / crate::arch::if_tdx_enabled!({ [INFO] [stderr] ... | [INFO] [stderr] 82 | | }); [INFO] [stderr] | |__________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/mm/dma/dma_coherent.rs:120:17 [INFO] [stderr] | [INFO] [stderr] 120 | / crate::arch::if_tdx_enabled!({ [INFO] [stderr] ... | [INFO] [stderr] 131 | | }); [INFO] [stderr] | |__________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/mm/dma/dma_stream.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 64 | / crate::arch::if_tdx_enabled!({ [INFO] [stderr] ... | [INFO] [stderr] 75 | | }); [INFO] [stderr] | |__________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/mm/dma/dma_stream.rs:158:17 [INFO] [stderr] | [INFO] [stderr] 158 | / crate::arch::if_tdx_enabled!({ [INFO] [stderr] ... | [INFO] [stderr] 169 | | }); [INFO] [stderr] | |__________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `crate::arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:218:18 [INFO] [stderr] | [INFO] [stderr] 218 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/lib.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / arch::if_tdx_enabled!({ [INFO] [stderr] 81 | | } else { [INFO] [stderr] 82 | | arch::serial::init(); [INFO] [stderr] 83 | | }); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `tdx_guest` in the list of imported crates [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/mod.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stderr] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/lib.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | / arch::if_tdx_enabled!({ [INFO] [stderr] 118 | | arch::serial::init(); [INFO] [stderr] 119 | | }); [INFO] [stderr] | |______- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `arch::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `multiboot2` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/boot/multiboot2/mod.rs:149:28 [INFO] [stderr] | [INFO] [stderr] 149 | assert_eq!(boot_magic, multiboot2::MAGIC); [INFO] [stderr] | ^^^^^^^^^^ use of unresolved module or unlinked crate `multiboot2` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `multiboot2`, use `cargo add multiboot2` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/mod.rs:30:10 [INFO] [stderr] | [INFO] [stderr] 30 | ) -> acpi::PhysicalMapping<Self, T> { [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `acpi` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/arch/x86/kernel/acpi/mod.rs:43:43 [INFO] [stderr] | [INFO] [stderr] 43 | fn unmap_physical_region<T>(_region: &acpi::PhysicalMapping<Self, T>) {} [INFO] [stderr] | ^^^^ use of unresolved module or unlinked crate `acpi` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `acpi`, use `cargo add acpi` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tdx_guest` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.0/src/console.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | tdx_guest::print(args); [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `tdx_guest`, use `cargo add tdx_guest` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `ostd` (lib) due to 77 previous errors [INFO] running `Command { std: "docker" "inspect" "eeca912d0169d4fc458f64c630be87f14c7976ba0d154212021a66a37eabd26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeca912d0169d4fc458f64c630be87f14c7976ba0d154212021a66a37eabd26f", kill_on_drop: false }` [INFO] [stdout] eeca912d0169d4fc458f64c630be87f14c7976ba0d154212021a66a37eabd26f