[INFO] fetching crate newport_os 0.0.1... [INFO] checking newport_os-0.0.1 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate newport_os 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate newport_os 0.0.1 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate newport_os 0.0.1 [INFO] finished tweaking crates.io crate newport_os 0.0.1 [INFO] tweaked toml for crates.io crate newport_os 0.0.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e02db5f1adec7c61a32c4987e7668ab0959e27070c046939b91f87395e8ab7e0 [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" "e02db5f1adec7c61a32c4987e7668ab0959e27070c046939b91f87395e8ab7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e02db5f1adec7c61a32c4987e7668ab0959e27070c046939b91f87395e8ab7e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02db5f1adec7c61a32c4987e7668ab0959e27070c046939b91f87395e8ab7e0", kill_on_drop: false }` [INFO] [stdout] e02db5f1adec7c61a32c4987e7668ab0959e27070c046939b91f87395e8ab7e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a029a0ecf723ae41eb13c96c539578776c45c474bca9b8e32f0a1868f347c4bf [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" "a029a0ecf723ae41eb13c96c539578776c45c474bca9b8e32f0a1868f347c4bf", kill_on_drop: false }` [INFO] [stderr] Checking newport_os v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SYSTEMTIME` [INFO] [stdout] --> src/time.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | let mut system_time = SYSTEMTIME::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SYSTEMTIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowHandle` in this scope [INFO] [stdout] --> src/window.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | handle: WindowHandle, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLocalTime` in this scope [INFO] [stdout] --> src/time.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { GetLocalTime(&mut system_time) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `null_mut`, `null` [INFO] [stdout] --> src/window.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ptr::{null_mut, null, NonNull}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/window.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::Wrapping` [INFO] [stdout] --> src/window.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SYSTEMTIME` [INFO] [stdout] --> src/time.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | let mut system_time = SYSTEMTIME::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SYSTEMTIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowHandle` in this scope [INFO] [stdout] --> src/window.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | handle: WindowHandle, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLocalTime` in this scope [INFO] [stdout] --> src/time.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { GetLocalTime(&mut system_time) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `null_mut`, `null` [INFO] [stdout] --> src/window.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ptr::{null_mut, null, NonNull}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/window.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::Wrapping` [INFO] [stdout] --> src/window.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::num::Wrapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [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 `newport_os` [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 3 previous errors; 4 warnings emitted [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" "a029a0ecf723ae41eb13c96c539578776c45c474bca9b8e32f0a1868f347c4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a029a0ecf723ae41eb13c96c539578776c45c474bca9b8e32f0a1868f347c4bf", kill_on_drop: false }` [INFO] [stdout] a029a0ecf723ae41eb13c96c539578776c45c474bca9b8e32f0a1868f347c4bf