[INFO] fetching crate w32-error 1.0.0... [INFO] checking w32-error-1.0.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate w32-error 1.0.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate w32-error 1.0.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 w32-error 1.0.0 [INFO] finished tweaking crates.io crate w32-error 1.0.0 [INFO] tweaked toml for crates.io crate w32-error 1.0.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] e0d5e6c2bdfe8acbe2e4ff18acd08ea294c966156ef9a3e4fa206adb101b81aa [INFO] running `Command { std: "docker" "start" "-a" "e0d5e6c2bdfe8acbe2e4ff18acd08ea294c966156ef9a3e4fa206adb101b81aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0d5e6c2bdfe8acbe2e4ff18acd08ea294c966156ef9a3e4fa206adb101b81aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d5e6c2bdfe8acbe2e4ff18acd08ea294c966156ef9a3e4fa206adb101b81aa", kill_on_drop: false }` [INFO] [stdout] e0d5e6c2bdfe8acbe2e4ff18acd08ea294c966156ef9a3e4fa206adb101b81aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e9010460a9f427e39b73720c99ba3abf6d4375237f7bd1c64faf2a6019e3d608 [INFO] running `Command { std: "docker" "start" "-a" "e9010460a9f427e39b73720c99ba3abf6d4375237f7bd1c64faf2a6019e3d608", kill_on_drop: false }` [INFO] [stderr] Checking w32-error v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: w32-error only supports Windows-based targets [INFO] [stdout] --> src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | compile_error!("w32-error only supports Windows-based targets"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: w32-error only supports Windows-based targets [INFO] [stdout] --> src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | compile_error!("w32-error only supports Windows-based targets"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/lib.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WCHAR` [INFO] [stdout] --> src/lib.rs:192:32 [INFO] [stdout] | [INFO] [stdout] 192 | let mut wide_buffer = [WCHAR::default(); MAX_CHARACTERS]; [INFO] [stdout] | ^^^^^ use of undeclared type `WCHAR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct W32Error(DWORD); [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:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | pub const fn new(code: DWORD) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/lib.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | Self::new(unsafe { GetLastError() }) [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:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | pub const fn into_inner(self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/lib.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 185 | impl Display for W32Error { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 191 | debug_assert!(mem::size_of::<[WCHAR; MAX_CHARACTERS]>() <= 65536); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/lib.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | FORMAT_MESSAGE_FROM_SYSTEM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> src/lib.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | | FORMAT_MESSAGE_IGNORE_INSERTS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_MAX_WIDTH_MASK` in this scope [INFO] [stdout] --> src/lib.rs:197:23 [INFO] [stdout] | [INFO] [stdout] 197 | | FORMAT_MESSAGE_MAX_WIDTH_MASK, [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:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | MAX_CHARACTERS as DWORD, [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:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | impl From for W32Error { [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 `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | fn from(other: DWORD) -> Self { [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:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | impl From for DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WCHAR` [INFO] [stdout] --> src/lib.rs:192:32 [INFO] [stdout] | [INFO] [stdout] 192 | let mut wide_buffer = [WCHAR::default(); MAX_CHARACTERS]; [INFO] [stdout] | ^^^^^ use of undeclared type `WCHAR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct W32Error(DWORD); [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:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | pub const fn new(code: DWORD) -> Self { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/lib.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | Self::new(unsafe { GetLastError() }) [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:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | pub const fn into_inner(self) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stdout] --> src/lib.rs:191:39 [INFO] [stdout] | [INFO] [stdout] 185 | impl Display for W32Error { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 191 | debug_assert!(mem::size_of::<[WCHAR; MAX_CHARACTERS]>() <= 65536); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/lib.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/lib.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | FORMAT_MESSAGE_FROM_SYSTEM [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> src/lib.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | | FORMAT_MESSAGE_IGNORE_INSERTS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_MAX_WIDTH_MASK` in this scope [INFO] [stdout] --> src/lib.rs:197:23 [INFO] [stdout] | [INFO] [stdout] 197 | | FORMAT_MESSAGE_MAX_WIDTH_MASK, [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:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | MAX_CHARACTERS as DWORD, [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:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | impl From for W32Error { [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 `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | fn from(other: DWORD) -> Self { [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:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | impl From for DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 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 `w32-error` [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] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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] running `Command { std: "docker" "inspect" "e9010460a9f427e39b73720c99ba3abf6d4375237f7bd1c64faf2a6019e3d608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9010460a9f427e39b73720c99ba3abf6d4375237f7bd1c64faf2a6019e3d608", kill_on_drop: false }` [INFO] [stdout] e9010460a9f427e39b73720c99ba3abf6d4375237f7bd1c64faf2a6019e3d608