[INFO] fetching crate windows-dll 0.3.0... [INFO] testing windows-dll-0.3.0 against 1.59.0 for beta-1.60-1 [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 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8dc021e8e076247a88469dc4e170ca23079f91125b80f0c98f1211ca978df549 [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" "8dc021e8e076247a88469dc4e170ca23079f91125b80f0c98f1211ca978df549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dc021e8e076247a88469dc4e170ca23079f91125b80f0c98f1211ca978df549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dc021e8e076247a88469dc4e170ca23079f91125b80f0c98f1211ca978df549", kill_on_drop: false }` [INFO] [stdout] 8dc021e8e076247a88469dc4e170ca23079f91125b80f0c98f1211ca978df549 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", 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] c1139ce8658f853a2a19b7187a8ce4d1c513b5bdad869e112e7f3cf1f4b5e453 [INFO] running `Command { std: "docker" "start" "-a" "c1139ce8658f853a2a19b7187a8ce4d1c513b5bdad869e112e7f3cf1f4b5e453", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling windows-dll-codegen v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling 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 `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] | help: you might be missing a type parameter: `` [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 20 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` due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "c1139ce8658f853a2a19b7187a8ce4d1c513b5bdad869e112e7f3cf1f4b5e453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1139ce8658f853a2a19b7187a8ce4d1c513b5bdad869e112e7f3cf1f4b5e453", kill_on_drop: false }` [INFO] [stdout] c1139ce8658f853a2a19b7187a8ce4d1c513b5bdad869e112e7f3cf1f4b5e453