[INFO] fetching crate mu_uefi_runtime_services 2.0.0... [INFO] testing mu_uefi_runtime_services-2.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mu_uefi_runtime_services 2.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate mu_uefi_runtime_services 2.0.0 [INFO] finished tweaking crates.io crate mu_uefi_runtime_services 2.0.0 [INFO] tweaked toml for crates.io crate mu_uefi_runtime_services 2.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mu_uefi_runtime_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 16 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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1aec75dbc838dea71a354acff5bb7561a8180760e28016923c7625d50afb1db0 [INFO] running `Command { std: "docker" "start" "-a" "1aec75dbc838dea71a354acff5bb7561a8180760e28016923c7625d50afb1db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aec75dbc838dea71a354acff5bb7561a8180760e28016923c7625d50afb1db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aec75dbc838dea71a354acff5bb7561a8180760e28016923c7625d50afb1db0", kill_on_drop: false }` [INFO] [stdout] 1aec75dbc838dea71a354acff5bb7561a8180760e28016923c7625d50afb1db0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 681c73a4c28c1508705792d4eb6106fe7d2da5c66f901799b2bae63b8d42a9cf [INFO] running `Command { std: "docker" "start" "-a" "681c73a4c28c1508705792d4eb6106fe7d2da5c66f901799b2bae63b8d42a9cf", kill_on_drop: false }` [INFO] [stderr] Compiling r-efi v5.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling mu_uefi_runtime_services v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "681c73a4c28c1508705792d4eb6106fe7d2da5c66f901799b2bae63b8d42a9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681c73a4c28c1508705792d4eb6106fe7d2da5c66f901799b2bae63b8d42a9cf", kill_on_drop: false }` [INFO] [stdout] 681c73a4c28c1508705792d4eb6106fe7d2da5c66f901799b2bae63b8d42a9cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c786da3dde60029e845656301afce63ca38464dc28a19170faa6805eb224725b [INFO] running `Command { std: "docker" "start" "-a" "c786da3dde60029e845656301afce63ca38464dc28a19170faa6805eb224725b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling mu_uefi_runtime_services v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `MaybeUninit` will be dropped [INFO] [stdout] --> src/runtime_services.rs:464:82 [INFO] [stdout] | [INFO] [stdout] 464 | let efi_rs = unsafe { mem::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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.28s [INFO] running `Command { std: "docker" "inspect" "c786da3dde60029e845656301afce63ca38464dc28a19170faa6805eb224725b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c786da3dde60029e845656301afce63ca38464dc28a19170faa6805eb224725b", kill_on_drop: false }` [INFO] [stdout] c786da3dde60029e845656301afce63ca38464dc28a19170faa6805eb224725b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 836a00217510489abffb21bfcdf39d315b92f24e5ad42462f8d9b3ff3fe30380 [INFO] running `Command { std: "docker" "start" "-a" "836a00217510489abffb21bfcdf39d315b92f24e5ad42462f8d9b3ff3fe30380", kill_on_drop: false }` [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `MaybeUninit` will be dropped [INFO] [stderr] --> src/runtime_services.rs:464:82 [INFO] [stderr] | [INFO] [stderr] 464 | let efi_rs = unsafe { mem::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: `mu_uefi_runtime_services` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/runtime_services.rs (/opt/rustwide/target/debug/deps/runtime_services-d1b114ecbb55b4bd) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test test::test_get_next_variable_name ... ok [INFO] [stdout] test test::test_get_next_variable_name_non_terminated ... ok [INFO] [stdout] test test::test_get_variable ... ok [INFO] [stdout] test test::test_get_next_variable_name_not_found ... ok [INFO] [stdout] test test::test_get_variable_low_size_hint ... ok [INFO] [stdout] test test::test_get_variable_size_and_attributes ... ok [INFO] [stdout] test test::test_query_variable_info ... ok [INFO] [stdout] test test::test_set_variable ... ok [INFO] [stdout] test test::test_set_variable_empty_name ... ok [INFO] [stdout] test test::test_set_variable_not_found ... ok [INFO] [stdout] test variable_services::test::test_variable_name_iterator_from_first ... ok [INFO] [stdout] test variable_services::test::test_variable_name_iterator_from_second ... ok [INFO] [stdout] test test::test_get_variable_not_found ... ok [INFO] [stdout] test test::test_query_variable_info_invalid_attributes ... ok [INFO] [stdout] test test::test_get_next_variable_name_zero_length_name - should panic ... ok [INFO] [stdout] test test::test_get_variable_non_terminated - should panic ... ok [INFO] [stdout] test test::test_set_variable_non_terminated - should panic ... ok [INFO] [stdout] test test::test_that_accessing_uninit_runtime_services_should_panic - should panic ... ok [INFO] [stdout] test test::test_that_initializing_runtime_services_multiple_time_should_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests runtime_services [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/runtime_services.rs - (line 6) ... ignored [INFO] [stdout] test src/variable_services.rs - variable_services::VariableNameIterator (line 57) ... ignored [INFO] [stdout] test src/variable_services.rs - variable_services::VariableNameIterator (line 67) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "836a00217510489abffb21bfcdf39d315b92f24e5ad42462f8d9b3ff3fe30380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "836a00217510489abffb21bfcdf39d315b92f24e5ad42462f8d9b3ff3fe30380", kill_on_drop: false }` [INFO] [stdout] 836a00217510489abffb21bfcdf39d315b92f24e5ad42462f8d9b3ff3fe30380