[INFO] updating cached repository https://github.com/ErichDonGubler/2020-06-nzxt-interview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9cec70f21285e57772713107337f2b9be5f7144 [INFO] testing ErichDonGubler/2020-06-nzxt-interview against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErichDonGubler%2F2020-06-nzxt-interview" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ErichDonGubler/2020-06-nzxt-interview on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ErichDonGubler/2020-06-nzxt-interview [INFO] finished tweaking git repo https://github.com/ErichDonGubler/2020-06-nzxt-interview [INFO] tweaked toml for git repo https://github.com/ErichDonGubler/2020-06-nzxt-interview written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ErichDonGubler/2020-06-nzxt-interview already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 203786a91b3fb12f2c41758f5496cae76ef2af508dfd943ec92ed60a6f1dc375 [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" "203786a91b3fb12f2c41758f5496cae76ef2af508dfd943ec92ed60a6f1dc375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "203786a91b3fb12f2c41758f5496cae76ef2af508dfd943ec92ed60a6f1dc375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "203786a91b3fb12f2c41758f5496cae76ef2af508dfd943ec92ed60a6f1dc375", kill_on_drop: false }` [INFO] [stdout] 203786a91b3fb12f2c41758f5496cae76ef2af508dfd943ec92ed60a6f1dc375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34fe06693db87e5815a7a6916d861d71a29be9951ea3392f608777bf958b6f31 [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" "34fe06693db87e5815a7a6916d861d71a29be9951ea3392f608777bf958b6f31", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling wide-str-impl v0.1.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling wide-str v0.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling nzxt-interview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope [INFO] [stdout] --> src/main.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct DeviceInfoSet(pub HDEVINFO); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope [INFO] [stdout] --> src/main.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | match SetupDiDestroyDeviceInfoList(*handle) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/main.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Guid(pub GUID); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let Self(GUID { [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/main.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | flags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIGCF_ALLCLASSES` in this scope [INFO] [stdout] --> src/main.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | flags: DIGCF_ALLCLASSES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 152 | self.flags |= DIGCF_PRESENT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIGCF_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | self.flags &= !DIGCF_PRESENT; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsW` in this scope [INFO] [stdout] --> src/main.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | match SetupDiGetClassDevsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/main.rs:191:46 [INFO] [stdout] | [INFO] [stdout] 191 | .map(|Guid(g)| -> *const GUID { &*g }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct DeviceInfo(SP_DEVINFO_DATA); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let Self(SP_DEVINFO_DATA { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:249:53 [INFO] [stdout] | [INFO] [stdout] 241 | impl DeviceInfoIter<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 249 | let mut device_info = MaybeUninit::::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:251:45 [INFO] [stdout] | [INFO] [stdout] 241 | impl DeviceInfoIter<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 251 | u32::try_from(size_of::()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInfo` in this scope [INFO] [stdout] --> src/main.rs:254:19 [INFO] [stdout] | [INFO] [stdout] 254 | match SetupDiEnumDeviceInfo(*handle, *idx, device_info.as_mut_ptr()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_NO_MORE_ITEMS` in this scope [INFO] [stdout] --> src/main.rs:261:49 [INFO] [stdout] | [INFO] [stdout] 261 | if e.raw_os_error() == Some(ERROR_NO_MORE_ITEMS as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nzxt-interview`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "34fe06693db87e5815a7a6916d861d71a29be9951ea3392f608777bf958b6f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34fe06693db87e5815a7a6916d861d71a29be9951ea3392f608777bf958b6f31", kill_on_drop: false }` [INFO] [stdout] 34fe06693db87e5815a7a6916d861d71a29be9951ea3392f608777bf958b6f31