Compiling typenum v1.20.1 Compiling cfg-if v1.0.5 Compiling turkos-os-exceptions v0.1.0 (/reports/os-implementation/K1135-el0-candidate-II7NJI/sources/os-exceptions) Compiling cpufeatures v0.3.1 Compiling turkos-bootinfo v0.0.1 (/reports/os-implementation/K1135-el0-candidate-II7NJI/sources/bootinfo) Compiling turkos-os-syscall-abi v0.1.0 (/reports/os-implementation/K1135-el0-candidate-II7NJI/sources/os-syscall-abi) Compiling hybrid-array v0.4.15 Compiling crypto-common v0.2.2 Compiling block-buffer v0.12.1 Compiling digest v0.11.3 Compiling sha2 v0.11.0 Compiling turkos-kernel v0.0.1 (/reports/os-implementation/K1135-el0-candidate-II7NJI/sources/kernel) warning: unexpected `cfg` condition value: `host-fixture` --> src/runtime/process_table.rs:175:15 | 175 | #[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:179:15 | 179 | #[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:632:15 | 632 | #[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:636:15 | 636 | #[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:640:15 | 640 | #[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:658:15 | 658 | #[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:727:23 | 727 | #[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:880:19 | 880 | #[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: `turkos-kernel` (lib) generated 10 warnings warning: unused import: `policy_timer as os_k1100_timer` --> src/main.rs:38445:5 | 38445 | 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:39056:29 | 39056 | 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 | 39056 - if ordinal>=3 || unsafe{(&*core::ptr::addr_of!(OS_K1100_CONTEXT_HANDLES))}[ordinal as usize].is_none() 39056 + 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:41011:9 | 41011 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `turkos_kernel::runtime::process_table as process` --> src/main.rs:41311:9 | 41311 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `turkos_kernel::runtime::process_table as process` --> src/main.rs:41615:9 | 41615 | use turkos_kernel::runtime::process_table as process; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unreachable statement --> src/main.rs:2031:5 | 2030 | os_k680_kernel_fault(slot, esr as u64, elr as u64); | -------------------------------------------------- any code following this expression is unreachable 2031 | 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:5098:5 | 5097 | os_k680_panic(); | --------------- any code following this expression is unreachable 5098 | write_line("TURKOS/PANIC"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement warning: unreachable expression --> src/main.rs:24100:9 | 24100 | return park(); | ^^^^^^^------ | | | | | any code following this expression is unreachable | unreachable expression error[E0599]: no method named `inventory` found for reference `&Table, OsK1120PreparedImage<'_>>, 3>` in the current scope --> src/main.rs:41676:34 | 41676 | let resources_before = table.inventory().unwrap_or_else(|_| park()); | ^^^^^^^^^ method not found in `&Table, OsK1120PreparedImage<'_>>, 3>` | = note: the full name for the type has been written to '/reports/os-implementation/K1135-el0-candidate-II7NJI/target/aarch64-unknown-none/release/build/turkos-kernel/684b1b7497a9bde2/out/turkos_kernel.long-type-297973495719112788.txt' = note: consider using `--verbose` to print the full type name to the console error[E0599]: no method named `inventory` found for reference `&Table, OsK1120PreparedImage<'_>>, 3>` in the current scope --> src/main.rs:41710:14 | 41710 | if table.inventory() != Ok(resources_before) { park(); } | ^^^^^^^^^ method not found in `&Table, OsK1120PreparedImage<'_>>, 3>` | = note: the full name for the type has been written to '/reports/os-implementation/K1135-el0-candidate-II7NJI/target/aarch64-unknown-none/release/build/turkos-kernel/684b1b7497a9bde2/out/turkos_kernel.long-type-297973495719112788.txt' = note: consider using `--verbose` to print the full type name to the console warning: unused variable: `spsr` --> src/main.rs:2020:5 | 2020 | 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:33561:32 | 33547 | let (e,layout)=unsafe{(&*os_k1080_core()).with_backend_observation(|bridge| { | ------ because it's nested under this `unsafe` block ... 33561 | || 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:33562:32 | 33547 | let (e,layout)=unsafe{(&*os_k1080_core()).with_backend_observation(|bridge| { | ------ because it's nested under this `unsafe` block ... 33562 | || 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:33844:15 | 33844 | let saved=unsafe{core::ptr::addr_of!(OS_K1080_EVIDENCE).cast::()}; | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/main.rs:39231:15 | 39231 | let prior=unsafe{core::ptr::addr_of!(OS_K1080_EVIDENCE).cast::()}; | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/main.rs:39249:16 | 39249 | 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:39362:9 | 39362 | 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