[INFO] cloning repository https://github.com/faris0x/planckOS
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/faris0x/planckOS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaris0x%2FplanckOS"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaris0x%2FplanckOS'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 081f5c267830a8d79eabf9daf7a0f5bf5dae5bf2
[INFO] testing faris0x/planckOS against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaris0x%2FplanckOS" "/workspace/builds/worker-7-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/faris0x/planckOS
[INFO] finished tweaking git repo https://github.com/faris0x/planckOS
[INFO] tweaked toml for git repo https://github.com/faris0x/planckOS written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/faris0x/planckOS on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/faris0x/planckOS already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b
[INFO] running `"docker" "start" "4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b"`
[INFO] running `"docker" "inspect" "4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling planckos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::hal::fat32::FileInfo`
[INFO] [stdout]   --> src/applets/ls/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::hal::fat32::FileInfo;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hal::fat32::Dir`
[INFO] [stdout]   --> src/applets/ls/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::hal::fat32::Dir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]   --> src/hal/cpuid.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |             "xchg rbx, {tmp}",
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout] 31 |             "cpuid",
[INFO] [stdout] 32 |             "xchg rbx, {tmp}",
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout] 33 |             tmp = inout(reg) ebx => _,
[INFO] [stdout]    |                              --- for this argument
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `{0:e}` to have the register formatted as `eax` (for 4-byte values)
[INFO] [stdout]    = help: or use `{0:r}` to keep the default formatting of `rax` (for 8-byte values)
[INFO] [stdout]    = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/hal/serial.rs:211:47
[INFO] [stdout]     |
[INFO] [stdout] 211 | fn put_hex(buf: &mut [u8; 224], mut i: usize, mut v: u64) -> usize {
[INFO] [stdout]     |                                               ----^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/hal/cpuid.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut ebx: u32 = 0;
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/hal/ata.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |             let mut st = self.wait_bsy();
[INFO] [stdout]    |                 ----^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cluster_size`
[INFO] [stdout]    --> src/hal/fat32.rs:525:9
[INFO] [stdout]     |
[INFO] [stdout] 525 |     let cluster_size = match with_vol(|vol| Ok(vol.sectors_per_cluster as usize * SECTOR_SIZE)) {
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cluster_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sectors_per_cluster`
[INFO] [stdout]    --> src/hal/fat32.rs:695:9
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let sectors_per_cluster = match with_vol(|vol| Ok(vol.sectors_per_cluster)) {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sectors_per_cluster`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let mut vga = VgaDisplay::new();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_cursor`, `reset_cursor`, and `rows` are never used
[INFO] [stdout]   --> src/hal/mod.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub trait Display {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn set_cursor(&mut self, row: usize, col: usize);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 34 |     fn scroll(&mut self);
[INFO] [stdout] 35 |     fn reset_cursor(&mut self);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 36 |     fn cols(&self) -> usize;
[INFO] [stdout] 37 |     fn rows(&self) -> usize;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `display` is never read
[INFO] [stdout]    --> src/hal/idt.rs:234:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub struct InterruptController {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 234 |     display: VgaDisplay,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HEAP_ALIGN` is never used
[INFO] [stdout]    --> src/hal/memory.rs:159:11
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub const HEAP_ALIGN: usize = CHUNK_ALIGN;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_invariants` is never used
[INFO] [stdout]    --> src/hal/heap.rs:266:19
[INFO] [stdout]     |
[INFO] [stdout]  61 | impl HeapCore {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub unsafe fn check_invariants(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serial_init` is never used
[INFO] [stdout]   --> src/hal/serial.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn serial_init() {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serial_write_byte` is never used
[INFO] [stdout]   --> src/hal/serial.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn serial_write_byte(byte: u8) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serial_write_str` is never used
[INFO] [stdout]   --> src/hal/serial.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn serial_write_str(s: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `serial_debug_hex` is never used
[INFO] [stdout]    --> src/hal/serial.rs:224:8
[INFO] [stdout]     |
[INFO] [stdout] 224 | pub fn serial_debug_hex(val: u64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_ready` is never used
[INFO] [stdout]    --> src/hal/acpi.rs:253:8
[INFO] [stdout]     |
[INFO] [stdout] 253 | pub fn is_ready() -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CpuInfo` is never constructed
[INFO] [stdout]  --> src/hal/cpuid.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct CpuInfo {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cpuid` is never used
[INFO] [stdout]   --> src/hal/cpuid.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn cpuid(leaf: u32) -> (u32, u32, u32, u32) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `query` is never used
[INFO] [stdout]   --> src/hal/cpuid.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn query() -> CpuInfo {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_feature_edx` is never used
[INFO] [stdout]    --> src/hal/cpuid.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn has_feature_edx(info: &CpuInfo, bit: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_feature_ecx` is never used
[INFO] [stdout]    --> src/hal/cpuid.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn has_feature_ecx(info: &CpuInfo, bit: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `vendor_str` is never used
[INFO] [stdout]    --> src/hal/cpuid.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn vendor_str(info: &CpuInfo) -> &str {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `brand_str` is never used
[INFO] [stdout]    --> src/hal/cpuid.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn brand_str(info: &CpuInfo) -> &str {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MemRegion` is never constructed
[INFO] [stdout]  --> src/hal/e820.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct MemRegion {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REGIONS` is never used
[INFO] [stdout]   --> src/hal/e820.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const REGIONS: &[MemRegion] = &[
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `total_usable` is never used
[INFO] [stdout]   --> src/hal/e820.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn total_usable() -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMOS_IDX` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const CMOS_IDX: u16 = 0x70;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CMOS_DATA` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const CMOS_DATA: u16 = 0x71;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_SECONDS` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const RTC_SECONDS: u8 = 0x00;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_MINUTES` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const RTC_MINUTES: u8 = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_HOURS` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const RTC_HOURS:   u8 = 0x04;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_DAY` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 | const RTC_DAY:     u8 = 0x07;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_MONTH` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const RTC_MONTH:   u8 = 0x08;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_YEAR` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const RTC_YEAR:    u8 = 0x09;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_STAT_B` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const RTC_STAT_B:  u8 = 0x0B;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RTC_BCD` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const RTC_BCD: u8 = 0x04;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RtcDate` is never constructed
[INFO] [stdout]   --> src/hal/rtc.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct RtcDate {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cmos_read` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn cmos_read(reg: u8) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bcd_to_bin` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn bcd_to_bin(bcd: u8) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `century` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn century(year: u8) -> u16 {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_datetime` is never used
[INFO] [stdout]   --> src/hal/rtc.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn read_datetime() -> RtcDate {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PRIMARY` is never used
[INFO] [stdout]   --> src/hal/ata.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const PRIMARY: u16   = 0x1F0;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SECONDARY` is never used
[INFO] [stdout]   --> src/hal/ata.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const SECONDARY: u16 = 0x170;
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERROR` is never used
[INFO] [stdout]   --> src/hal/ata.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const ERROR: u16     = 1;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STAT_DF` is never used
[INFO] [stdout]   --> src/hal/ata.rs:28:7
[INFO] [stdout]    |
[INFO] [stdout] 28 | const STAT_DF: u8    = 0x20;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_present` is never used
[INFO] [stdout]    --> src/hal/ata.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout]  43 | impl AtaChannel {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn is_present(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound`, `WriteProtected`, `Timeout`, `Locked`, `TooManyOpenFiles`, and `InvalidParameter` are never constructed
[INFO] [stdout]   --> src/hal/fat32.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum FError {
[INFO] [stdout]    |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     NotFound,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     WriteProtected,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     MkfsAborted,
[INFO] [stdout] 22 |     Timeout,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 23 |     Locked,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     NotEnabled,
[INFO] [stdout] 25 |     TooManyOpenFiles,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     InvalidParameter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FA_OPEN_APPEND` is never used
[INFO] [stdout]   --> src/hal/fat32.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub const FA_OPEN_APPEND: u8 = 0x30;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ATTR_READ_ONLY` is never used
[INFO] [stdout]   --> src/hal/fat32.rs:41:7
[INFO] [stdout]    |
[INFO] [stdout] 41 | const ATTR_READ_ONLY: u8  = 0x01;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ATTR_HIDDEN` is never used
[INFO] [stdout]   --> src/hal/fat32.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 | const ATTR_HIDDEN: u8     = 0x02;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ATTR_SYSTEM` is never used
[INFO] [stdout]   --> src/hal/fat32.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const ATTR_SYSTEM: u8     = 0x04;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIR_SIZE` is never used
[INFO] [stdout]   --> src/hal/fat32.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const DIR_SIZE: usize     = 32;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_cluster` is never read
[INFO] [stdout]   --> src/hal/fat32.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct Dir {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 70 |     start_cluster: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start_cluster`, `write_time`, and `write_date` are never read
[INFO] [stdout]   --> src/hal/fat32.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct FileInfo {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub start_cluster: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 83 |     pub write_time: u16,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 84 |     pub write_date: u16,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reserved_sectors` and `sector_buf` are never read
[INFO] [stdout]    --> src/hal/fat32.rs:94:5
[INFO] [stdout]     |
[INFO] [stdout]  91 | struct FatVolume {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  94 |     reserved_sectors: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     sector_buf: [u8; SECTOR_SIZE],
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `f_unmount` is never used
[INFO] [stdout]    --> src/hal/fat32.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 174 | pub fn f_unmount() {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Char`, `Str`, and `Hex` are never constructed
[INFO] [stdout]    --> src/hal/fat32.rs:991:5
[INFO] [stdout]     |
[INFO] [stdout] 990 | pub enum FmtArg<'a> {
[INFO] [stdout]     |          ------ variants in this enum
[INFO] [stdout] 991 |     Char(u8),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 992 |     Str(&'a [u8]),
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 993 |     Int(i32),
[INFO] [stdout] 994 |     Hex(u32),
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bpp` is never read
[INFO] [stdout]   --> src/hal/framebuffer.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct FramebufferDisplay {
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     bpp: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:149:40
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let buf: &mut [u8; 224] = unsafe { &mut serial::FMT_BUF };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let buf: &mut [u8; 224] = unsafe { &raw mut serial::FMT_BUF };
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/main.rs:182:40
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let buf: &mut [u8; 224] = unsafe { &mut serial::FMT_BUF };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let buf: &mut [u8; 224] = unsafe { &raw mut serial::FMT_BUF };
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/hal/serial.rs:109:40
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let buf: &mut [u8; 224] = unsafe { &mut LOG_BUF };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let buf: &mut [u8; 224] = unsafe { &raw mut LOG_BUF };
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/hal/serial.rs:155:40
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let buf: &mut [u8; 224] = unsafe { &mut FMT_BUF };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 155 |     let buf: &mut [u8; 224] = unsafe { &raw mut FMT_BUF };
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/hal/acpi.rs:218:40
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let buf: &mut [u8; 224] = unsafe { &mut serial::FMT_BUF };
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let buf: &mut [u8; 224] = unsafe { &raw mut serial::FMT_BUF };
[INFO] [stdout]     |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `S5_SLP_TYPa` should have an upper case name
[INFO] [stdout]    --> src/hal/acpi.rs:248:12
[INFO] [stdout]     |
[INFO] [stdout] 248 | static mut S5_SLP_TYPa: u8 = 0;
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 248 - static mut S5_SLP_TYPa: u8 = 0;
[INFO] [stdout] 248 + static mut S5_SLP_TYPA: u8 = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `S5_SLP_TYPb` should have an upper case name
[INFO] [stdout]    --> src/hal/acpi.rs:249:12
[INFO] [stdout]     |
[INFO] [stdout] 249 | static mut S5_SLP_TYPb: u8 = 0;
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]     |
[INFO] [stdout] 249 - static mut S5_SLP_TYPb: u8 = 0;
[INFO] [stdout] 249 + static mut S5_SLP_TYPB: u8 = 0;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/hal/fat32.rs:185:15
[INFO] [stdout]     |
[INFO] [stdout] 185 |         match VOL.as_mut() {
[INFO] [stdout]     |               ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/hal/fat32.rs:924:23
[INFO] [stdout]     |
[INFO] [stdout] 924 |     let sc = unsafe { &mut SC };
[INFO] [stdout]     |                       ^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 924 |     let sc = unsafe { &raw mut SC };
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/hal/fat32.rs:1609:23
[INFO] [stdout]      |
[INFO] [stdout] 1609 |             let cwd = &CWD_PATH;
[INFO] [stdout]      |                       ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 1609 |             let cwd = &raw const CWD_PATH;
[INFO] [stdout]      |                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/hal/fat32.rs:1629:19
[INFO] [stdout]      |
[INFO] [stdout] 1629 |         let cwd = &CWD_PATH;
[INFO] [stdout]      |                   ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]      |
[INFO] [stdout] 1629 |         let cwd = &raw const CWD_PATH;
[INFO] [stdout]      |                    +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/applets/heap/mod.rs:40:39
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let buf: &mut [u8; 32] = unsafe { &mut NUM_BUF };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let buf: &mut [u8; 32] = unsafe { &raw mut NUM_BUF };
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/applets/heap/mod.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let buf: &mut [u8; 32] = unsafe { &mut NUM_BUF };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let buf: &mut [u8; 32] = unsafe { &raw mut NUM_BUF };
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-*.rlib" "-L" "/opt/rustwide/target/release/build/planckos/5e59f25836755d7a/out/rustcOEECFO/raw-dylibs" "-Wl,-Bdynamic" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/planckos/5e59f25836755d7a/out/planckos" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: duplicate symbol: _start
[INFO] [stdout]           >>> defined at /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/Scrt1.o:(_start)
[INFO] [stdout]           >>> defined at main.rs:54 (src/main.rs:54)
[INFO] [stdout]           >>>            /opt/rustwide/target/release/build/planckos/5e59f25836755d7a/out/planckos.planckos.186ba4c6c42ff2ab-cgu.0.rcgu.o:(.text._start+0x0)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `planckos` (bin "planckos") due to 1 previous error; 73 warnings emitted
[INFO] running `"docker" "inspect" "4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b"`
[INFO] running `"docker" "rm" "-f" "4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b"`
[INFO] [stdout] 4f19342226220a7510c77781d01dac0cbff5b8d37185f84bba3c78e7ae93c88b
