[INFO] fetching crate windows-dll 0.4.1... [INFO] checking windows-dll-0.4.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate windows-dll 0.4.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate windows-dll 0.4.1 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 crates.io crate windows-dll 0.4.1 [INFO] finished tweaking crates.io crate windows-dll 0.4.1 [INFO] tweaked toml for crates.io crate windows-dll 0.4.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate windows-dll 0.4.1 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-dll-codegen v0.4.0 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded minifb v0.22.0 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.35.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.35.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.35.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.35.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.35.0 [INFO] [stderr] Downloaded orbclient v0.3.32 [INFO] [stderr] Downloaded windows v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78c06ae485471f2226fd158e0bd31fe579cd8a1675885b70b30eabde0c32f22f [INFO] running `Command { std: "docker" "start" "-a" "78c06ae485471f2226fd158e0bd31fe579cd8a1675885b70b30eabde0c32f22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78c06ae485471f2226fd158e0bd31fe579cd8a1675885b70b30eabde0c32f22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c06ae485471f2226fd158e0bd31fe579cd8a1675885b70b30eabde0c32f22f", kill_on_drop: false }` [INFO] [stdout] 78c06ae485471f2226fd158e0bd31fe579cd8a1675885b70b30eabde0c32f22f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 253f31ee0ffeffbefb7accb0be2450eebe4681b1e9c2f1108b86d3dfff0fcf94 [INFO] running `Command { std: "docker" "start" "-a" "253f31ee0ffeffbefb7accb0be2450eebe4681b1e9c2f1108b86d3dfff0fcf94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling minifb v0.22.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling windows-dll-codegen v0.4.0 [INFO] [stderr] Checking windows-dll v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/platform/winapi_crate.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use winapi::shared::{ [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] --> src/platform/winapi_crate.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub use winapi::um::winnt::{LPCSTR, LPCWSTR}; [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] --> src/platform/winapi_crate.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | shared::minwindef::{__some_function, FARPROC, HINSTANCE__, TRUE}, [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] --> src/platform/winapi_crate.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | um::libloaderapi::{FreeLibrary, GetProcAddress, LoadLibraryExW}, [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] --> src/platform/winapi_crate.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | pub use winapi::um::libloaderapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::platform::LPCSTR`, `crate::platform::ULONG_PTR`, `crate::platform::WORD`, `crate::platform::LPCSTR`, `crate::platform::LPCWSTR`, `platform::LPCSTR`, `platform::LPCWSTR` [INFO] [stdout] --> src/lib.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use platform::{LPCSTR, LPCWSTR}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cache.rs:2:74 [INFO] [stdout] | [INFO] [stdout] 2 | platform::{AtomicDllHandle, AtomicDllProcPtr, DllHandle, DllProcPtr, LPCSTR}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macro_internal.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::platform::{ULONG_PTR, WORD}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | platform::{LPCSTR, LPCWSTR}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-dll` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "253f31ee0ffeffbefb7accb0be2450eebe4681b1e9c2f1108b86d3dfff0fcf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253f31ee0ffeffbefb7accb0be2450eebe4681b1e9c2f1108b86d3dfff0fcf94", kill_on_drop: false }` [INFO] [stdout] 253f31ee0ffeffbefb7accb0be2450eebe4681b1e9c2f1108b86d3dfff0fcf94