[INFO] cloning repository https://github.com/ArtemGolovko/layout_switcher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArtemGolovko/layout_switcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtemGolovko%2Flayout_switcher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtemGolovko%2Flayout_switcher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 523be317026b5c4e47d18625c85133cbd06085d7
[INFO] testing ArtemGolovko/layout_switcher against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtemGolovko%2Flayout_switcher" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ArtemGolovko/layout_switcher on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ArtemGolovko/layout_switcher
[INFO] finished tweaking git repo https://github.com/ArtemGolovko/layout_switcher
[INFO] tweaked toml for git repo https://github.com/ArtemGolovko/layout_switcher written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ArtemGolovko/layout_switcher 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.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96c244840ec6aeb313dccb10eb4f726114138a8ca3d53616a0ac1ca0b365b4ea
[INFO] running `Command { std: "docker" "start" "-a" "96c244840ec6aeb313dccb10eb4f726114138a8ca3d53616a0ac1ca0b365b4ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96c244840ec6aeb313dccb10eb4f726114138a8ca3d53616a0ac1ca0b365b4ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96c244840ec6aeb313dccb10eb4f726114138a8ca3d53616a0ac1ca0b365b4ea", kill_on_drop: false }`
[INFO] [stdout] 96c244840ec6aeb313dccb10eb4f726114138a8ca3d53616a0ac1ca0b365b4ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3941d9e94ce6b551365d12cf0db22cff5b6230a471111ab22f2c262c5c59ee01
[INFO] running `Command { std: "docker" "start" "-a" "3941d9e94ce6b551365d12cf0db22cff5b6230a471111ab22f2c262c5c59ee01", kill_on_drop: false }`
[INFO] [stderr]    Compiling widestring v1.0.2
[INFO] [stderr]    Compiling layout_switcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `winapi`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::winapi`
[INFO] [stdout]  --> src/from_wide.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::winapi::WCHAR;
[INFO] [stdout]   |            ^^^^^^ could not find `winapi` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/main.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout]   --> src/main.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | ) -> LRESULT {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/main.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     hInstance: HINSTANCE,
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/main.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hPrevInstance: HINSTANCE,
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/main.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pCmdLine: PWSTR,
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/main.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     nCmdShow: c_int
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/main.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | ) -> c_int {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]   --> src/main.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             WS_OVERLAPPEDWINDOW as u64,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stdout]   --> src/main.rs:68:57
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) };
[INFO] [stdout]    |                                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `null`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::ptr::{null, null_mut};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]   --> src/main.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |         WM_CLOSE => drop(DestroyWindow(hWnd)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]   --> src/main.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 |         WM_DESTROY => PostQuitMessage(0),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |         _ => return DefWindowProcW(hWnd, Msg, wParam, lParam),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WNDCLASSW`
[INFO] [stdout]   --> src/main.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut wc = WNDCLASSW::default();
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared type `WNDCLASSW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]   --> src/main.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let atom = unsafe { RegisterClassW(&wc) };
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:42:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let last_error = unsafe { GetLastError() };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         CreateWindowExW(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]   --> src/main.rs:68:40
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) };
[INFO] [stdout]    |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG`
[INFO] [stdout]   --> src/main.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut msg = MSG::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:73:39
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let message_return = unsafe { GetMessageW(&mut msg, null_mut(), 0, 0) }; 
[INFO] [stdout]    |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:77:39
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let last_error = unsafe { GetLastError() };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 TranslateMessage(&msg);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 DispatchMessageW(&msg);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `layout_switcher` (bin "layout_switcher") due to 32 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3941d9e94ce6b551365d12cf0db22cff5b6230a471111ab22f2c262c5c59ee01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3941d9e94ce6b551365d12cf0db22cff5b6230a471111ab22f2c262c5c59ee01", kill_on_drop: false }`
[INFO] [stdout] 3941d9e94ce6b551365d12cf0db22cff5b6230a471111ab22f2c262c5c59ee01
[INFO] testing ArtemGolovko/layout_switcher against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtemGolovko%2Flayout_switcher" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ArtemGolovko/layout_switcher on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ArtemGolovko/layout_switcher
[INFO] finished tweaking git repo https://github.com/ArtemGolovko/layout_switcher
[INFO] tweaked toml for git repo https://github.com/ArtemGolovko/layout_switcher written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ArtemGolovko/layout_switcher 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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 21b93aedcf25a65fde616eb69c3991b73b92736a6fc0d889fbcff2da308d4384
[INFO] running `Command { std: "docker" "start" "-a" "21b93aedcf25a65fde616eb69c3991b73b92736a6fc0d889fbcff2da308d4384", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21b93aedcf25a65fde616eb69c3991b73b92736a6fc0d889fbcff2da308d4384", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21b93aedcf25a65fde616eb69c3991b73b92736a6fc0d889fbcff2da308d4384", kill_on_drop: false }`
[INFO] [stdout] 21b93aedcf25a65fde616eb69c3991b73b92736a6fc0d889fbcff2da308d4384
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36cb7751b65ae08f437b0baf8ad13d03970d18116c1cced332559862611f7b21
[INFO] running `Command { std: "docker" "start" "-a" "36cb7751b65ae08f437b0baf8ad13d03970d18116c1cced332559862611f7b21", kill_on_drop: false }`
[INFO] [stderr]    Compiling widestring v1.0.2
[INFO] [stderr]    Compiling layout_switcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `winapi`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::*;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::winapi`
[INFO] [stdout]  --> src/from_wide.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::winapi::WCHAR;
[INFO] [stdout]   |            ^^^^^^ could not find `winapi` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/main.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:16:52
[INFO] [stdout]    |
[INFO] [stdout] 16 |     hWnd: HWND, Msg: UINT, wParam: WPARAM, lParam: LPARAM
[INFO] [stdout]    |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stdout]   --> src/main.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | ) -> LRESULT {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/main.rs:28:16
[INFO] [stdout]    |
[INFO] [stdout] 28 |     hInstance: HINSTANCE,
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/main.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hPrevInstance: HINSTANCE,
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope
[INFO] [stdout]   --> src/main.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pCmdLine: PWSTR,
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/main.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 |     nCmdShow: c_int
[INFO] [stdout]    |               ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/main.rs:32:6
[INFO] [stdout]    |
[INFO] [stdout] 32 | ) -> c_int {
[INFO] [stdout]    |      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 7  + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 7  + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stdout]   --> src/main.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             WS_OVERLAPPEDWINDOW as u64,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:55:13
[INFO] [stdout]    |
[INFO] [stdout] 55 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             CW_USEDEFAULT,
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_SHOW` in this scope
[INFO] [stdout]   --> src/main.rs:68:57
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) };
[INFO] [stdout]    |                                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `null`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::ptr::{null, null_mut};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DestroyWindow` in this scope
[INFO] [stdout]   --> src/main.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |         WM_CLOSE => drop(DestroyWindow(hWnd)),
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope
[INFO] [stdout]   --> src/main.rs:20:23
[INFO] [stdout]    |
[INFO] [stdout] 20 |         WM_DESTROY => PostQuitMessage(0),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in this scope
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |         _ => return DefWindowProcW(hWnd, Msg, wParam, lParam),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WNDCLASSW`
[INFO] [stdout]   --> src/main.rs:35:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut wc = WNDCLASSW::default();
[INFO] [stdout]    |                  ^^^^^^^^^ use of undeclared type `WNDCLASSW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope
[INFO] [stdout]   --> src/main.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let atom = unsafe { RegisterClassW(&wc) };
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:42:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let last_error = unsafe { GetLastError() };
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in this scope
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         CreateWindowExW(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]   --> src/main.rs:68:40
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let _previously_visible = unsafe { ShowWindow(hwnd, SW_SHOW) };
[INFO] [stdout]    |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MSG`
[INFO] [stdout]   --> src/main.rs:70:19
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut msg = MSG::default();
[INFO] [stdout]    |                   ^^^ use of undeclared type `MSG`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:73:39
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let message_return = unsafe { GetMessageW(&mut msg, null_mut(), 0, 0) }; 
[INFO] [stdout]    |                                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]   --> src/main.rs:77:39
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let last_error = unsafe { GetLastError() };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope
[INFO] [stdout]   --> src/main.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 TranslateMessage(&msg);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope
[INFO] [stdout]   --> src/main.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 DispatchMessageW(&msg);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `layout_switcher` (bin "layout_switcher") due to 32 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "36cb7751b65ae08f437b0baf8ad13d03970d18116c1cced332559862611f7b21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36cb7751b65ae08f437b0baf8ad13d03970d18116c1cced332559862611f7b21", kill_on_drop: false }`
[INFO] [stdout] 36cb7751b65ae08f437b0baf8ad13d03970d18116c1cced332559862611f7b21
