[INFO] fetching crate uefi 0.34.1... [INFO] checking uefi-0.34.1 against try#1d0e7c032bf9b905a3165592072b5cc63c491d50 for pr-133502-5 [INFO] extracting crate uefi 0.34.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate uefi 0.34.1 on toolchain 1d0e7c032bf9b905a3165592072b5cc63c491d50 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate uefi 0.34.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate uefi 0.34.1 [INFO] tweaked toml for crates.io crate uefi 0.34.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate uefi 0.34.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" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02482d17e78c0309b08f17e3cfea2c720403f04f8512265b882934f625380af8 [INFO] running `Command { std: "docker" "start" "-a" "02482d17e78c0309b08f17e3cfea2c720403f04f8512265b882934f625380af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02482d17e78c0309b08f17e3cfea2c720403f04f8512265b882934f625380af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02482d17e78c0309b08f17e3cfea2c720403f04f8512265b882934f625380af8", kill_on_drop: false }` [INFO] [stdout] 02482d17e78c0309b08f17e3cfea2c720403f04f8512265b882934f625380af8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9be0fe9a2cb03f2282d84d8e574d441994f9e9488a11e0436ac2972962de2cb [INFO] running `Command { std: "docker" "start" "-a" "d9be0fe9a2cb03f2282d84d8e574d441994f9e9488a11e0436ac2972962de2cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking uguid v2.2.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking ucs2 v0.3.3 [INFO] [stderr] Checking uefi-raw v0.10.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling uefi-macros v0.18.0 [INFO] [stderr] Checking ptr_meta v0.3.0 [INFO] [stderr] Checking uefi v0.34.1 (/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:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `alloc` feature [INFO] [stdout] --> src/lib.rs:258:7 [INFO] [stdout] | [INFO] [stdout] 258 | #[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:259:21 [INFO] [stdout] | [INFO] [stdout] 259 | pub use data_types::CString16; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `alloc` feature [INFO] [stdout] --> src/lib.rs:258:7 [INFO] [stdout] | [INFO] [stdout] 258 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | 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: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[E0433]: failed to resolve: use of unresolved module or unlinked crate `alloc` [INFO] [stdout] --> src/proto/driver/component_name.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | 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/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/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:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | 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:974:16 [INFO] [stdout] | [INFO] [stdout] 974 | 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:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | / pub fn to_cstr16<'buf>( [INFO] [stdout] 726 | | &self, [INFO] [stdout] 727 | | buf: &'buf mut [MaybeUninit], [INFO] [stdout] 728 | | ) -> 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:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | .finalize()?; [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let path = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | path.node_iter().next().unwrap().try_into().unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `path` an explicit type [INFO] [stdout] | [INFO] [stdout] 261 | let path: /* Type */ = DevicePathBuilder::with_vec(&mut v) [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[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:300:14 [INFO] [stdout] | [INFO] [stdout] 300 | .finalize()?; [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | let path = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | path.node_iter().next().unwrap().try_into().unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `path` an explicit type [INFO] [stdout] | [INFO] [stdout] 291 | let path: /* Type */ = DevicePathBuilder::with_vec(&mut v) [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[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 350 | .push(&messaging::RestService { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | .finalize()?; [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | let path = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | let mut iter = path.node_iter(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `path` an explicit type [INFO] [stdout] | [INFO] [stdout] 344 | let path: /* Type */ = DevicePathBuilder::with_vec(&mut v) [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[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:406:14 [INFO] [stdout] | [INFO] [stdout] 406 | .push(&hardware::Vendor { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:410:14 [INFO] [stdout] | [INFO] [stdout] 410 | .finalize()?; [INFO] [stdout] | ^^^^^^^^ cannot infer type [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[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let path1 = DevicePathBuilder::with_vec(&mut v) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | for node in path1.node_iter() { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `path1` an explicit type [INFO] [stdout] | [INFO] [stdout] 401 | let path1: /* Type */ = DevicePathBuilder::with_vec(&mut v) [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[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:495:14 [INFO] [stdout] | [INFO] [stdout] 495 | .push(&hardware::Pci { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:499:14 [INFO] [stdout] | [INFO] [stdout] 499 | .push(&messaging::MacAddress { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:507:14 [INFO] [stdout] | [INFO] [stdout] 507 | .push(&messaging::Ipv4 { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:517:14 [INFO] [stdout] | [INFO] [stdout] 517 | .push(&messaging::Iscsi { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | .push(&media::HardDrive { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/proto/device_path/build.rs:533:14 [INFO] [stdout] | [INFO] [stdout] 533 | .finalize()?; [INFO] [stdout] | ^^^^^^^^ cannot infer type [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:865:27 [INFO] [stdout] | [INFO] [stdout] 865 | let owned_dp = dp.to_owned(); [INFO] [stdout] | ^^^^^^^^ method not found in `&DevicePath` [INFO] [stdout] --> /rustc/1d0e7c032bf9b905a3165592072b5cc63c491d50/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] 746 + 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: E0282, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uefi` (lib test) due to 51 previous errors [INFO] running `Command { std: "docker" "inspect" "d9be0fe9a2cb03f2282d84d8e574d441994f9e9488a11e0436ac2972962de2cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9be0fe9a2cb03f2282d84d8e574d441994f9e9488a11e0436ac2972962de2cb", kill_on_drop: false }` [INFO] [stdout] d9be0fe9a2cb03f2282d84d8e574d441994f9e9488a11e0436ac2972962de2cb