[INFO] cloning repository https://github.com/fshauge/shim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fshauge/shim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffshauge%2Fshim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffshauge%2Fshim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eba3bbbb3c0c9dd1a53da65a06e20a949e0f4fd7 [INFO] checking fshauge/shim/eba3bbbb3c0c9dd1a53da65a06e20a949e0f4fd7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffshauge%2Fshim" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fshauge/shim on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fshauge/shim [INFO] finished tweaking git repo https://github.com/fshauge/shim [INFO] tweaked toml for git repo https://github.com/fshauge/shim written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fshauge/shim 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-core-impl v1.0.38 [INFO] [stderr] Downloaded ruzstd v0.4.0 [INFO] [stderr] Downloaded thiserror-core v1.0.38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8185b9e30cd15c16f580e3bce8d6984a68c789228294cd7ec2e721909461df7 [INFO] running `Command { std: "docker" "start" "-a" "a8185b9e30cd15c16f580e3bce8d6984a68c789228294cd7ec2e721909461df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8185b9e30cd15c16f580e3bce8d6984a68c789228294cd7ec2e721909461df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8185b9e30cd15c16f580e3bce8d6984a68c789228294cd7ec2e721909461df7", kill_on_drop: false }` [INFO] [stdout] a8185b9e30cd15c16f580e3bce8d6984a68c789228294cd7ec2e721909461df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcfeca60135c6906b0988958c11baec869132329d6279acf1b837121d156e731 [INFO] running `Command { std: "docker" "start" "-a" "fcfeca60135c6906b0988958c11baec869132329d6279acf1b837121d156e731", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling thiserror-core v1.0.38 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Checking widestring v0.5.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking quote v1.0.18 [INFO] [stderr] Compiling thiserror-core-impl v1.0.38 [INFO] [stderr] Compiling ruzstd v0.4.0 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking shim-core v0.1.0 (/opt/rustwide/workdir/shim-core) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{HMODULE, MAX_PATH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::ntdef::WCHAR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::GetCurrentProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::{HMODULE, MAX_PATH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::GetModuleInformation; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::sysinfoapi::GetSystemDirectoryW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::ntdef::WCHAR; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryW}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::GetCurrentProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::psapi::GetModuleInformation; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> shim-core/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::sysinfoapi::GetSystemDirectoryW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shim-core` (lib test) due to 7 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shim-core` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "fcfeca60135c6906b0988958c11baec869132329d6279acf1b837121d156e731", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfeca60135c6906b0988958c11baec869132329d6279acf1b837121d156e731", kill_on_drop: false }` [INFO] [stdout] fcfeca60135c6906b0988958c11baec869132329d6279acf1b837121d156e731