[INFO] cloning repository https://github.com/ASoldo/rootos
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ASoldo/rootos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASoldo%2Frootos", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASoldo%2Frootos'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 24be645934c5ce11a8ae0a9e71dc558e62b889bc
[INFO] checking ASoldo/rootos against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASoldo%2Frootos" "/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/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ASoldo/rootos
[INFO] finished tweaking git repo https://github.com/ASoldo/rootos
[INFO] tweaked toml for git repo https://github.com/ASoldo/rootos written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ASoldo/rootos on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ASoldo/rootos 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: build
[INFO] [stderr]     Updating git repository `https://github.com/rust-lang/compiler-builtins.git`
[INFO] [stderr]     Updating git submodule `https://github.com/rust-lang/libm.git`
[INFO] [stderr] warning: Patch `compiler_builtins v0.1.114 (https://github.com/rust-lang/compiler-builtins.git#9dcc46a7)` was not used in the crate graph.
[INFO] [stderr] Check that the patched package version and available features are compatible
[INFO] [stderr] with the dependency requirements. If the patch has a different version from
[INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new
[INFO] [stderr] version. This may also occur with an optional dependency that is not enabled.
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded spinning_top v0.2.5
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b3b6c0ce2143ac05fa9ff1d74682331e54e6b7fbacde322861425ff7ca6851c5
[INFO] running `Command { std: "docker" "start" "-a" "b3b6c0ce2143ac05fa9ff1d74682331e54e6b7fbacde322861425ff7ca6851c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b3b6c0ce2143ac05fa9ff1d74682331e54e6b7fbacde322861425ff7ca6851c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3b6c0ce2143ac05fa9ff1d74682331e54e6b7fbacde322861425ff7ca6851c5", kill_on_drop: false }`
[INFO] [stdout] b3b6c0ce2143ac05fa9ff1d74682331e54e6b7fbacde322861425ff7ca6851c5
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7bf1a54268477192183d48811ded5bfb79a2394b5f0fad04239115fd1821c1d4
[INFO] running `Command { std: "docker" "start" "-a" "7bf1a54268477192183d48811ded5bfb79a2394b5f0fad04239115fd1821c1d4", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: build
[INFO] [stderr] warning: Patch `compiler_builtins v0.1.114 (https://github.com/rust-lang/compiler-builtins.git#9dcc46a7)` was not used in the crate graph.
[INFO] [stderr] Check that the patched package version and available features are compatible
[INFO] [stderr] with the dependency requirements. If the patch has a different version from
[INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new
[INFO] [stderr] version. This may also occur with an optional dependency that is not enabled.
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking spinning_top v0.2.5
[INFO] [stderr]     Checking linked_list_allocator v0.10.5
[INFO] [stderr]     Checking rootos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/allocator.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::sync::atomic::{AtomicBool, Ordering};
[INFO] [stdout]   |                                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(asm_const, alloc_error_handler)]
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ordering`
[INFO] [stdout]  --> src/allocator.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::sync::atomic::{AtomicBool, Ordering};
[INFO] [stdout]   |                                      ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | / fn panic(_info: &PanicInfo) -> ! {
[INFO] [stdout] 20 | |     serial_putchar('P');
[INFO] [stdout] 21 | |     loop {}
[INFO] [stdout] 22 | | }
[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/779e19d8baa3e3625bd4fc5c85cbb2ad47b43155/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5f172c9a1cad1328.rlib
[INFO] [stdout]    = note: second definition in the local crate (`rootos`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] warning: function `serial_puts` is never used
[INFO] [stdout]   --> src/main.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn serial_puts(s: &str) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEAP_SIZE` is never used
[INFO] [stdout]  --> src/allocator.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const HEAP_SIZE: usize = 64 * 1024; // Adjust this size if needed
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `HEAP` is never used
[INFO] [stdout]   --> src/allocator.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | static mut HEAP: [u8; HEAP_SIZE] = [0; HEAP_SIZE];
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `LOCK_ACQUIRED` is never used
[INFO] [stdout]   --> src/allocator.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | static LOCK_ACQUIRED: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_heap` is never used
[INFO] [stdout]   --> src/allocator.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn init_heap() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/allocator.rs:21:26
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let heap_start = HEAP.as_mut_ptr();
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rootos` (bin "rootos" test) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "7bf1a54268477192183d48811ded5bfb79a2394b5f0fad04239115fd1821c1d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bf1a54268477192183d48811ded5bfb79a2394b5f0fad04239115fd1821c1d4", kill_on_drop: false }`
[INFO] [stdout] 7bf1a54268477192183d48811ded5bfb79a2394b5f0fad04239115fd1821c1d4
