[INFO] cloning repository https://github.com/ryanwebber/ratto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanwebber/ratto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanwebber%2Fratto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanwebber%2Fratto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2b4d9c0482eb21fb13dcf141befdc59b9146604 [INFO] checking ryanwebber/ratto/b2b4d9c0482eb21fb13dcf141befdc59b9146604 against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanwebber%2Fratto" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ryanwebber/ratto [INFO] finished tweaking git repo https://github.com/ryanwebber/ratto [INFO] tweaked toml for git repo https://github.com/ryanwebber/ratto written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryanwebber/ratto on toolchain 67854e511de21d881bb16426996cd4259d44aa2e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ryanwebber/ratto 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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_fn v0.4.11 [INFO] [stderr] Downloaded ron v0.12.0 [INFO] [stderr] Downloaded aarch64 v0.0.14 [INFO] [stderr] Downloaded aarch64-cpu v10.0.0 [INFO] [stderr] Downloaded x86_64 v0.15.4 [INFO] [stderr] Downloaded tock-registers v0.9.0 [INFO] [stderr] Downloaded memory_addresses v0.2.3 [INFO] [stderr] Downloaded align-address v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53 [INFO] running `Command { std: "docker" "start" "168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking ratto-core v0.1.0 (/opt/rustwide/workdir/ratto-core) [INFO] [stderr] Checking ron v0.12.0 [INFO] [stderr] Checking ratto-kernel v0.1.0 (/opt/rustwide/workdir/ratto-kernel) [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | kraw!("Kernel State: {:#?}", kernel()); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kraw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - format_args_nl!( [INFO] [stdout] 54 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | kraw!("Reason: {}", info.message()); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kraw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - format_args_nl!( [INFO] [stdout] 54 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | kraw!("At: {}", location); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kraw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - format_args_nl!( [INFO] [stdout] 54 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | kerr!("!!! Kernel panic !!!"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 33 - $crate::print::print(format_args_nl!( [INFO] [stdout] 33 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | klog!("Kernel main loop starting..."); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - $crate::print::print(format_args_nl!( [INFO] [stdout] 16 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | klog!("Kernel initialization completed."); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - $crate::print::print(format_args_nl!( [INFO] [stdout] 16 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | klog!("Boot info: {:#?}", args.boot_info); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 - format_args_nl!( [INFO] [stdout] 22 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | klog!("Kernel initialization started..."); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - $crate::print::print(format_args_nl!( [INFO] [stdout] 16 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Impl` in `arch` [INFO] [stdout] --> ratto-kernel/src/lib.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | arch::Impl::init_memory(&args.boot_info).expect("Failed to initialize memory"); [INFO] [stdout] | ^^^^ could not find `Impl` in `arch` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> ratto-kernel/src/arch.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 5 | pub use aarch64::AArch64 as Impl; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Cpu = ::Cpu; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub type MemoryMapper = ::MemoryMapper; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub type FrameAllocator = ::FrameAllocator; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub type BootInfo = ::BootInfo; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arch::ArchImpl` [INFO] [stdout] --> ratto-kernel/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::arch::ArchImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | kraw!("Kernel State: {:#?}", kernel()); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kraw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - format_args_nl!( [INFO] [stdout] 54 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | kraw!("Reason: {}", info.message()); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kraw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - format_args_nl!( [INFO] [stdout] 54 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | kraw!("At: {}", location); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kraw` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - format_args_nl!( [INFO] [stdout] 54 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | kerr!("!!! Kernel panic !!!"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `kerr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 33 - $crate::print::print(format_args_nl!( [INFO] [stdout] 33 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | klog!("Kernel main loop starting..."); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - $crate::print::print(format_args_nl!( [INFO] [stdout] 16 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | klog!("Kernel initialization completed."); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - $crate::print::print(format_args_nl!( [INFO] [stdout] 16 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | klog!("Boot info: {:#?}", args.boot_info); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 - format_args_nl!( [INFO] [stdout] 22 + format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> ratto-kernel/src/print.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | $crate::print::print(format_args_nl!( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: ratto-kernel/src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | klog!("Kernel initialization started..."); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/67854e511de21d881bb16426996cd4259d44aa2e/library/core/src/macros/mod.rs:1004:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `klog` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - $crate::print::print(format_args_nl!( [INFO] [stdout] 16 + $crate::print::print(format_args!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ratto-kernel` (lib) due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find `Impl` in `arch` [INFO] [stdout] --> ratto-kernel/src/lib.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | arch::Impl::init_memory(&args.boot_info).expect("Failed to initialize memory"); [INFO] [stdout] | ^^^^ could not find `Impl` in `arch` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> ratto-kernel/src/arch.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target_arch = "aarch64")] [INFO] [stdout] | ----------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 5 | pub use aarch64::AArch64 as Impl; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Cpu = ::Cpu; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub type MemoryMapper = ::MemoryMapper; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | pub type FrameAllocator = ::FrameAllocator; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Impl` in this scope [INFO] [stdout] --> ratto-kernel/src/arch.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub type BootInfo = ::BootInfo; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::arch::ArchImpl` [INFO] [stdout] --> ratto-kernel/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::arch::ArchImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ratto-kernel` (lib test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53", kill_on_drop: false }` [INFO] [stdout] 168f97684e365033680c10c33440a61c36f5a408548ebbc6a989e53415b1ff53