[INFO] fetching crate windows-dll 0.2.0... [INFO] checking windows-dll-0.2.0 against beta for pr-78714 [INFO] extracting crate windows-dll 0.2.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate windows-dll 0.2.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate windows-dll 0.2.0 [INFO] finished tweaking crates.io crate windows-dll 0.2.0 [INFO] tweaked toml for crates.io crate windows-dll 0.2.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 89c08145e834236cac46fa28fd706700f09899dd08a70d9d1ce7383de82cf5d6 [INFO] running `Command { std: "docker" "start" "-a" "89c08145e834236cac46fa28fd706700f09899dd08a70d9d1ce7383de82cf5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c08145e834236cac46fa28fd706700f09899dd08a70d9d1ce7383de82cf5d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c08145e834236cac46fa28fd706700f09899dd08a70d9d1ce7383de82cf5d6", kill_on_drop: false }` [INFO] [stdout] 89c08145e834236cac46fa28fd706700f09899dd08a70d9d1ce7383de82cf5d6 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--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] ea3f6b1cf17b2f1389fb37006ae87857cf1fa812185a8aaf394179529ae3f3b7 [INFO] running `Command { std: "docker" "start" "-a" "ea3f6b1cf17b2f1389fb37006ae87857cf1fa812185a8aaf394179529ae3f3b7", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling windows-dll-codegen v0.2.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking windows-dll v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `um` in `winapi` [INFO] [stdout] --> src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::MAKEINTRESOURCEA; [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:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::libloaderapi::{LoadLibraryW, GetProcAddress}; [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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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 `um` in `winapi` [INFO] [stdout] --> src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::winuser::MAKEINTRESOURCEA; [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:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::libloaderapi::{LoadLibraryW, GetProcAddress}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/lib.rs:14:83 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result { [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:14:106 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result { [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:14:122 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEA` in this scope [INFO] [stdout] --> src/lib.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | load_dll_proc_name(name, proc, name_lpcwstr, MAKEINTRESOURCEA(proc_ordinal)) [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:20:80 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result { [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:20:100 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result { [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:20:118 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/lib.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let library = LoadLibraryW(name_lpcwstr); [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:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let function_pointer = GetProcAddress(library, proc_name); [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:14:83 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result { [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:14:106 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result { [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:14:122 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn load_dll_proc_ordinal(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_ordinal: WORD) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEINTRESOURCEA` in this scope [INFO] [stdout] --> src/lib.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | load_dll_proc_name(name, proc, name_lpcwstr, MAKEINTRESOURCEA(proc_ordinal)) [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:20:80 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result { [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:20:100 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result { [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:20:118 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn load_dll_proc_name(name: &'static str, proc: Proc, name_lpcwstr: LPCWSTR, proc_name: LPCSTR) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in this scope [INFO] [stdout] --> src/lib.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let library = LoadLibraryW(name_lpcwstr); [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:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let function_pointer = GetProcAddress(library, proc_name); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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] [stdout] error: aborting due to 13 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" "ea3f6b1cf17b2f1389fb37006ae87857cf1fa812185a8aaf394179529ae3f3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea3f6b1cf17b2f1389fb37006ae87857cf1fa812185a8aaf394179529ae3f3b7", kill_on_drop: false }` [INFO] [stdout] ea3f6b1cf17b2f1389fb37006ae87857cf1fa812185a8aaf394179529ae3f3b7