Checking typenum v1.20.1 Checking turkos-os-exceptions v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-exceptions) Checking cpufeatures v0.3.1 Checking cfg-if v1.0.5 Checking turkos-os-init-reaper v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-init-reaper) Checking turkos-bootinfo v0.0.1 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/bootinfo) Checking turkos-os-shell-input v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-shell-input) Checking turkos-os-shell-foreground v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-shell-foreground) Checking turkos-os-syscall-abi v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-syscall-abi) Checking turkos-os-user-runtime-io v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-user-runtime-io) Checking turkos-os-user-runtime-abi v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-user-runtime-abi) Checking turkos-os-shell-echo v0.1.0 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/source/os-shell-echo) Checking hybrid-array v0.4.15 Checking crypto-common v0.2.2 Checking block-buffer v0.12.1 Checking digest v0.11.3 Checking sha2 v0.11.0 Checking turkos-kernel v0.0.1 (/reports/os-implementation/K1880-udp-close-wait-staging-build-32Yczy/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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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`, `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`, `mmu-mmio-exec-test`, and `mmu-no-map-test` and 140 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[E0425]: cannot find type `FrameAllocator` in this scope --> src/k1880-udp-close-wait.rs:42:18 | 42 | memory: &mut FrameAllocator, tables: &mmu::Tables, | ^^^^^^^^^^^^^^ not found in this scope | help: consider importing one of these structs | 1 + use crate::memory::FrameAllocator; | 1 + use turkos_kernel::memory::FrameAllocator; | error[E0425]: cannot find type `FrameAllocator` in this scope --> src/k1880-udp-close-wait.rs:67:25 | 67 | (memory as *mut FrameAllocator).cast(), | ^^^^^^^^^^^^^^ not found in this scope | help: consider importing one of these structs | 1 + use crate::memory::FrameAllocator; | 1 + use turkos_kernel::memory::FrameAllocator; | error[E0425]: cannot find type `FrameAllocator` in this scope --> src/k1880-udp-close-wait.rs:88:38 | 88 | unsafe { &mut *memory.cast::() }, | ^^^^^^^^^^^^^^ not found in this scope | help: consider importing one of these structs | 1 + use crate::memory::FrameAllocator; | 1 + use turkos_kernel::memory::FrameAllocator; | error[E0425]: cannot find type `FrameAllocator` in this scope --> src/k1880-udp-close-wait.rs:238:18 | 238 | memory: &mut FrameAllocator, tables: &mmu::Tables, | ^^^^^^^^^^^^^^ not found in this scope | help: consider importing one of these structs | 1 + use crate::memory::FrameAllocator; | 1 + use turkos_kernel::memory::FrameAllocator; | error[E0425]: cannot find type `FrameAllocator` in this scope --> src/k1880-udp-close-wait.rs:354:60 | 354 | pub fn run(_boot:&BootData,tables:&mmu::Tables,memory:&mut FrameAllocator)->Result<(),&'static str>{word(0,1880);word(2,unsafe{read... | ^^^^^^^^^^^^^^ not found in this scope | help: consider importing one of these structs | 1 + use crate::memory::FrameAllocator; | 1 + use turkos_kernel::memory::FrameAllocator; | 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}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default 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:42424:9 | 42424 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `turkos_kernel::runtime::process_table as process` --> src/main.rs:42724:9 | 42724 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `turkos_kernel::runtime::process_table as process` --> src/main.rs:43028:9 | 43028 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 For more information about this error, try `rustc --explain E0425`. warning: `turkos-kernel` (bin "turkos-kernel") generated 14 warnings error: could not compile `turkos-kernel` (bin "turkos-kernel") due to 5 previous errors; 14 warnings emitted