[INFO] fetching crate w32-error 1.0.0... [INFO] checking w32-error-1.0.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [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 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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] 02ebce5e5e1be0753cbf41b05fa41d26fcb56a8cbcd1b2bffac13683000795d0 [INFO] running `Command { std: "docker" "start" "-a" "02ebce5e5e1be0753cbf41b05fa41d26fcb56a8cbcd1b2bffac13683000795d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02ebce5e5e1be0753cbf41b05fa41d26fcb56a8cbcd1b2bffac13683000795d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02ebce5e5e1be0753cbf41b05fa41d26fcb56a8cbcd1b2bffac13683000795d0", kill_on_drop: false }` [INFO] [stdout] 02ebce5e5e1be0753cbf41b05fa41d26fcb56a8cbcd1b2bffac13683000795d0 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d77333d5e1fcabd16f31ef1be51f3242626b2ed833dd8680d59f0b4aa0c17e64 [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" "d77333d5e1fcabd16f31ef1be51f3242626b2ed833dd8680d59f0b4aa0c17e64", 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] [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" "d77333d5e1fcabd16f31ef1be51f3242626b2ed833dd8680d59f0b4aa0c17e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77333d5e1fcabd16f31ef1be51f3242626b2ed833dd8680d59f0b4aa0c17e64", kill_on_drop: false }` [INFO] [stdout] d77333d5e1fcabd16f31ef1be51f3242626b2ed833dd8680d59f0b4aa0c17e64