[INFO] fetching crate injrs 0.1.2...
[INFO] checking injrs-0.1.2 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate injrs 0.1.2 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate injrs 0.1.2 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config
[INFO] started tweaking crates.io crate injrs 0.1.2
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate injrs 0.1.2
[INFO] tweaked toml for crates.io crate injrs 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate injrs 0.1.2 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2bbc7d09276bda5302a8c09fbb526e63b32be55d820ace9a1efb21b836dbaa64
[INFO] running `Command { std: "docker" "start" "-a" "2bbc7d09276bda5302a8c09fbb526e63b32be55d820ace9a1efb21b836dbaa64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2bbc7d09276bda5302a8c09fbb526e63b32be55d820ace9a1efb21b836dbaa64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bbc7d09276bda5302a8c09fbb526e63b32be55d820ace9a1efb21b836dbaa64", kill_on_drop: false }`
[INFO] [stdout] 2bbc7d09276bda5302a8c09fbb526e63b32be55d820ace9a1efb21b836dbaa64
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88dd604fd60d68cdf914cdfcf34c980f561054975f29da1f99c524fff59bdbdd
[INFO] running `Command { std: "docker" "start" "-a" "88dd604fd60d68cdf914cdfcf34c980f561054975f29da1f99c524fff59bdbdd", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking injrs v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/process_windows.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/evelate_windows.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winapi.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use winapi::shared::ntdef::{
[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/winapi.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use winapi::shared::minwindef::{
[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/winapi.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use winapi::um::processthreadsapi::{
[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/winapi.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use winapi::um::handleapi::{
[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/winapi.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub use winapi::um::tlhelp32::{
[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/winapi.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub use winapi::um::psapi::{
[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/winapi.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub use winapi::um::winnt::{
[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/winapi.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use winapi::um::memoryapi::{
[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/winapi.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub use winapi::um::libloaderapi::{
[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/winapi.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub use winapi::um::synchapi::{
[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/winapi.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub use winapi::um::wow64apiset::{
[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/winapi.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub use winapi::um::winbase::{
[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/winapi.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub use winapi::um::securitybaseapi::{
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/utils.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt as _;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/inject_windows.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::mem::{self, MaybeUninit};
[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 `windows` in `os`
[INFO] [stdout]   --> src/process_windows.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/evelate_windows.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winapi.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use winapi::shared::ntdef::{
[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/winapi.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use winapi::shared::minwindef::{
[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/winapi.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use winapi::um::processthreadsapi::{
[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/winapi.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use winapi::um::handleapi::{
[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/winapi.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub use winapi::um::tlhelp32::{
[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/winapi.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub use winapi::um::psapi::{
[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/winapi.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub use winapi::um::winnt::{
[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/winapi.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use winapi::um::memoryapi::{
[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/winapi.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub use winapi::um::libloaderapi::{
[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/winapi.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub use winapi::um::synchapi::{
[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/winapi.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub use winapi::um::wow64apiset::{
[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/winapi.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub use winapi::um::winbase::{
[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/winapi.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub use winapi::um::securitybaseapi::{
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/utils.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt as _;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/inject_windows.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::mem::{self, MaybeUninit};
[INFO] [stdout]   |                      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for struct `Vec` in the current scope
[INFO] [stdout]   --> src/process_windows.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 |         match find_process_by_name(name).unwrap_or_default().first() {
[INFO] [stdout]    |                                                              ^^^^^ method not found in `Vec<Process>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/process_windows.rs:166:31
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 166 |             Some(v) => result.push(v),
[INFO] [stdout]     |                               ^^^^ method cannot be called on `Vec<Process>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_wide(&slice[..pos])
[INFO] [stdout]     |                                ^^^^^^^^^ function or associated item 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/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_iter(&slice[..pos])
[INFO] [stdout]     |                                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for struct `Vec` in the current scope
[INFO] [stdout]   --> src/process_windows.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 |         match find_process_by_name(name).unwrap_or_default().first() {
[INFO] [stdout]    |                                                              ^^^^^ method not found in `Vec<Process>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_wide(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ^^^^^^^^^ function or associated item 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/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_iter(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/process_windows.rs:166:31
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 166 |             Some(v) => result.push(v),
[INFO] [stdout]     |                               ^^^^ method cannot be called on `Vec<Process>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/process_windows.rs:213:53
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 213 |                 println!("get process count: {}", v.len());
[INFO] [stdout]     |                                                     ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `&Vec<process_windows::Process>` is not an iterator
[INFO] [stdout]    --> src/process_windows.rs:214:26
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 for x in &v {
[INFO] [stdout]     |                          ^^ `&Vec<process_windows::Process>` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `IntoIterator` is not implemented for `&Vec<process_windows::Process>`
[INFO] [stdout]     = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]               &'a Vec<T, A>
[INFO] [stdout]               &'a mut Vec<T, A>
[INFO] [stdout]               Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_wide(&slice[..pos])
[INFO] [stdout]     |                                ^^^^^^^^^ function or associated item 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/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_iter(&slice[..pos])
[INFO] [stdout]     |                                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/inject_windows.rs:138:59
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let p = Process::find_first_by_name("WeChat.exe").unwrap();
[INFO] [stdout]     |                                                           ^^^^^^ method cannot be called on `Option<Process>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/process_windows.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_wide(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ^^^^^^^^^ function or associated item 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/c2f2db79ca3024f68d22b45aa22b570775c2c4ad/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_iter(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utils.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::InjectorExt`
[INFO] [stdout]    --> src/inject_windows.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     use super::InjectorExt;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]   --> src/inject_windows.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn is_injected(&self, dll: &str) -> Result<bool, io::Error> {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]    --> src/inject_windows.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn eject(&self, dll: &str) -> Result<(), io::Error> {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utils.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `injrs` (lib test) due to 25 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]   --> src/inject_windows.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn is_injected(&self, dll: &str) -> Result<bool, io::Error> {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]    --> src/inject_windows.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn eject(&self, dll: &str) -> Result<(), io::Error> {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 3 warnings emitted
[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 `injrs` (lib) due to 22 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "88dd604fd60d68cdf914cdfcf34c980f561054975f29da1f99c524fff59bdbdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88dd604fd60d68cdf914cdfcf34c980f561054975f29da1f99c524fff59bdbdd", kill_on_drop: false }`
[INFO] [stdout] 88dd604fd60d68cdf914cdfcf34c980f561054975f29da1f99c524fff59bdbdd
[INFO] checking injrs-0.1.2 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate injrs 0.1.2 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate injrs 0.1.2 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config
[INFO] started tweaking crates.io crate injrs 0.1.2
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate injrs 0.1.2
[INFO] tweaked toml for crates.io crate injrs 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate injrs 0.1.2 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" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 83e7d41409d623a1fc907be18bc4a9ba4d0987d488e784a9150bb9411fc74671
[INFO] running `Command { std: "docker" "start" "-a" "83e7d41409d623a1fc907be18bc4a9ba4d0987d488e784a9150bb9411fc74671", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83e7d41409d623a1fc907be18bc4a9ba4d0987d488e784a9150bb9411fc74671", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83e7d41409d623a1fc907be18bc4a9ba4d0987d488e784a9150bb9411fc74671", kill_on_drop: false }`
[INFO] [stdout] 83e7d41409d623a1fc907be18bc4a9ba4d0987d488e784a9150bb9411fc74671
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ab7b862436990298260ed989f835b7bae781fe19d6752cd5d89b568e04fdc76
[INFO] running `Command { std: "docker" "start" "-a" "9ab7b862436990298260ed989f835b7bae781fe19d6752cd5d89b568e04fdc76", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking injrs v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/process_windows.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/evelate_windows.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winapi.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use winapi::shared::ntdef::{
[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/winapi.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use winapi::shared::minwindef::{
[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/winapi.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use winapi::um::processthreadsapi::{
[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/winapi.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use winapi::um::handleapi::{
[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/winapi.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub use winapi::um::tlhelp32::{
[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/winapi.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub use winapi::um::psapi::{
[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/winapi.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub use winapi::um::winnt::{
[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/winapi.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use winapi::um::memoryapi::{
[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/winapi.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub use winapi::um::libloaderapi::{
[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/winapi.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub use winapi::um::synchapi::{
[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/winapi.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub use winapi::um::wow64apiset::{
[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/winapi.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub use winapi::um::winbase::{
[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/winapi.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub use winapi::um::securitybaseapi::{
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/utils.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt as _;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/inject_windows.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::mem::{self, MaybeUninit};
[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 `windows` in `os`
[INFO] [stdout]   --> src/process_windows.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/evelate_windows.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winapi.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use winapi::shared::ntdef::{
[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/winapi.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use winapi::shared::minwindef::{
[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/winapi.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use winapi::um::processthreadsapi::{
[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/winapi.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use winapi::um::handleapi::{
[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/winapi.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub use winapi::um::tlhelp32::{
[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/winapi.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub use winapi::um::psapi::{
[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/winapi.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub use winapi::um::winnt::{
[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/winapi.rs:57:17
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use winapi::um::memoryapi::{
[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/winapi.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub use winapi::um::libloaderapi::{
[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/winapi.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub use winapi::um::synchapi::{
[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/winapi.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub use winapi::um::wow64apiset::{
[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/winapi.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub use winapi::um::winbase::{
[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/winapi.rs:85:17
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub use winapi::um::securitybaseapi::{
[INFO] [stdout]    |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/utils.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt as _;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/os/mod.rs:100:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MaybeUninit`
[INFO] [stdout]  --> src/inject_windows.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::mem::{self, MaybeUninit};
[INFO] [stdout]   |                      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for struct `Vec` in the current scope
[INFO] [stdout]   --> src/process_windows.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 |         match find_process_by_name(name).unwrap_or_default().first() {
[INFO] [stdout]    |                                                              ^^^^^ method not found in `Vec<Process>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/process_windows.rs:166:31
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 166 |             Some(v) => result.push(v),
[INFO] [stdout]     |                               ^^^^ method cannot be called on `Vec<Process>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_wide(&slice[..pos])
[INFO] [stdout]     |                                ^^^^^^^^^ function or associated item 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/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_iter(&slice[..pos])
[INFO] [stdout]     |                                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_wide(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ^^^^^^^^^ function or associated item 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/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_iter(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `len` exists for struct `Vec<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/process_windows.rs:213:53
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 213 |                 println!("get process count: {}", v.len());
[INFO] [stdout]     |                                                     ^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `&Vec<process_windows::Process>` is not an iterator
[INFO] [stdout]    --> src/process_windows.rs:214:26
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 for x in &v {
[INFO] [stdout]     |                          ^^ `&Vec<process_windows::Process>` is not an iterator
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `IntoIterator` is not implemented for `&Vec<process_windows::Process>`
[INFO] [stdout]     = help: the following other types implement trait `IntoIterator`:
[INFO] [stdout]               &'a Vec<T, A>
[INFO] [stdout]               &'a mut Vec<T, A>
[INFO] [stdout]               Vec<T, A>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Option<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/inject_windows.rs:138:59
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let p = Process::find_first_by_name("WeChat.exe").unwrap();
[INFO] [stdout]     |                                                           ^^^^^^ method cannot be called on `Option<Process>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/process_windows.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for struct `Vec` in the current scope
[INFO] [stdout]   --> src/process_windows.rs:60:62
[INFO] [stdout]    |
[INFO] [stdout] 60 |         match find_process_by_name(name).unwrap_or_default().first() {
[INFO] [stdout]    |                                                              ^^^^^ method not found in `Vec<Process>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec<Process>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/process_windows.rs:166:31
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub struct Process {
[INFO] [stdout]     | ------------------ doesn't satisfy `process_windows::Process: Sized`
[INFO] [stdout] ...
[INFO] [stdout] 166 |             Some(v) => result.push(v),
[INFO] [stdout]     |                               ^^^^ method cannot be called on `Vec<Process>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `{type error}: Sized`
[INFO] [stdout]             which is required by `process_windows::Process: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:181:32
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_wide(&slice[..pos])
[INFO] [stdout]     |                                ^^^^^^^^^ function or associated item 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/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 181 |         Some(pos) => OsString::from_iter(&slice[..pos])
[INFO] [stdout]     |                                ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/process_windows.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_wide(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ^^^^^^^^^ function or associated item 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/9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88/library/std/src/ffi/os_str.rs:143:5
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 184 |         None => OsString::from_iter(slice).to_string_lossy().into_owned(),
[INFO] [stdout]     |                           ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utils.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::InjectorExt`
[INFO] [stdout]    --> src/inject_windows.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     use super::InjectorExt;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]   --> src/inject_windows.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn is_injected(&self, dll: &str) -> Result<bool, io::Error> {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]    --> src/inject_windows.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn eject(&self, dll: &str) -> Result<(), io::Error> {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `injrs` (lib test) due to 25 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utils.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]   --> src/inject_windows.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn is_injected(&self, dll: &str) -> Result<bool, io::Error> {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dll`
[INFO] [stdout]    --> src/inject_windows.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn eject(&self, dll: &str) -> Result<(), io::Error> {
[INFO] [stdout]     |                     ^^^ help: if this is intentional, prefix it with an underscore: `_dll`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors; 3 warnings emitted
[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 `injrs` (lib) due to 22 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9ab7b862436990298260ed989f835b7bae781fe19d6752cd5d89b568e04fdc76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ab7b862436990298260ed989f835b7bae781fe19d6752cd5d89b568e04fdc76", kill_on_drop: false }`
[INFO] [stdout] 9ab7b862436990298260ed989f835b7bae781fe19d6752cd5d89b568e04fdc76
