[INFO] crate w32-error 1.0.0 is already in cache [INFO] checking w32-error-1.0.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate w32-error 1.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate w32-error 1.0.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1c77ef9426cd1bd8b5e90300341bcc07dde0ac9ac0222ac2b05127e83fdabd34 [INFO] running `"docker" "start" "-a" "1c77ef9426cd1bd8b5e90300341bcc07dde0ac9ac0222ac2b05127e83fdabd34"` [INFO] [stderr] Checking w32-error v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error: w32-error only supports Windows-based targets [INFO] [stderr] --> src/lib.rs:83:1 [INFO] [stderr] | [INFO] [stderr] 83 | compile_error!("w32-error only supports Windows-based targets"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: w32-error only supports Windows-based targets [INFO] [stderr] --> src/lib.rs:83:1 [INFO] [stderr] | [INFO] [stderr] 83 | compile_error!("w32-error only supports Windows-based targets"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/lib.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | use winapi::{ [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/lib.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | use winapi::{ [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WCHAR` [INFO] [stderr] --> src/lib.rs:192:32 [INFO] [stderr] | [INFO] [stderr] 192 | let mut wide_buffer = [WCHAR::default(); MAX_CHARACTERS]; [INFO] [stderr] | ^^^^^ use of undeclared type or module `WCHAR` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WCHAR` [INFO] [stderr] --> src/lib.rs:192:32 [INFO] [stderr] | [INFO] [stderr] 192 | let mut wide_buffer = [WCHAR::default(); MAX_CHARACTERS]; [INFO] [stderr] | ^^^^^ use of undeclared type or module `WCHAR` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:113:21 [INFO] [stderr] | [INFO] [stderr] 113 | pub struct W32Error(DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:131:28 [INFO] [stderr] | [INFO] [stderr] 131 | pub const fn new(code: DWORD) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:169:28 [INFO] [stderr] | [INFO] [stderr] 169 | Self::new(unsafe { GetLastError() }) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:180:38 [INFO] [stderr] | [INFO] [stderr] 180 | pub const fn into_inner(self) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/lib.rs:191:39 [INFO] [stderr] | [INFO] [stderr] 185 | impl Display for W32Error { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 191 | debug_assert!(mem::size_of::<[WCHAR; MAX_CHARACTERS]>() <= 65536); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stderr] --> src/lib.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | FormatMessageW( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stderr] --> src/lib.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 195 | FORMAT_MESSAGE_FROM_SYSTEM [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:113:21 [INFO] [stderr] | [INFO] [stderr] 113 | pub struct W32Error(DWORD); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:131:28 [INFO] [stderr] | [INFO] [stderr] 131 | pub const fn new(code: DWORD) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:169:28 [INFO] [stderr] | [INFO] [stderr] 169 | Self::new(unsafe { GetLastError() }) [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:180:38 [INFO] [stderr] | [INFO] [stderr] 180 | pub const fn into_inner(self) -> DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WCHAR` in this scope [INFO] [stderr] --> src/lib.rs:191:39 [INFO] [stderr] | [INFO] [stderr] 185 | impl Display for W32Error { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 191 | debug_assert!(mem::size_of::<[WCHAR; MAX_CHARACTERS]>() <= 65536); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stderr] --> src/lib.rs:194:13 [INFO] [stderr] | [INFO] [stderr] 194 | FormatMessageW( [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stderr] --> src/lib.rs:195:17 [INFO] [stderr] | [INFO] [stderr] 195 | FORMAT_MESSAGE_FROM_SYSTEM [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stderr] --> src/lib.rs:196:23 [INFO] [stderr] | [INFO] [stderr] 196 | | FORMAT_MESSAGE_IGNORE_INSERTS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_MAX_WIDTH_MASK` in this scope [INFO] [stderr] --> src/lib.rs:197:23 [INFO] [stderr] | [INFO] [stderr] 197 | | FORMAT_MESSAGE_MAX_WIDTH_MASK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:202:35 [INFO] [stderr] | [INFO] [stderr] 202 | MAX_CHARACTERS as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:245:11 [INFO] [stderr] | [INFO] [stderr] 245 | impl From for W32Error { [INFO] [stderr] | - ^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:246:20 [INFO] [stderr] | [INFO] [stderr] 246 | fn from(other: DWORD) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:251:25 [INFO] [stderr] | [INFO] [stderr] 251 | impl From for DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stderr] --> src/lib.rs:196:23 [INFO] [stderr] | [INFO] [stderr] 196 | | FORMAT_MESSAGE_IGNORE_INSERTS [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FORMAT_MESSAGE_MAX_WIDTH_MASK` in this scope [INFO] [stderr] --> src/lib.rs:197:23 [INFO] [stderr] | [INFO] [stderr] 197 | | FORMAT_MESSAGE_MAX_WIDTH_MASK, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:202:35 [INFO] [stderr] | [INFO] [stderr] 202 | MAX_CHARACTERS as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:245:11 [INFO] [stderr] | [INFO] [stderr] 245 | impl From for W32Error { [INFO] [stderr] | - ^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:246:20 [INFO] [stderr] | [INFO] [stderr] 246 | fn from(other: DWORD) -> Self { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/lib.rs:251:25 [INFO] [stderr] | [INFO] [stderr] 251 | impl From for DWORD { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `w32-error`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1c77ef9426cd1bd8b5e90300341bcc07dde0ac9ac0222ac2b05127e83fdabd34"` [INFO] running `"docker" "rm" "-f" "1c77ef9426cd1bd8b5e90300341bcc07dde0ac9ac0222ac2b05127e83fdabd34"` [INFO] [stdout] 1c77ef9426cd1bd8b5e90300341bcc07dde0ac9ac0222ac2b05127e83fdabd34