[INFO] fetching crate uefi 0.35.0... [INFO] testing uefi-0.35.0 against 1.88.0 for beta-1.89-1 [INFO] extracting crate uefi 0.35.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate uefi 0.35.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate uefi 0.35.0 [INFO] tweaked toml for crates.io crate uefi 0.35.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uefi 0.35.0 on toolchain 1.88.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.88.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uefi 0.35.0 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" "+1.88.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ptr_meta v0.3.0 [INFO] [stderr] Downloaded uguid v2.2.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.0 [INFO] [stderr] Downloaded uefi-macros v0.18.1 [INFO] [stderr] Downloaded ucs2 v0.3.3 [INFO] [stderr] Downloaded qemu-exit v3.0.2 [INFO] [stderr] Downloaded uefi-raw v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1.88.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5260c21c3ad32574115fbdc71fc85ad690042c043edbb9d468b960f71498ce41 [INFO] running `Command { std: "docker" "start" "-a" "5260c21c3ad32574115fbdc71fc85ad690042c043edbb9d468b960f71498ce41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5260c21c3ad32574115fbdc71fc85ad690042c043edbb9d468b960f71498ce41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5260c21c3ad32574115fbdc71fc85ad690042c043edbb9d468b960f71498ce41", kill_on_drop: false }` [INFO] [stdout] 5260c21c3ad32574115fbdc71fc85ad690042c043edbb9d468b960f71498ce41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1.88.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a192ca88b2e1dc9d21793088fc85a66ff7b4b6045bae5b1c9d3360ebb5d8746f [INFO] running `Command { std: "docker" "start" "-a" "a192ca88b2e1dc9d21793088fc85a66ff7b4b6045bae5b1c9d3360ebb5d8746f", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling uguid v2.2.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling uefi-raw v0.11.0 [INFO] [stderr] Compiling ucs2 v0.3.3 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling uefi-macros v0.18.1 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling uefi v0.35.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.80s [INFO] running `Command { std: "docker" "inspect" "a192ca88b2e1dc9d21793088fc85a66ff7b4b6045bae5b1c9d3360ebb5d8746f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a192ca88b2e1dc9d21793088fc85a66ff7b4b6045bae5b1c9d3360ebb5d8746f", kill_on_drop: false }` [INFO] [stdout] a192ca88b2e1dc9d21793088fc85a66ff7b4b6045bae5b1c9d3360ebb5d8746f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1.88.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cdb0b564dd8bd50a3078d7bcf14393b5094c709fe66106071d25cf20460556b [INFO] running `Command { std: "docker" "start" "-a" "7cdb0b564dd8bd50a3078d7bcf14393b5094c709fe66106071d25cf20460556b", kill_on_drop: false }` [INFO] [stderr] Compiling uefi v0.35.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::CString16` [INFO] [stdout] --> src/proto/media/file/info.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | 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:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `alloc` feature [INFO] [stdout] --> src/lib.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::CString16` [INFO] [stdout] --> src/proto/media/file/mod.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | 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:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `alloc` feature [INFO] [stdout] --> src/lib.rs:259:7 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `alloc` [INFO] [stdout] --> src/proto/media/file/mod.rs:355:11 [INFO] [stdout] | [INFO] [stdout] 355 | 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:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | 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:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | 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:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | 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:881:9 [INFO] [stdout] | [INFO] [stdout] 881 | 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:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | 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:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | 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:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | 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:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | 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:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | 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] [INFO] [stdout] error[E0599]: no method named `to_cstring16` found for struct `unaligned_slice::UnalignedSlice` in the current scope [INFO] [stdout] --> src/data_types/strs.rs:1026:16 [INFO] [stdout] | [INFO] [stdout] 1026 | 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:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | 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] [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` 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 `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 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` 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 `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 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` 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 `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 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` 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 `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 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` 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 `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 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` 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 `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 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:999:27 [INFO] [stdout] | [INFO] [stdout] 999 | let owned_dp = dp.to_owned(); [INFO] [stdout] | ^^^^^^^^ method not found in `&DevicePath` [INFO] [stdout] --> /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/alloc/src/borrow.rs:58:8 [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] 880 + 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:379:25 [INFO] [stdout] | [INFO] [stdout] 379 | 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:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | / fn get_info<'buf, Info: FileProtocolInfo + ?Sized>( [INFO] [stdout] 126 | | &mut self, [INFO] [stdout] 127 | | buffer: &'buf mut [u8], [INFO] [stdout] 128 | | ) -> 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:539:25 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct PcrEvent { [INFO] [stdout] | ------------------- function or associated item `new_in_box` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 539 | &*PcrEvent::new_in_box(PcrIndex(4), EventType::IPL, digest, &data).unwrap() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `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:795:31 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct PcrEventInputs { [INFO] [stdout] | ------------------------- function or associated item `new_in_box` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 795 | &*PcrEventInputs::new_in_box(PcrIndex(4), EventType::IPL, &event_data).unwrap() [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `PcrEventInputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `unaligned_slice::UnalignedSlice` in the current scope [INFO] [stdout] --> src/proto/tcg/v2.rs:940:45 [INFO] [stdout] | [INFO] [stdout] 940 | header.algorithm_digest_sizes.0.to_vec(), [INFO] [stdout] | ^^^^^^ method not found in `UnalignedSlice<'_, 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" "7cdb0b564dd8bd50a3078d7bcf14393b5094c709fe66106071d25cf20460556b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cdb0b564dd8bd50a3078d7bcf14393b5094c709fe66106071d25cf20460556b", kill_on_drop: false }` [INFO] [stdout] 7cdb0b564dd8bd50a3078d7bcf14393b5094c709fe66106071d25cf20460556b