[INFO] cloning 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" "clone" "--bare" "https://github.com/ErichDonGubler/2020-06-nzxt-interview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErichDonGubler%2F2020-06-nzxt-interview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErichDonGubler%2F2020-06-nzxt-interview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9cec70f21285e57772713107337f2b9be5f7144 [INFO] testing ErichDonGubler/2020-06-nzxt-interview against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErichDonGubler%2F2020-06-nzxt-interview" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ErichDonGubler/2020-06-nzxt-interview on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-23/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide-str v0.1.0 [INFO] [stderr] Downloaded wide-str-impl v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f384d35c016a85669095880fc50b8d0a9993762d163ce27d6b65ebf8e2d1e46 [INFO] running `Command { std: "docker" "start" "-a" "7f384d35c016a85669095880fc50b8d0a9993762d163ce27d6b65ebf8e2d1e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f384d35c016a85669095880fc50b8d0a9993762d163ce27d6b65ebf8e2d1e46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f384d35c016a85669095880fc50b8d0a9993762d163ce27d6b65ebf8e2d1e46", kill_on_drop: false }` [INFO] [stdout] 7f384d35c016a85669095880fc50b8d0a9993762d163ce27d6b65ebf8e2d1e46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 300d552347a8e8e0fd72c1d0addbc8807e9426db23fbebbc34d80daafea572c9 [INFO] running `Command { std: "docker" "start" "-a" "300d552347a8e8e0fd72c1d0addbc8807e9426db23fbebbc34d80daafea572c9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling wide-str-impl v0.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling wide-str v0.1.0 [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] 86 | pub struct Guid(pub GUID); [INFO] [stdout] | -------------------------- similarly named struct `Guid` defined here [INFO] [stdout] ... [INFO] [stdout] 91 | let Self(GUID { [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Guid` [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] 86 | pub struct Guid(pub GUID); [INFO] [stdout] | -------------------------- similarly named struct `Guid` defined here [INFO] [stdout] ... [INFO] [stdout] 191 | .map(|Guid(g)| -> *const GUID { &*g }) [INFO] [stdout] | ^^^^ help: a struct with a similar name exists: `Guid` [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` due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "300d552347a8e8e0fd72c1d0addbc8807e9426db23fbebbc34d80daafea572c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "300d552347a8e8e0fd72c1d0addbc8807e9426db23fbebbc34d80daafea572c9", kill_on_drop: false }` [INFO] [stdout] 300d552347a8e8e0fd72c1d0addbc8807e9426db23fbebbc34d80daafea572c9