[INFO] cloning repository https://github.com/imsakg/spark-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imsakg/spark-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimsakg%2Fspark-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimsakg%2Fspark-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1ebaecd969d3c5631a512935910988c63c9b27c [INFO] testing imsakg/spark-os against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimsakg%2Fspark-os" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/imsakg/spark-os [INFO] finished tweaking git repo https://github.com/imsakg/spark-os [INFO] tweaked toml for git repo https://github.com/imsakg/spark-os written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imsakg/spark-os on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imsakg/spark-os 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aarch64-cpu v9.4.0 [INFO] [stderr] Downloaded tock-registers v0.8.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df580240e772427e8246f6c597e5611ed6ea29b94be02790e84f519dc5861b7c [INFO] running `Command { std: "docker" "start" "-a" "df580240e772427e8246f6c597e5611ed6ea29b94be02790e84f519dc5861b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df580240e772427e8246f6c597e5611ed6ea29b94be02790e84f519dc5861b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df580240e772427e8246f6c597e5611ed6ea29b94be02790e84f519dc5861b7c", kill_on_drop: false }` [INFO] [stdout] df580240e772427e8246f6c597e5611ed6ea29b94be02790e84f519dc5861b7c [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19a622d5bd308af0aa238cfaecf5e7d26041d628f4cda1f0cb93744095244146 [INFO] running `Command { std: "docker" "start" "-a" "19a622d5bd308af0aa238cfaecf5e7d26041d628f4cda1f0cb93744095244146", kill_on_drop: false }` [INFO] [stderr] Compiling spark-os v0.4.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:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | 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 `arch_cpu` [INFO] [stdout] --> src/cpu.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use arch_cpu::wait_forever; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `arch_cpu` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `arch_cpu`, use `cargo add arch_cpu` 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:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/panic_wait.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / println!( [INFO] [stdout] 50 | | "Kernel panic!\n\n\ [INFO] [stdout] 51 | | Panic location:\n File '{}', line {}, column {}\n\n\ [INFO] [stdout] 52 | | {}", [INFO] [stdout] ... | [INFO] [stdout] 56 | | info.message().unwrap_or(&format_args!("")), [INFO] [stdout] 57 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/macros/mod.rs:995: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] 30 - $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] 30 + $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:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | println!("[2] Stopping here."); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/macros/mod.rs:995: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] 30 - $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] 30 + $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:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | println!("[1] Chars written: {}", console().chars_written()); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/macros/mod.rs:995: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] 30 - $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] 30 + $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:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | println!("[0] Hello from Rust!"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/macros/mod.rs:995: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] 30 - $crate::print::_print(format_args_nl!($($arg)*)); [INFO] [stdout] 30 + $crate::print::_print(format_args!($($arg)*)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `console` in `bsp` [INFO] [stdout] --> src/console.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | bsp::console::console() [INFO] [stdout] | ^^^^^^^ could not find `console` in `bsp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::console` [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | use console::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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] 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:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | #![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:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 `spark-os` (bin "kernel") due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "19a622d5bd308af0aa238cfaecf5e7d26041d628f4cda1f0cb93744095244146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a622d5bd308af0aa238cfaecf5e7d26041d628f4cda1f0cb93744095244146", kill_on_drop: false }` [INFO] [stdout] 19a622d5bd308af0aa238cfaecf5e7d26041d628f4cda1f0cb93744095244146