[INFO] cloning repository https://github.com/alesharik/distros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alesharik/distros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesharik%2Fdistros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesharik%2Fdistros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76254733e6c2be4c74e7e42bec3b888046616262 [INFO] testing alesharik/distros against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesharik%2Fdistros" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/alesharik/distros [INFO] finished tweaking git repo https://github.com/alesharik/distros [INFO] tweaked toml for git repo https://github.com/alesharik/distros written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alesharik/distros on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alesharik/distros 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Updating acpi v5.0.0 -> v5.2.0 (available: v6.1.1) [INFO] [stderr] Adding const_fn v0.4.12 [INFO] [stderr] Adding x86_64 v0.15.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa5fea43e5f667711a8ac033744a7ab21761aeec1118508435ce4665c3c5b974 [INFO] running `Command { std: "docker" "start" "-a" "fa5fea43e5f667711a8ac033744a7ab21761aeec1118508435ce4665c3c5b974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa5fea43e5f667711a8ac033744a7ab21761aeec1118508435ce4665c3c5b974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa5fea43e5f667711a8ac033744a7ab21761aeec1118508435ce4665c3c5b974", kill_on_drop: false }` [INFO] [stdout] fa5fea43e5f667711a8ac033744a7ab21761aeec1118508435ce4665c3c5b974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca9ba427efa0d632a827636814c03cae9f932c01affc182c88989308023fba2a [INFO] running `Command { std: "docker" "start" "-a" "ca9ba427efa0d632a827636814c03cae9f932c01affc182c88989308023fba2a", kill_on_drop: false }` [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling const_fn v0.4.12 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling bootloader_api v0.11.10 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling bit v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling acpi v5.2.0 [INFO] [stderr] Compiling raw-cpuid v11.0.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling pci_types v0.10.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling talc v4.4.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rand_pcg v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling utf8parse v0.2.0 (https://github.com/alesharik/vte.git?branch=move-ansi#1ea113be) [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling distros-framebuffer v0.1.0 (/opt/rustwide/workdir/crates/framebuffer) [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling distros-logging v0.1.0 (/opt/rustwide/workdir/crates/logging) [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling x86_64 v0.15.4 [INFO] [stderr] Compiling distros-framebuffer-vesa v0.1.0 (/opt/rustwide/workdir/crates/framebuffer-vesa) [INFO] [stderr] Compiling pc-keyboard v0.5.1 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling distros-cpuid v0.1.0 (/opt/rustwide/workdir/crates/cpuid) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/cpuid/src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / CPUID [INFO] [stdout] 22 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/cpuid/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / CPUID [INFO] [stdout] 32 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 (https://github.com/alesharik/vte.git?branch=move-ansi#1ea113be) [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling noto-sans-mono-bitmap v0.3.1 [INFO] [stderr] Compiling vte v0.10.1 (https://github.com/alesharik/vte.git?branch=move-ansi#1ea113be) [INFO] [stderr] Compiling distros-memory v0.1.0 (/opt/rustwide/workdir/crates/memory) [INFO] [stderr] Compiling distros-interrupt v0.1.0 (/opt/rustwide/workdir/crates/interrupt) [INFO] [stderr] Compiling x2apic v0.5.0 [INFO] [stderr] Compiling distros-timer-tsc v0.1.0 (/opt/rustwide/workdir/crates/timer-tsc) [INFO] [stderr] Compiling distros-memory-stack v0.1.0 (/opt/rustwide/workdir/crates/memory-stack) [INFO] [stderr] Compiling distros-fpu v0.1.0 (/opt/rustwide/workdir/crates/fpu) [INFO] [stderr] Compiling distros-timer-pit v0.1.0 (/opt/rustwide/workdir/crates/timer-pit) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> crates/timer-tsc/src/lib.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 23 | SAMPLES[COLLECTED_SAMPLES] = unsafe { _rdtsc() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/timer-tsc/src/lib.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | for (i, x) in SAMPLES.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/timer-tsc/src/lib.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let nanos = tsc * CALIB_FREQ.as_nanos() as u64 / CALIB_MEAN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/timer-tsc/src/lib.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe { duration.as_nanos() as u64 / CALIB_FREQ.as_nanos() as u64 * CALIB_MEAN } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrivilegeLevel` [INFO] [stdout] --> crates/interrupt/src/gdt.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use x86_64::{PrivilegeLevel, VirtAddr}; [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: `log::info` [INFO] [stdout] --> crates/interrupt/src/nmi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/interrupt/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/memory/src/lib.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | info!("Physical memory offset = 0x{:08x}", PHYS_OFFSET); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/memory/src/arena/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / ARENA_ALLOC [INFO] [stdout] 72 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/memory/src/page_table.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / PAGE_TABLE [INFO] [stdout] 37 | | .as_ref() [INFO] [stdout] | |_____________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distros-acpi v0.1.0 (/opt/rustwide/workdir/crates/acpi) [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> crates/interrupt/src/nmi.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use bitflags::{bitflags, Flags}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> crates/acpi/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/interrupt/src/gdt.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | let stack_start = VirtAddr::from_ptr(unsafe { &STACK }); [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | let stack_start = VirtAddr::from_ptr(unsafe { &raw const STACK }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/acpi/src/lib.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | unsafe { APIC.as_ref().expect("ACPI not initialized") } [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/acpi/src/lib.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { HPET.as_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/acpi/src/lib.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { PCI_CONFIG_REGIONS.as_ref() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/acpi/src/lib.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let tables = TABLES.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/acpi/src/lib.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { TABLES.as_ref().expect("ACPI not initialized").dsdt() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/acpi/src/lib.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe { TABLES.as_ref().expect("ACPI not initialized").ssdts() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distros-pci-access v0.1.0 (/opt/rustwide/workdir/crates/pci-access) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> crates/pci-access/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [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: `alloc::collections::BTreeMap` [INFO] [stdout] --> crates/pci-access/src/pcie.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::sync::Arc` [INFO] [stdout] --> crates/pci-access/src/pcie.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/pci-access/src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(pcie) = PCIE_ACCESS.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/pci-access/src/lib.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(pcie) = PCIE_ACCESS.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/pci-access/src/lib.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { PCIE_ACCESS.is_some() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distros-interrupt-pic v0.1.0 (/opt/rustwide/workdir/crates/interrupt-pic) [INFO] [stderr] Compiling distros-pci-enumerate v0.1.0 (/opt/rustwide/workdir/crates/pci-enumerate) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> crates/interrupt-pic/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [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: `VirtAddr` [INFO] [stdout] --> crates/interrupt-pic/src/ioapic.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use x86_64::{PhysAddr, VirtAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> crates/pci-enumerate/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | IA32_TSC_DEADLINE_MSR.write(deadline); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x86_64-0.15.4/src/registers/model_specific.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub unsafe fn write(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const IA32_TSC_DEADLINE_MSR: Msr = Msr::new(0x6E0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/ioapic.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | let apics = unsafe { HOLDERS.as_ref().expect("IOAPIC not initialized") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/ioapic.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | let apics = unsafe { HOLDERS.as_ref().expect("IOAPIC not initialized") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/ioapic.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let apics = unsafe { HOLDERS.as_ref().expect("IOAPIC not initialized") }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / LAPIC [INFO] [stdout] 37 | | .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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let lapic = LAPIC.as_mut().expect("Local APIC is not initialized"); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let lapic = LAPIC.as_mut().expect("Local APIC is not initialized"); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let lapic = LAPIC.as_mut().expect("Local APIC is not initialized"); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | / LAPIC [INFO] [stdout] 78 | | .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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/interrupt-pic/src/lapic.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | / LAPIC [INFO] [stdout] 88 | | .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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distros-timer-rtc v0.1.0 (/opt/rustwide/workdir/crates/timer-rtc) [INFO] [stderr] Compiling distros-scheduler v0.1.0 (/opt/rustwide/workdir/crates/scheduler) [INFO] [stdout] warning: unused import: `asm` [INFO] [stdout] --> crates/scheduler/src/scheduler/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use core::arch::{asm, naked_asm}; [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: `alloc::rc::Rc` [INFO] [stdout] --> crates/scheduler/src/scheduler/logic.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::ToString` [INFO] [stdout] --> crates/scheduler/src/scheduler/logic.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KERNEL_STACK_SIZE`, `find_buffer`, and `new_buffer` [INFO] [stdout] --> crates/scheduler/src/scheduler/logic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | find_buffer, new_buffer, StackBuffer, StackBufferHandle, KERNEL_STACK_SIZE, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::VirtAddr` [INFO] [stdout] --> crates/scheduler/src/scheduler/logic.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use x86_64::VirtAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> crates/scheduler/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::warn` [INFO] [stdout] --> crates/timer-rtc/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::warn; [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: `log::debug` [INFO] [stdout] --> crates/timer-rtc/src/cmos.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64` and `Ordering` [INFO] [stdout] --> crates/timer-rtc/src/rtc.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::{AtomicU64, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `int_handler` [INFO] [stdout] --> crates/timer-rtc/src/rtc.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use distros_interrupt::{int_handler, without_nmi}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::structures::idt::InterruptStackFrame` [INFO] [stdout] --> crates/timer-rtc/src/rtc.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use x86_64::structures::idt::InterruptStackFrame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/scheduler/src/scheduler/logic.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(mut task) = self.current_task.take() { [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] --> crates/scheduler/src/scheduler/logic.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | let (mut buffer, handle) = [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> crates/scheduler/src/scheduler/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> crates/scheduler/src/registry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | id: TaskId, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/scheduler/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / REGISTRY [INFO] [stdout] 49 | | .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] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/scheduler/src/lib.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some(reg) = REGISTRY.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/scheduler/src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | / REGISTRY [INFO] [stdout] 74 | | .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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/scheduler/src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / REGISTRY [INFO] [stdout] 84 | | .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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/scheduler/src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | / REGISTRY [INFO] [stdout] 102 | | .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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> crates/scheduler/src/scheduler/mod.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if let Some(sched) = SCHED.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] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/scheduler/src/scheduler/mod.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let sched = SCHED.as_ref().expect("Scheduler not initialized"); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/scheduler/src/scheduler/mod.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let sched = SCHED.as_ref().expect("Scheduler not initialized"); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/scheduler/src/scheduler/mod.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | let sched = SCHED.as_ref().expect("Scheduler not initialized"); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/timer-rtc/src/lib.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let ms = TIME.fetch_add(unsafe { DELAY.as_millis() } as u64, Ordering::AcqRel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distros-timer-hpet v0.1.0 (/opt/rustwide/workdir/crates/timer-hpet) [INFO] [stderr] Compiling aml v0.16.4 [INFO] [stdout] warning: unused import: `crate::timer::Timer` [INFO] [stdout] --> crates/timer-hpet/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::timer::Timer; [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: `distros_memory::translate_kernel` [INFO] [stdout] --> crates/timer-hpet/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use distros_memory::translate_kernel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> crates/timer-hpet/src/hpet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/timer-hpet/src/hpet.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut ptr: *mut u64 = addr.as_mut_ptr(); [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] --> crates/timer-hpet/src/hpet.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut ptr: *mut u64 = addr.as_mut_ptr(); [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] --> crates/timer-hpet/src/hpet.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let mut ptr: *mut u64 = addr.as_mut_ptr(); [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] --> crates/timer-hpet/src/hpet.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let mut ptr: *mut u64 = addr.as_mut_ptr(); [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] --> crates/timer-hpet/src/hpet.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut ptr: *mut u64 = addr.as_mut_ptr(); [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] --> crates/timer-hpet/src/hpet.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut ptr: *mut u64 = addr.as_mut_ptr(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `vendor`, and `revision` are never used [INFO] [stdout] --> crates/timer-hpet/src/capabilities.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 6 | impl CapabilitiesRegister { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 7 | pub const fn new(reg: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn vendor(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn revision(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GIS_REG_OFFSET` is never used [INFO] [stdout] --> crates/timer-hpet/src/hpet.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const GIS_REG_OFFSET: u64 = 0x020u64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crates/timer-hpet/src/hpet.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Hpet { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn vendor(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn revision(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn enable_legacy_replacement(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn legacy_replacement_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn level_int_active(&self, timer: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn clear_level_int(&self, timer: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn get_timer_comparator(&mut self, timer: Timer) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_fsb_interrupts`, `set_32_mode`, and `set_level_trigger` are never used [INFO] [stdout] --> crates/timer-hpet/src/timer.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Timer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_fsb_interrupts(mut self, val: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set_32_mode(mut self, val: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_level_trigger(mut self, val: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distros-timer v0.1.0 (/opt/rustwide/workdir/crates/timer) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/timer-hpet/src/lib.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let mut hpet = HPET.as_ref().expect("HPET not initialized").write(); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> crates/timer-hpet/src/lib.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let hpet = HPET.as_ref().expect("HPET not initialized").read(); [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling distros-random v0.1.0 (/opt/rustwide/workdir/crates/random) [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling goblin v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling libkernel v0.1.0 (/opt/rustwide/workdir/libraries/libkernel) [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> libraries/libkernel/src/flow/mod.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | (&*struct_ptr).clone() [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `::Msg` does not implement `Clone`, so calling `clone` on `&::Msg` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thingbuf v0.1.4 [INFO] [stderr] Compiling distros-acpi-aml v0.1.0 (/opt/rustwide/workdir/crates/acpi-aml) [INFO] [stdout] warning: unused imports: `AcpiError` and `AmlTable` [INFO] [stdout] --> crates/acpi-aml/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use acpi::{AcpiError, AmlTable}; [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: `alloc::vec::Vec` [INFO] [stdout] --> crates/acpi-aml/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr::slice_from_raw_parts` [INFO] [stdout] --> crates/acpi-aml/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::ptr::slice_from_raw_parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> crates/acpi-aml/src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling smbios-lib v0.9.2 (https://github.com/alesharik/smbios-lib.git?branch=struct_clone#da8bd235) [INFO] [stderr] Compiling distros 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 `#[macro_use]` import [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [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: `core::fmt::Write` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KERNEL_STACK_BASE` [INFO] [stdout] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | use distros_memory_stack::{KERNEL_STACK_BASE, KERNEL_STACK_BASE_GUARD, KERNEL_STACK_SIZE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pci_types::device_type::DeviceType` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use pci_types::device_type::DeviceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::instructions::hlt` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use x86_64::instructions::hlt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::VirtAddr` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use x86_64::VirtAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interrupts` [INFO] [stdout] --> src/interrupts/syscall.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interrupts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SYSCALL_IN_MEM` and `SYSCALL_SYNC_MEM` [INFO] [stdout] --> src/interrupts/syscall.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | self, take_command, SyscallCommand, SyscallMessage, SYSCALL_IN_MEM, SYSCALL_SYNC_MEM, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::structures::paging::PageTableFlags` [INFO] [stdout] --> src/interrupts/syscall.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use x86_64::structures::paging::PageTableFlags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x86_64::VirtAddr` [INFO] [stdout] --> src/interrupts/syscall.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use x86_64::VirtAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InterruptStackFrameValue` and `InterruptStackFrame` [INFO] [stdout] --> src/process/task/ctx.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use x86_64::structures::idt::{InterruptStackFrame, InterruptStackFrameValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interrupts::INT_LAPIC_TIMER` [INFO] [stdout] --> src/process/task/int.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::interrupts::INT_LAPIC_TIMER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::arch::asm` [INFO] [stdout] --> src/process/task/int.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::arch::asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distros_interrupt::OverrideMode` [INFO] [stdout] --> src/process/task/int.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use distros_interrupt::OverrideMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::interrupts` [INFO] [stdout] --> src/process/task/runtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::interrupts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TaskContext` [INFO] [stdout] --> src/process/task/runtime.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::process::task::ctx::{Regs, TaskContext}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `int::run` [INFO] [stdout] --> src/process/task/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use int::run; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfigRegionAccess`, `PciAddress`, and `PciHeader` [INFO] [stdout] --> src/driver/pci/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use pci_types::{ConfigRegionAccess, PciAddress, PciHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VarHandler` [INFO] [stdout] --> src/driver/pci/device/command.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::flow::{FlowManagerError, VarHandler}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libkernel::flow::BoolMessage` [INFO] [stdout] --> src/driver/pci/device/command.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use libkernel::flow::BoolMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfigRegionAccess`, `PciAddress`, and `PciHeader` [INFO] [stdout] --> src/driver/pci/device/command.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use pci_types::{ConfigRegionAccess, PciAddress, PciHeader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `command_var` [INFO] [stdout] --> src/driver/pci/device/command.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | macro_rules! command_var { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `U16Message` and `U8Message` [INFO] [stdout] --> src/driver/pci/device/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use libkernel::flow::{U16Message, U8Message}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EndpointHeader` and `MAX_BARS` [INFO] [stdout] --> src/driver/pci/device/mod.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | Bar, ConfigRegionAccess, EndpointHeader, PciAddress, PciHeader, StatusRegister, MAX_BARS, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PciDeviceBarMessage`, `PciDeviceStatusMessage`, and `PciDeviceTypeMessage` [INFO] [stdout] --> src/driver/pci/mod.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | pub use device::{PciDeviceBarMessage, PciDeviceStatusMessage, PciDeviceTypeMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem::discriminant` [INFO] [stdout] --> src/driver/smbios.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::mem::discriminant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/driver/smbios.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StdinKeyboardConsumer` and `Stdout` [INFO] [stdout] --> src/driver/tty/mod.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::driver::tty::flow::{Stdin, StdinKeyboardConsumer, Stdout}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FlowManager` [INFO] [stdout] --> src/driver/tty/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::flow::{FlowManager, FlowManagerError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/driver/tty/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syslog::SyslogMessage` [INFO] [stdout] --> src/driver/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use syslog::SyslogMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/gui/text_display.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::{fmt, ptr}; [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 `inline_const` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(inline_const)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm_const` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(asm_const)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_group_by` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(slice_group_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/interrupts/mod.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn map_to_int(&self, dest: u32) -> InterruptId { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/task/int.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe extern "C" fn switch_context_int(mut stack_frame: InterruptStackFrame, regs: &mut Regs) { [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: unused variable: `stack_frame` [INFO] [stdout] --> src/process/task/runtime.rs:128:44 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn save_current_task(&mut self, stack_frame: &InterruptStackFrame, regs: &Regs) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stack_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regs` [INFO] [stdout] --> src/process/task/runtime.rs:128:79 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe fn save_current_task(&mut self, stack_frame: &InterruptStackFrame, regs: &Regs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_regs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/process/task/runtime.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | if let Some(task) = self.current_task_info.take() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process/task/runtime.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | pub unsafe fn int(&mut self, mut stack_frame: InterruptStackFrame, regs: &mut Regs) { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/process/task/runtime.rs:185:38 [INFO] [stdout] | [INFO] [stdout] 185 | ProcessTaskState::Paused(context) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/basic_term.rs:99:33 [INFO] [stdout] | [INFO] [stdout] 99 | ... for function in FlowManager::list(&format!("/dev/pci/{}/{}", &bus.name, &device.name)) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/driver/pci/device/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let access = access.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/driver/pci/device/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let header = PciHeader::new(address); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access` [INFO] [stdout] --> src/driver/pci/device/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | access: &T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_access` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/driver/smbios.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let iter: IntoIter> = table.into_iter(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `distros` (bin "distros") due to 1 previous error; 50 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ca9ba427efa0d632a827636814c03cae9f932c01affc182c88989308023fba2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9ba427efa0d632a827636814c03cae9f932c01affc182c88989308023fba2a", kill_on_drop: false }` [INFO] [stdout] ca9ba427efa0d632a827636814c03cae9f932c01affc182c88989308023fba2a