[INFO] cloning repository https://github.com/moefrumkin/raspi-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moefrumkin/raspi-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoefrumkin%2Fraspi-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoefrumkin%2Fraspi-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be6443c9dfc803897c374825409d64df8c137166 [INFO] checking moefrumkin/raspi-os against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoefrumkin%2Fraspi-os" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moefrumkin/raspi-os on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/moefrumkin/raspi-os [INFO] finished tweaking git repo https://github.com/moefrumkin/raspi-os [INFO] tweaked toml for git repo https://github.com/moefrumkin/raspi-os written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/moefrumkin/raspi-os already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] warning: unused manifest key: target.aarch64-unknown-none.rustflags [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47d9a45d06610e75044a1d0bc5f049996b3408a3706dee82a393957ec41c6b32 [INFO] running `Command { std: "docker" "start" "-a" "47d9a45d06610e75044a1d0bc5f049996b3408a3706dee82a393957ec41c6b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47d9a45d06610e75044a1d0bc5f049996b3408a3706dee82a393957ec41c6b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47d9a45d06610e75044a1d0bc5f049996b3408a3706dee82a393957ec41c6b32", kill_on_drop: false }` [INFO] [stdout] 47d9a45d06610e75044a1d0bc5f049996b3408a3706dee82a393957ec41c6b32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35676687b25af8e5643ab3be6a218aac90bc7eefcfc729c816696ffaae960ad6 [INFO] running `Command { std: "docker" "start" "-a" "35676687b25af8e5643ab3be6a218aac90bc7eefcfc729c816696ffaae960ad6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] warning: unused manifest key: target.aarch64-unknown-none.rustflags [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Checking graph_os v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(lang_items)] [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: unnecessary trailing semicolon [INFO] [stdout] --> src/allocator/ll_alloc.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::math` [INFO] [stdout] --> src/canvas/canvas2d.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::math; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/sync.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | sync::atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/sync.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(lang_items)] [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 import: `write` [INFO] [stdout] --> src/aarch64/cpu.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{read, write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/allocator/ll_alloc.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::math` [INFO] [stdout] --> src/canvas/canvas2d.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::math; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ALLOCATOR` [INFO] [stdout] --> src/panic.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::ALLOCATOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/sync.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | sync::atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/sync.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `global_asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(global_asm)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/aarch64/registers.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | asm!(concat!("msr ", $sysreg, ", {}"), in(reg) $value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/aarch64/mmu.rs:15:28 [INFO] [stdout] | [INFO] [stdout] 15 | write!("mair_el1", mair); [INFO] [stdout] | ------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | for this argument [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] = note: `#[warn(asm_sub_register)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/allocator/ll_alloc.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut val = FreeBlock::from_components(size, None); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/allocator/ll_alloc.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | fn find(&mut self, size: usize, align: usize) -> Option<(&'static mut FreeBlock, usize)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> src/allocator/ll_alloc.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn find(&mut self, size: usize, align: usize) -> Option<(&'static mut FreeBlock, usize)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/aarch64/math.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sin(f: f64) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/aarch64/math.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cos(f: f64) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/aarch64/mmu.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn set_address(mut self, address: usize) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas/canvas2d.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | background: Box::new(|x, y| 0x000000), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas/canvas2d.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | background: Box::new(|x, y| 0x000000), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/allocator/ll_alloc.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut val = FreeBlock::from_components(size, None); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/allocator/ll_alloc.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | fn find(&mut self, size: usize, align: usize) -> Option<(&'static mut FreeBlock, usize)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> src/allocator/ll_alloc.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn find(&mut self, size: usize, align: usize) -> Option<(&'static mut FreeBlock, usize)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_align` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas/canvas2d.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | background: Box::new(|x, y| 0x000000), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas/canvas2d.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | background: Box::new(|x, y| 0x000000), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_in` [INFO] [stdout] --> src/canvas/line.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let all_in = Line(Vector(20.0, 20.0), Vector(20.0, 30.0)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eret` is never used [INFO] [stdout] --> src/aarch64/cpu.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn eret() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `instruction_buffer` is never used [INFO] [stdout] --> src/aarch64/cpu.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instruction_buffer() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_buffer` is never used [INFO] [stdout] --> src/aarch64/cpu.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn data_buffer() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterBuffer` is never constructed [INFO] [stdout] --> src/aarch64/registers.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | RegisterBuffer(usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / registers!{ [INFO] [stdout] 56 | | TranslationControlRegister("tcr_el1") { [INFO] [stdout] 57 | | granule_size: 30-31, [INFO] [stdout] 58 | | table_offset: 0-5 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitfield` which comes from the expansion of the macro `registers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next` is never read [INFO] [stdout] --> src/allocator/ll_alloc.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 155 | struct FreeBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 156 | size: usize, [INFO] [stdout] 157 | next: Option<*mut FreeBlock> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FreeBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/sync.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SpinMutex { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn execute(&mut self, f: impl FnOnce(&mut T)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lock` is never read [INFO] [stdout] --> src/sync.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SpinMutexGuard<'a, T> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 41 | lock: &'a AtomicBool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/utils/math.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn abs(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/utils/math.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn round(x: f64) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/aarch64/registers.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn write_to_register(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / registers!{ [INFO] [stdout] 56 | | TranslationControlRegister("tcr_el1") { [INFO] [stdout] 57 | | granule_size: 30-31, [INFO] [stdout] 58 | | table_offset: 0-5 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/utils/bitfield.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | $(paste::item! { [INFO] [stdout] 14 | fn [< $field _mask >]() -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn [< get_ $field >](self) -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn [< set_ $field>](mut self, value: $type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `registers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GranuleSize` is never used [INFO] [stdout] --> src/aarch64/registers.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum GranuleSize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_to_buffer` is never used [INFO] [stdout] --> src/aarch64/registers.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_to_buffer() -> RegisterBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / registers!{ [INFO] [stdout] 56 | | TranslationControlRegister("tcr_el1") { [INFO] [stdout] 57 | | granule_size: 30-31, [INFO] [stdout] 58 | | table_offset: 0-5 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `registers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterBuffer` is never constructed [INFO] [stdout] --> src/aarch64/registers.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | RegisterBuffer(usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / registers!{ [INFO] [stdout] 56 | | TranslationControlRegister("tcr_el1") { [INFO] [stdout] 57 | | granule_size: 30-31, [INFO] [stdout] 58 | | table_offset: 0-5 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitfield` which comes from the expansion of the macro `registers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/aarch64/registers.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn write_to_register(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / registers!{ [INFO] [stdout] 56 | | TranslationControlRegister("tcr_el1") { [INFO] [stdout] 57 | | granule_size: 30-31, [INFO] [stdout] 58 | | table_offset: 0-5 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/utils/bitfield.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | $(paste::item! { [INFO] [stdout] 14 | fn [< $field _mask >]() -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn [< get_ $field >](self) -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn [< set_ $field>](mut self, value: $type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `registers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TranslationState` is never used [INFO] [stdout] --> src/aarch64/registers.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum TranslationState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegisterBuffer` is never constructed [INFO] [stdout] --> src/aarch64/registers.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | RegisterBuffer(usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / registers!{ [INFO] [stdout] 56 | | TranslationControlRegister("tcr_el1") { [INFO] [stdout] 57 | | granule_size: 30-31, [INFO] [stdout] 58 | | table_offset: 0-5 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitfield` which comes from the expansion of the macro `registers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `table_pointer_mask`, `get_table_pointer`, `set_table_pointer`, and `write_to_register` are never used [INFO] [stdout] --> src/aarch64/registers.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn write_to_register(self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | / registers!{ [INFO] [stdout] 56 | | TranslationControlRegister("tcr_el1") { [INFO] [stdout] 57 | | granule_size: 30-31, [INFO] [stdout] 58 | | table_offset: 0-5 [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/utils/bitfield.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | $(paste::item! { [INFO] [stdout] 14 | fn [< $field _mask >]() -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn [< get_ $field >](self) -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn [< set_ $field>](mut self, value: $type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `registers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs` is never used [INFO] [stdout] --> src/aarch64/math.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn abs(f: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/aarch64/math.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn round(f: f64) -> isize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs_asm` is never used [INFO] [stdout] --> src/aarch64/math.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn abs_asm(f: f64) -> f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_asm` is never used [INFO] [stdout] --> src/aarch64/math.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn round_asm(f: f64) -> isize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sin_asm` is never used [INFO] [stdout] --> src/aarch64/math.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn sin_asm(f: f64) -> f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cos_asm` is never used [INFO] [stdout] --> src/aarch64/math.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn cos_asm(f: f64) -> f64; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/aarch64/mmu.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub unsafe fn init(table_start: *mut usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_tested` is never used [INFO] [stdout] --> src/aarch64/mmu.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn init_tested(table_start: *mut usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TranslationTable` is never constructed [INFO] [stdout] --> src/aarch64/mmu.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct TranslationTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TABLE_LENGTH` is never used [INFO] [stdout] --> src/aarch64/mmu.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 72 | impl TranslationTable { [INFO] [stdout] | --------------------- associated constant in this implementation [INFO] [stdout] 73 | const TABLE_LENGTH: usize = 512; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemoryAttributes` is never constructed [INFO] [stdout] --> src/aarch64/mmu.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | MemoryAttributes(usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/aarch64/mmu.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 76 | / bitfield! { [INFO] [stdout] 77 | | MemoryAttributes(usize) { [INFO] [stdout] 78 | | entry_type: 0-1, [INFO] [stdout] 79 | | attribute_index: 2-4, [INFO] [stdout] ... | [INFO] [stdout] 89 | | const ADDRESS_MASK: usize = ((1 << (52 - 11 + 1)) - 1) << 11; [INFO] [stdout] | | ^^^^^^^^^^^^ [INFO] [stdout] 90 | | [INFO] [stdout] 91 | | const BLOCK_ENTRY: usize = 0b001; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 92 | | const TABLE_ENTRY: usize = 0b011; [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] 93 | | [INFO] [stdout] 94 | | pub const fn new() -> Self { [INFO] [stdout] | | ^^^ [INFO] [stdout] ... | [INFO] [stdout] 98 | | pub fn set_address(mut self, address: usize) -> Self { [INFO] [stdout] | | ^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 103 | | pub fn clone(&self) -> Self { [INFO] [stdout] | | ^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: src/utils/bitfield.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl $name { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 13 | $(paste::item! { [INFO] [stdout] 14 | fn [< $field _mask >]() -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn [< get_ $field >](self) -> $type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn [< set_ $field>](mut self, value: $type) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitfield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_start` is never used [INFO] [stdout] --> src/allocator/ll_alloc.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl LinkedListAllocator { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn find_start(block: &FreeBlock, size: usize, align: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next` is never read [INFO] [stdout] --> src/allocator/ll_alloc.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 155 | struct FreeBlock { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 156 | size: usize, [INFO] [stdout] 157 | next: Option<*mut FreeBlock> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FreeBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `execute` is never used [INFO] [stdout] --> src/sync.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl SpinMutex { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn execute(&mut self, f: impl FnOnce(&mut T)) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lock` is never read [INFO] [stdout] --> src/sync.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SpinMutexGuard<'a, T> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 41 | lock: &'a AtomicBool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TranslationControlRegister` should have a snake case name [INFO] [stdout] --> src/aarch64/registers.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | TranslationControlRegister("tcr_el1") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translation_control_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SystemControlRegister` should have a snake case name [INFO] [stdout] --> src/aarch64/registers.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | SystemControlRegister("sctlr_el1") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `system_control_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TranslationTableBaseRegister` should have a snake case name [INFO] [stdout] --> src/aarch64/registers.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | TranslationTableBaseRegister("ttbr0_el1") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `translation_table_base_register` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "35676687b25af8e5643ab3be6a218aac90bc7eefcfc729c816696ffaae960ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35676687b25af8e5643ab3be6a218aac90bc7eefcfc729c816696ffaae960ad6", kill_on_drop: false }` [INFO] [stdout] 35676687b25af8e5643ab3be6a218aac90bc7eefcfc729c816696ffaae960ad6