[INFO] cloning repository https://github.com/1065210894/win_api_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1065210894/win_api_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1065210894%2Fwin_api_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1065210894%2Fwin_api_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e09ce12369ddca82c51670372391226ca1bcdd9b
[INFO] testing 1065210894/win_api_rs against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1065210894%2Fwin_api_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/1065210894/win_api_rs
[INFO] finished tweaking git repo https://github.com/1065210894/win_api_rs
[INFO] tweaked toml for git repo https://github.com/1065210894/win_api_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/1065210894/win_api_rs on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/1065210894/win_api_rs 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f349268357ac6be6dfd226bcc5a9489fa5e3b1265665b68808445cb7e7d1419d
[INFO] running `Command { std: "docker" "start" "-a" "f349268357ac6be6dfd226bcc5a9489fa5e3b1265665b68808445cb7e7d1419d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f349268357ac6be6dfd226bcc5a9489fa5e3b1265665b68808445cb7e7d1419d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f349268357ac6be6dfd226bcc5a9489fa5e3b1265665b68808445cb7e7d1419d", kill_on_drop: false }`
[INFO] [stdout] f349268357ac6be6dfd226bcc5a9489fa5e3b1265665b68808445cb7e7d1419d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0953554b73e1f729be58dae911c879cf3883acaf228998c5b5e66c075a2619a2
[INFO] running `Command { std: "docker" "start" "-a" "0953554b73e1f729be58dae911c879cf3883acaf228998c5b5e66c075a2619a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libloading v0.7.2
[INFO] [stderr]    Compiling win_api_template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/read_memory_api.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::memoryapi::ReadProcessMemory;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/read_memory_api.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::ntdef::{HANDLE};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/write_memory_api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/windows_api_template/write_memory_api.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{io, os::windows::io::AsRawHandle};
[INFO] [stdout]   |                   ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/os/mod.rs:56:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/os/mod.rs:120:10
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/write_memory_api.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::minwindef::FALSE;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/write_memory_api.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::memoryapi::WriteProcessMemory;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/utils/string_utils.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/os/mod.rs:56:5
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/os/mod.rs:120:10
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/init_api.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::winuser::{FindWindowW, GetWindowThreadProcessId};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/init_api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::processthreadsapi::{OpenProcess};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/init_api.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPMODULE, MODULEENTRY32, Module32First, Module32Next, TH32CS_SNAPMODULE32};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/init_api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::{minwindef};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]  --> src/windows_api_template/init_api.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winnt::{HANDLE, PROCESS_ALL_ACCESS};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   --> src/windows_api_template/init_api.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::panic`
[INFO] [stdout]  --> src/windows_api_template/write_memory_api.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::panic;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> src/windows_api_template/write_memory_api.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{io, os::windows::io::AsRawHandle};
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::zeroed`
[INFO] [stdout]  --> src/windows_api_template/write_memory_api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem::zeroed;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libloading::Library`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use libloading::Library;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write_memory_api`
[INFO] [stdout]  --> src/main.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows_api_template::{read_memory_api, init_api, write_memory_api};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::init_api::loop_module`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::init_api::loop_module;
[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/string_utils.rs:9:42
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let wide: Vec<u16> = OsStr::new(str).encode_wide().chain(once(0)).collect();
[INFO] [stdout]   |                                          ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lib`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let lib = libloading::Library::new("C:\\Users\\Administrator\\Desktop\\leaker.dll").unwrap();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_lib`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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 `win_api_template` (bin "win_api_template") due to 14 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0953554b73e1f729be58dae911c879cf3883acaf228998c5b5e66c075a2619a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0953554b73e1f729be58dae911c879cf3883acaf228998c5b5e66c075a2619a2", kill_on_drop: false }`
[INFO] [stdout] 0953554b73e1f729be58dae911c879cf3883acaf228998c5b5e66c075a2619a2
