[INFO] cloning repository https://github.com/mikesouthron/rust_win32 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikesouthron/rust_win32" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesouthron%2Frust_win32"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesouthron%2Frust_win32'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d40b791d0b3353261725930ec33d6e2b76398bd6 [INFO] checking mikesouthron/rust_win32 against master#e2223c94bf433fc38234d1303e88cbaf14755863 for pr-69548 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikesouthron%2Frust_win32" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikesouthron/rust_win32 on toolchain e2223c94bf433fc38234d1303e88cbaf14755863 [INFO] running `"/workspace/cargo-home/bin/cargo" "+e2223c94bf433fc38234d1303e88cbaf14755863" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mikesouthron/rust_win32 [INFO] finished tweaking git repo https://github.com/mikesouthron/rust_win32 [INFO] tweaked toml for git repo https://github.com/mikesouthron/rust_win32 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/mikesouthron/rust_win32 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e2223c94bf433fc38234d1303e88cbaf14755863" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e2223c94bf433fc38234d1303e88cbaf14755863" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3415fd4066cafc0280471235aa5d5163950307c5cef211c4055731af7c08eeac [INFO] running `"docker" "start" "-a" "3415fd4066cafc0280471235aa5d5163950307c5cef211c4055731af7c08eeac"` [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking window v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kernel32::GetModuleHandleW` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::GetModuleHandleW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::BeginPaint`, `user32::CreateWindowExW`, `user32::DefWindowProcW`, `user32::DestroyWindow`, `user32::DispatchMessageW`, `user32::EndPaint`, `user32::FillRect`, `user32::GetMessageW`, `user32::MessageBoxW`, `user32::PostQuitMessage`, `user32::RegisterClassW`, `user32::TranslateMessage` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | BeginPaint, CreateWindowExW, DefWindowProcW, DestroyWindow, DispatchMessageW, EndPaint, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ no `EndPaint` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `DispatchMessageW` in the root [INFO] [stderr] | | | | no `DestroyWindow` in the root [INFO] [stderr] | | | no `DefWindowProcW` in the root [INFO] [stderr] | | no `CreateWindowExW` in the root [INFO] [stderr] | no `BeginPaint` in the root [INFO] [stderr] 13 | FillRect, GetMessageW, MessageBoxW, PostQuitMessage, RegisterClassW, TranslateMessage, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `PostQuitMessage` in the root [INFO] [stderr] | | | no `MessageBoxW` in the root [INFO] [stderr] | | no `GetMessageW` in the root [INFO] [stderr] | no `FillRect` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::winuser::{ [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | use std::os::windows::prelude::*; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kernel32::GetModuleHandleW` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use kernel32::GetModuleHandleW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetModuleHandleW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::COLOR_WINDOW`, `winapi::DWORD`, `winapi::HBRUSH`, `winapi::HDC`, `winapi::HIWORD`, `winapi::HWND`, `winapi::LOWORD`, `winapi::LPARAM`, `winapi::LRESULT`, `winapi::MB_OKCANCEL`, `winapi::PAINTSTRUCT`, `winapi::UINT`, `winapi::WM_CLOSE`, `winapi::WM_DESTROY`, `winapi::WM_PAINT`, `winapi::WM_SIZE`, `winapi::WPARAM` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | COLOR_WINDOW, DWORD, HBRUSH, HDC, HIWORD, HWND, LOWORD, LPARAM, LRESULT, MB_OKCANCEL, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^ ^^^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ no `MB_OKCANCEL` in the root [INFO] [stderr] | | | | | | | | | | [INFO] [stderr] | | | | | | | | | no `LRESULT` in the root [INFO] [stderr] | | | | | | | | no `LPARAM` in the root [INFO] [stderr] | | | | | | | no `LOWORD` in the root [INFO] [stderr] | | | | | | no `HWND` in the root [INFO] [stderr] | | | | | no `HIWORD` in the root [INFO] [stderr] | | | | no `HDC` in the root [INFO] [stderr] | | | no `HBRUSH` in the root [INFO] [stderr] | | no `DWORD` in the root [INFO] [stderr] | no `COLOR_WINDOW` in the root [INFO] [stderr] 21 | PAINTSTRUCT, UINT, WM_CLOSE, WM_DESTROY, WM_PAINT, WM_SIZE, WPARAM, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `window`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved imports `user32::BeginPaint`, `user32::CreateWindowExW`, `user32::DefWindowProcW`, `user32::DestroyWindow`, `user32::DispatchMessageW`, `user32::EndPaint`, `user32::FillRect`, `user32::GetMessageW`, `user32::MessageBoxW`, `user32::PostQuitMessage`, `user32::RegisterClassW`, `user32::TranslateMessage` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | BeginPaint, CreateWindowExW, DefWindowProcW, DestroyWindow, DispatchMessageW, EndPaint, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^ no `EndPaint` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `DispatchMessageW` in the root [INFO] [stderr] | | | | no `DestroyWindow` in the root [INFO] [stderr] | | | no `DefWindowProcW` in the root [INFO] [stderr] | | no `CreateWindowExW` in the root [INFO] [stderr] | no `BeginPaint` in the root [INFO] [stderr] 13 | FillRect, GetMessageW, MessageBoxW, PostQuitMessage, RegisterClassW, TranslateMessage, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `PostQuitMessage` in the root [INFO] [stderr] | | | no `MessageBoxW` in the root [INFO] [stderr] | | no `GetMessageW` in the root [INFO] [stderr] | no `FillRect` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::winuser::{ [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::COLOR_WINDOW`, `winapi::DWORD`, `winapi::HBRUSH`, `winapi::HDC`, `winapi::HIWORD`, `winapi::HWND`, `winapi::LOWORD`, `winapi::LPARAM`, `winapi::LRESULT`, `winapi::MB_OKCANCEL`, `winapi::PAINTSTRUCT`, `winapi::UINT`, `winapi::WM_CLOSE`, `winapi::WM_DESTROY`, `winapi::WM_PAINT`, `winapi::WM_SIZE`, `winapi::WPARAM` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | COLOR_WINDOW, DWORD, HBRUSH, HDC, HIWORD, HWND, LOWORD, LPARAM, LRESULT, MB_OKCANCEL, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^ ^^^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ no `MB_OKCANCEL` in the root [INFO] [stderr] | | | | | | | | | | [INFO] [stderr] | | | | | | | | | no `LRESULT` in the root [INFO] [stderr] | | | | | | | | no `LPARAM` in the root [INFO] [stderr] | | | | | | | no `LOWORD` in the root [INFO] [stderr] | | | | | | no `HWND` in the root [INFO] [stderr] | | | | | no `HIWORD` in the root [INFO] [stderr] | | | | no `HDC` in the root [INFO] [stderr] | | | no `HBRUSH` in the root [INFO] [stderr] | | no `DWORD` in the root [INFO] [stderr] | no `COLOR_WINDOW` in the root [INFO] [stderr] 21 | PAINTSTRUCT, UINT, WM_CLOSE, WM_DESTROY, WM_PAINT, WM_SIZE, WPARAM, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | .encode_wide() [INFO] [stderr] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `window`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3415fd4066cafc0280471235aa5d5163950307c5cef211c4055731af7c08eeac"` [INFO] running `"docker" "rm" "-f" "3415fd4066cafc0280471235aa5d5163950307c5cef211c4055731af7c08eeac"` [INFO] [stdout] 3415fd4066cafc0280471235aa5d5163950307c5cef211c4055731af7c08eeac