[INFO] fetching crate windows-dll 0.3.0... [INFO] checking windows-dll-0.3.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate windows-dll 0.3.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate windows-dll 0.3.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-dll 0.3.0 [INFO] finished tweaking crates.io crate windows-dll 0.3.0 [INFO] tweaked toml for crates.io crate windows-dll 0.3.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate windows-dll 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v1.1.2 [INFO] [stderr] Downloaded redox_syscall v0.2.4 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded xattr v0.2.2 [INFO] [stderr] Downloaded nom v6.1.0 [INFO] [stderr] Downloaded filetime v0.2.14 [INFO] [stderr] Downloaded libloading v0.6.7 [INFO] [stderr] Downloaded cmake v0.1.45 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded rand_core v0.6.1 [INFO] [stderr] Downloaded wayland-client v0.27.0 [INFO] [stderr] Downloaded sdl2-sys v0.34.3 [INFO] [stderr] Downloaded sdl2 v0.34.3 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded wayland-cursor v0.27.0 [INFO] [stderr] Downloaded flate2 v1.0.20 [INFO] [stderr] Downloaded wayland-commons v0.27.0 [INFO] [stderr] Downloaded wayland-sys v0.27.0 [INFO] [stderr] Downloaded tar v0.4.32 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded wayland-protocols v0.27.0 [INFO] [stderr] Downloaded nix v0.17.0 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded minifb v0.19.2 [INFO] [stderr] Downloaded wayland-scanner v0.27.0 [INFO] [stderr] Downloaded orbclient v0.3.30 [INFO] [stderr] Downloaded encoding_rs v0.8.26 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded env_logger v0.8.2 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded libc v0.2.84 [INFO] [stderr] Downloaded windows-dll-codegen v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6dafbbb1e716249df1ab3e7d498294704877123d109efb0d0ee97f3c66e64d1 [INFO] running `Command { std: "docker" "start" "-a" "d6dafbbb1e716249df1ab3e7d498294704877123d109efb0d0ee97f3c66e64d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6dafbbb1e716249df1ab3e7d498294704877123d109efb0d0ee97f3c66e64d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6dafbbb1e716249df1ab3e7d498294704877123d109efb0d0ee97f3c66e64d1", kill_on_drop: false }` [INFO] [stdout] d6dafbbb1e716249df1ab3e7d498294704877123d109efb0d0ee97f3c66e64d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98ea8ba65fae4e8c874007b8e8c42941172f4a78cb70cbe325fd0cfe150e7c1d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "98ea8ba65fae4e8c874007b8e8c42941172f4a78cb70cbe325fd0cfe150e7c1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling minifb v0.19.2 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling windows-dll-codegen v0.3.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking windows-dll v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | shared::minwindef::{DWORD, FALSE, FARPROC, 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/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | 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/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | 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/lib.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub use winapi::um::libloaderapi::{ [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/lib.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | use winapi::um::libloaderapi::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/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | use winapi::um::libloaderapi::FreeLibrary; [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/lib.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | use winapi::um::libloaderapi::GetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct DllHandle(HMODULE); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | const LIB_LPCWSTR: LPCWSTR; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | const FLAGS: DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryExW` in this scope [INFO] [stdout] --> src/lib.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | DllHandle(LoadLibraryExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FreeLibrary` in this scope [INFO] [stdout] --> src/lib.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | let succeeded = FreeLibrary(library.0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | succeeded == TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | const PROC_LPCSTR: LPCSTR; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope [INFO] [stdout] --> src/lib.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait WindowsDllProc: Sized { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 91 | unsafe fn load() -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> src/lib.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let proc = GetProcAddress(library.0, Self::PROC_LPCSTR); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/lib.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | pub const fn make_int_resource_a(i: WORD) -> LPCSTR { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/lib.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | pub const fn make_int_resource_a(i: WORD) -> LPCSTR { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG_PTR` in this scope [INFO] [stdout] --> src/lib.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | i as ULONG_PTR as _ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-dll` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "98ea8ba65fae4e8c874007b8e8c42941172f4a78cb70cbe325fd0cfe150e7c1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ea8ba65fae4e8c874007b8e8c42941172f4a78cb70cbe325fd0cfe150e7c1d", kill_on_drop: false }` [INFO] [stdout] 98ea8ba65fae4e8c874007b8e8c42941172f4a78cb70cbe325fd0cfe150e7c1d