[INFO] cloning repository https://github.com/rootfebri/spawners
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rootfebri/spawners" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frootfebri%2Fspawners", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frootfebri%2Fspawners'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 32580ad2b29a78067e323c79a38cee53ab71afd4
[INFO] checking rootfebri/spawners/32580ad2b29a78067e323c79a38cee53ab71afd4 against da86f4d0726be475afbbffe40cb2f65741c51ad3 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frootfebri%2Fspawners" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rootfebri/spawners
[INFO] finished tweaking git repo https://github.com/rootfebri/spawners
[INFO] tweaked toml for git repo https://github.com/rootfebri/spawners written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rootfebri/spawners on toolchain da86f4d0726be475afbbffe40cb2f65741c51ad3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rootfebri/spawners already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5
[INFO] running `Command { std: "docker" "start" "3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5" "/opt/rustwide/cargo-home/bin/cargo" "+da86f4d0726be475afbbffe40cb2f65741c51ad3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]     Checking spawners v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Foundation::{HWND, POINT, RECT};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/lib.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Graphics::Gdi::{GetMonitorInfoW, MONITOR_DEFAULTTONEAREST, MONITORINFO, MonitorFromWindow};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::{GetCursorPos, GetForegroundWindow, MoveWindow, SW_RESTORE, ShowWindow};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/finder/mod.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |   os::windows::ffi::OsStringExt,
[INFO] [stdout]   |       ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/finder/mod.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::UI::WindowsAndMessaging::GetWindowThreadProcessId;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/finder/mod.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/finder/mod.rs:25:55
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn pids_by_exe_name(target_exe: &str) -> windows::core::Result<HashSet<u32>> {
[INFO] [stdout]    |                                                       ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/lib.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Foundation::{HWND, POINT, RECT};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/lib.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Graphics::Gdi::{GetMonitorInfoW, MONITOR_DEFAULTTONEAREST, MONITORINFO, MonitorFromWindow};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/lib.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::{GetCursorPos, GetForegroundWindow, MoveWindow, SW_RESTORE, ShowWindow};
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/finder/mod.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |   os::windows::ffi::OsStringExt,
[INFO] [stdout]   |       ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/finder/mod.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::Win32::UI::WindowsAndMessaging::GetWindowThreadProcessId;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/finder/mod.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::{
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/finder/mod.rs:78:50
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn hwnds_for_exe(exe_name: &str) -> windows::core::Result<Vec<HWND>> {
[INFO] [stdout]    |                                                  ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/finder/mod.rs:25:55
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn pids_by_exe_name(target_exe: &str) -> windows::core::Result<HashSet<u32>> {
[INFO] [stdout]    |                                                       ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:116:56
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn hwnds_for_pids(pids: &HashSet<u32>) -> windows::core::Result<Vec<HWND>> {
[INFO] [stdout]     |                                                        ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]   --> src/finder/mod.rs:78:50
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn hwnds_for_exe(exe_name: &str) -> windows::core::Result<Vec<HWND>> {
[INFO] [stdout]    |                                                  ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:153:62
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn descendant_pids(root_pids: &HashSet<u32>) -> windows::core::Result<HashSet<u32>> {
[INFO] [stdout]     |                                                              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:116:56
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn hwnds_for_pids(pids: &HashSet<u32>) -> windows::core::Result<Vec<HWND>> {
[INFO] [stdout]     |                                                        ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:153:62
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub fn descendant_pids(root_pids: &HashSet<u32>) -> windows::core::Result<HashSet<u32>> {
[INFO] [stdout]     |                                                              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn get_process_name_by_pid(pid: u32) -> windows::core::Result<String> {
[INFO] [stdout]     |                                                      ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:189:54
[INFO] [stdout]     |
[INFO] [stdout] 189 | pub fn get_process_name_by_pid(pid: u32) -> windows::core::Result<String> {
[INFO] [stdout]     |                                                      ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:207:16
[INFO] [stdout]     |
[INFO] [stdout] 207 |       windows::core::HRESULT(0),
[INFO] [stdout]     |                ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:206:18
[INFO] [stdout]     |
[INFO] [stdout] 206 |     Err(windows::core::Error::new(
[INFO] [stdout]     |                  ^^^^ could not find `core` in `windows`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Error;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 206 -     Err(windows::core::Error::new(
[INFO] [stdout] 206 +     Err(Error::new(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:207:16
[INFO] [stdout]     |
[INFO] [stdout] 207 |       windows::core::HRESULT(0),
[INFO] [stdout]     |                ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `core` in `windows`
[INFO] [stdout]    --> src/finder/mod.rs:206:18
[INFO] [stdout]     |
[INFO] [stdout] 206 |     Err(windows::core::Error::new(
[INFO] [stdout]     |                  ^^^^ could not find `core` in `windows`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::Error;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 206 -     Err(windows::core::Error::new(
[INFO] [stdout] 206 +     Err(Error::new(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/finder/mod.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |   OsString::from_wide(&buf[..len]).to_string_lossy().into_owned()
[INFO] [stdout]    |             ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/da86f4d0726be475afbbffe40cb2f65741c51ad3/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 -   OsString::from_wide(&buf[..len]).to_string_lossy().into_owned()
[INFO] [stdout] 21 +   OsString::from_iter(&buf[..len]).to_string_lossy().into_owned()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/finder/mod.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |   OsString::from_wide(&buf[..len]).to_string_lossy().into_owned()
[INFO] [stdout]    |             ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/da86f4d0726be475afbbffe40cb2f65741c51ad3/library/std/src/ffi/os_str.rs:133:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 -   OsString::from_wide(&buf[..len]).to_string_lossy().into_owned()
[INFO] [stdout] 21 +   OsString::from_iter(&buf[..len]).to_string_lossy().into_owned()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `spawners` (lib test) due to 14 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `spawners` (lib) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5", kill_on_drop: false }`
[INFO] [stdout] 3a57de937ddad2b38a3c69bacdcadade8ec3c846483efb85bce61a07934ff9c5
