[INFO] cloning repository https://github.com/mochi-sann/mochi_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mochi-sann/mochi_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochi-sann%2Fmochi_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochi-sann%2Fmochi_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fcde19b727cf10fd87ff5b029e4a5d1fed9444a [INFO] checking mochi-sann/mochi_os against master#ed141926048597e3649bb238ca3dc417904cd56c for pr-134300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochi-sann%2Fmochi_os" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mochi-sann/mochi_os on toolchain ed141926048597e3649bb238ca3dc417904cd56c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/mochi-sann/mochi_os [INFO] finished tweaking git repo https://github.com/mochi-sann/mochi_os [INFO] tweaked toml for git repo https://github.com/mochi-sann/mochi_os written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mochi-sann/mochi_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" "+ed141926048597e3649bb238ca3dc417904cd56c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ed141926048597e3649bb238ca3dc417904cd56c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f39faa3cdc4f41ef6de01db57775630ba1c0bf84b4baa2b2fa1b55992dabeb5 [INFO] running `Command { std: "docker" "start" "-a" "7f39faa3cdc4f41ef6de01db57775630ba1c0bf84b4baa2b2fa1b55992dabeb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f39faa3cdc4f41ef6de01db57775630ba1c0bf84b4baa2b2fa1b55992dabeb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f39faa3cdc4f41ef6de01db57775630ba1c0bf84b4baa2b2fa1b55992dabeb5", kill_on_drop: false }` [INFO] [stdout] 7f39faa3cdc4f41ef6de01db57775630ba1c0bf84b4baa2b2fa1b55992dabeb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed141926048597e3649bb238ca3dc417904cd56c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bd0df2d0eabfd77b8116a17f31276a24f8d447e1e5512106e151931ec6687de [INFO] running `Command { std: "docker" "start" "-a" "6bd0df2d0eabfd77b8116a17f31276a24f8d447e1e5512106e151931ec6687de", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.28 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking mochi_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: an inner attribute is not permitted in this context [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![reexport_test_harness_main = "test_main"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | / pub extern "C" fn _start() -> ! { [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | use core::fmt::Write; [INFO] [stdout] ... | [INFO] [stdout] 22 | | loop {} [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- the inner attribute doesn't annotate this function [INFO] [stdout] | [INFO] [stdout] = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: an inner attribute is not permitted in this context [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![reexport_test_harness_main = "test_main"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | / pub extern "C" fn _start() -> ! { [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | use core::fmt::Write; [INFO] [stdout] ... | [INFO] [stdout] 22 | | loop {} [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- the inner attribute doesn't annotate this function [INFO] [stdout] | [INFO] [stdout] = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vga_buffer::print_something` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vga_buffer::print_something; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use core::fmt::Write; [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[E0658]: custom test frameworks are an unstable feature [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[test_runner(crate::test_runner)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-12-14; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vga_buffer::print_something` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vga_buffer::print_something; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 28 | | println!("{}", info); [INFO] [stdout] 29 | | loop {} [INFO] [stdout] 30 | | } [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/ed141926048597e3649bb238ca3dc417904cd56c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ea2006fbcbea27b7.rlib [INFO] [stdout] = note: second definition in the local crate (`mochi_os`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_main` in this scope [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | test_main(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mochi_os` (bin "mochi_os" test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mochi_os` (bin "mochi_os") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6bd0df2d0eabfd77b8116a17f31276a24f8d447e1e5512106e151931ec6687de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bd0df2d0eabfd77b8116a17f31276a24f8d447e1e5512106e151931ec6687de", kill_on_drop: false }` [INFO] [stdout] 6bd0df2d0eabfd77b8116a17f31276a24f8d447e1e5512106e151931ec6687de