[INFO] cloning repository https://github.com/Kiriuxa2010/S.T.B.-OS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kiriuxa2010/S.T.B.-OS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiriuxa2010%2FS.T.B.-OS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiriuxa2010%2FS.T.B.-OS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] def17dec60887f1ca30c87e68110c94768ef7224 [INFO] checking Kiriuxa2010/S.T.B.-OS/def17dec60887f1ca30c87e68110c94768ef7224 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiriuxa2010%2FS.T.B.-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] validating manifest of git repo https://github.com/Kiriuxa2010/S.T.B.-OS on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kiriuxa2010/S.T.B.-OS [INFO] finished tweaking git repo https://github.com/Kiriuxa2010/S.T.B.-OS [INFO] tweaked toml for git repo https://github.com/Kiriuxa2010/S.T.B.-OS written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kiriuxa2010/S.T.B.-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x86_64 v0.14.10 [INFO] [stderr] Downloaded uart_16550 v0.2.18 [INFO] [stderr] Downloaded linked_list_allocator v0.9.1 [INFO] [stderr] Downloaded pc-keyboard v0.5.1 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded pic8259 v0.10.2 [INFO] [stderr] Downloaded volatile v0.4.5 [INFO] [stderr] Downloaded bootloader v0.9.23 [INFO] [stderr] Downloaded conquer-util v0.2.0 [INFO] [stderr] Downloaded conquer-once v0.2.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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d211f22195893a08c13a4d29eb5165d401b080818717dca242269b484994956f [INFO] running `Command { std: "docker" "start" "-a" "d211f22195893a08c13a4d29eb5165d401b080818717dca242269b484994956f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d211f22195893a08c13a4d29eb5165d401b080818717dca242269b484994956f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d211f22195893a08c13a4d29eb5165d401b080818717dca242269b484994956f", kill_on_drop: false }` [INFO] [stdout] d211f22195893a08c13a4d29eb5165d401b080818717dca242269b484994956f [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f74a16d74f1319f38d8a5b938180181742ae24d7cc7cb2ffbc55e2a8e448966 [INFO] running `Command { std: "docker" "start" "-a" "9f74a16d74f1319f38d8a5b938180181742ae24d7cc7cb2ffbc55e2a8e448966", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking volatile v0.4.5 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking conquer-util v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pc-keyboard v0.5.1 [INFO] [stderr] Checking volatile v0.2.7 [INFO] [stderr] Checking conquer-once v0.2.1 [INFO] [stderr] Checking spinning_top v0.2.4 [INFO] [stderr] Checking linked_list_allocator v0.9.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking x86_64 v0.14.10 [INFO] [stderr] Checking uart_16550 v0.2.18 [INFO] [stderr] Checking pic8259 v0.10.2 [INFO] [stderr] Checking admiralix_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `print_all_ascii` [INFO] [stdout] --> src/task/keyboard.rs:4:125 [INFO] [stdout] | [INFO] [stdout] 4 | ...u_name}, vga_buffer::{print_shutdown, ascii, print_error1, print_all_ascii, print_smiley_face}, stbfs::{ls, cd, mkdir, touch, cat}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/task/keyboard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spin::Mutex` [INFO] [stdout] --> src/task/keyboard.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use spin::Mutex; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/task/keyboard.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str::FromStr` [INFO] [stdout] --> src/task/keyboard.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::format` [INFO] [stdout] --> src/task/keyboard.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use alloc::format; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vga_buffer::WRITER` [INFO] [stdout] --> src/task/keyboard.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::vga_buffer::WRITER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vga_buffer::BUFFER_HEIGHT` [INFO] [stdout] --> src/task/keyboard.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::vga_buffer::BUFFER_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BootInfo` and `entry_point` [INFO] [stdout] --> src/task/keyboard.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use bootloader::{BootInfo, entry_point}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `boxed::Box`, `rc::Rc`, and `vec` [INFO] [stdout] --> src/task/keyboard.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use alloc::{boxed::Box, vec, vec::Vec, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::print` [INFO] [stdout] --> src/interrupts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::print; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vga_buffer` [INFO] [stdout] --> src/interrupts.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::vga_buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecodedKey` [INFO] [stdout] --> src/interrupts.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | use pc_keyboard::{layouts, DecodedKey, HandleControl, Keyboard, ScancodeSet1}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/vga_buffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `print_shutdown` and `print` [INFO] [stdout] --> src/stbfs.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{print, println, vga_buffer::{print_shutdown}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Poll`, and `pin::Pin` [INFO] [stdout] --> src/stbfs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | task::{Context, Poll}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stream` and `task::AtomicWaker` [INFO] [stdout] --> src/stbfs.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | stream::{Stream, StreamExt}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | task::AtomicWaker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::hlt` [INFO] [stdout] --> src/stbfs.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use x86_64::instructions::hlt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `boxed::Box` and `rc::Rc` [INFO] [stdout] --> src/stbfs.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use alloc::{boxed::Box, vec, vec::Vec, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print_all_ascii` [INFO] [stdout] --> src/task/keyboard.rs:4:125 [INFO] [stdout] | [INFO] [stdout] 4 | ...u_name}, vga_buffer::{print_shutdown, ascii, print_error1, print_all_ascii, print_smiley_face}, stbfs::{ls, cd, mkdir, touch, cat}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/task/keyboard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spin::Mutex` [INFO] [stdout] --> src/task/keyboard.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use spin::Mutex; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/task/keyboard.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::str::FromStr` [INFO] [stdout] --> src/task/keyboard.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::format` [INFO] [stdout] --> src/task/keyboard.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use alloc::format; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vga_buffer::WRITER` [INFO] [stdout] --> src/task/keyboard.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::vga_buffer::WRITER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vga_buffer::BUFFER_HEIGHT` [INFO] [stdout] --> src/task/keyboard.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::vga_buffer::BUFFER_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BootInfo` and `entry_point` [INFO] [stdout] --> src/task/keyboard.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use bootloader::{BootInfo, entry_point}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `boxed::Box`, `rc::Rc`, and `vec` [INFO] [stdout] --> src/task/keyboard.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use alloc::{boxed::Box, vec, vec::Vec, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::print` [INFO] [stdout] --> src/interrupts.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::print; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vga_buffer` [INFO] [stdout] --> src/interrupts.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::vga_buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DecodedKey` [INFO] [stdout] --> src/interrupts.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | use pc_keyboard::{layouts, DecodedKey, HandleControl, Keyboard, ScancodeSet1}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/vga_buffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `print_shutdown` and `print` [INFO] [stdout] --> src/stbfs.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{print, println, vga_buffer::{print_shutdown}}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Poll`, and `pin::Pin` [INFO] [stdout] --> src/stbfs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | task::{Context, Poll}, [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stream` and `task::AtomicWaker` [INFO] [stdout] --> src/stbfs.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | stream::{Stream, StreamExt}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | task::AtomicWaker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::hlt` [INFO] [stdout] --> src/stbfs.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use x86_64::instructions::hlt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `boxed::Box` and `rc::Rc` [INFO] [stdout] --> src/stbfs.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use alloc::{boxed::Box, vec, vec::Vec, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entry_point` [INFO] [stdout] --> src/lib.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | use bootloader::{entry_point, BootInfo}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/interrupts.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(asm)] // features and imports [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/interrupts.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/getcpu.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/getcpu.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(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: crate-level attribute should be in the root module [INFO] [stdout] --> src/task/getcpu.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/task/getcpu.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/interrupts.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(asm)] // features and imports [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/interrupts.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(llvm_asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/getcpu.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/getcpu.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/task/getcpu.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![no_std] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/task/getcpu.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_dir` [INFO] [stdout] --> src/task/keyboard.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let new_dir = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/task/keyboard.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | ... for n in 1..26 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/task/keyboard.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | ... for n in 1..26 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_dir` [INFO] [stdout] --> src/task/keyboard.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let new_dir = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/task/keyboard.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | ... for n in 1..26 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/task/keyboard.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | ... for n in 1..26 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | let stack_start = VirtAddr::from_ptr(unsafe {&STACK}); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 17 | let stack_start = VirtAddr::from_ptr(unsafe {addr_of!(STACK)}); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gdt.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 17 | let stack_start = VirtAddr::from_ptr(unsafe {&STACK}); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 17 | let stack_start = VirtAddr::from_ptr(unsafe {addr_of!(STACK)}); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/stbfs.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | stream::{Stream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_end_ptr` [INFO] [stdout] --> src/interrupts.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let name_end_ptr = unsafe { name_start_ptr.add(20) }; // CPU name is 20 bytes long [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_end_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyboard` [INFO] [stdout] --> src/interrupts.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut keyboard = KEYBOARD.lock(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interrupts.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut keyboard = KEYBOARD.lock(); [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 import: `StreamExt` [INFO] [stdout] --> src/stbfs.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | stream::{Stream, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/vga_buffer.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let row = BUFFER_HEIGHT - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/vga_buffer.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let col = self.column_position; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_end_ptr` [INFO] [stdout] --> src/interrupts.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let name_end_ptr = unsafe { name_start_ptr.add(20) }; // CPU name is 20 bytes long [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_end_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keyboard` [INFO] [stdout] --> src/interrupts.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut keyboard = KEYBOARD.lock(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keyboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interrupts.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut keyboard = KEYBOARD.lock(); [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: `row` [INFO] [stdout] --> src/vga_buffer.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let row = BUFFER_HEIGHT - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/vga_buffer.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let col = self.column_position; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cpu_name` is never used [INFO] [stdout] --> src/interrupts.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_cpu_name() -> Option<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `OK` should have a snake case name [INFO] [stdout] --> src/vga_buffer.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn OK() { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `ok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boot_info` [INFO] [stdout] --> src/lib.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | fn kernel_main(boot_info: &'static BootInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boot_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `admiralix_os` (lib test) due to 2 previous errors; 43 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/vga_buffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WRITER` and `Writer` [INFO] [stdout] --> src/main.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::vga_buffer::{Writer, WRITER}; // import Writer an WRITER from vga_buffer [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `boxed::Box`, `rc::Rc`, `vec::Vec`, and `vec` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{boxed::Box, vec, vec::Vec, rc::Rc}; // allocation stuff [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Task`, `executor::Executor`, and `keyboard` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use admiralix_os::task::{executor::Executor, keyboard, Task}; // these are the lib.rs imports [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::port::Port` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use x86_64::instructions::port::Port; // what do you think this is? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::hlt` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use x86_64::instructions::hlt; // oh what could this possibly be? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::paging::Page` [INFO] [stdout] --> src/main.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | use x86_64::{structures::paging::Page, VirtAddr}; [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 `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(asm)] // allows for inline assembly [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_runner` in the crate root [INFO] [stdout] --> src/main.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | #![test_runner(crate::test_runner)] // crate [INFO] [stdout] | ^^^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10+ use admiralix_os::test_runner; [INFO] [stdout] | [INFO] [stdout] help: if you import `test_runner`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - #![test_runner(crate::test_runner)] // crate [INFO] [stdout] 8 + #![test_runner(test_runner)] // crate [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic::PanicInfo` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::panic::PanicInfo; // imports [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/vga_buffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/vga_buffer.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WRITER` and `Writer` [INFO] [stdout] --> src/main.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::vga_buffer::{Writer, WRITER}; // import Writer an WRITER from vga_buffer [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `boxed::Box`, `rc::Rc`, `vec::Vec`, and `vec` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use alloc::{boxed::Box, vec, vec::Vec, rc::Rc}; // allocation stuff [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Task`, `executor::Executor`, and `keyboard` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use admiralix_os::task::{executor::Executor, keyboard, Task}; // these are the lib.rs imports [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::port::Port` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use x86_64::instructions::port::Port; // what do you think this is? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::hlt` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use x86_64::instructions::hlt; // oh what could this possibly be? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `structures::paging::Page` [INFO] [stdout] --> src/main.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | use x86_64::{structures::paging::Page, VirtAddr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [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 `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(asm)] // allows for inline assembly [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | executor.run(); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 46 | [INFO] [stdout] 47 | admiralix_os::hlt_loop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | admiralix_os::hlt_loop(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 70 | loop {} [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/vga_buffer.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let row = BUFFER_HEIGHT - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/vga_buffer.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let col = self.column_position; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | executor.run(); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 46 | [INFO] [stdout] 47 | admiralix_os::hlt_loop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/vga_buffer.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let row = BUFFER_HEIGHT - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/vga_buffer.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let col = self.column_position; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `admiralix_os` (bin "admiralix_os") due to 2 previous errors; 17 warnings emitted [INFO] [stdout] error: aborting due to 3 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `admiralix_os` (bin "admiralix_os" test) due to 4 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f74a16d74f1319f38d8a5b938180181742ae24d7cc7cb2ffbc55e2a8e448966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f74a16d74f1319f38d8a5b938180181742ae24d7cc7cb2ffbc55e2a8e448966", kill_on_drop: false }` [INFO] [stdout] 9f74a16d74f1319f38d8a5b938180181742ae24d7cc7cb2ffbc55e2a8e448966