[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 master#11663cd3bfefef7d34e8f0892c250bf698049392+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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mlafroce/barbaos on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/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-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 735b6e38221ff0a23f16bdd8c06da8834ad89e17d882c150eb32b4993dd41b9b [INFO] running `Command { std: "docker" "start" "-a" "735b6e38221ff0a23f16bdd8c06da8834ad89e17d882c150eb32b4993dd41b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "735b6e38221ff0a23f16bdd8c06da8834ad89e17d882c150eb32b4993dd41b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "735b6e38221ff0a23f16bdd8c06da8834ad89e17d882c150eb32b4993dd41b9b", kill_on_drop: false }` [INFO] [stdout] 735b6e38221ff0a23f16bdd8c06da8834ad89e17d882c150eb32b4993dd41b9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 975860154dc219ce9c8f1dd6c3cf18cb066d6f66a0f37b90bb7c1bb10845fd4d [INFO] running `Command { std: "docker" "start" "-a" "975860154dc219ce9c8f1dd6c3cf18cb066d6f66a0f37b90bb7c1bb10845fd4d", 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] 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" "975860154dc219ce9c8f1dd6c3cf18cb066d6f66a0f37b90bb7c1bb10845fd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975860154dc219ce9c8f1dd6c3cf18cb066d6f66a0f37b90bb7c1bb10845fd4d", kill_on_drop: false }` [INFO] [stdout] 975860154dc219ce9c8f1dd6c3cf18cb066d6f66a0f37b90bb7c1bb10845fd4d