[INFO] cloning repository https://github.com/miniocean404-rust/windows-ptr-scan-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miniocean404-rust/windows-ptr-scan-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminiocean404-rust%2Fwindows-ptr-scan-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminiocean404-rust%2Fwindows-ptr-scan-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92d771f1a39d00ef5fbff4079f8496f3110dfa2a [INFO] testing miniocean404-rust/windows-ptr-scan-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminiocean404-rust%2Fwindows-ptr-scan-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/miniocean404-rust/windows-ptr-scan-rs [INFO] finished tweaking git repo https://github.com/miniocean404-rust/windows-ptr-scan-rs [INFO] tweaked toml for git repo https://github.com/miniocean404-rust/windows-ptr-scan-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/miniocean404-rust/windows-ptr-scan-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/miniocean404-rust/windows-ptr-scan-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00b8fe19ec1cd1bf5aeeef15f9eed76753611d4eee96547a47ebc6d6b96ff066 [INFO] running `Command { std: "docker" "start" "-a" "00b8fe19ec1cd1bf5aeeef15f9eed76753611d4eee96547a47ebc6d6b96ff066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b8fe19ec1cd1bf5aeeef15f9eed76753611d4eee96547a47ebc6d6b96ff066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b8fe19ec1cd1bf5aeeef15f9eed76753611d4eee96547a47ebc6d6b96ff066", kill_on_drop: false }` [INFO] [stdout] 00b8fe19ec1cd1bf5aeeef15f9eed76753611d4eee96547a47ebc6d6b96ff066 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cad945881e27ffd2d6e4e3bfeb6a6e377d21f6c502eb62179f298b87d4b8453 [INFO] running `Command { std: "docker" "start" "-a" "2cad945881e27ffd2d6e4e3bfeb6a6e377d21f6c502eb62179f298b87d4b8453", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling win32_utils v0.1.0 (/opt/rustwide/workdir/crates/win32_utils) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/demo/enum_windows.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Foundation::{BOOL, HWND, LPARAM}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/demo/enum_windows.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::UI::WindowsAndMessaging::WS_VISIBLE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/unknown.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/unknown.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::UI::WindowsAndMessaging::GetWindowModuleFileNameW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/module.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Win32::{Foundation::HMODULE, System::LibraryLoader::GetModuleHandleW}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> crates/win32_utils/src/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/process.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> crates/win32_utils/src/process.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | core::{s, w, PCWSTR}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> crates/win32_utils/src/string.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/ui.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::UI::WindowsAndMessaging::{MessageBoxW, MB_YESNOCANCEL}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> crates/win32_utils/src/ui.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/hwnd.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Foundation::HWND; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/hwnd.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::UI::WindowsAndMessaging::GetForegroundWindow; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/hwnd.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::{FindWindowW, GetAncestor, GA_ROOT}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> crates/win32_utils/src/window/info.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/info.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::{CloseHandle, HWND}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/info.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::ProcessStatus::GetModuleFileNameExW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/info.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Threading::{OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/info.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::UI::WindowsAndMessaging::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> crates/win32_utils/src/window/hwnd.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> crates/win32_utils/src/module.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 9 | pub unsafe fn get_module_base_address(id: PCWSTR) -> windows::core::Result { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> crates/win32_utils/src/window/hwnd.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe fn get_hwnd_for_title(title: PCWSTR) -> windows::core::Result { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [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] --> crates/win32_utils/src/window/info.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | OsString::from_wide(&classname[..len as usize]) [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 38 - OsString::from_wide(&classname[..len as usize]) [INFO] [stdout] 38 + OsString::from_iter(&classname[..len as usize]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win32_utils` (lib) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "2cad945881e27ffd2d6e4e3bfeb6a6e377d21f6c502eb62179f298b87d4b8453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cad945881e27ffd2d6e4e3bfeb6a6e377d21f6c502eb62179f298b87d4b8453", kill_on_drop: false }` [INFO] [stdout] 2cad945881e27ffd2d6e4e3bfeb6a6e377d21f6c502eb62179f298b87d4b8453