[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 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-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/null-dev/winwait on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1e714b70aa5c017587c6145366240be139973a1f4da981c3378b6ff630c32d1 [INFO] running `Command { std: "docker" "start" "-a" "d1e714b70aa5c017587c6145366240be139973a1f4da981c3378b6ff630c32d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1e714b70aa5c017587c6145366240be139973a1f4da981c3378b6ff630c32d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1e714b70aa5c017587c6145366240be139973a1f4da981c3378b6ff630c32d1", kill_on_drop: false }` [INFO] [stdout] d1e714b70aa5c017587c6145366240be139973a1f4da981c3378b6ff630c32d1 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28feda629d9c5027ac88d634a321f4d2f73989129de6d4ff19c81ff563d558d2 [INFO] running `Command { std: "docker" "start" "-a" "28feda629d9c5027ac88d634a321f4d2f73989129de6d4ff19c81ff563d558d2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking winwait v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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[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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "28feda629d9c5027ac88d634a321f4d2f73989129de6d4ff19c81ff563d558d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28feda629d9c5027ac88d634a321f4d2f73989129de6d4ff19c81ff563d558d2", kill_on_drop: false }` [INFO] [stdout] 28feda629d9c5027ac88d634a321f4d2f73989129de6d4ff19c81ff563d558d2