[INFO] cloning repository https://github.com/BigBadE/Exokernel
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BigBadE/Exokernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FExokernel", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FExokernel'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9cb8a206ab1c806d7f031d3a222456c85c6d77e
[INFO] checking BigBadE/Exokernel against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigBadE%2FExokernel" "/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/BigBadE/Exokernel on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/BigBadE/Exokernel
[INFO] finished tweaking git repo https://github.com/BigBadE/Exokernel
[INFO] tweaked toml for git repo https://github.com/BigBadE/Exokernel written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/BigBadE/mbrman/`
[INFO] [stderr]      Locking 55 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bumpalo v3.17.0
[INFO] [stderr]   Downloaded fatfs v0.3.6
[INFO] [stderr]   Downloaded llvm-tools v0.1.1
[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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6ccaabeb19909978eb1c4ad56cab6d9ec37d497151fc95af231e0abfb8c5d59
[INFO] running `Command { std: "docker" "start" "-a" "d6ccaabeb19909978eb1c4ad56cab6d9ec37d497151fc95af231e0abfb8c5d59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6ccaabeb19909978eb1c4ad56cab6d9ec37d497151fc95af231e0abfb8c5d59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6ccaabeb19909978eb1c4ad56cab6d9ec37d497151fc95af231e0abfb8c5d59", kill_on_drop: false }`
[INFO] [stdout] d6ccaabeb19909978eb1c4ad56cab6d9ec37d497151fc95af231e0abfb8c5d59
[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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75657357c34ba5b1103dfedd9d14e7dd3acc696a91838e595c03e28b79dbde14
[INFO] running `Command { std: "docker" "start" "-a" "75657357c34ba5b1103dfedd9d14e7dd3acc696a91838e595c03e28b79dbde14", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.16
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling virtue v0.0.13
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]     Checking common v0.1.0 (/opt/rustwide/workdir/kernel/common)
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling x86_64-bootloader-bios-stage-3 v0.1.0 (/opt/rustwide/workdir/kernel/arch/x86_64/bootloader/bios/stage-3)
[INFO] [stderr]    Compiling x86_64-bootloader-bios-stage-1 v0.1.0 (/opt/rustwide/workdir/kernel/arch/x86_64/bootloader/bios/stage-1)
[INFO] [stderr]    Compiling x86_64-bootloader-bios-stage-2 v0.1.0 (/opt/rustwide/workdir/kernel/arch/x86_64/bootloader/bios/stage-2)
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling llvm-tools v0.1.1
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::disk::{AlignedArrayBuffer, Read};
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_char`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::util::print::{print_char, println};
[INFO] [stdout]   |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `load_file` and `read_file`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::disk::file::{load_file, read_file, test_file};
[INFO] [stdout]    |                         ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `print_hex`, `print_numb`, `print`, and `println`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/dap.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::util::print::{print, print_hex, print_numb, println};
[INFO] [stdout]   |                          ^^^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AlignedArrayBuffer`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/fat.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::disk::{AlignedArrayBuffer, AlignedBuffer, Read, Seek, SeekFrom};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `print`, `printcharbuf`, and `println`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/fat.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::util::print::{print, printcharbuf, println};
[INFO] [stdout]   |                          ^^^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/fat.rs:210:38
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_root_dir<'a>(
[INFO] [stdout]     |                      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 210 |     ) -> impl Iterator<Item = Result<RawDirectoryEntry, ()>> + 'a {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::print::println`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::util::print::println;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:6:39
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::disk::{AlignedArrayBuffer, Read};
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `print_char`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::util::print::{print_char, println};
[INFO] [stdout]   |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `load_file` and `read_file`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::disk::file::{load_file, read_file, test_file};
[INFO] [stdout]    |                         ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `print_hex`, `print_numb`, `print`, and `println`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/dap.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::util::print::{print, print_hex, print_numb, println};
[INFO] [stdout]   |                          ^^^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AlignedArrayBuffer`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/fat.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::disk::{AlignedArrayBuffer, AlignedBuffer, Read, Seek, SeekFrom};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `print`, `printcharbuf`, and `println`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/fat.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::util::print::{print, printcharbuf, println};
[INFO] [stdout]   |                          ^^^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/fat.rs:210:38
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn read_root_dir<'a>(
[INFO] [stdout]     |                      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 210 |     ) -> impl Iterator<Item = Result<RawDirectoryEntry, ()>> + 'a {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::print::println`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::util::print::println;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | / pub fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 115 | |     let output = info.message();
[INFO] [stdout] 116 | |     println(output.as_str().unwrap());
[INFO] [stdout] 117 | |     loop {}
[INFO] [stdout] 118 | | }
[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/5a45ab9738330fb317d49e3594c2db5248b1e971/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54c13a3455b13793.rlib
[INFO] [stdout]     = note: second definition in the local crate (`x86_64_bootloader_bios_stage_2`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::arch::asm`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-3/src/util/print.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::arch::asm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-3/src/main.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / pub fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 28 | |     loop {}
[INFO] [stdout] 29 | | }
[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/5a45ab9738330fb317d49e3594c2db5248b1e971/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54c13a3455b13793.rlib
[INFO] [stdout]    = note: second definition in the local crate (`x86_64_bootloader_bios_stage_3`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::arch::asm`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-3/src/util/print.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::arch::asm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-1/src/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             mem::transmute(&_second_stage as *const u8 as u32);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: source type: `u32` (32 bits)
[INFO] [stdout]    = note: target type: `fn(u16, *const u8)` (64 bits)
[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]  --> kernel/arch/x86_64/bootloader/bios/stage-3/src/main.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | #![feature(panic_info_message)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0512`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `x86_64-bootloader-bios-stage-2` (bin "x86_64-bootloader-bios-stage-2" test) due to 1 previous error; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `x86_64-bootloader-bios-stage-3` (bin "x86_64-bootloader-bios-stage-3" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-3/src/main.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout]    |              ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-1/src/main.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | / pub fn panic(_info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 57 | |     print(b'?');
[INFO] [stdout] 58 | |     loop {}
[INFO] [stdout] 59 | | }
[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/5a45ab9738330fb317d49e3594c2db5248b1e971/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-54c13a3455b13793.rlib
[INFO] [stdout]    = note: second definition in the local crate (`x86_64_bootloader_bios_stage_1`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FOURTH_START` is never used
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-3/src/main.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const FOURTH_START: u32 = 0x20_000;
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `x86_64-bootloader-bios-stage-1` (bin "x86_64-bootloader-bios-stage-1") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `x86_64-bootloader-bios-stage-1` (bin "x86_64-bootloader-bios-stage-1" test) due to 1 previous error
[INFO] [stdout] error: cannot use register `ah`: high byte registers cannot be used as an operand on x86_64
[INFO] [stdout]    --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/dap.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             in("ah") 0x42u8,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: incompatible types for asm inout argument
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/memory.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 27 |             inout("ecx") 24 => buf_written_len,
[INFO] [stdout]    |                          ^^    ^^^^^^^^^^^^^^^ type `usize`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          type `i32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: asm inout arguments must have the same type, unless they are both pointers or integers of the same size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | /         loop {
[INFO] [stdout] 63 | |
[INFO] [stdout] 64 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 65 |
[INFO] [stdout] 66 |           let mut buf: [u8; FILE_BUFFER_SIZE] = [0; FILE_BUFFER_SIZE];
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cluster`
[INFO] [stdout]  --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     for cluster in file_system.file_clusters(&file) {
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `disk`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut disk = file_system.disk.clone();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_disk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cluster`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     for cluster in file_system.file_clusters(&file) {
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub unsafe fn read_file<const SIZE: usize>(file: &File, file_name: &str, mut file_system: FileSystem<DiskReader>,
[INFO] [stdout]    |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_address`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:14:83
[INFO] [stdout]    |
[INFO] [stdout] 14 | ...                   buffer: &mut AlignedArrayBuffer<SIZE>, target_address: *mut u8) {
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/disk/file.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut disk = file_system.disk.clone();
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `disk`
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut disk = file_system.disk.clone();
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_disk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut temp = [0; 512];
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> kernel/arch/x86_64/bootloader/bios/stage-2/src/main.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut disk = file_system.disk.clone();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `x86_64-bootloader-bios-stage-2` (bin "x86_64-bootloader-bios-stage-2") due to 2 previous errors; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "75657357c34ba5b1103dfedd9d14e7dd3acc696a91838e595c03e28b79dbde14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75657357c34ba5b1103dfedd9d14e7dd3acc696a91838e595c03e28b79dbde14", kill_on_drop: false }`
[INFO] [stdout] 75657357c34ba5b1103dfedd9d14e7dd3acc696a91838e595c03e28b79dbde14
