Compiling turkos-exec-environment v0.0.1 (/reports/os-implementation/K1775-exec-environment-staging-local-uki3uR/source/os-exec-environment) error[E0308]: mismatched types --> ../kernel/tests/os/exec_environment.rs:11:52 | 11 | let full=[b'x';63];let exact=Packet::new(BASE,TOP,&[&full;4],&[]).unwrap();assert_eq!(exact.text_bytes(),MAX_TEXT_BYTES);assert_eq!... | ----------- ^^^^^^^^^^ expected `&[&[u8]]`, found `&[&[u8; 63]; 4]` | | | arguments to this function are incorrect | = note: expected reference `&[&[u8]]` found reference `&[&[u8; 63]; 4]` note: associated function defined here --> src/environment.rs:13:9 | 13 | pub fn new(stack_base:u64,stack_top:u64,argv:&[&[u8]],env:&[&[u8]])->Result{ | ^^^ error[E0308]: mismatched types --> ../kernel/tests/os/exec_environment.rs:17:34 | 17 | assert_eq!(Packet::new(BASE,TOP,&[b"a";5],&[]),Err(Error::Count));assert_eq!(Packet::new(BASE,TOP,&[],&[b"b";5]),Err(Error::Count)); | ----------- ^^^^^^^^^ expected `&[&[u8]]`, found `&[&[u8; 1]; 5]` | | | arguments to this function are incorrect | = note: expected reference `&[&[u8]]` found reference `&[&[u8; 1]; 5]` note: associated function defined here --> src/environment.rs:13:9 | 13 | pub fn new(stack_base:u64,stack_top:u64,argv:&[&[u8]],env:&[&[u8]])->Result{ | ^^^ error[E0308]: mismatched types --> ../kernel/tests/os/exec_environment.rs:17:104 | 17 | assert_eq!(Packet::new(BASE,TOP,&[b"a";5],&[]),Err(Error::Count));assert_eq!(Packet::new(BASE,TOP,&[],&[b"b";5]),Err(Error::Count)); | ----------- ^^^^^^^^^ expected `&[&[u8]]`, found `&[&[u8; 1]; 5]` | | | arguments to this function are incorrect | = note: expected reference `&[&[u8]]` found reference `&[&[u8; 1]; 5]` note: associated function defined here --> src/environment.rs:13:9 | 13 | pub fn new(stack_base:u64,stack_top:u64,argv:&[&[u8]],env:&[&[u8]])->Result{ | ^^^ For more information about this error, try `rustc --explain E0308`. error: could not compile `turkos-exec-environment` (test "environment") due to 3 previous errors