[INFO] cloning repository https://github.com/null-dev/winwait [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/null-dev/winwait" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnull-dev%2Fwinwait", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnull-dev%2Fwinwait'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c967d07b6b9a77cbd299642c2ac270cd8590090 [INFO] testing null-dev/winwait against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnull-dev%2Fwinwait" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/null-dev/winwait 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/null-dev/winwait [INFO] finished tweaking git repo https://github.com/null-dev/winwait [INFO] tweaked toml for git repo https://github.com/null-dev/winwait written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/null-dev/winwait 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] Downloading crates ... [INFO] [stderr] Downloaded rustls-pemfile v0.2.1 [INFO] [stderr] Downloaded rustls-native-certs v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] c5c2031c564e2d5f9404cee349ec2181a94cad75face9e8b3a6a33250259d25d [INFO] running `Command { std: "docker" "start" "-a" "c5c2031c564e2d5f9404cee349ec2181a94cad75face9e8b3a6a33250259d25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c2031c564e2d5f9404cee349ec2181a94cad75face9e8b3a6a33250259d25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c2031c564e2d5f9404cee349ec2181a94cad75face9e8b3a6a33250259d25d", kill_on_drop: false }` [INFO] [stdout] c5c2031c564e2d5f9404cee349ec2181a94cad75face9e8b3a6a33250259d25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 50a5962232cb53b142738ca45fee9fcbfa4c335ab7d958693e4edd9dfc1c59ff [INFO] running `Command { std: "docker" "start" "-a" "50a5962232cb53b142738ca45fee9fcbfa4c335ab7d958693e4edd9dfc1c59ff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling java-properties v1.4.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.6 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling hocon v0.7.0 [INFO] [stderr] Compiling winwait v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::shared::minwindef::TRUE; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::shared::minwindef::FALSE; [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/process.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::tlhelp32::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub(self) struct RAIIHandle(pub HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(handle: HANDLE) -> RAIIHandle { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/process.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { CloseHandle(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> src/process.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPPROCESS` in this scope [INFO] [stdout] --> src/process.rs:75:52 [INFO] [stdout] | [INFO] [stdout] 75 | let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/process.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | if handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let mut pe32: PROCESSENTRY32 = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn for_each_process(mut f: F) -> io::Result<()> [INFO] [stdout] | - help: you might be missing a type parameter: `, PROCESSENTRY32` [INFO] [stdout] ... [INFO] [stdout] 85 | pe32.dwSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32First` in this scope [INFO] [stdout] --> src/process.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | let v = unsafe { Process32First(handle, &mut pe32) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/process.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | if v != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Process32Next` in this scope [INFO] [stdout] --> src/process.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | if unsafe { Process32Next(handle, &mut pe32) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/process.rs:105:59 [INFO] [stdout] | [INFO] [stdout] 105 | if unsafe { Process32Next(handle, &mut pe32) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESSENTRY32` in this scope [INFO] [stdout] --> src/process.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_process_data(process: &PROCESSENTRY32) -> Result<(u32, &Path), u32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OsStr` [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ffi::{OsString, OsStr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::OpenOptions` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::fs::OpenOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 2 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 `winwait` due to 20 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "50a5962232cb53b142738ca45fee9fcbfa4c335ab7d958693e4edd9dfc1c59ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a5962232cb53b142738ca45fee9fcbfa4c335ab7d958693e4edd9dfc1c59ff", kill_on_drop: false }` [INFO] [stdout] 50a5962232cb53b142738ca45fee9fcbfa4c335ab7d958693e4edd9dfc1c59ff