[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 try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [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 b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.3.2 [INFO] [stderr] Downloaded tokio v0.3.7 [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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8019cd69c0fafcf23f0f9e269fafca192856f65356ea517261db9f382a0a77a3 [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" "8019cd69c0fafcf23f0f9e269fafca192856f65356ea517261db9f382a0a77a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8019cd69c0fafcf23f0f9e269fafca192856f65356ea517261db9f382a0a77a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8019cd69c0fafcf23f0f9e269fafca192856f65356ea517261db9f382a0a77a3", kill_on_drop: false }` [INFO] [stdout] 8019cd69c0fafcf23f0f9e269fafca192856f65356ea517261db9f382a0a77a3 [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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2562e0a0c94aa6ff736a1904f84ef50927cb633559775888d9688cba17cdf1e5 [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" "2562e0a0c94aa6ff736a1904f84ef50927cb633559775888d9688cba17cdf1e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [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] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking ttf-parser v0.11.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking iced_core v0.3.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking svg_fmt v0.4.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking learn_rust v0.1.0 (/opt/rustwide/workdir/first_to_rust) [INFO] [stderr] Checking oicq v0.1.0 (/opt/rustwide/workdir/socket_rs/oicq) [INFO] [stderr] Checking udp-server v0.1.0 (/opt/rustwide/workdir/socket_rs/udp-server) [INFO] [stderr] Checking udp-client v0.1.0 (/opt/rustwide/workdir/socket_rs/udp-client) [INFO] [stderr] Checking convolute v0.1.0 (/opt/rustwide/workdir/convolute) [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking iced_style v0.2.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking win32 v0.1.0 (/opt/rustwide/workdir/win32) [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] [stderr] Checking crossbeam-epoch v0.9.1 [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] [stderr] Checking crossbeam-channel v0.5.0 [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: 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" "2562e0a0c94aa6ff736a1904f84ef50927cb633559775888d9688cba17cdf1e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2562e0a0c94aa6ff736a1904f84ef50927cb633559775888d9688cba17cdf1e5", kill_on_drop: false }` [INFO] [stdout] 2562e0a0c94aa6ff736a1904f84ef50927cb633559775888d9688cba17cdf1e5