[INFO] fetching crate uefi 0.36.1... [INFO] testing uefi-0.36.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate uefi 0.36.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate uefi 0.36.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate uefi 0.36.1 [INFO] tweaked toml for crates.io crate uefi 0.36.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uefi 0.36.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uefi 0.36.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucs2 v0.3.3 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded uguid v2.2.1 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.1 [INFO] [stderr] Downloaded ptr_meta v0.3.1 [INFO] [stderr] Downloaded uefi-macros v0.19.0 [INFO] [stderr] Downloaded syn v2.0.107 [INFO] [stderr] Downloaded uefi-raw v0.13.0 [INFO] [stderr] Downloaded qemu-exit v3.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71898971ed1dcf82feac538287d00930240e0786ea98ce8bb2514cac37aba7e3 [INFO] running `Command { std: "docker" "start" "-a" "71898971ed1dcf82feac538287d00930240e0786ea98ce8bb2514cac37aba7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71898971ed1dcf82feac538287d00930240e0786ea98ce8bb2514cac37aba7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71898971ed1dcf82feac538287d00930240e0786ea98ce8bb2514cac37aba7e3", kill_on_drop: false }` [INFO] [stdout] 71898971ed1dcf82feac538287d00930240e0786ea98ce8bb2514cac37aba7e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae4d6a19011d054f16e9ba641141b97177eb792ad28af2810ab49859d6f19425 [INFO] running `Command { std: "docker" "start" "-a" "ae4d6a19011d054f16e9ba641141b97177eb792ad28af2810ab49859d6f19425", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling uguid v2.2.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling uefi-raw v0.13.0 [INFO] [stderr] Compiling ucs2 v0.3.3 [INFO] [stderr] Compiling ptr_meta_derive v0.3.1 [INFO] [stderr] Compiling uefi-macros v0.19.0 [INFO] [stderr] Compiling ptr_meta v0.3.1 [INFO] [stderr] Compiling uefi v0.36.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.35s [INFO] running `Command { std: "docker" "inspect" "ae4d6a19011d054f16e9ba641141b97177eb792ad28af2810ab49859d6f19425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4d6a19011d054f16e9ba641141b97177eb792ad28af2810ab49859d6f19425", kill_on_drop: false }` [INFO] [stdout] ae4d6a19011d054f16e9ba641141b97177eb792ad28af2810ab49859d6f19425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d818e0130821afa8692deb9d9fe6ee5326ee5e4583836ea87cb610c4f04721fd [INFO] running `Command { std: "docker" "start" "-a" "d818e0130821afa8692deb9d9fe6ee5326ee5e4583836ea87cb610c4f04721fd", kill_on_drop: false }` [INFO] [stderr] Compiling uefi v0.36.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::CString16` [INFO] [stdout] --> src/proto/media/file/info.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | use crate::CString16; [INFO] [stdout] | ^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `CStr16` [INFO] [stdout] | no `CString16` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 274 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::CString16` [INFO] [stdout] --> src/proto/media/file/mod.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | use crate::{CString16, Guid, Identify}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `CString16` in the root [INFO] [stdout] | help: a similar name exists in the module: `CStr16` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 274 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> src/proto/media/file/mod.rs:340:11 [INFO] [stdout] | [INFO] [stdout] 340 | use ::alloc::vec; [INFO] [stdout] | ^^^^^ help: a similar path exists: `core::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/data_types/strs.rs:807:9 [INFO] [stdout] | [INFO] [stdout] 807 | use alloc::string::String; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/data_types/unaligned_slice.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/mem/memory_map/impl_.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/mem/memory_map/mod.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/proto/device_path/mod.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/proto/driver/component_name.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> src/data_types/strs.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | use alloc::format; [INFO] [stdout] | ^^^^^ help: a similar path exists: `core::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/proto/media/file/regular.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | use alloc::rc::Rc; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> src/proto/media/file/info.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | use alloc::vec; [INFO] [stdout] | ^^^^^ help: a similar path exists: `core::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/proto/media/file/regular.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/proto/tcg/v2.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `alloc` [INFO] [stdout] | [INFO] [stdout] = help: add `extern crate alloc` to use the `alloc` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> src/proto/media/file/regular.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use alloc::vec; [INFO] [stdout] | ^^^^^ help: a similar path exists: `core::alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/proto/device_path/build.rs:269:48 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(node.adr().iter().collect::>(), [1, 2]); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString16` [INFO] [stdout] --> src/data_types/strs.rs:1022:13 [INFO] [stdout] | [INFO] [stdout] 1022 | CString16::try_from("test").unwrap() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `CString16` [INFO] [stdout] | help: a struct with a similar name exists: `CStr16` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 274 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_cstring16` found for struct `unaligned_slice::UnalignedSlice<'a, T>` in the current scope [INFO] [stdout] --> src/data_types/strs.rs:1027:16 [INFO] [stdout] | [INFO] [stdout] 1027 | us.to_cstring16().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/data_types/unaligned_slice.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UnalignedSlice<'a, T: Copy> { [INFO] [stdout] | -------------------------------------- method `to_cstring16` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_cstr16` with a similar name, but with different arguments [INFO] [stdout] --> src/data_types/strs.rs:764:5 [INFO] [stdout] | [INFO] [stdout] 764 | / pub fn to_cstr16<'buf>( [INFO] [stdout] 765 | | &self, [INFO] [stdout] 766 | | buf: &'buf mut [MaybeUninit], [INFO] [stdout] 767 | | ) -> Result<&'buf CStr16, UnalignedCStr16Error> { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString16` [INFO] [stdout] --> src/data_types/strs.rs:1028:13 [INFO] [stdout] | [INFO] [stdout] 1028 | CString16::try_from("test").unwrap() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `CString16` [INFO] [stdout] | help: a struct with a similar name exists: `CStr16` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 274 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/proto/device_path/build.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_vec` found for struct `proto::device_path::build::DevicePathBuilder<'a>` in the current scope [INFO] [stdout] --> src/proto/device_path/build.rs:261:39 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DevicePathBuilder<'a> { [INFO] [stdout] | -------------------------------- function or associated item `with_vec` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 261 | let path = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `proto::device_path::build::DevicePathBuilder<'_>`, consider using `proto::device_path::build::DevicePathBuilder::<'a>::with_buf` which returns `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] --> src/proto/device_path/build.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn with_buf(buf: &'a mut [MaybeUninit]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/proto/device_path/build.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_vec` found for struct `proto::device_path::build::DevicePathBuilder<'a>` in the current scope [INFO] [stdout] --> src/proto/device_path/build.rs:291:39 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DevicePathBuilder<'a> { [INFO] [stdout] | -------------------------------- function or associated item `with_vec` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 291 | let path = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `proto::device_path::build::DevicePathBuilder<'_>`, consider using `proto::device_path::build::DevicePathBuilder::<'a>::with_buf` which returns `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] --> src/proto/device_path/build.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn with_buf(buf: &'a mut [MaybeUninit]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/proto/device_path/build.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_vec` found for struct `proto::device_path::build::DevicePathBuilder<'a>` in the current scope [INFO] [stdout] --> src/proto/device_path/build.rs:344:39 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DevicePathBuilder<'a> { [INFO] [stdout] | -------------------------------- function or associated item `with_vec` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 344 | let path = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `proto::device_path::build::DevicePathBuilder<'_>`, consider using `proto::device_path::build::DevicePathBuilder::<'a>::with_buf` which returns `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] --> src/proto/device_path/build.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn with_buf(buf: &'a mut [MaybeUninit]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/proto/device_path/build.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_vec` found for struct `proto::device_path::build::DevicePathBuilder<'a>` in the current scope [INFO] [stdout] --> src/proto/device_path/build.rs:401:40 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DevicePathBuilder<'a> { [INFO] [stdout] | -------------------------------- function or associated item `with_vec` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 401 | let path1 = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `proto::device_path::build::DevicePathBuilder<'_>`, consider using `proto::device_path::build::DevicePathBuilder::<'a>::with_buf` which returns `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] --> src/proto/device_path/build.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn with_buf(buf: &'a mut [MaybeUninit]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/proto/device_path/build.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_vec` found for struct `proto::device_path::build::DevicePathBuilder<'a>` in the current scope [INFO] [stdout] --> src/proto/device_path/build.rs:415:46 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DevicePathBuilder<'a> { [INFO] [stdout] | -------------------------------- function or associated item `with_vec` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 415 | let mut builder = DevicePathBuilder::with_vec(&mut v); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `proto::device_path::build::DevicePathBuilder<'_>`, consider using `proto::device_path::build::DevicePathBuilder::<'a>::with_buf` which returns `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] --> src/proto/device_path/build.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn with_buf(buf: &'a mut [MaybeUninit]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/proto/device_path/build.rs:489:21 [INFO] [stdout] | [INFO] [stdout] 489 | let mut v = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `with_vec` found for struct `proto::device_path::build::DevicePathBuilder<'a>` in the current scope [INFO] [stdout] --> src/proto/device_path/build.rs:490:39 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct DevicePathBuilder<'a> { [INFO] [stdout] | -------------------------------- function or associated item `with_vec` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 490 | let path = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `proto::device_path::build::DevicePathBuilder<'_>`, consider using `proto::device_path::build::DevicePathBuilder::<'a>::with_buf` which returns `proto::device_path::build::DevicePathBuilder<'_>` [INFO] [stdout] --> src/proto/device_path/build.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub const fn with_buf(buf: &'a mut [MaybeUninit]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_owned` found for reference `&proto::device_path::DevicePath` in the current scope [INFO] [stdout] --> src/proto/device_path/mod.rs:1058:27 [INFO] [stdout] | [INFO] [stdout] 1058 | let owned_dp = dp.to_owned(); [INFO] [stdout] | ^^^^^^^^ method not found in `&proto::device_path::DevicePath` [INFO] [stdout] | [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/borrow.rs:61:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `&proto::device_path::DevicePath` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToOwned` which provides `to_owned` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 940 + use alloc::borrow::ToOwned; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_boxed_info` found for struct `regular::RegularFile` in the current scope [INFO] [stdout] --> src/proto/media/file/mod.rs:364:25 [INFO] [stdout] | [INFO] [stdout] 364 | let info = file.get_boxed_info::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/proto/media/file/regular.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RegularFile(FileHandle); [INFO] [stdout] | ---------------------- method `get_boxed_info` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_info` with a similar name, but with different arguments [INFO] [stdout] --> src/proto/media/file/mod.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / fn get_info<'buf, Info: FileProtocolInfo + ?Sized>( [INFO] [stdout] 125 | | &mut self, [INFO] [stdout] 126 | | buffer: &'buf mut [u8], [INFO] [stdout] 127 | | ) -> Result<&'buf mut Info, Option> { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_in_box` found for struct `proto::tcg::v1::PcrEvent` in the current scope [INFO] [stdout] --> src/proto/tcg/v1.rs:527:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct PcrEvent { [INFO] [stdout] | ------------------- function or associated item `new_in_box` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 527 | &*PcrEvent::new_in_box(PcrIndex(4), EventType::IPL, digest, &data).unwrap() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `proto::tcg::v1::PcrEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_in_box` found for struct `proto::tcg::v2::PcrEventInputs` in the current scope [INFO] [stdout] --> src/proto/tcg/v2.rs:781:31 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct PcrEventInputs { [INFO] [stdout] | ------------------------- function or associated item `new_in_box` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 781 | &*PcrEventInputs::new_in_box(PcrIndex(4), EventType::IPL, &event_data).unwrap() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `proto::tcg::v2::PcrEventInputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `unaligned_slice::UnalignedSlice<'a, T>` in the current scope [INFO] [stdout] --> src/proto/tcg/v2.rs:926:45 [INFO] [stdout] | [INFO] [stdout] 926 | header.algorithm_digest_sizes.0.to_vec(), [INFO] [stdout] | ^^^^^^ method not found in `unaligned_slice::UnalignedSlice<'_, proto::tcg::v2::AlgorithmDigestSize>` [INFO] [stdout] | [INFO] [stdout] ::: src/data_types/unaligned_slice.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UnalignedSlice<'a, T: Copy> { [INFO] [stdout] | -------------------------------------- method `to_vec` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uefi` (lib test) due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "d818e0130821afa8692deb9d9fe6ee5326ee5e4583836ea87cb610c4f04721fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d818e0130821afa8692deb9d9fe6ee5326ee5e4583836ea87cb610c4f04721fd", kill_on_drop: false }` [INFO] [stdout] d818e0130821afa8692deb9d9fe6ee5326ee5e4583836ea87cb610c4f04721fd