Compiling typenum v1.20.1 Compiling libc v0.2.190 Compiling cfg-if v1.0.5 Compiling hybrid-array v0.4.15 Compiling crypto-common v0.2.2 Compiling block-buffer v0.12.1 Compiling digest v0.11.3 Compiling cpufeatures v0.3.1 Compiling sha2 v0.11.0 Compiling turkos-program-manifest v0.0.1 (/reports/os-implementation/K1795-program-manifest-staging-local-fML3rJ/source/os-program-manifest) error[E0599]: no method named `install_with_rights` found for struct `Table` in the current scope --> ../kernel/tests/os/program_format_manifest.rs:7:139 | 7 | ...|v|{assert_eq!(v.image().as_ptr(),FILE.as_ptr());table.install_with_rights(1,Object::File(1795),v.manifest().requested_file_rights... | ^^^^^^^^^^^^^^^^^^^ | help: there is a method `open_with_rights` with a similar name | 7 - let mut table=Table::::new();let handle=prepare(&w,FILE,Rights::READ_WRITE,|v|{assert_eq!(v.image().as_ptr(),FILE.as_ptr());table.install_with_rights(1,Object::File(1795),v.manifest().requested_file_rights())}).unwrap(); 7 + let mut table=Table::::new();let handle=prepare(&w,FILE,Rights::READ_WRITE,|v|{assert_eq!(v.image().as_ptr(),FILE.as_ptr());table.open_with_rights(1,Object::File(1795),v.manifest().requested_file_rights())}).unwrap(); | error[E0599]: no method named `read_file` found for struct `Table` in the current scope --> ../kernel/tests/os/program_format_manifest.rs:8:19 | 8 | assert_eq!(table.read_file(1,handle),Ok(1795));assert_eq!(table.write_file(1,handle),Err(HandleError::Access));assert_eq!(table.read... | ^^^^^^^^^ method not found in `Table` error[E0599]: no method named `write_file` found for struct `Table` in the current scope --> ../kernel/tests/os/program_format_manifest.rs:8:66 | 8 | assert_eq!(table.read_file(1,handle),Ok(1795));assert_eq!(table.write_file(1,handle),Err(HandleError::Access));assert_eq!(table.read... | ^^^^^^^^^^ method not found in `Table` error[E0599]: no method named `read_file` found for struct `Table` in the current scope --> ../kernel/tests/os/program_format_manifest.rs:8:130 | 8 | ...rr(HandleError::Access));assert_eq!(table.read_file(2,handle),Err(HandleError::BadFd)); | ^^^^^^^^^ method not found in `Table` error[E0599]: no method named `install_with_rights` found for struct `Table` in the current scope --> ../kernel/tests/os/program_format_manifest.rs:13:98 | 13 | let mut wrong=valid;wrong[24]^=1;assert_eq!(prepare(&wrong,FILE,Rights::READ,|v|{calls+=1;table.install_with_rights(1,Object::File(... | ^^^^^^^^^^^^^^^^^^^ | help: there is a method `open_with_rights` with a similar name | 13 - let mut wrong=valid;wrong[24]^=1;assert_eq!(prepare(&wrong,FILE,Rights::READ,|v|{calls+=1;table.install_with_rights(1,Object::File(1),v.manifest().requested_file_rights())}),Err(PrepareError::Manifest(Error::Hash))); 13 + let mut wrong=valid;wrong[24]^=1;assert_eq!(prepare(&wrong,FILE,Rights::READ,|v|{calls+=1;table.open_with_rights(1,Object::File(1),v.manifest().requested_file_rights())}),Err(PrepareError::Manifest(Error::Hash))); | For more information about this error, try `rustc --explain E0599`. error: could not compile `turkos-program-manifest` (test "manifest") due to 5 previous errors