[INFO] cloning repository https://github.com/hummingly/rust-winapi-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hummingly/rust-winapi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-winapi-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-winapi-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb77baf640c5c2631bddfb65fdd4f33a436489b3
[INFO] testing hummingly/rust-winapi-example against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhummingly%2Frust-winapi-example" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hummingly/rust-winapi-example
[INFO] finished tweaking git repo https://github.com/hummingly/rust-winapi-example
[INFO] tweaked toml for git repo https://github.com/hummingly/rust-winapi-example written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hummingly/rust-winapi-example on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hummingly/rust-winapi-example 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `window` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77
[INFO] running `Command { std: "docker" "start" "7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `window` (manifest) generated 1 warning
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]    Compiling gdi32-sys v0.2.0
[INFO] [stderr]    Compiling window v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `user32::AppendMenuW`, `user32::CreateMenu`, `user32::CreatePopupMenu`
[INFO] [stdout]  --> src/menu.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use user32::{AppendMenuW, CreateMenu, CreatePopupMenu};
[INFO] [stdout]   |              ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^^^^ no `CreatePopupMenu` in the root
[INFO] [stdout]   |              |            |
[INFO] [stdout]   |              |            no `CreateMenu` in the root
[INFO] [stdout]   |              no `AppendMenuW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::windef`
[INFO] [stdout]  --> src/menu.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::windef::HMENU;
[INFO] [stdout]   |             ^^^^^^ could not find `windef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]  --> src/menu.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::minwindef::WPARAM;
[INFO] [stdout]   |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/utility.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] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]  --> src/menu.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::winuser::{MF_POPUP, MF_SEPARATOR, MF_STRING};
[INFO] [stdout]   |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `kernel32::GetLastError`
[INFO] [stdout]  --> src/utility.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use kernel32::GetLastError;
[INFO] [stdout]   |     ^^^^^^^^^^------------
[INFO] [stdout]   |               |
[INFO] [stdout]   |               no `GetLastError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `user32::MessageBoxW`
[INFO] [stdout]  --> src/utility.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use user32::MessageBoxW;
[INFO] [stdout]   |     ^^^^^^^^-----------
[INFO] [stdout]   |             |
[INFO] [stdout]   |             no `MessageBoxW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]  --> src/utility.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::winuser::MB_OK;
[INFO] [stdout]   |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `gdi32::GetStockObject`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use gdi32::GetStockObject;
[INFO] [stdout]    |     ^^^^^^^--------------
[INFO] [stdout]    |            |
[INFO] [stdout]    |            no `GetStockObject` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `user32::CreateMenu`, `user32::CreateWindowExW`, `user32::MessageBoxW`, `user32::RegisterClassW`, `user32::ShowWindow`, `user32::UpdateWindow`
[INFO] [stdout]   --> src/main.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use user32::{CreateMenu, CreateWindowExW, MessageBoxW, RegisterClassW, ShowWindow, UpdateWindow};
[INFO] [stdout]    |              ^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^ no `UpdateWindow` in the root
[INFO] [stdout]    |              |           |                |            |               |
[INFO] [stdout]    |              |           |                |            |               no `ShowWindow` in the root
[INFO] [stdout]    |              |           |                |            no `RegisterClassW` in the root
[INFO] [stdout]    |              |           |                no `MessageBoxW` in the root
[INFO] [stdout]    |              |           no `CreateWindowExW` in the root
[INFO] [stdout]    |              no `CreateMenu` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `user32::DispatchMessageW`, `user32::GetMessageW`, `user32::PostQuitMessage`, `user32::SendMessageW`, `user32::TranslateMessage`
[INFO] [stdout]   --> src/main.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | use user32::{DispatchMessageW, GetMessageW, PostQuitMessage, SendMessageW, TranslateMessage};
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^ no `TranslateMessage` in the root
[INFO] [stdout]    |              |                 |            |                |
[INFO] [stdout]    |              |                 |            |                no `SendMessageW` in the root
[INFO] [stdout]    |              |                 |            no `PostQuitMessage` in the root
[INFO] [stdout]    |              |                 no `GetMessageW` in the root
[INFO] [stdout]    |              no `DispatchMessageW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `user32::DefWindowProcW`, `user32::DestroyWindow`, `user32::FindWindowExW`, `user32::GetClientRect`, `user32::MoveWindow`, `user32::SetWindowPos`
[INFO] [stdout]   --> src/main.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | use user32::{DefWindowProcW, DestroyWindow, FindWindowExW, GetClientRect, MoveWindow, SetWindowPos};
[INFO] [stdout]    |              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^ no `SetWindowPos` in the root
[INFO] [stdout]    |              |               |              |              |              |
[INFO] [stdout]    |              |               |              |              |              no `MoveWindow` in the root
[INFO] [stdout]    |              |               |              |              no `GetClientRect` in the root
[INFO] [stdout]    |              |               |              no `FindWindowExW` in the root
[INFO] [stdout]    |              |               no `DestroyWindow` in the root
[INFO] [stdout]    |              no `DefWindowProcW` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::minwindef`
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::minwindef::{HINSTANCE, LPARAM, LRESULT, TRUE, UINT, WPARAM};
[INFO] [stdout]    |             ^^^^^^^^^ could not find `minwindef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::windef`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 | use winapi::windef::{HCURSOR, HFONT, HICON, HWND, POINT, RECT};
[INFO] [stdout]    |             ^^^^^^ could not find `windef` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::wingdi`
[INFO] [stdout]   --> src/main.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 | use winapi::wingdi::DEFAULT_GUI_FONT;
[INFO] [stdout]    |             ^^^^^^ could not find `wingdi` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 | use winapi::winuser::{MB_YESNO, MSG, WNDCLASSW};
[INFO] [stdout]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use winapi::winuser::{CS_HREDRAW, CS_VREDRAW, CW_USEDEFAULT, ES_AUTOVSCROLL, ES_MULTILINE,
[INFO] [stdout]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::winuser`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | use winapi::winuser::{SWP_NOZORDER, SW_SHOWDEFAULT, WM_CLOSE, WM_COMMAND, WM_COPY, WM_CREATE,
[INFO] [stdout]    |             ^^^^^^^ could not find `winuser` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/utility.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 |     OsStr::new(value).encode_wide().chain(once(0)).collect()
[INFO] [stdout]    |                       ^^^^^^^^^^^ method not found in `&OsStr`
[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 `window` (bin "window") due to 19 previous errors
[INFO] running `Command { std: "docker" "inspect" "7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77", kill_on_drop: false }`
[INFO] [stdout] 7e3fd62ce3f4768b11e75b2367fec84b9b5cb17badc51789b67d17883e286b77
