[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] be34c4cdf15a95188e08d91ae7531a3ed6f4e9b2 [INFO] checking null-dev/winwait against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnull-dev%2Fwinwait" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/null-dev/winwait on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-10/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be9940115e60e0883d56fc5254b941f36e68eb5e8c38c6410b61b0c524cc4a34 [INFO] running `Command { std: "docker" "start" "-a" "be9940115e60e0883d56fc5254b941f36e68eb5e8c38c6410b61b0c524cc4a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be9940115e60e0883d56fc5254b941f36e68eb5e8c38c6410b61b0c524cc4a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be9940115e60e0883d56fc5254b941f36e68eb5e8c38c6410b61b0c524cc4a34", kill_on_drop: false }` [INFO] [stdout] be9940115e60e0883d56fc5254b941f36e68eb5e8c38c6410b61b0c524cc4a34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19294818dcc33032346d9b5ddaf0874464f91c90430a1631042de8dce60657cd [INFO] running `Command { std: "docker" "start" "-a" "19294818dcc33032346d9b5ddaf0874464f91c90430a1631042de8dce60657cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking 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] 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] error: aborting due to 19 previous errors; 1 warning 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; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 19 previous errors; 1 warning 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" "19294818dcc33032346d9b5ddaf0874464f91c90430a1631042de8dce60657cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19294818dcc33032346d9b5ddaf0874464f91c90430a1631042de8dce60657cd", kill_on_drop: false }` [INFO] [stdout] 19294818dcc33032346d9b5ddaf0874464f91c90430a1631042de8dce60657cd