Compiling typenum v1.20.1 Compiling semver v1.0.28 Compiling turkos-os-exceptions v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-exceptions) Compiling cfg-if v1.0.5 Compiling cpufeatures v0.3.1 Compiling signature v3.0.0 Compiling subtle v2.6.1 Compiling turkos-os-shell-input v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-shell-input) Compiling turkos-os-shell-foreground v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-shell-foreground) Compiling turkos-os-init-reaper v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-init-reaper) Compiling turkos-bootinfo v0.0.1 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/bootinfo) Compiling zeroize v1.9.1 Compiling ed25519 v3.0.0 Compiling turkos-os-syscall-abi v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-syscall-abi) Compiling turkos-os-user-runtime-io v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-user-runtime-io) Compiling turkos-os-user-runtime-abi v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-user-runtime-abi) Compiling turkos-os-shell-echo v0.1.0 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/os-shell-echo) Compiling rustc_version v0.4.1 Compiling hybrid-array v0.4.15 Compiling curve25519-dalek v5.0.0 Compiling crypto-common v0.2.2 Compiling block-buffer v0.12.1 Compiling digest v0.11.3 Compiling sha2 v0.11.0 Compiling ed25519-dalek v3.0.0 Compiling turkos-kernel v0.0.1 (/reports/os-implementation/K2045-percpu-runqueue-staging-build-cyh6T4/source/kernel) error[E0603]: struct `Region` is private --> src/k2045-percpu-runqueue.rs:86:117 | 86 | ...n=allocator.os_authority_mut().reserve(os_k720_frame::Region{start:at,end:at+65536}).map_err(|_|"k2045-exec-reserve")?;for i in 0... | ^^^^^^ private struct | note: the struct `Region` is defined here --> src/runtime/frame_authority.rs:6:48 | 6 | use super::platform_ram::{Authority, RamBanks, Region}; | ^^^^^^ help: consider importing one of these structs instead | 86 - for cpu in 0..3{let at=tail_candidate(allocator,16)?;let token=allocator.os_authority_mut().reserve(os_k720_frame::Region{start:at,end:at+65536}).map_err(|_|"k2045-exec-reserve")?;for i in 0..65536/8{unsafe{write_volatile((at as*mut u64).add(i),0)}}executive[cpu]=Some(token);let make=|allocator:&mut memory::FrameAllocator|->Result{let at=guard_candidate(allocator,tables)?;Ok(backend::Stack{leases:allocate::<5>(allocator,at)?,guard:None,cpu:cpu as u32+1})};let stacks=[make(allocator)?,make(allocator)?];for i in 0..2{word(40+cpu*2+i,stacks[i].leases[0].address())}unsafe{core::ptr::addr_of_mut!(OS_K2045_BUNDLES).cast::<[backend::Stack;2]>().add(cpu).write(stacks)}} 86 + for cpu in 0..3{let at=tail_candidate(allocator,16)?;let token=allocator.os_authority_mut().reserve(crate::memory::Region{start:at,end:at+65536}).map_err(|_|"k2045-exec-reserve")?;for i in 0..65536/8{unsafe{write_volatile((at as*mut u64).add(i),0)}}executive[cpu]=Some(token);let make=|allocator:&mut memory::FrameAllocator|->Result{let at=guard_candidate(allocator,tables)?;Ok(backend::Stack{leases:allocate::<5>(allocator,at)?,guard:None,cpu:cpu as u32+1})};let stacks=[make(allocator)?,make(allocator)?];for i in 0..2{word(40+cpu*2+i,stacks[i].leases[0].address())}unsafe{core::ptr::addr_of_mut!(OS_K2045_BUNDLES).cast::<[backend::Stack;2]>().add(cpu).write(stacks)}} | 86 - for cpu in 0..3{let at=tail_candidate(allocator,16)?;let token=allocator.os_authority_mut().reserve(os_k720_frame::Region{start:at,end:at+65536}).map_err(|_|"k2045-exec-reserve")?;for i in 0..65536/8{unsafe{write_volatile((at as*mut u64).add(i),0)}}executive[cpu]=Some(token);let make=|allocator:&mut memory::FrameAllocator|->Result{let at=guard_candidate(allocator,tables)?;Ok(backend::Stack{leases:allocate::<5>(allocator,at)?,guard:None,cpu:cpu as u32+1})};let stacks=[make(allocator)?,make(allocator)?];for i in 0..2{word(40+cpu*2+i,stacks[i].leases[0].address())}unsafe{core::ptr::addr_of_mut!(OS_K2045_BUNDLES).cast::<[backend::Stack;2]>().add(cpu).write(stacks)}} 86 + for cpu in 0..3{let at=tail_candidate(allocator,16)?;let token=allocator.os_authority_mut().reserve(turkos_kernel::memory::Region{start:at,end:at+65536}).map_err(|_|"k2045-exec-reserve")?;for i in 0..65536/8{unsafe{write_volatile((at as*mut u64).add(i),0)}}executive[cpu]=Some(token);let make=|allocator:&mut memory::FrameAllocator|->Result{let at=guard_candidate(allocator,tables)?;Ok(backend::Stack{leases:allocate::<5>(allocator,at)?,guard:None,cpu:cpu as u32+1})};let stacks=[make(allocator)?,make(allocator)?];for i in 0..2{word(40+cpu*2+i,stacks[i].leases[0].address())}unsafe{core::ptr::addr_of_mut!(OS_K2045_BUNDLES).cast::<[backend::Stack;2]>().add(cpu).write(stacks)}} | For more information about this error, try `rustc --explain E0603`. error: could not compile `turkos-kernel` (bin "turkos-kernel") due to 1 previous error