[INFO] cloning repository https://github.com/shanmite/rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shanmite/rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanmite%2Frs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanmite%2Frs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9df9b89c838cd21366a484d07e2495e26e275dd [INFO] checking shanmite/rs against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanmite%2Frs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shanmite/rs on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shanmite/rs [INFO] finished tweaking git repo https://github.com/shanmite/rs [INFO] tweaked toml for git repo https://github.com/shanmite/rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/shanmite/rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9217a2d42d6406f48eca6aa19a6de7694fbdb9041e3bee904f92e64658db1d51 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9217a2d42d6406f48eca6aa19a6de7694fbdb9041e3bee904f92e64658db1d51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9217a2d42d6406f48eca6aa19a6de7694fbdb9041e3bee904f92e64658db1d51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9217a2d42d6406f48eca6aa19a6de7694fbdb9041e3bee904f92e64658db1d51", kill_on_drop: false }` [INFO] [stdout] 9217a2d42d6406f48eca6aa19a6de7694fbdb9041e3bee904f92e64658db1d51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1ba28cfd32111ba661bb1b9e1ec02b64b547e93f904dc7bfd7e5fc291777a50d [INFO] running `Command { std: "docker" "start" "-a" "1ba28cfd32111ba661bb1b9e1ec02b64b547e93f904dc7bfd7e5fc291777a50d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ttf-parser v0.11.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking iced_core v0.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking svg_fmt v0.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking learn_rust v0.1.0 (/opt/rustwide/workdir/first_to_rust) [INFO] [stderr] Checking convolute v0.1.0 (/opt/rustwide/workdir/convolute) [INFO] [stderr] Checking udp-client v0.1.0 (/opt/rustwide/workdir/socket_rs/udp-client) [INFO] [stderr] Checking udp-server v0.1.0 (/opt/rustwide/workdir/socket_rs/udp-server) [INFO] [stderr] Checking oicq v0.1.0 (/opt/rustwide/workdir/socket_rs/oicq) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Checking nom v6.1.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking iced_style v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Checking win32 v0.1.0 (/opt/rustwide/workdir/win32) [INFO] [stderr] Checking owned_ttf_parser v0.11.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> win32/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> win32/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> win32/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> win32/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope [INFO] [stdout] --> win32/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ShowWindow(hwnd, SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope [INFO] [stdout] --> win32/src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | ShowWindow(hwnd, SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> win32/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | UpdateWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> win32/src/main.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let mut msg = mem::MaybeUninit::::uninit().assume_init(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> win32/src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | if GetMessageW(&mut msg, ptr::null_mut(), 0, 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 `TranslateMessage` in this scope [INFO] [stdout] --> win32/src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | TranslateMessage(&mut 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] --> win32/src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope [INFO] [stdout] --> win32/src/main.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn register_wndclass(class_name: &[u16]) -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 50 | let mut winc = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> win32/src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | winc.style = CS_HREDRAW | CS_VREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> win32/src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | winc.style = CS_HREDRAW | CS_VREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> win32/src/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | winc.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> win32/src/main.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | winc.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> win32/src/main.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | winc.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> win32/src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | winc.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope [INFO] [stdout] --> win32/src/main.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | winc.hbrBackground = GetStockObject(WHITE_BRUSH as i32) as HBRUSH; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE_BRUSH` in this scope [INFO] [stdout] --> win32/src/main.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | winc.hbrBackground = GetStockObject(WHITE_BRUSH as i32) as HBRUSH; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> win32/src/main.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | winc.hbrBackground = GetStockObject(WHITE_BRUSH as i32) as HBRUSH; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> win32/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | RegisterClassW(&winc) > 0 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> win32/src/main.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn create_window(class_name: &[u16]) -> HWND { [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] --> win32/src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> win32/src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> win32/src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> win32/src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> win32/src/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> win32/src/main.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | l_param: 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] --> win32/src/main.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> win32/src/main.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe extern "system" fn win_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 87 | let mut ps = mem::MaybeUninit::::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> win32/src/main.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | let hdc = BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TextOutW` in this scope [INFO] [stdout] --> win32/src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | TextOutW(hdc, 5, 5, greetings, lstrlenW(greetings)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrlenW` in this scope [INFO] [stdout] --> win32/src/main.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | TextOutW(hdc, 5, 5, greetings, lstrlenW(greetings)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> win32/src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | EndPaint(hwnd, &mut ps); [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] --> win32/src/main.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | 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] --> win32/src/main.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | _ => return DefWindowProcW(hwnd, msg, w_param, l_param), [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] --> win32/src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ShowWindow(hwnd, SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope [INFO] [stdout] --> win32/src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | ShowWindow(hwnd, SW_NORMAL); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UpdateWindow` in this scope [INFO] [stdout] --> win32/src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | UpdateWindow(hwnd); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> win32/src/main.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | let mut msg = mem::MaybeUninit::::uninit().assume_init(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> win32/src/main.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | if GetMessageW(&mut msg, ptr::null_mut(), 0, 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 `TranslateMessage` in this scope [INFO] [stdout] --> win32/src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | TranslateMessage(&mut 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] --> win32/src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | DispatchMessageW(&mut msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSW` in this scope [INFO] [stdout] --> win32/src/main.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn register_wndclass(class_name: &[u16]) -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 50 | let mut winc = mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_HREDRAW` in this scope [INFO] [stdout] --> win32/src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | winc.style = CS_HREDRAW | CS_VREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CS_VREDRAW` in this scope [INFO] [stdout] --> win32/src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | winc.style = CS_HREDRAW | CS_VREDRAW; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in this scope [INFO] [stdout] --> win32/src/main.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | winc.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDI_APPLICATION` in this scope [INFO] [stdout] --> win32/src/main.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | winc.hIcon = LoadIconW(ptr::null_mut(), IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in this scope [INFO] [stdout] --> win32/src/main.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | winc.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> win32/src/main.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | winc.hCursor = LoadCursorW(ptr::null_mut(), IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in this scope [INFO] [stdout] --> win32/src/main.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | winc.hbrBackground = GetStockObject(WHITE_BRUSH as i32) as HBRUSH; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE_BRUSH` in this scope [INFO] [stdout] --> win32/src/main.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | winc.hbrBackground = GetStockObject(WHITE_BRUSH as i32) as HBRUSH; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBRUSH` in this scope [INFO] [stdout] --> win32/src/main.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | winc.hbrBackground = GetStockObject(WHITE_BRUSH as i32) as HBRUSH; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassW` in this scope [INFO] [stdout] --> win32/src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | RegisterClassW(&winc) > 0 [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> win32/src/main.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe fn create_window(class_name: &[u16]) -> HWND { [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] --> win32/src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope [INFO] [stdout] --> win32/src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | WS_OVERLAPPEDWINDOW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> win32/src/main.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | hwnd: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> win32/src/main.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | msg: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> win32/src/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | w_param: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> win32/src/main.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | l_param: 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] --> win32/src/main.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PAINTSTRUCT` in this scope [INFO] [stdout] --> win32/src/main.rs:87:45 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe extern "system" fn win_proc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 87 | let mut ps = mem::MaybeUninit::::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in this scope [INFO] [stdout] --> win32/src/main.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | let hdc = BeginPaint(hwnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TextOutW` in this scope [INFO] [stdout] --> win32/src/main.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | TextOutW(hdc, 5, 5, greetings, lstrlenW(greetings)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lstrlenW` in this scope [INFO] [stdout] --> win32/src/main.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | TextOutW(hdc, 5, 5, greetings, lstrlenW(greetings)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in this scope [INFO] [stdout] --> win32/src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | EndPaint(hwnd, &mut ps); [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] --> win32/src/main.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | 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] --> win32/src/main.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | _ => return DefWindowProcW(hwnd, msg, w_param, l_param), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ab_glyph v0.2.9 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win32` [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] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1ba28cfd32111ba661bb1b9e1ec02b64b547e93f904dc7bfd7e5fc291777a50d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba28cfd32111ba661bb1b9e1ec02b64b547e93f904dc7bfd7e5fc291777a50d", kill_on_drop: false }` [INFO] [stdout] 1ba28cfd32111ba661bb1b9e1ec02b64b547e93f904dc7bfd7e5fc291777a50d