[INFO] cloning repository https://github.com/xiaowang7777/rust-raspberrypi-OS-study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaowang7777/rust-raspberrypi-OS-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaowang7777%2Frust-raspberrypi-OS-study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaowang7777%2Frust-raspberrypi-OS-study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5261b4f423de856d1a72e20c1d67daa6f60a3d9b [INFO] checking xiaowang7777/rust-raspberrypi-OS-study against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaowang7777%2Frust-raspberrypi-OS-study" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xiaowang7777/rust-raspberrypi-OS-study [INFO] finished tweaking git repo https://github.com/xiaowang7777/rust-raspberrypi-OS-study [INFO] tweaked toml for git repo https://github.com/xiaowang7777/rust-raspberrypi-OS-study written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xiaowang7777/rust-raspberrypi-OS-study on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xiaowang7777/rust-raspberrypi-OS-study 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tock-registers v0.8.1 [INFO] [stderr] Downloaded cortex-a v8.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550 [INFO] running `Command { std: "docker" "start" "a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550", 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" "a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550", 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" "a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking rust-raspberrypi-OS-study v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Add the target_arch to above's check if the following code is safe to use [INFO] [stdout] --> src/panic_wait.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | compile_error!("Add the target_arch to above's check if the following code is safe to use"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/./_arch/aarch64/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_a` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_a`, use `cargo add cortex_a` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | println!(" {}. {}", i, descriptor.device_driver.compatible()); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic_wait.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / println!( [INFO] [stdout] 29 | | "Kernel panic!\n\n\ [INFO] [stdout] 30 | | Panic location:\n File '{}', line {}, column {}\n\n\ [INFO] [stdout] 31 | | {}", [INFO] [stdout] ... | [INFO] [stdout] 35 | | info.message().unwrap_or(&format_args!("")), [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | println!("[ML] Loaded! Executing the payload now\n"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | println!("[ML] Requesting binary"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | println!("{:^37}", bsp::board_name()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | println!("{}", MINILOAD_LOGO); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `driver` in `bsp` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | if let Err(x) = bsp::driver::init() { [INFO] [stdout] | ^^^^^^ could not find `driver` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `memory` in `bsp` [INFO] [stdout] --> src/main.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | let kernel_addr: *mut u8 = bsp::memory::board_default_load_addr() as *mut u8; [INFO] [stdout] | ^^^^^^ could not find `memory` in `bsp` [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: Add the target_arch to above's check if the following code is safe to use [INFO] [stdout] --> src/panic_wait.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | compile_error!("Add the target_arch to above's check if the following code is safe to use"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cortex_a` [INFO] [stdout] --> src/./_arch/aarch64/cpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cortex_a::asm; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cortex_a` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cortex_a`, use `cargo add cortex_a` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-raspberrypi-OS-study` (bin "kernel") due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/driver.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | println!(" {}. {}", i, descriptor.device_driver.compatible()); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic_wait.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / println!( [INFO] [stdout] 29 | | "Kernel panic!\n\n\ [INFO] [stdout] 30 | | Panic location:\n File '{}', line {}, column {}\n\n\ [INFO] [stdout] 31 | | {}", [INFO] [stdout] ... | [INFO] [stdout] 35 | | info.message().unwrap_or(&format_args!("")), [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | println!("[ML] Loaded! Executing the payload now\n"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | println!("[ML] Requesting binary"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | println!("{:^37}", bsp::board_name()); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format_args_nl` in this scope [INFO] [stdout] --> src/print.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | println!("{}", MINILOAD_LOGO); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/macros/mod.rs:996:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `format_args` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `println` (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] 24 - $crate::print::_print(format_args_nl!($($arg)*)) [INFO] [stdout] 24 + $crate::print::_print(format_args!($($arg)*)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `driver` in `bsp` [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | if let Err(x) = bsp::driver::init() { [INFO] [stdout] | ^^^^^^ could not find `driver` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `memory` in `bsp` [INFO] [stdout] --> src/main.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | let kernel_addr: *mut u8 = bsp::memory::board_default_load_addr() as *mut u8; [INFO] [stdout] | ^^^^^^ could not find `memory` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/panic_wait.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / fn panic_handler(info: &PanicInfo) -> ! { [INFO] [stdout] 21 | | panic_prevent_reenter(); [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | let (location, line, column) = match info.location() { [INFO] [stdout] ... | [INFO] [stdout] 38 | | cpu::wait_forever() [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1ee7395f7ada8841.rmeta [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-raspberrypi-OS-study` (bin "kernel" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550", kill_on_drop: false }` [INFO] [stdout] a315c14c5215586088fa4e134a9160005245c64e8fc26fb82afc86bc4e021550