[INFO] cloning repository https://github.com/thiefspin/jotun-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thiefspin/jotun-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiefspin%2Fjotun-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiefspin%2Fjotun-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84a8246d047615e093bbd229ccb0d67fc1c93320 [INFO] checking thiefspin/jotun-os against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthiefspin%2Fjotun-os" "/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] started tweaking git repo https://github.com/thiefspin/jotun-os [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/thiefspin/jotun-os [INFO] tweaked toml for git repo https://github.com/thiefspin/jotun-os written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thiefspin/jotun-os on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thiefspin/jotun-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded volatile v0.4.6 [INFO] [stderr] Downloaded pic8259 v0.10.4 [INFO] [stderr] Downloaded x86_64 v0.14.13 [INFO] [stderr] Downloaded uart_16550 v0.2.19 [INFO] [stderr] Downloaded bootloader v0.9.31 [INFO] [stderr] Downloaded pc-keyboard v0.5.1 [INFO] [stderr] Downloaded volatile v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc83d91a0945ef286d6db079b670e1264f821ab527639c25d2a47f0680677c23 [INFO] running `Command { std: "docker" "start" "-a" "dc83d91a0945ef286d6db079b670e1264f821ab527639c25d2a47f0680677c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc83d91a0945ef286d6db079b670e1264f821ab527639c25d2a47f0680677c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc83d91a0945ef286d6db079b670e1264f821ab527639c25d2a47f0680677c23", kill_on_drop: false }` [INFO] [stdout] dc83d91a0945ef286d6db079b670e1264f821ab527639c25d2a47f0680677c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bc8dca8a92dee3041591403ef48d5f834a3482f63355ba3a4854d0b6a794b17 [INFO] running `Command { std: "docker" "start" "-a" "6bc8dca8a92dee3041591403ef48d5f834a3482f63355ba3a4854d0b6a794b17", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bootloader v0.9.31 [INFO] [stderr] Checking volatile v0.4.6 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking x86_64 v0.14.13 [INFO] [stderr] Checking pic8259 v0.10.4 [INFO] [stderr] Checking uart_16550 v0.2.19 [INFO] [stderr] Checking jotun-os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mapper` [INFO] [stdout] --> src/memory.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | FrameAllocator, Mapper, OffsetPageTable, PageTable, PhysFrame, Size4KiB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/gdt.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &raw const STACK }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mapper` [INFO] [stdout] --> src/memory.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | FrameAllocator, Mapper, OffsetPageTable, PageTable, PhysFrame, Size4KiB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_something` is never used [INFO] [stdout] --> src/vga_buffer.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn print_something() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/memory.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn init(physical_memory_offset: VirtAddr) -> OffsetPageTable<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `active_level_4_table` is never used [INFO] [stdout] --> src/memory.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn active_level_4_table(physical_memory_offset: VirtAddr) -> &'static mut PageTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BootInfoFrameAllocator` is never constructed [INFO] [stdout] --> src/memory.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct BootInfoFrameAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `usable_frames` are never used [INFO] [stdout] --> src/memory.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl BootInfoFrameAllocator { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub unsafe fn init(memory_map: &'static MemoryMap) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn usable_frames(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/gdt.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &raw const STACK }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mapper` [INFO] [stdout] --> src/memory.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | FrameAllocator, Mapper, OffsetPageTable, PageTable, PhysFrame, Size4KiB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/gdt.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 15 | let stack_start = VirtAddr::from_ptr(unsafe { &raw const STACK }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mapper` [INFO] [stdout] --> src/memory.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | FrameAllocator, Mapper, OffsetPageTable, PageTable, PhysFrame, Size4KiB, [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] 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: unreachable expression [INFO] [stdout] --> tests/stack_overflow.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | exit_qemu(QemuExitCode::Failed); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] 22 | loop {} [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/stack_overflow.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | exit_qemu(QemuExitCode::Success); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 53 | loop {} [INFO] [stdout] | ^^^^^^^ unreachable expression [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: 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: unreachable expression [INFO] [stdout] --> tests/should_panic.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | exit_qemu(QemuExitCode::Failed); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] 12 | loop {} [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mapper` [INFO] [stdout] --> src/memory.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | FrameAllocator, Mapper, OffsetPageTable, PageTable, PhysFrame, Size4KiB, [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] [stderr] error: could not compile `jotun-os` (test "stack_overflow") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jotun-os` (test "basic_boot") due to 1 previous error [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> tests/should_panic.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | exit_qemu(QemuExitCode::Success); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 24 | loop {} [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jotun-os` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `jotun-os` (test "should_panic") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | exit_qemu(QemuExitCode::Failed); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] 56 | hlt_loop(); [INFO] [stdout] | ^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jotun-os` (bin "jotun-os" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6bc8dca8a92dee3041591403ef48d5f834a3482f63355ba3a4854d0b6a794b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bc8dca8a92dee3041591403ef48d5f834a3482f63355ba3a4854d0b6a794b17", kill_on_drop: false }` [INFO] [stdout] 6bc8dca8a92dee3041591403ef48d5f834a3482f63355ba3a4854d0b6a794b17