[INFO] fetching crate windows-dll 0.2.0... [INFO] checking windows-dll-0.2.0 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate windows-dll 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate windows-dll 0.2.0 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3a0db6b85f31b3f3db9262e76bd04275942c42e34cbf5fbcffe0b356bd4856a [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" "f3a0db6b85f31b3f3db9262e76bd04275942c42e34cbf5fbcffe0b356bd4856a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3a0db6b85f31b3f3db9262e76bd04275942c42e34cbf5fbcffe0b356bd4856a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a0db6b85f31b3f3db9262e76bd04275942c42e34cbf5fbcffe0b356bd4856a", kill_on_drop: false }` [INFO] [stdout] f3a0db6b85f31b3f3db9262e76bd04275942c42e34cbf5fbcffe0b356bd4856a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2df9f4bddc34158674bb237733ca2c101b3fd1c9306438b1b9fad4c3dc6086a [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" "f2df9f4bddc34158674bb237733ca2c101b3fd1c9306438b1b9fad4c3dc6086a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling windows-dll-codegen v0.2.0 [INFO] [stderr] Checking thiserror v1.0.20 [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" "f2df9f4bddc34158674bb237733ca2c101b3fd1c9306438b1b9fad4c3dc6086a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2df9f4bddc34158674bb237733ca2c101b3fd1c9306438b1b9fad4c3dc6086a", kill_on_drop: false }` [INFO] [stdout] f2df9f4bddc34158674bb237733ca2c101b3fd1c9306438b1b9fad4c3dc6086a