[INFO] cloning repository https://github.com/mlafroce/barbaos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlafroce/barbaos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fbarbaos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fbarbaos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 63f5b97eae0733e45a2908686678385d3b2a0614 [INFO] building mlafroce/barbaos against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlafroce%2Fbarbaos" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mlafroce/barbaos on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/mlafroce/barbaos [INFO] finished tweaking git repo https://github.com/mlafroce/barbaos [INFO] tweaked toml for git repo https://github.com/mlafroce/barbaos written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mlafroce/barbaos 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3623a1f6aa081627f9e46188ce390447c7163a1620dec04ff2f721dc405431b3 [INFO] running `Command { std: "docker" "start" "-a" "3623a1f6aa081627f9e46188ce390447c7163a1620dec04ff2f721dc405431b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3623a1f6aa081627f9e46188ce390447c7163a1620dec04ff2f721dc405431b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3623a1f6aa081627f9e46188ce390447c7163a1620dec04ff2f721dc405431b3", kill_on_drop: false }` [INFO] [stdout] 3623a1f6aa081627f9e46188ce390447c7163a1620dec04ff2f721dc405431b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fb87718e77e0e7284acc7679d82a7cd4ee10f607cd539fe85ae89ff658df478 [INFO] running `Command { std: "docker" "start" "-a" "9fb87718e77e0e7284acc7679d82a7cd4ee10f607cd539fe85ae89ff658df478", kill_on_drop: false }` [INFO] [stderr] Compiling barbaos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::assembly::riscv64` [INFO] [stdout] --> src/devices/virtio/block_device.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::assembly::riscv64::wfi; [INFO] [stdout] | ^^^^^^^ could not find `riscv64` in `assembly` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/assembly/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/assembly/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `riscv64` in `cpu` [INFO] [stdout] --> src/init.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpu::riscv64::trap::TrapFrame; [INFO] [stdout] | ^^^^^^^ could not find `riscv64` in `cpu` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/cpu/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/cpu/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::assembly::riscv64` [INFO] [stdout] --> src/init.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::assembly::riscv64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `riscv64` in `assembly` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/assembly/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/assembly/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 1 | use crate::mmu::riscv64; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::devices::uart_16550` [INFO] [stdout] --> src/init.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::kmain` [INFO] [stdout] --> src/init.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{kmain, mmu}; [INFO] [stdout] | ^^^^^ no `kmain` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | extern "C" fn kmain() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | extern "C" fn kmain() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: the item is gated behind the `arm` feature [INFO] [stdout] --> src/main.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(target_arch = "arm")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::cpu::riscv64` [INFO] [stdout] --> src/mmu/map_table.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpu::riscv64::plic; [INFO] [stdout] | ^^^^^^^ could not find `riscv64` in `cpu` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/cpu/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/cpu/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::assembly::riscv64` [INFO] [stdout] --> src/mmu/map_table.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::assembly::riscv64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `riscv64` in `assembly` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/assembly/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/assembly/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 6 | use crate::mmu::riscv64; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `riscv64` in `cpu` [INFO] [stdout] --> src/system/process.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cpu::riscv64::trap::TrapFrame; [INFO] [stdout] | ^^^^^^^ could not find `riscv64` in `cpu` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/cpu/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/cpu/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `riscv64` in `cpu` [INFO] [stdout] --> src/system/syscall/syscall_impl.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cpu::riscv64::trap::TrapFrame; [INFO] [stdout] | ^^^^^^^ could not find `riscv64` in `cpu` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/cpu/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/cpu/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::assembly::riscv64` [INFO] [stdout] --> src/system/process.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::assembly::riscv64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `riscv64` in `assembly` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/assembly/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod riscv64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/assembly/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 4 | use crate::mmu::riscv64; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/devices/dtb.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | println!("Reading reserved memory blocks..."); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/devices/dtb.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | / println!( [INFO] [stdout] 86 | | "Reserved memory block at [{:x}..{:x}]", [INFO] [stdout] 87 | | mem_res.address, [INFO] [stdout] 88 | | mem_res.address + mem_res.size [INFO] [stdout] 89 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/devices/dtb.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | println!("{}: {}", display, prop) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/devices/virtio/block_device.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | println!("Max queue num: {}", queue_max_num); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/devices/virtio/common.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | println!("VirtIO device found at 0x{:x}", address); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/devices/virtio/common.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | println!("Device type: {}", device.get_id()); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/filesystem/ext2_fs_driver.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | print!("{}", *c as char); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/init.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | println!("BarbaOS booting..."); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/init.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | println!("\x1b[1m[kinit]\x1b[0m"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/init.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | println!("Alloc success"); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/init.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | println!("\x1b[1m\x1b[0m"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/init.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | println!("\x1b[1m\x1b[0m"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/map_table.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | / println!( [INFO] [stdout] 314 | | "Test walk {:20}: {:#x} -> {:#x}", [INFO] [stdout] 315 | | address.1, address.0, phys [INFO] [stdout] 316 | | ); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | println!("\x1b[1m[Page Allocation Table]\x1b[0m"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | / println!( [INFO] [stdout] 168 | | "\x1b[1m\x1b[30mHEAP\x1b[0m: {:p} -> {:p}", [INFO] [stdout] 169 | | heap_table_beg, heap_table_end [INFO] [stdout] 170 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | / println!( [INFO] [stdout] 172 | | "\x1b[1m\x1b[30mPHYS\x1b[0m: {:#x} -> {:#x}", [INFO] [stdout] 173 | | alloc_beg, alloc_end [INFO] [stdout] 174 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | println!("-----------------------"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | / println!( [INFO] [stdout] 191 | | "Alloc: {:#x} -> {:#x}: {:>3} pages", [INFO] [stdout] 192 | | cur_start_page, end_addr, cur_taken [INFO] [stdout] 193 | | ); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | println!("-----------------------"); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | / println!( [INFO] [stdout] 201 | | "\x1b[1m\x1b[30mAllocated\x1b[0m: {:>6} pages ({:>10} bytes)", [INFO] [stdout] 202 | | total_taken, [INFO] [stdout] 203 | | total_taken * PAGE_SIZE [INFO] [stdout] 204 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/riscv64.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | / println!( [INFO] [stdout] 207 | | "\x1b[1m\x1b[30mFree \x1b[0m: {:>6} pages ({:>10} bytes)", [INFO] [stdout] 208 | | total_free, [INFO] [stdout] 209 | | total_free * PAGE_SIZE [INFO] [stdout] 210 | | ); [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | println!("\x1b[1m[print_mem_info]\x1b[0m"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | println!("Static variables: \x1b[1m{:#x}\x1b[0m", &TEXT_START); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | println!("Text start: \x1b[1m{:#x}\x1b[0m", TEXT_START); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | println!("Text end: \x1b[1m{:#x}\x1b[0m", TEXT_END); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | println!("RO Data start: \x1b[1m{:#x}\x1b[0m", RODATA_START); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | println!("RO Data end: \x1b[1m{:#x}\x1b[0m", RODATA_END); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | println!("Data start: \x1b[1m{:#x}\x1b[0m", DATA_START); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | println!("Data end: \x1b[1m{:#x}\x1b[0m", DATA_END); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | println!("BSS start: \x1b[1m{:#x}\x1b[0m", BSS_START); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | println!("BSS end: \x1b[1m{:#x}\x1b[0m", BSS_END); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / println!( [INFO] [stdout] 44 | | "Kernel stack start: \x1b[1m{:#x}\x1b[0m", [INFO] [stdout] 45 | | KERNEL_STACK_START [INFO] [stdout] 46 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | println!("Kernel stack end: \x1b[1m{:#x}\x1b[0m", KERNEL_STACK_END); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | println!("Heap start: \x1b[1m{:#x}\x1b[0m", HEAP_START); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/mmu/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / println!( [INFO] [stdout] 50 | | "Heap size: \x1b[1m{:#x}\x1b[0m bytes", [INFO] [stdout] 51 | | HEAP_SIZE.load(Ordering::Relaxed) [INFO] [stdout] 52 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/system/process.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / println!( [INFO] [stdout] 154 | | "phys address: {:x}", [INFO] [stdout] 155 | | init_process [INFO] [stdout] 156 | | .root [INFO] [stdout] 157 | | .virt_to_phys(init_process.program_counter) [INFO] [stdout] 158 | | .unwrap() [INFO] [stdout] 159 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/system/syscall/syscall_impl.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | print!("{}", unsafe { *buf_phys_ptr.offset(i) } as char); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/handlers.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | print!("Aborting: "); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/handlers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | println!("line {}, file {}: {}", p.line(), p.file(), info.message()); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `$crate::devices::uart_16550` [INFO] [stdout] --> src/utils/macros.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use $crate::devices::uart_16550::Uart; [INFO] [stdout] | ^^^^^^^^^^ could not find `uart_16550` in `devices` [INFO] [stdout] | [INFO] [stdout] ::: src/utils/handlers.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | println!("no information available."); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/devices/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod uart_16550; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `riscv64` feature [INFO] [stdout] --> src/devices/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(target_arch = "riscv64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `print` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `devices::shutdown` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use devices::shutdown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::boot::load_disk` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::boot::load_disk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::devices::virtio::common::DeviceManager` [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::devices::virtio::common::DeviceManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | out("a0") _ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | out("a0") _, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | out("a1") _ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | out("a0") _, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | out("a1") _, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | out("a2") _ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a0`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | out("a0") _, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a1`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | out("a1") _, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a2`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | out("a2") _, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid register `a3`: unknown register [INFO] [stdout] --> src/system/syscall/api.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | out("a3") _ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_nodes` found for reference `&DtbReader` in the current scope [INFO] [stdout] --> src/devices/dtb.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | self.print_nodes(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&DtbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `wfi` in this scope [INFO] [stdout] --> src/utils/handlers.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | wfi(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb125 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x77076a181caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x77076a813cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x77076b728e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x77076a181b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x77076a183ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x77076a183e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x7707692eff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x77076a1847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x77076932a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x77076931f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x77076931f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7707693342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x770769884fdc - ::span_bug:: [INFO] [stderr] 13: 0x77076990a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7707698f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7707698efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x770767d34437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x77076b1d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x77076b1cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x77076a807714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x77076a8076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x77076aa953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x77076aa94f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x770767867185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x77076b0e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x77076b0e9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x77076b0e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x77076ac9bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x77076b72cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x77076b72cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x77076b77b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x77076b77b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x77076b7701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x77076b7dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x77076b6f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x77076b6f551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x77076b6f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x77076cee0ac3 - [INFO] [stderr] 38: 0x77076cf71a04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-01-01T01_30_33-9.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `filesystem::linux::::get_block_id` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `filesystem::linux::::get_block_id` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `barbaos` (bin "barbaos") due to 63 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9fb87718e77e0e7284acc7679d82a7cd4ee10f607cd539fe85ae89ff658df478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb87718e77e0e7284acc7679d82a7cd4ee10f607cd539fe85ae89ff658df478", kill_on_drop: false }` [INFO] [stdout] 9fb87718e77e0e7284acc7679d82a7cd4ee10f607cd539fe85ae89ff658df478