[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#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanmite%2Frs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shanmite/rs on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-6/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.3.2 [INFO] [stderr] Downloaded reqwest v0.10.10 [INFO] [stderr] Downloaded hyper-tls v0.4.3 [INFO] [stderr] Downloaded tokio-tls v0.3.1 [INFO] [stderr] Downloaded window_clipboard v0.1.3 [INFO] [stderr] Downloaded tokio v0.3.7 [INFO] [stderr] Downloaded serde_json v1.0.62 [INFO] [stderr] Downloaded clipboard_x11 v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df89dbafeb2eb6ec838ca081fef11e07da344be4e0d4463878889b4619ad1067 [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" "df89dbafeb2eb6ec838ca081fef11e07da344be4e0d4463878889b4619ad1067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df89dbafeb2eb6ec838ca081fef11e07da344be4e0d4463878889b4619ad1067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df89dbafeb2eb6ec838ca081fef11e07da344be4e0d4463878889b4619ad1067", kill_on_drop: false }` [INFO] [stdout] df89dbafeb2eb6ec838ca081fef11e07da344be4e0d4463878889b4619ad1067 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f33352980a78b7f4ec884a04cf5368901007805435e8d2833fe1ff89cc311f40 [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" "f33352980a78b7f4ec884a04cf5368901007805435e8d2833fe1ff89cc311f40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking ttf-parser v0.11.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking iced_core v0.3.0 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking convolute v0.1.0 (/opt/rustwide/workdir/convolute) [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 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 futures-task v0.3.12 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking iced_style v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking wgpu-types v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tokio v0.3.7 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling nom v6.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling pathfinder_simd v0.5.0 [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] [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: 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" "f33352980a78b7f4ec884a04cf5368901007805435e8d2833fe1ff89cc311f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33352980a78b7f4ec884a04cf5368901007805435e8d2833fe1ff89cc311f40", kill_on_drop: false }` [INFO] [stdout] f33352980a78b7f4ec884a04cf5368901007805435e8d2833fe1ff89cc311f40