[INFO] fetching crate registry 1.3.0...
[INFO] testing registry-1.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate registry 1.3.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate registry 1.3.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate registry 1.3.0
[INFO] tweaked toml for crates.io crate registry 1.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate registry 1.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate registry 1.3.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utfx v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98fcd67d8f39b457b59fda78cb7d2cbe2c1136d46d046765b1955dfdac112a52
[INFO] running `Command { std: "docker" "start" "-a" "98fcd67d8f39b457b59fda78cb7d2cbe2c1136d46d046765b1955dfdac112a52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98fcd67d8f39b457b59fda78cb7d2cbe2c1136d46d046765b1955dfdac112a52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98fcd67d8f39b457b59fda78cb7d2cbe2c1136d46d046765b1955dfdac112a52", kill_on_drop: false }`
[INFO] [stdout] 98fcd67d8f39b457b59fda78cb7d2cbe2c1136d46d046765b1955dfdac112a52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7949980ea6163f162699acb21a3f8f1c4f52f5ab2abfb42ca68b68916881410e
[INFO] running `Command { std: "docker" "start" "-a" "7949980ea6163f162699acb21a3f8f1c4f52f5ab2abfb42ca68b68916881410e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling utfx v0.1.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling windows-result v0.2.0
[INFO] [stderr]    Compiling windows-strings v0.1.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling windows-core v0.58.0
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling windows v0.58.0
[INFO] [stderr]    Compiling registry v1.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.06s
[INFO] running `Command { std: "docker" "inspect" "7949980ea6163f162699acb21a3f8f1c4f52f5ab2abfb42ca68b68916881410e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7949980ea6163f162699acb21a3f8f1c4f52f5ab2abfb42ca68b68916881410e", kill_on_drop: false }`
[INFO] [stdout] 7949980ea6163f162699acb21a3f8f1c4f52f5ab2abfb42ca68b68916881410e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 394d10920cef85a919055b4a6b489221c58e9b77f71a05a8358123ae91759e15
[INFO] running `Command { std: "docker" "start" "-a" "394d10920cef85a919055b4a6b489221c58e9b77f71a05a8358123ae91759e15", kill_on_drop: false }`
[INFO] [stderr]    Compiling registry v1.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `registry::Hive`, `registry::RegKey`, `registry::Security`
[INFO] [stdout]  --> examples/appkey.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use registry::{Hive, RegKey, Security};
[INFO] [stdout]   |                ^^^^  ^^^^^^  ^^^^^^^^ no `Security` in the root
[INFO] [stdout]   |                |     |
[INFO] [stdout]   |                |     no `RegKey` in the root
[INFO] [stdout]   |                no `Hive` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/appkey.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let subkey = subkey.unwrap().open(Security::Read).unwrap();
[INFO] [stdout]    |                      ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `registry` (example "appkey") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved imports `registry::Hive`, `registry::Security`
[INFO] [stdout]  --> examples/private-hive.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use registry::{Hive, Security};
[INFO] [stdout]   |                ^^^^  ^^^^^^^^ no `Security` in the root
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `Hive` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]  --> examples/private-hive.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::{core::PCWSTR, Win32::{Foundation::{HANDLE, LUID}, Security::{AdjustTokenPrivileges, LookupPrivilegeValueW, LUID_AND_ATT...
[INFO] [stdout]   |                             ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> examples/private-hive.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::{core::PCWSTR, Win32::{Foundation::{HANDLE, LUID}, Security::{AdjustTokenPrivileges, LookupPrivilegeValueW, LUID_AND_ATT...
[INFO] [stdout]   |               ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]  --> examples/private-hive.rs:4:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() -> Result<(), windows::core::Error> {
[INFO] [stdout]   |                                  ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]   --> examples/private-hive.rs:22:71
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn set_privilege(handle: HANDLE, name: PCWSTR) -> Result<(), windows::core::Error> {
[INFO] [stdout]    |                                                                       ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> examples/private-hive.rs:16:45
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let keys: Vec<_> = hive_key.keys().map(|k| k.unwrap().to_string()).collect();
[INFO] [stdout]    |                                             ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let keys: Vec<_> = hive_key.keys().map(|k: /* Type */| k.unwrap().to_string()).collect();
[INFO] [stdout]    |                                              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `registry` (example "private-hive") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "394d10920cef85a919055b4a6b489221c58e9b77f71a05a8358123ae91759e15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "394d10920cef85a919055b4a6b489221c58e9b77f71a05a8358123ae91759e15", kill_on_drop: false }`
[INFO] [stdout] 394d10920cef85a919055b4a6b489221c58e9b77f71a05a8358123ae91759e15
