[INFO] fetching crate mu_uefi_boot_services 2.0.0... [INFO] testing mu_uefi_boot_services-2.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mu_uefi_boot_services 2.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mu_uefi_boot_services 2.0.0 [INFO] finished tweaking crates.io crate mu_uefi_boot_services 2.0.0 [INFO] tweaked toml for crates.io crate mu_uefi_boot_services 2.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mu_uefi_boot_services 2.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8293b5371d7813d72bac30e2741ac4d6d53e8303331b2ae69f29b6908abff2f [INFO] running `Command { std: "docker" "start" "-a" "c8293b5371d7813d72bac30e2741ac4d6d53e8303331b2ae69f29b6908abff2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8293b5371d7813d72bac30e2741ac4d6d53e8303331b2ae69f29b6908abff2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8293b5371d7813d72bac30e2741ac4d6d53e8303331b2ae69f29b6908abff2f", kill_on_drop: false }` [INFO] [stdout] c8293b5371d7813d72bac30e2741ac4d6d53e8303331b2ae69f29b6908abff2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42160c40e66e8e0243ed2ac8acbf3f5dd32b96e5b6284da953469fa61a3e75a9 [INFO] running `Command { std: "docker" "start" "-a" "42160c40e66e8e0243ed2ac8acbf3f5dd32b96e5b6284da953469fa61a3e75a9", kill_on_drop: false }` [INFO] [stderr] Compiling r-efi v5.3.0 [INFO] [stderr] Compiling mu_uefi_boot_services v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1052:9 [INFO] [stdout] | [INFO] [stdout] 1052 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1053 | search_type: HandleSearchType, [INFO] [stdout] 1054 | ) -> Result, efi::Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1054 | ) -> Result, efi::Status> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1166 | ) -> Result, efi::Status> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1166 | ) -> Result, efi::Status> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1225 | handle: efi::Handle, [INFO] [stdout] 1226 | ) -> Result, efi::Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1226 | ) -> Result, efi::Status> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1243 | search_type: HandleSearchType, [INFO] [stdout] 1244 | ) -> Result, efi::Status> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1244 | ) -> Result, efi::Status> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "42160c40e66e8e0243ed2ac8acbf3f5dd32b96e5b6284da953469fa61a3e75a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42160c40e66e8e0243ed2ac8acbf3f5dd32b96e5b6284da953469fa61a3e75a9", kill_on_drop: false }` [INFO] [stdout] 42160c40e66e8e0243ed2ac8acbf3f5dd32b96e5b6284da953469fa61a3e75a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e9d2c78769ac7aab27538e968bd764df063538a69173022b4782ea645eb39c [INFO] running `Command { std: "docker" "start" "-a" "a4e9d2c78769ac7aab27538e968bd764df063538a69173022b4782ea645eb39c", kill_on_drop: false }` [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1052:9 [INFO] [stdout] | [INFO] [stdout] 1052 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1053 | search_type: HandleSearchType, [INFO] [stdout] 1054 | ) -> Result, efi::Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1054 | ) -> Result, efi::Status> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1166 | ) -> Result, efi::Status> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1166 | ) -> Result, efi::Status> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1225 | handle: efi::Handle, [INFO] [stdout] 1226 | ) -> Result, efi::Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1226 | ) -> Result, efi::Status> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1243 | search_type: HandleSearchType, [INFO] [stdout] 1244 | ) -> Result, efi::Status> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1244 | ) -> Result, efi::Status> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling mu_uefi_boot_services v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boot_services.rs:3045:24 [INFO] [stdout] | [INFO] [stdout] 3045 | assert_eq!(unsafe { ptr::addr_of!(B) } as usize, dest as usize); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boot_services.rs:3067:24 [INFO] [stdout] | [INFO] [stdout] 3067 | assert_eq!(unsafe { ptr::addr_of!(BUFFER) } as usize, buffer as usize); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/boot_services.rs:3109:24 [INFO] [stdout] | [INFO] [stdout] 3109 | assert_eq!(unsafe { ptr::addr_of!(TABLE) } as usize, table as usize); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1052:9 [INFO] [stdout] | [INFO] [stdout] 1052 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1053 | search_type: HandleSearchType, [INFO] [stdout] 1054 | ) -> Result, efi::Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1054 | ) -> Result, efi::Status> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1163:9 [INFO] [stdout] | [INFO] [stdout] 1163 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1166 | ) -> Result, efi::Status> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1166 | ) -> Result, efi::Status> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1225 | handle: efi::Handle, [INFO] [stdout] 1226 | ) -> Result, efi::Status> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1226 | ) -> Result, efi::Status> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/boot_services.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1243 | search_type: HandleSearchType, [INFO] [stdout] 1244 | ) -> Result, efi::Status> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 1244 | ) -> Result, efi::Status> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `MaybeUninit` will be dropped [INFO] [stdout] --> src/boot_services.rs:1529:74 [INFO] [stdout] | [INFO] [stdout] 1529 | let efi_bs = unsafe { MaybeUninit::::zeroed().as_ptr().as_ref().unwrap() }; [INFO] [stdout] | ------------------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `MaybeUninit` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `MaybeUninit` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `MaybeUninit` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `MaybeUninit` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/boot_services.rs:1593:13 [INFO] [stdout] | [INFO] [stdout] 1593 | assert_eq!(None, notify_function); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/boot_services.rs:1668:13 [INFO] [stdout] | [INFO] [stdout] 1668 | assert_eq!(None, notify_function); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.92s [INFO] running `Command { std: "docker" "inspect" "a4e9d2c78769ac7aab27538e968bd764df063538a69173022b4782ea645eb39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e9d2c78769ac7aab27538e968bd764df063538a69173022b4782ea645eb39c", kill_on_drop: false }` [INFO] [stdout] a4e9d2c78769ac7aab27538e968bd764df063538a69173022b4782ea645eb39c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c983964dc68609dd69ff5977150dd79e38fd9dae1956646851c498f028da0c7f [INFO] running `Command { std: "docker" "start" "-a" "c983964dc68609dd69ff5977150dd79e38fd9dae1956646851c498f028da0c7f", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/boot_services.rs:1052:9 [INFO] [stderr] | [INFO] [stderr] 1052 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 1053 | search_type: HandleSearchType, [INFO] [stderr] 1054 | ) -> Result, efi::Status> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1054 | ) -> Result, efi::Status> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/boot_services.rs:1163:9 [INFO] [stderr] | [INFO] [stderr] 1163 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 1166 | ) -> Result, efi::Status> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1166 | ) -> Result, efi::Status> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/boot_services.rs:1224:9 [INFO] [stderr] | [INFO] [stderr] 1224 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 1225 | handle: efi::Handle, [INFO] [stderr] 1226 | ) -> Result, efi::Status> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1226 | ) -> Result, efi::Status> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/boot_services.rs:1242:9 [INFO] [stderr] | [INFO] [stderr] 1242 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 1243 | search_type: HandleSearchType, [INFO] [stderr] 1244 | ) -> Result, efi::Status> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1244 | ) -> Result, efi::Status> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `mu_uefi_boot_services` (lib) generated 4 warnings (run `cargo fix --lib -p mu_uefi_boot_services` to apply 4 suggestions) [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/boot_services.rs:3045:24 [INFO] [stderr] | [INFO] [stderr] 3045 | assert_eq!(unsafe { ptr::addr_of!(B) } as usize, dest as usize); [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/boot_services.rs:3067:24 [INFO] [stderr] | [INFO] [stderr] 3067 | assert_eq!(unsafe { ptr::addr_of!(BUFFER) } as usize, buffer as usize); [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/boot_services.rs:3109:24 [INFO] [stderr] | [INFO] [stderr] 3109 | assert_eq!(unsafe { ptr::addr_of!(TABLE) } as usize, table as usize); [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `MaybeUninit` will be dropped [INFO] [stderr] --> src/boot_services.rs:1529:74 [INFO] [stderr] | [INFO] [stderr] 1529 | let efi_bs = unsafe { MaybeUninit::::zeroed().as_ptr().as_ref().unwrap() }; [INFO] [stderr] | ------------------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `MaybeUninit` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `MaybeUninit` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: you must make sure that the variable you bind the `MaybeUninit` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `MaybeUninit` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/boot_services.rs:1593:13 [INFO] [stderr] | [INFO] [stderr] 1593 | assert_eq!(None, notify_function); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stderr] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stderr] --> src/boot_services.rs:1668:13 [INFO] [stderr] | [INFO] [stderr] 1668 | assert_eq!(None, notify_function); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the address of the same function can vary between different codegen units [INFO] [stderr] = note: furthermore, different functions could have the same address after being merged together [INFO] [stderr] = note: for more information visit [INFO] [stderr] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mu_uefi_boot_services` (lib test) generated 10 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/boot_services.rs (/opt/rustwide/target/debug/deps/boot_services-a5dc2faae8780f43) [INFO] [stdout] [INFO] [stdout] running 104 tests [INFO] [stdout] test c_ptr::test::test_ref ... ok [INFO] [stdout] test c_ptr::test::test_unit_type ... ok [INFO] [stdout] test test::test_allocate_pages_at_specific_address ... ok [INFO] [stdout] test c_ptr::test::test_manually_drop ... ok [INFO] [stdout] test c_ptr::test::test_option ... ok [INFO] [stdout] test test::test_check_event ... ok [INFO] [stdout] test test::test_calculate_crc32 ... ok [INFO] [stdout] test test::test_allocate_pool ... ok [INFO] [stdout] test test::test_close_event ... ok [INFO] [stdout] test test::test_close_protocol ... ok [INFO] [stdout] test c_ptr::test::test_box ... ok [INFO] [stdout] test test::test_connect_controller ... ok [INFO] [stdout] test test::test_allocate_pages ... ok [INFO] [stdout] test test::test_connect_controller_with_image_handles ... ok [INFO] [stdout] test test::test_copy_mem ... ok [INFO] [stdout] test test::test_allocate_pages_not_init - should panic ... ok [INFO] [stdout] test test::test_create_event ... ok [INFO] [stdout] test test::test_create_event_ex ... ok [INFO] [stdout] test test::test_calculate_crc32_not_init - should panic ... ok [INFO] [stdout] test test::test_create_event_ex_no_notify ... ok [INFO] [stdout] test test::test_create_event_no_notify ... ok [INFO] [stdout] test test::test_check_event_not_init - should panic ... ok [INFO] [stdout] test test::test_close_protocol_not_init - should panic ... ok [INFO] [stdout] test test::test_create_event_not_init - should panic ... ok [INFO] [stdout] test test::test_disconnect_controller ... ok [INFO] [stdout] test test::test_allocate_pool_not_init - should panic ... ok [INFO] [stdout] test test::test_connect_controller_not_init - should panic ... ok [INFO] [stdout] test test::test_exit_boot_services ... ok [INFO] [stdout] test test::test_create_event_ex_not_init - should panic ... ok [INFO] [stdout] test test::test_free_pages ... ok [INFO] [stdout] test test::test_close_event_not_init - should panic ... ok [INFO] [stdout] test test::test_free_pool ... ok [INFO] [stdout] test test::test_exit_boot_services_not_init - should panic ... ok [INFO] [stdout] test test::test_get_memory_map ... ok [INFO] [stdout] test test::test_get_next_monotonic_count ... ok [INFO] [stdout] test test::test_copy_mem_not_init - should panic ... ok [INFO] [stdout] test test::test_exit_not_init - should panic ... ok [INFO] [stdout] test test::test_get_next_monotonic_count_not_init - should panic ... ok [INFO] [stdout] test test::test_handle_protocol ... ok [INFO] [stdout] test test::test_handle_protocol_marker ... ok [INFO] [stdout] test test::test_handle_protocol_not_init - should panic ... ok [INFO] [stdout] test test::test_handle_protocol_with_marker_interface - should panic ... ok [INFO] [stdout] test test::test_install_configuration_table ... ok [INFO] [stdout] test test::test_disconnect_controller_not_init - should panic ... ok [INFO] [stdout] test test::test_free_pages_not_init - should panic ... ok [INFO] [stdout] test test::test_install_protocol_interface ... ok [INFO] [stdout] test test::test_install_configuration_table_not_init - should panic ... ok [INFO] [stdout] test test::test_load_image ... ok [INFO] [stdout] test test::test_install_protocol_interface_not_init - should panic ... ok [INFO] [stdout] test test::test_install_protocol_marker ... ok [INFO] [stdout] test test::test_install_protocol_marker_with_intall_protocol_interface - should panic ... ok [INFO] [stdout] test test::test_load_image_from_file ... ok [INFO] [stdout] test test::test_load_image_from_source ... ok [INFO] [stdout] test test::test_locate_device_path_not_init - should panic ... ok [INFO] [stdout] test test::test_locate_device_path ... ok [INFO] [stdout] test test::test_locate_handle_all_handles ... ok [INFO] [stdout] test test::test_load_image_not_init - should panic ... ok [INFO] [stdout] test test::test_locate_handle_by_protocol ... ok [INFO] [stdout] test test::test_locate_handle_not_init - should panic ... ok [INFO] [stdout] test test::test_locate_handle_by_registry_notify ... ok [INFO] [stdout] test test::test_locate_protocol_marker ... ok [INFO] [stdout] test test::test_locate_protocol ... ok [INFO] [stdout] test test::test_locate_protocol_marker_with_locate_protocol - should panic ... ok [INFO] [stdout] test test::test_open_protocol_information ... ok [INFO] [stdout] test test::test_open_protocol ... ok [INFO] [stdout] test test::test_open_protocol_marker ... ok [INFO] [stdout] test test::test_locate_protocol_not_init - should panic ... ok [INFO] [stdout] test test::test_open_protocol_information_not_init - should panic ... ok [INFO] [stdout] test test::test_open_protocol_not_init - should panic ... ok [INFO] [stdout] test test::test_open_protocol_with_marker_interface - should panic ... ok [INFO] [stdout] test test::test_raise_tpl ... ok [INFO] [stdout] test test::test_raise_tpl_guarded ... ok [INFO] [stdout] test test::test_register_protocol_notify ... ok [INFO] [stdout] test test::test_protocol_per_handle ... ok [INFO] [stdout] test test::test_reinstall_protocol_interface ... ok [INFO] [stdout] test test::test_register_protocol_notify_not_init - should panic ... ok [INFO] [stdout] test test::test_raise_tpl_not_init - should panic ... ok [INFO] [stdout] test test::test_protocol_per_handle_not_init - should panic ... ok [INFO] [stdout] test test::test_restore_tpl_not_init - should panic ... ok [INFO] [stdout] test test::test_set_mem ... ok [INFO] [stdout] test test::test_reinstall_protocol_interface_not_init - should panic ... ok [INFO] [stdout] test test::test_restore_tpl ... ok [INFO] [stdout] test test::test_set_mem_not_init - should panic ... ok [INFO] [stdout] test test::test_set_timer ... ok [INFO] [stdout] test test::test_set_watchdog_timer ... ok [INFO] [stdout] test test::test_signal_event ... ok [INFO] [stdout] test test::test_start_image ... ok [INFO] [stdout] test test::test_stall ... ok [INFO] [stdout] test test::test_set_timer_not_init - should panic ... ok [INFO] [stdout] test test::test_signal_event_not_init - should panic ... ok [INFO] [stdout] test test::test_stall_not_init - should panic ... ok [INFO] [stdout] test test::test_set_watchdog_timer_not_init - should panic ... ok [INFO] [stdout] test test::test_that_initializing_boot_services_multiple_time_should_panic - should panic ... ok [INFO] [stdout] test test::test_uninstall_protocol_marker ... ok [INFO] [stdout] test test::test_uninstall_protocol_interface ... ok [INFO] [stdout] test test::test_unload_image ... ok [INFO] [stdout] test test::test_wait_for_event ... ok [INFO] [stdout] test test::test_start_image_not_init - should panic ... ok [INFO] [stdout] test test::test_that_accessing_uninit_boot_services_should_panic - should panic ... ok [INFO] [stdout] test test::test_uninstall_protocol_interface_not_init - should panic ... ok [INFO] [stdout] test test::test_unload_image_not_init - should panic ... ok [INFO] [stdout] test test::test_wait_for_event_not_init - should panic ... ok [INFO] [stdout] test test::test_disconnect_controller_with_handles ... ok [INFO] [stdout] test test::test_exit ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests boot_services [INFO] [stdout] test result: ok. 104 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c983964dc68609dd69ff5977150dd79e38fd9dae1956646851c498f028da0c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c983964dc68609dd69ff5977150dd79e38fd9dae1956646851c498f028da0c7f", kill_on_drop: false }` [INFO] [stdout] c983964dc68609dd69ff5977150dd79e38fd9dae1956646851c498f028da0c7f