[INFO] fetching crate osdk-test-kernel 0.17.1... [INFO] checking osdk-test-kernel-0.17.1 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate osdk-test-kernel 0.17.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate osdk-test-kernel 0.17.1 [INFO] finished tweaking crates.io crate osdk-test-kernel 0.17.1 [INFO] tweaked toml for crates.io crate osdk-test-kernel 0.17.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate osdk-test-kernel 0.17.1 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate osdk-test-kernel 0.17.1 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" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ba48daf5935184ff92f2611d0e921b4f5b8aac7bc3172b1b4692ea41fbad8b7 [INFO] running `Command { std: "docker" "start" "-a" "4ba48daf5935184ff92f2611d0e921b4f5b8aac7bc3172b1b4692ea41fbad8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ba48daf5935184ff92f2611d0e921b4f5b8aac7bc3172b1b4692ea41fbad8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba48daf5935184ff92f2611d0e921b4f5b8aac7bc3172b1b4692ea41fbad8b7", kill_on_drop: false }` [INFO] [stdout] 4ba48daf5935184ff92f2611d0e921b4f5b8aac7bc3172b1b4692ea41fbad8b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 577ff0eeb228d19863bf756fdcb43357929420fdb1355e7ec7ebc8a452f7f7e0 [INFO] running `Command { std: "docker" "start" "-a" "577ff0eeb228d19863bf756fdcb43357929420fdb1355e7ec7ebc8a452f7f7e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.34 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking ostd-test v0.17.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking volatile v0.6.1 [INFO] [stderr] Checking linux-boot-params v0.17.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking align_ext v0.1.0 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Checking id-alloc v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.34 [INFO] [stderr] Compiling int-to-c-enum-derive v0.1.1 [INFO] [stderr] Compiling ostd-pod-macros v0.4.0 [INFO] [stderr] Compiling padding-struct v0.2.0 [INFO] [stderr] Compiling ostd-macros v0.17.1 [INFO] [stderr] Checking int-to-c-enum v0.1.0 [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-pod v0.4.0 [INFO] [stderr] Checking ostd v0.17.1 [INFO] [stdout] error[E0433]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/boot/smp.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/irq/ops.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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]: cannot find module or crate `x86` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/timer/apic.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use x86::msr::{IA32_TSC_DEADLINE, wrmsr}; [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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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[E0432]: unresolved import `x86_64` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use ::tdx_guest::{ [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | 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 `tdx_guest` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | use ::tdx_guest::{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 24 | use ::self::tdx_guest::{ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `x86` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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[E0433]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/cpu/local.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use x86_64::registers::segmentation::{GS, Segment64}; [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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/irq/chip/mod.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | 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[E0432]: unresolved import `multiboot2` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/boot/multiboot2/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use multiboot2::{BootInformation, BootInformationHeader, MemoryAreaType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 5 | use super::multiboot2::{BootInformation, BootInformationHeader, MemoryAreaType}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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 `acpi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/kernel/acpi/mod.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]: cannot find module or crate `x86` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `x86` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/kernel/apic/xapic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use x86::{ [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[E0432]: unresolved import `acpi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/kernel/acpi/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use acpi::{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 8 | use super::acpi::{ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.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]: cannot find module or crate `x86` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/pat.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use x86::msr::{IA32_PAT, wrmsr}; [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[E0432]: unresolved import `x86_64` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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 `x86_64` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/trap/syscall.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/trap/syscall.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | 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]: cannot find module or crate `tdx_guest` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/tdx_guest.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tdx_guest::{TdxTrapFrame, tdcall::accept_page, tdvmcall::map_gpa}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `tdx_guest` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/tdx_guest.rs, use `mod tdx_guest` in this file to declare the module [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 + mod tdx_guest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `unwinding` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/panic.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | 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[E0433]: cannot find module or crate `unwinding` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/panic.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | 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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/tdx_guest.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tdx_guest::{TdxTrapFrame, tdcall::accept_page, tdvmcall::map_gpa}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 3 | use super::tdx_guest::{TdxTrapFrame, tdcall::accept_page, tdvmcall::map_gpa}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tdx_guest` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/serial.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use x86_64::instructions::port::ReadWriteAccess; [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/trap/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use tdx_guest::{tdcall, handle_virtual_exception}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 40 | use super::tdx_guest::{tdcall, handle_virtual_exception}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/cpu/context/mod.rs:176:39 [INFO] [stdout] | [INFO] [stdout] 176 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/irq/ops.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/irq/ops.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/irq/ops.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/irq/ops.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/irq/ops.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | x86_64::instructions::hlt(); [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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/kernel/acpi/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | *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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | *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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:147:35 [INFO] [stdout] | [INFO] [stdout] 147 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mm/mod.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/trap/mod.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | 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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 98 | / if_tdx_enabled!({ [INFO] [stdout] 99 | | } else { [INFO] [stdout] 100 | | match iommu::init(&io_mem_builder) { [INFO] [stdout] 101 | | Ok(_) => {} [INFO] [stdout] ... | [INFO] [stdout] 104 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 236 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | let mut cr0 = x86_64::registers::control::Cr0::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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | unsafe { x86_64::registers::control::Cr0::write(cr0) }; [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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | unsafe { 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | 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]: cannot find module or crate `x86_64` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { 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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/console/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] 19 | | // Hold the lock to prevent the logs from interleaving. [INFO] [stdout] 20 | | let _guard = serial.lock(); [INFO] [stdout] 21 | | tdx_guest::print(args); [INFO] [stdout] 22 | | } else { [INFO] [stdout] 23 | | serial.lock().write_fmt(args).unwrap(); [INFO] [stdout] 24 | | }); [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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/io/io_mem/mod.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | let priv_flags = crate::arch::if_tdx_enabled!({ [INFO] [stdout] | __________________________- [INFO] [stdout] 92 | | assert!( [INFO] [stdout] 93 | | first_page_start == range.start && last_page_end == range.end, [INFO] [stdout] 94 | | "I/O memory is not page aligned, which cannot be unprotected in TDX: {:#x?}..{:#x?}", [INFO] [stdout] ... | [INFO] [stdout] 110 | | PrivilegedPageFlags::empty() [INFO] [stdout] 111 | | }); [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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/mm/dma/util.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | crate::arch::if_tdx_enabled!({ true } else { false }) [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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/mm/dma/util.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | crate::if_tdx_enabled!({ break 'priv_flags PrivilegedPageFlags::SHARED }); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `crate::if_tdx_enabled` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/mm/dma/util.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] 174 | | for partial in ranges { [INFO] [stdout] 175 | | debug_assert_eq!(partial, pfn_range.clone()); [INFO] [stdout] ... | [INFO] [stdout] 189 | | debug_assert_eq!(ranges.collect::>(), vec![pfn_range.clone()]); [INFO] [stdout] 190 | | }); [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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/mm/dma/util.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / crate::arch::if_tdx_enabled!({ [INFO] [stdout] 211 | | for removed in _removed_frames { [INFO] [stdout] ... | [INFO] [stdout] 224 | | }); [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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / arch::if_tdx_enabled!({ [INFO] [stdout] 82 | | } else { [INFO] [stdout] 83 | | arch::serial::init(); [INFO] [stdout] 84 | | }); [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]: cannot find `tdx_guest` in the crate root [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/mod.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | if ::tdx_guest::tdx_is_enabled() { [INFO] [stdout] | ^^^^^^^^^ could not find `tdx_guest` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / arch::if_tdx_enabled!({ [INFO] [stdout] 117 | | arch::serial::init(); [INFO] [stdout] 118 | | }); [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]: cannot find module or crate `multiboot2` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/boot/multiboot2/mod.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | 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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/kernel/acpi/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | ) -> 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]: cannot find module or crate `acpi` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/arch/x86/kernel/acpi/mod.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | 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]: cannot find module or crate `tdx_guest` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ostd-0.17.1/src/console/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | 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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ostd` (lib) due to 77 previous errors [INFO] running `Command { std: "docker" "inspect" "577ff0eeb228d19863bf756fdcb43357929420fdb1355e7ec7ebc8a452f7f7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "577ff0eeb228d19863bf756fdcb43357929420fdb1355e7ec7ebc8a452f7f7e0", kill_on_drop: false }` [INFO] [stdout] 577ff0eeb228d19863bf756fdcb43357929420fdb1355e7ec7ebc8a452f7f7e0