Checking typenum v1.20.1 Checking turkos-os-exceptions v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/os-exceptions) Checking cpufeatures v0.3.1 Checking cfg-if v1.0.5 Checking turkos-bootinfo v0.0.1 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/bootinfo) Checking turkos-os-shell-input v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/os-shell-input) Checking turkos-os-shell-foreground v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/os-shell-foreground) Checking turkos-os-init-reaper v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/os-init-reaper) Checking turkos-os-syscall-abi v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/os-syscall-abi) Checking turkos-os-user-runtime-io v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/os-user-runtime-io) Checking turkos-os-user-runtime-abi v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/source/os-user-runtime-abi) Checking turkos-os-shell-echo v0.1.0 (/reports/os-implementation/K1840-arp-validation-staging-build-zLIr0N/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/K1840-arp-validation-staging-build-zLIr0N/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:901:15 | 901 | #[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:905:15 | 905 | #[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:923:15 | 923 | #[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:993:23 | 993 | #[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:1146:19 | 1146 | #[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) 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; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0599]: no associated function or constant named `k1840_layout` found for struct `turkos_kernel::runtime::threads::Table` in the current scope --> src/k1840-arp-validation.rs:10:73 | 10 | #[unsafe(no_mangle)]pub static OS_K1840_THREAD_LAYOUT:[u64;16]=Threads::k1840_layout(); | ^^^^^^^^^^^^ associated function or constant not found in `turkos_kernel::runtime::threads::Table, 3>` | note: if you're trying to build a new `turkos_kernel::runtime::threads::Table, 3>`, consider using `turkos_kernel::runtime::threads::Table::::new` which returns `core::result::Result, (turkos_kernel::runtime::threads::Error, _)>` --> src/runtime/threads.rs:244:5 | 244 | pub fn new(backend: B) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is an associated function `k1835_layout` with a similar name | 10 - #[unsafe(no_mangle)]pub static OS_K1840_THREAD_LAYOUT:[u64;16]=Threads::k1840_layout(); 10 + #[unsafe(no_mangle)]pub static OS_K1840_THREAD_LAYOUT:[u64;16]=Threads::k1835_layout(); | error[E0599]: no associated function or constant named `k1840_layout` found for struct `turkos_kernel::runtime::threads::Wait` in the current scope --> src/k1840-arp-validation.rs:11:71 | 11 | #[unsafe(no_mangle)]pub static OS_K1840_WAIT_LAYOUT:[u64;6]=th::Wait::k1840_layout(); | ^^^^^^^^^^^^ associated function or constant not found in `turkos_kernel::runtime::threads::Wait` | help: there is an associated function `k1835_layout` with a similar name | 11 - #[unsafe(no_mangle)]pub static OS_K1840_WAIT_LAYOUT:[u64;6]=th::Wait::k1840_layout(); 11 + #[unsafe(no_mangle)]pub static OS_K1840_WAIT_LAYOUT:[u64;6]=th::Wait::k1835_layout(); | 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 E0599`. warning: `turkos-kernel` (bin "turkos-kernel") generated 15 warnings error: could not compile `turkos-kernel` (bin "turkos-kernel") due to 2 previous errors; 15 warnings emitted