[INFO] fetching crate w32-error 1.0.0... [INFO] checking w32-error-1.0.0 against beta for pr-78714 [INFO] extracting crate w32-error 1.0.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate w32-error 1.0.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 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-1/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] 7b34a8922c3b54b35c3d0baad1ef1ac42661133ee65bde513b14e9d668fdef97 [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" "7b34a8922c3b54b35c3d0baad1ef1ac42661133ee65bde513b14e9d668fdef97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b34a8922c3b54b35c3d0baad1ef1ac42661133ee65bde513b14e9d668fdef97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b34a8922c3b54b35c3d0baad1ef1ac42661133ee65bde513b14e9d668fdef97", kill_on_drop: false }` [INFO] [stdout] 7b34a8922c3b54b35c3d0baad1ef1ac42661133ee65bde513b14e9d668fdef97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] 10955d2660570ebecc0908e91c81d17543b8b9a04924925741c34c4c367d98c0 [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" "10955d2660570ebecc0908e91c81d17543b8b9a04924925741c34c4c367d98c0", 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: 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] [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] [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[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: build failed [INFO] running `Command { std: "docker" "inspect" "10955d2660570ebecc0908e91c81d17543b8b9a04924925741c34c4c367d98c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10955d2660570ebecc0908e91c81d17543b8b9a04924925741c34c4c367d98c0", kill_on_drop: false }` [INFO] [stdout] 10955d2660570ebecc0908e91c81d17543b8b9a04924925741c34c4c367d98c0