Checking typenum v1.20.1 Compiling semver v1.0.28 Checking turkos-os-exceptions v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-exceptions) Checking cfg-if v1.0.5 Checking subtle v2.6.1 Checking cpufeatures v0.3.1 Checking signature v3.0.0 Checking zeroize v1.9.1 Checking turkos-os-shell-input v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-shell-input) Checking turkos-os-shell-foreground v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-shell-foreground) Checking turkos-os-init-reaper v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-init-reaper) Checking turkos-bootinfo v0.0.1 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/bootinfo) Checking ed25519 v3.0.0 Checking turkos-os-syscall-abi v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-syscall-abi) Checking turkos-os-user-runtime-io v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-user-runtime-io) Checking turkos-os-user-runtime-abi v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-user-runtime-abi) Checking turkos-os-shell-echo v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/os-shell-echo) Compiling rustc_version v0.4.1 Checking hybrid-array v0.4.15 Compiling curve25519-dalek v5.0.0 Checking crypto-common v0.2.2 Checking block-buffer v0.12.1 Checking digest v0.11.3 Checking sha2 v0.11.0 Checking ed25519-dalek v3.0.0 Checking turkos-kernel v0.0.1 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-9ebrVs/source/kernel) warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_table.rs:180:15 | 180 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_table.rs:184:15 | 184 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_guest.rs:888:15 | 888 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_guest.rs:904:15 | 904 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_guest.rs:908:15 | 908 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_guest.rs:926:15 | 926 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_guest.rs:996:23 | 996 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_guest.rs:1149:19 | 1149 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_image_recipe.rs:677:15 | 677 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_image_recipe.rs:681:15 | 681 | #[cfg(all(feature = "host-fixture", not(target_os = "none")))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `el0-fault-test`, `elf-hello-test`, `elf-ident-test`, `elf-layout-test`, `elf-load-test`, `elf-sequence-test`, `elf-stack-test`, `exception-test`, `fault-test`, `fiq-label-test`, `frame-stress-test`, `heap-panic-test`, `heap-test`, `internal-debug-diagnostics`, `ipc-basic-test`, `ipc-multi-test`, `ipc-timeline-test`, `ipc-user-test`, `ipc-wait-test`, `irq-gp-test`, `irq-guard-test`, `irq-return-test`, `irq-service-test`, `irq-sgi-test`, `irq-spurious-test`, `irq-spurious-vector-guard-test`, `irq-spurious-vector-test`, `irq-timer-late-test`, `irq-timer-storm-test`, `irq-timer-test`, `irq-unknown-test`, `log-secret-test`, `mmu-brk-test`, `mmu-guard-test`, and `mmu-mmio-exec-test` and 141 more = help: consider adding `host-fixture` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unused import: `MAX_HEAP_PAGES` --> src/runtime/elf_thread_space.rs:3:42 | 3 | use super::process_heap::{Image, Layout, MAX_HEAP_PAGES}; | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: `turkos-kernel` (lib) generated 11 warnings (run `cargo fix --lib -p turkos-kernel` to apply 1 suggestion) error[E0603]: module import `th` is private --> src/k2045-percpu-runqueue.rs:5:15 | 5 | use backend::{th,cx,rq,local}; | ^^ private module import | note: the module import `th` is defined here... --> src/k2045-percpu-runqueue-backend.rs:7:30 | 7 | use turkos_kernel::runtime::{percpu_queue_threads as th,percpu_queue_context as cx,percpu_queue as rq,percpu_queue_local as local,c... | ^^^^^^^^^^^^^^^^^^^^^^^^^^ note: ...and refers to the module `percpu_queue_threads` which is defined here --> src/runtime/mod.rs:243:1 | 243 | pub mod percpu_queue_threads; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly error[E0603]: module import `cx` is private --> src/k2045-percpu-runqueue.rs:5:18 | 5 | use backend::{th,cx,rq,local}; | ^^ private module import | note: the module import `cx` is defined here... --> src/k2045-percpu-runqueue-backend.rs:7:57 | 7 | use turkos_kernel::runtime::{percpu_queue_threads as th,percpu_queue_context as cx,percpu_queue as rq,percpu_queue_local as local,c... | ^^^^^^^^^^^^^^^^^^^^^^^^^^ note: ...and refers to the module `percpu_queue_context` which is defined here --> src/runtime/mod.rs:245:1 | 245 | pub mod percpu_queue_context; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly error[E0603]: module import `rq` is private --> src/k2045-percpu-runqueue.rs:5:21 | 5 | use backend::{th,cx,rq,local}; | ^^ private module import | note: the module import `rq` is defined here... --> src/k2045-percpu-runqueue-backend.rs:7:84 | 7 | use turkos_kernel::runtime::{percpu_queue_threads as th,percpu_queue_context as cx,percpu_queue as rq,percpu_queue_local as local,c... | ^^^^^^^^^^^^^^^^^^ note: ...and refers to the module `percpu_queue` which is defined here --> src/runtime/mod.rs:247:1 | 247 | pub mod percpu_queue; | ^^^^^^^^^^^^^^^^^^^^ you could import this directly error[E0603]: module import `local` is private --> src/k2045-percpu-runqueue.rs:5:24 | 5 | use backend::{th,cx,rq,local}; | ^^^^^ private module import | note: the module import `local` is defined here... --> src/k2045-percpu-runqueue-backend.rs:7:103 | 7 | ... th,percpu_queue_context as cx,percpu_queue as rq,percpu_queue_local as local,cpu_lifecycle as life}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: ...and refers to the module `percpu_queue_local` which is defined here --> src/runtime/mod.rs:249:1 | 249 | pub mod percpu_queue_local; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly warning: unused import: `self as life` --> src/k2045-percpu-runqueue.rs:3:46 | 3 | use turkos_kernel::runtime::{cpu_lifecycle::{self as life,Registry,Online,Off,EntryReceipt,Quiescence,AFFINITY_INFO},cpu_topology::{T... | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unused import: `policy_timer as os_k1100_timer` --> src/main.rs:38950:5 | 38950 | policy_timer as os_k1100_timer,policy_ingress as os_k1100_ingress,policy_source as os_k1100_source}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unnecessary parentheses around block return value --> src/main.rs:39561:29 | 39561 | if ordinal>=3 || unsafe{(&*core::ptr::addr_of!(OS_K1100_CONTEXT_HANDLES))}[ordinal as usize].is_none() | ^ ^ | = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default help: remove these parentheses | 39561 - if ordinal>=3 || unsafe{(&*core::ptr::addr_of!(OS_K1100_CONTEXT_HANDLES))}[ordinal as usize].is_none() 39561 + if ordinal>=3 || unsafe{&*core::ptr::addr_of!(OS_K1100_CONTEXT_HANDLES)}[ordinal as usize].is_none() | warning: unused import: `turkos_kernel::runtime::process_table as process` --> src/main.rs:42425:9 | 42425 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `turkos_kernel::runtime::process_table as process` --> src/main.rs:42725:9 | 42725 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `turkos_kernel::runtime::process_table as process` --> src/main.rs:43029:9 | 43029 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency --> src/k2045-percpu-runqueue.rs:22:169 | 22 | ...et a=&OS_K2045_IDENTITIES[e.cpu as usize-1][kind];match a.fetch_update(Ordering::Relaxed,Ordering::Relaxed,|x|if xu64{let e=backend::execution();if !(1..=3).contains(&e.cpu)||e.daif!=0x3c0{return 0}let a=&OS_K2045_IDENTITIES[e.cpu as usize-1][kind];match a.fetch_update(Ordering::Relaxed,Ordering::Relaxed,|x|if x(e.cpu as u64)<<32|n,Err(_)=>0}} 22 + fn identity(kind:usize)->u64{let e=backend::execution();if !(1..=3).contains(&e.cpu)||e.daif!=0x3c0{return 0}let a=&OS_K2045_IDENTITIES[e.cpu as usize-1][kind];match a.try_update(Ordering::Relaxed,Ordering::Relaxed,|x|if x(e.cpu as u64)<<32|n,Err(_)=>0}} | warning: unreachable statement --> src/main.rs:2376:5 | 2375 | os_k680_kernel_fault(slot, esr as u64, elr as u64); | -------------------------------------------------- any code following this expression is unreachable 2376 | let depth = core::ptr::addr_of_mut!(FATAL_ENTRIES); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement | = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default warning: unreachable statement --> src/main.rs:5545:5 | 5544 | os_k680_panic(); | --------------- any code following this expression is unreachable 5545 | write_line("TURKOS/PANIC"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement warning: unreachable expression --> src/main.rs:24605:9 | 24605 | return park(); | ^^^^^^^------ | | | | | any code following this expression is unreachable | unreachable expression warning: unused variable: `spsr` --> src/main.rs:2365:5 | 2365 | spsr: usize, | ^^^^ help: if this is intentional, prefix it with an underscore: `_spsr` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unnecessary `unsafe` block --> src/main.rs:34066:32 | 34052 | let (e,layout)=unsafe{(&*os_k1080_core()).with_backend_observation(|bridge| { | ------ because it's nested under this `unsafe` block ... 34066 | || unsafe{read_volatile(l.base as *const u64)}!=os_k1080_thread::LOW_CANARY | ^^^^^^ unnecessary `unsafe` block | = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default warning: unnecessary `unsafe` block --> src/main.rs:34067:32 | 34052 | let (e,layout)=unsafe{(&*os_k1080_core()).with_backend_observation(|bridge| { | ------ because it's nested under this `unsafe` block ... 34067 | || unsafe{read_volatile((l.base+l.bytes-8) as *const u64)}!=os_k1080_thread::HIGH_CANARY {park();} | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/main.rs:34349:15 | 34349 | let saved=unsafe{core::ptr::addr_of!(OS_K1080_EVIDENCE).cast::()}; | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/main.rs:39736:15 | 39736 | let prior=unsafe{core::ptr::addr_of!(OS_K1080_EVIDENCE).cast::()}; | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/main.rs:39754:16 | 39754 | let kernel=unsafe{core::ptr::addr_of!(OS_K1080_KERNEL_TABLES).cast::()}; | ^^^^^^ unnecessary `unsafe` block warning: variable does not need to be mutable --> src/main.rs:39867:9 | 39867 | let mut stack=stack; | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default For more information about this error, try `rustc --explain E0603`. warning: `turkos-kernel` (bin "turkos-kernel") generated 17 warnings error: could not compile `turkos-kernel` (bin "turkos-kernel") due to 4 previous errors; 17 warnings emitted