[INFO] cloning repository https://github.com/herEmanuel/griffin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/herEmanuel/griffin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FherEmanuel%2Fgriffin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FherEmanuel%2Fgriffin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9756fc6cc0c928d8458fa224cc16e8887ac3a187 [INFO] checking herEmanuel/griffin against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FherEmanuel%2Fgriffin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-6-tc2/source': No space left on device [INFO] checking herEmanuel/griffin against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FherEmanuel%2Fgriffin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-6-tc2/source': No space left on device [INFO] checking herEmanuel/griffin against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FherEmanuel%2Fgriffin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-6-tc2/source': No space left on device [INFO] checking herEmanuel/griffin against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FherEmanuel%2Fgriffin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-6-tc2/source': No space left on device [INFO] checking herEmanuel/griffin against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FherEmanuel%2Fgriffin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/herEmanuel/griffin on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/herEmanuel/griffin [INFO] finished tweaking git repo https://github.com/herEmanuel/griffin [INFO] tweaked toml for git repo https://github.com/herEmanuel/griffin written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/herEmanuel/griffin 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fbc2c324d6abb33b4e7de4d05edba6d8433e68f7b5af46130074ee875b41499 [INFO] running `Command { std: "docker" "start" "-a" "4fbc2c324d6abb33b4e7de4d05edba6d8433e68f7b5af46130074ee875b41499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fbc2c324d6abb33b4e7de4d05edba6d8433e68f7b5af46130074ee875b41499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbc2c324d6abb33b4e7de4d05edba6d8433e68f7b5af46130074ee875b41499", kill_on_drop: false }` [INFO] [stdout] 4fbc2c324d6abb33b4e7de4d05edba6d8433e68f7b5af46130074ee875b41499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 742c2649bf71aa33c86b303b733abc2c0ba2e28a270f080c884d526b7e442d0e [INFO] running `Command { std: "docker" "start" "-a" "742c2649bf71aa33c86b303b733abc2c0ba2e28a270f080c884d526b7e442d0e", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking stivale-boot v0.2.6 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking griffin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PageFlags` and `self` [INFO] [stdout] --> src/arch/x86_64/apic.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mm::vmm::{self, PageFlags}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serial` [INFO] [stdout] --> src/arch/x86_64/apic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::serial; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serial` [INFO] [stdout] --> src/arch/x86_64/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::serial; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `isr_err` [INFO] [stdout] --> src/arch/x86_64/interrupts.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | macro_rules! isr_err { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isr_err` [INFO] [stdout] --> src/arch/x86_64/interrupts.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | pub(crate) use isr_err; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serial` [INFO] [stdout] --> src/arch/x86_64/pci.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::serial; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/fs/partitions.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::mm::pmm::{self, PmmBox}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::math::div_ceil` [INFO] [stdout] --> src/fs/partitions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::math::div_ceil; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cpu` and `interrupts` [INFO] [stdout] --> src/mm/vmm.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::arch::{cpu, interrupts}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proc::scheduler` [INFO] [stdout] --> src/mm/vmm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proc::scheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::math::div_ceil` [INFO] [stdout] --> src/mm/vmm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::math::div_ceil; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serial` [INFO] [stdout] --> src/mm/vmm.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{serial, vfs}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/proc/process.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::align_of` [INFO] [stdout] --> src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | use core::{panic::PanicInfo, mem::align_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use core::arch::asm; [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] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PageFlags` and `self` [INFO] [stdout] --> src/arch/x86_64/apic.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::mm::vmm::{self, PageFlags}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serial` [INFO] [stdout] --> src/arch/x86_64/apic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::serial; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serial` [INFO] [stdout] --> src/arch/x86_64/cpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::serial; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `isr_err` [INFO] [stdout] --> src/arch/x86_64/interrupts.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | macro_rules! isr_err { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `isr_err` [INFO] [stdout] --> src/arch/x86_64/interrupts.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | pub(crate) use isr_err; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serial` [INFO] [stdout] --> src/arch/x86_64/pci.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::serial; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/fs/partitions.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::arch::mm::pmm::{self, PmmBox}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::math::div_ceil` [INFO] [stdout] --> src/fs/partitions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::math::div_ceil; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cpu` and `interrupts` [INFO] [stdout] --> src/mm/vmm.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::arch::{cpu, interrupts}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::proc::scheduler` [INFO] [stdout] --> src/mm/vmm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::proc::scheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::math::div_ceil` [INFO] [stdout] --> src/mm/vmm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::math::div_ceil; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serial` [INFO] [stdout] --> src/mm/vmm.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{serial, vfs}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/proc/process.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::align_of` [INFO] [stdout] --> src/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | use core::{panic::PanicInfo, mem::align_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / fn panic_handler(info: &PanicInfo) -> ! { [INFO] [stdout] 97 | | let location = info.location().unwrap(); [INFO] [stdout] 98 | | serial::print!( [INFO] [stdout] 99 | | "PANIC at file {}, line {}: {}\n", [INFO] [stdout] ... | [INFO] [stdout] 104 | | cpu::halt(); [INFO] [stdout] 105 | | } [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/5e7498e6740d105521420ac0ab146e2c7a21596d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bef9ff2a661ad41c.rlib [INFO] [stdout] = note: second definition in the local crate (`griffin`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `griffin` (bin "griffin" test) due to 1 previous error; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/interrupts.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | / core::arch::asm!( [INFO] [stdout] 46 | | "push r15", [INFO] [stdout] 47 | | "push r14", [INFO] [stdout] 48 | | "push r13", [INFO] [stdout] ... | [INFO] [stdout] 83 | | options(noreturn) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 186 | / isr!(int3, |_stack| { [INFO] [stdout] 187 | | serial::print!("Breakpoint yeeee\n"); [INFO] [stdout] 188 | | cpu::halt(); [INFO] [stdout] 189 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `isr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/interrupts.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | / core::arch::asm!( [INFO] [stdout] 46 | | "push r15", [INFO] [stdout] 47 | | "push r14", [INFO] [stdout] 48 | | "push r13", [INFO] [stdout] ... | [INFO] [stdout] 83 | | options(noreturn) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] ... [INFO] [stdout] 191 | / isr!(invalid_opcode, |_stack| { [INFO] [stdout] 192 | | serial::print!("INVALID OPCODE\n"); [INFO] [stdout] 193 | | cpu::halt(); [INFO] [stdout] 194 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `isr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> src/arch/x86_64/interrupts.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | / core::arch::asm!( [INFO] [stdout] 46 | | "push r15", [INFO] [stdout] 47 | | "push r14", [INFO] [stdout] 48 | | "push r13", [INFO] [stdout] ... | [INFO] [stdout] 83 | | options(noreturn) [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_____________^ consider using the `naked_asm!` macro instead [INFO] [stdout] | [INFO] [stdout] ::: src/drivers/ahci.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | / interrupts::isr!(ahci_isr, |_stack| { [INFO] [stdout] 371 | | serial::print!("=== Disk transfer completed ===\n"); [INFO] [stdout] 372 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `interrupts::isr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_sym` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm_sym)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `default_alloc_error_handler` has been stable since 1.68.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(default_alloc_error_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `PanicMessage` in the current scope [INFO] [stdout] --> src/main.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | info.message().unwrap() [INFO] [stdout] | ^^^^^^ method not found in `PanicMessage<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::RangeBounds` [INFO] [stdout] --> src/mm/vmm.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::RangeBounds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | let cmd_table_addr = (self.ctaddr_lower.get() as u64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | | (self.ctaddr_upper.get() as u64) << 32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | self.data_lower.set(address as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | self.data_upper.set((address >> 32) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | self.reserved.set(0); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | self.bc_i.set((sector_cnt as u32 * 512) - 1 | 1 << 31); // sector size might not always be 512 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | (self.clb_lower.get() as u64 | (self.clb_higher.get() as u64) << 32) + pmm::PHYS_BASE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | (self.clb_lower.get() as u64 | (self.clb_higher.get() as u64) << 32) + pmm::PHYS_BASE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | if ((self.sact.get() | self.ci.get()) & (1 << i)) == 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | if ((self.sact.get() | self.ci.get()) & (1 << i)) == 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | cmd_header.prdtl.set(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | self.ci.set(1 << slot); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:205:15 [INFO] [stdout] | [INFO] [stdout] 205 | while self.ci.get() & (1 << slot) != 0 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if self.interrupt_status.get() & (1 << 30) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | if self.interrupt_status.get() & (1 << 30) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:221:44 [INFO] [stdout] | [INFO] [stdout] 221 | serial::print!("bytes read: {}\n", cmd_header.prdbc.get()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | Ok(cmd_header.prdbc.get() as usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | regs.interrupt_enable.set(regs.interrupt_enable.get() | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:237:35 [INFO] [stdout] | [INFO] [stdout] 237 | regs.interrupt_enable.set(regs.interrupt_enable.get() | 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | cmd_header.ctaddr_lower.set(cmd_table as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | cmd_header.ctaddr_upper.set((cmd_table >> 32) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:282:8 [INFO] [stdout] | [INFO] [stdout] 282 | if hba_mem.capabilities.get() & (1 << 31) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | hba_mem.ghc.set(hba_mem.ghc.get() | 2); // enable interrupts [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | hba_mem.ghc.set(hba_mem.ghc.get() | 2); // enable interrupts [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | if hba_mem.port_implemented.get() & (1 << i) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/drivers/ahci.rs:297:16 [INFO] [stdout] | [INFO] [stdout] 297 | if port.signature.get() == SATA_ATA { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `block_index` is never read [INFO] [stdout] --> src/fs/ext2.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | block_index -= addresses_per_block * addresses_per_block; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/fs/ext2.rs:835:51 [INFO] [stdout] | [INFO] [stdout] 835 | fn open(&self, path: &str, flags: vfs::Flags, mode: vfs::Mode) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fs/ext2.rs:884:21 [INFO] [stdout] | [INFO] [stdout] 884 | fn mkdir(&self, path: &str, mode: vfs::Mode) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/fs/ext2.rs:884:33 [INFO] [stdout] | [INFO] [stdout] 884 | fn mkdir(&self, path: &str, mode: vfs::Mode) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/ext2.rs:928:46 [INFO] [stdout] | [INFO] [stdout] 928 | serial::print!("signature: {:#x}\n", superblock.signature); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/ext2.rs:936:9 [INFO] [stdout] | [INFO] [stdout] 936 | superblock.inode_cnt [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/partitions.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | gpt_header.revision, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/partitions.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | gpt_header.start_lba, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/partitions.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | gpt_header.partition_entries, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/partitions.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | gpt_header.first_usable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/partitions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | gpt_header.last_usable [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fs/partitions.rs:86:57 [INFO] [stdout] | [INFO] [stdout] 86 | serial::print!("Found a partition at LBA {}\n", entry.start_lba); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `serial::print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/mm/vmm.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn get_free_range(&self, length: usize) -> VirtAddr { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rip` [INFO] [stdout] --> src/proc/process.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn new(name: String, rip: u64, working_dir: Option) -> Rc> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/proc/process.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut bitmap = unsafe { [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut fd = vfs::open("/home/limine.cfg", vfs::Flags::empty(), vfs::Mode::empty()).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0787, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `griffin` (bin "griffin") due to 39 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "742c2649bf71aa33c86b303b733abc2c0ba2e28a270f080c884d526b7e442d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742c2649bf71aa33c86b303b733abc2c0ba2e28a270f080c884d526b7e442d0e", kill_on_drop: false }` [INFO] [stdout] 742c2649bf71aa33c86b303b733abc2c0ba2e28a270f080c884d526b7e442d0e