[INFO] fetching crate uefi 0.35.0... [INFO] testing uefi-0.35.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate uefi 0.35.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uefi 0.35.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uefi-macros v0.18.1 [INFO] [stderr] Downloaded uguid v2.2.0 [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbdb21a0abdfffb6e3482999082cbebad94d61a35f34c2c8d92488b9a9d42b7f [INFO] running `Command { std: "docker" "start" "-a" "dbdb21a0abdfffb6e3482999082cbebad94d61a35f34c2c8d92488b9a9d42b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbdb21a0abdfffb6e3482999082cbebad94d61a35f34c2c8d92488b9a9d42b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbdb21a0abdfffb6e3482999082cbebad94d61a35f34c2c8d92488b9a9d42b7f", kill_on_drop: false }` [INFO] [stdout] dbdb21a0abdfffb6e3482999082cbebad94d61a35f34c2c8d92488b9a9d42b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b45e931a6e200962714ba2d9de0e29d8cfc9a872ee843ee9c4ef9c27981c14e [INFO] running `Command { std: "docker" "start" "-a" "0b45e931a6e200962714ba2d9de0e29d8cfc9a872ee843ee9c4ef9c27981c14e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling uguid v2.2.0 [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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_types/strs.rs:572:23 [INFO] [stdout] | [INFO] [stdout] 572 | pub const fn iter(&self) -> CStr16Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub const fn iter(&self) -> CStr16Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/console/gop.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | pub const fn modes(&self) -> ModeIter { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | pub const fn modes(&self) -> ModeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/console/gop.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn frame_buffer(&mut self) -> FrameBuffer { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | pub fn frame_buffer(&mut self) -> FrameBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn as_enum(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 281 | pub fn as_enum(&self) -> Result, NodeConversionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:357:28 [INFO] [stdout] | [INFO] [stdout] 357 | pub const fn node_iter(&self) -> DevicePathNodeIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 357 | pub const fn node_iter(&self) -> DevicePathNodeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:503:32 [INFO] [stdout] | [INFO] [stdout] 503 | pub const fn instance_iter(&self) -> DevicePathInstanceIterator { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 503 | pub const fn instance_iter(&self) -> DevicePathInstanceIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | pub const fn node_iter(&self) -> DevicePathNodeIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 514 | pub const fn node_iter(&self) -> DevicePathNodeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:573:20 [INFO] [stdout] | [INFO] [stdout] 573 | pub fn adr(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 573 | pub fn adr(&self) -> UnalignedSlice<'_, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:1177:30 [INFO] [stdout] | [INFO] [stdout] 1177 | pub fn serial_number(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1177 | pub fn serial_number(&self) -> UnalignedSlice<'_, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:2427:26 [INFO] [stdout] | [INFO] [stdout] 2427 | pub fn addresses(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2427 | pub fn addresses(&self) -> UnalignedSlice<'_, IpAddress> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:2936:26 [INFO] [stdout] | [INFO] [stdout] 2936 | pub fn path_name(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2936 | pub fn path_name(&self) -> UnalignedSlice<'_, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/driver/component_name.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn supported_languages(&self) -> core::result::Result { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn supported_languages(&self) -> core::result::Result, LanguageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/driver/component_name.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | pub const fn supported_languages(&self) -> core::result::Result { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub const fn supported_languages(&self) -> core::result::Result, LanguageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/driver/component_name.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn supported_languages(&self) -> core::result::Result { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | pub fn supported_languages(&self) -> core::result::Result, LanguageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v1.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | pub const fn iter(&self) -> EventLogIter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub const fn iter(&self) -> EventLogIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v1.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn status_check(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | pub fn status_check(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn iter(&self) -> EventLogIter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn iter(&self) -> EventLogIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | fn header(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | fn header(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:516:20 [INFO] [stdout] | [INFO] [stdout] 516 | pub fn digests(&self) -> PcrEventDigests { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 516 | pub fn digests(&self) -> PcrEventDigests<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn get_event_log_v1(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 582 | pub fn get_event_log_v1(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:611:29 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn get_event_log_v2(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 611 | pub fn get_event_log_v2(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.01s [INFO] running `Command { std: "docker" "inspect" "0b45e931a6e200962714ba2d9de0e29d8cfc9a872ee843ee9c4ef9c27981c14e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b45e931a6e200962714ba2d9de0e29d8cfc9a872ee843ee9c4ef9c27981c14e", kill_on_drop: false }` [INFO] [stdout] 0b45e931a6e200962714ba2d9de0e29d8cfc9a872ee843ee9c4ef9c27981c14e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47028a7bf2cfa8c4c102522ca501558ded8a38236e9562c833da1a7fd6b7dbdd [INFO] running `Command { std: "docker" "start" "-a" "47028a7bf2cfa8c4c102522ca501558ded8a38236e9562c833da1a7fd6b7dbdd", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_types/strs.rs:572:23 [INFO] [stdout] | [INFO] [stdout] 572 | pub const fn iter(&self) -> CStr16Iter { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub const fn iter(&self) -> CStr16Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/console/gop.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | pub const fn modes(&self) -> ModeIter { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | pub const fn modes(&self) -> ModeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/console/gop.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn frame_buffer(&mut self) -> FrameBuffer { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | pub fn frame_buffer(&mut self) -> FrameBuffer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn as_enum(&self) -> Result { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 281 | pub fn as_enum(&self) -> Result, NodeConversionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:357:28 [INFO] [stdout] | [INFO] [stdout] 357 | pub const fn node_iter(&self) -> DevicePathNodeIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 357 | pub const fn node_iter(&self) -> DevicePathNodeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:503:32 [INFO] [stdout] | [INFO] [stdout] 503 | pub const fn instance_iter(&self) -> DevicePathInstanceIterator { [INFO] [stdout] | ^^^^^ -------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 503 | pub const fn instance_iter(&self) -> DevicePathInstanceIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling uefi v0.35.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/mod.rs:514:28 [INFO] [stdout] | [INFO] [stdout] 514 | pub const fn node_iter(&self) -> DevicePathNodeIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 514 | pub const fn node_iter(&self) -> DevicePathNodeIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:573:20 [INFO] [stdout] | [INFO] [stdout] 573 | pub fn adr(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 573 | pub fn adr(&self) -> UnalignedSlice<'_, u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:1177:30 [INFO] [stdout] | [INFO] [stdout] 1177 | pub fn serial_number(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1177 | pub fn serial_number(&self) -> UnalignedSlice<'_, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:2427:26 [INFO] [stdout] | [INFO] [stdout] 2427 | pub fn addresses(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2427 | pub fn addresses(&self) -> UnalignedSlice<'_, IpAddress> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/device_path/device_path_gen.rs:2936:26 [INFO] [stdout] | [INFO] [stdout] 2936 | pub fn path_name(&self) -> UnalignedSlice { [INFO] [stdout] | ^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 2936 | pub fn path_name(&self) -> UnalignedSlice<'_, u16> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/driver/component_name.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn supported_languages(&self) -> core::result::Result { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn supported_languages(&self) -> core::result::Result, LanguageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/driver/component_name.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | pub const fn supported_languages(&self) -> core::result::Result { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | pub const fn supported_languages(&self) -> core::result::Result, LanguageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/driver/component_name.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn supported_languages(&self) -> core::result::Result { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 188 | pub fn supported_languages(&self) -> core::result::Result, LanguageError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v1.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | pub const fn iter(&self) -> EventLogIter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub const fn iter(&self) -> EventLogIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v1.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn status_check(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | pub fn status_check(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn iter(&self) -> EventLogIter { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn iter(&self) -> EventLogIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | fn header(&self) -> Option { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | fn header(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:516:20 [INFO] [stdout] | [INFO] [stdout] 516 | pub fn digests(&self) -> PcrEventDigests { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 516 | pub fn digests(&self) -> PcrEventDigests<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:582:29 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn get_event_log_v1(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 582 | pub fn get_event_log_v1(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/proto/tcg/v2.rs:611:29 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn get_event_log_v2(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 611 | pub fn get_event_log_v2(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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] 259 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 260 | 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: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] 259 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 260 | 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: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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 260 | 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: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] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 259 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 260 | 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 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 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 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 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 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 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 `&proto::device_path::DevicePath` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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 `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: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 `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:940:45 [INFO] [stdout] | [INFO] [stdout] 940 | 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" "47028a7bf2cfa8c4c102522ca501558ded8a38236e9562c833da1a7fd6b7dbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47028a7bf2cfa8c4c102522ca501558ded8a38236e9562c833da1a7fd6b7dbdd", kill_on_drop: false }` [INFO] [stdout] 47028a7bf2cfa8c4c102522ca501558ded8a38236e9562c833da1a7fd6b7dbdd