[INFO] crate w32-error 1.0.0 is already in cache
[INFO] checking w32-error-1.0.0 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[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 bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-9/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] c6b646d559618eab7a28ae9d4bc3b0d32e622b07b9e2e27a3e819674ed4f964a
[INFO] running `"docker" "start" "-a" "c6b646d559618eab7a28ae9d4bc3b0d32e622b07b9e2e27a3e819674ed4f964a"`
[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 `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: `<WCHAR>`
[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<DWORD> for W32Error {
[INFO] [stderr]     |     -     ^^^^^ not found in this scope
[INFO] [stderr]     |     |
[INFO] [stderr]     |     help: you might be missing a type parameter: `<DWORD>`
[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<W32Error> 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[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[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: `<WCHAR>`
[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<DWORD> for W32Error {
[INFO] [stderr]     |     -     ^^^^^ not found in this scope
[INFO] [stderr]     |     |
[INFO] [stderr]     |     help: you might be missing a type parameter: `<DWORD>`
[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<W32Error> 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] running `"docker" "inspect" "c6b646d559618eab7a28ae9d4bc3b0d32e622b07b9e2e27a3e819674ed4f964a"`
[INFO] running `"docker" "rm" "-f" "c6b646d559618eab7a28ae9d4bc3b0d32e622b07b9e2e27a3e819674ed4f964a"`
[INFO] [stdout] c6b646d559618eab7a28ae9d4bc3b0d32e622b07b9e2e27a3e819674ed4f964a
