[INFO] cloning repository https://github.com/Spanfile/CHIP8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spanfile/CHIP8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpanfile%2FCHIP8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpanfile%2FCHIP8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d185bfea15f942354e67fa8fba0968e0ee98c91b [INFO] checking Spanfile/CHIP8 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpanfile%2FCHIP8" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Spanfile/CHIP8 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Spanfile/CHIP8 [INFO] finished tweaking git repo https://github.com/Spanfile/CHIP8 [INFO] tweaked toml for git repo https://github.com/Spanfile/CHIP8 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Spanfile/CHIP8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 687f0d4b67cf04828285c4b06dcab8360b1047e873c3602cbc54ba6edb3761c9 [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" "687f0d4b67cf04828285c4b06dcab8360b1047e873c3602cbc54ba6edb3761c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "687f0d4b67cf04828285c4b06dcab8360b1047e873c3602cbc54ba6edb3761c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687f0d4b67cf04828285c4b06dcab8360b1047e873c3602cbc54ba6edb3761c9", kill_on_drop: false }` [INFO] [stdout] 687f0d4b67cf04828285c4b06dcab8360b1047e873c3602cbc54ba6edb3761c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 40d7452f71a8e2a60082f30771d3afaa0f8904a97c372f0340568e127e91a53c [INFO] running `Command { std: "docker" "start" "-a" "40d7452f71a8e2a60082f30771d3afaa0f8904a97c372f0340568e127e91a53c", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking rand v0.5.1 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::windef` [INFO] [stdout] --> src/window.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::winapi::windef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `windef` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::wingdi` [INFO] [stdout] --> src/window.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::winapi::wingdi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `wingdi` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/window.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::winuser` [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use self::winapi::winuser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `winuser` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustfmt_skip` in this scope [INFO] [stdout] --> src/emulator.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[rustfmt_skip] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::windef` [INFO] [stdout] --> src/window.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::winapi::windef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `windef` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::wingdi` [INFO] [stdout] --> src/window.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use self::winapi::wingdi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `wingdi` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/window.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::winuser` [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use self::winapi::winuser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `winuser` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rustfmt_skip` in this scope [INFO] [stdout] --> src/emulator.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[rustfmt_skip] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in crate `user32` [INFO] [stdout] --> src/window.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | while user32::PeekMessageW( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in crate `user32` [INFO] [stdout] --> src/window.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | user32::TranslateMessage(msg as *const winuser::MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in crate `user32` [INFO] [stdout] --> src/window.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | user32::DispatchMessageW(msg as *const winuser::MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in crate `user32` [INFO] [stdout] --> src/window.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | user32::InvalidateRect(self.hwnd, null(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/window.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | h_wnd: winapi::HWND, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in crate `winapi` [INFO] [stdout] --> src/window.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | msg: winapi::UINT, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | w_param: winapi::WPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | l_param: winapi::LPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | ) -> winapi::LRESULT { [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in crate `user32` [INFO] [stdout] --> src/window.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | let hdc = user32::BeginPaint(h_wnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrA` in crate `user32` [INFO] [stdout] --> src/window.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | &*(user32::GetWindowLongPtrA(h_wnd, winuser::GWLP_USERDATA) as *const Screen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:112:49 [INFO] [stdout] | [INFO] [stdout] 112 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rectangle` in crate `gdi32` [INFO] [stdout] --> src/window.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | gdi32::Rectangle( [INFO] [stdout] | ^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rectangle` in crate `gdi32` [INFO] [stdout] --> src/window.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | gdi32::Rectangle( [INFO] [stdout] | ^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in crate `user32` [INFO] [stdout] --> src/window.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | user32::EndPaint(h_wnd, &ps as *const winuser::PAINTSTRUCT); [INFO] [stdout] | ^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | 0 as winapi::LRESULT [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/window.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | 0 as winapi::LRESULT [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/window.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | _ => user32::DefWindowProcW(h_wnd, msg, w_param, l_param), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/window.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | h_wnd: winapi::HWND, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in crate `winapi` [INFO] [stdout] --> src/window.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | msg: winapi::UINT, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | w_param: winapi::WPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | l_param: winapi::LPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> winapi::LRESULT, [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in crate `kernel32` [INFO] [stdout] --> src/window.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let h_instance = kernel32::GetCurrentProcess() as winapi::HINSTANCE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in crate `winapi` [INFO] [stdout] --> src/window.rs:163:67 [INFO] [stdout] | [INFO] [stdout] 163 | let h_instance = kernel32::GetCurrentProcess() as winapi::HINSTANCE; [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in crate `user32` [INFO] [stdout] --> src/window.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | let icon = user32::LoadIconW(null_mut(), winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in crate `user32` [INFO] [stdout] --> src/window.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let cursor = user32::LoadCursorW(null_mut(), winuser::IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in crate `user32` [INFO] [stdout] --> src/window.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | user32::RegisterClassExW(&wndc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectEx` in crate `user32` [INFO] [stdout] --> src/window.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | user32::AdjustWindowRectEx(&mut client_rect, window_style, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/window.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrA` in crate `user32` [INFO] [stdout] --> src/window.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | user32::SetWindowLongPtrA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageW` in crate `user32` [INFO] [stdout] --> src/window.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | while user32::PeekMessageW( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in crate `user32` [INFO] [stdout] --> src/window.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | user32::TranslateMessage(msg as *const winuser::MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in crate `user32` [INFO] [stdout] --> src/window.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | user32::DispatchMessageW(msg as *const winuser::MSG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InvalidateRect` in crate `user32` [INFO] [stdout] --> src/window.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | user32::InvalidateRect(self.hwnd, null(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/window.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | h_wnd: winapi::HWND, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in crate `winapi` [INFO] [stdout] --> src/window.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | msg: winapi::UINT, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | w_param: winapi::WPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | l_param: winapi::LPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | ) -> winapi::LRESULT { [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BeginPaint` in crate `user32` [INFO] [stdout] --> src/window.rs:107:35 [INFO] [stdout] | [INFO] [stdout] 107 | let hdc = user32::BeginPaint(h_wnd, &mut ps); [INFO] [stdout] | ^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongPtrA` in crate `user32` [INFO] [stdout] --> src/window.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | &*(user32::GetWindowLongPtrA(h_wnd, winuser::GWLP_USERDATA) as *const Screen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:112:49 [INFO] [stdout] | [INFO] [stdout] 112 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::BLACK_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rectangle` in crate `gdi32` [INFO] [stdout] --> src/window.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | gdi32::Rectangle( [INFO] [stdout] | ^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_BRUSH)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStockObject` in crate `gdi32` [INFO] [stdout] --> src/window.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | gdi32::SelectObject(hdc, gdi32::GetStockObject(wingdi::WHITE_PEN)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | let mut client_rect: windef::RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Rectangle` in crate `gdi32` [INFO] [stdout] --> src/window.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | gdi32::Rectangle( [INFO] [stdout] | ^^^^^^^^^ not found in `gdi32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EndPaint` in crate `user32` [INFO] [stdout] --> src/window.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | user32::EndPaint(h_wnd, &ps as *const winuser::PAINTSTRUCT); [INFO] [stdout] | ^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let msg: winuser::LPMSG = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | 0 as winapi::LRESULT [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in crate `user32` [INFO] [stdout] --> src/window.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | user32::PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | 0 as winapi::LRESULT [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcW` in crate `user32` [INFO] [stdout] --> src/window.rs:146:26 [INFO] [stdout] | [INFO] [stdout] 146 | _ => user32::DefWindowProcW(h_wnd, msg, w_param, l_param), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/window.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | h_wnd: winapi::HWND, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in crate `winapi` [INFO] [stdout] --> src/window.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | msg: winapi::UINT, [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | w_param: winapi::WPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in crate `winapi` [INFO] [stdout] --> src/window.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | l_param: winapi::LPARAM, [INFO] [stdout] | ^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in crate `winapi` [INFO] [stdout] --> src/window.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> winapi::LRESULT, [INFO] [stdout] | ^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in crate `kernel32` [INFO] [stdout] --> src/window.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let h_instance = kernel32::GetCurrentProcess() as winapi::HINSTANCE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in crate `winapi` [INFO] [stdout] --> src/window.rs:163:67 [INFO] [stdout] | [INFO] [stdout] 163 | let h_instance = kernel32::GetCurrentProcess() as winapi::HINSTANCE; [INFO] [stdout] | ^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadIconW` in crate `user32` [INFO] [stdout] --> src/window.rs:170:28 [INFO] [stdout] | [INFO] [stdout] 170 | let icon = user32::LoadIconW(null_mut(), winuser::IDI_APPLICATION); [INFO] [stdout] | ^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorW` in crate `user32` [INFO] [stdout] --> src/window.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let cursor = user32::LoadCursorW(null_mut(), winuser::IDC_ARROW); [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassExW` in crate `user32` [INFO] [stdout] --> src/window.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | user32::RegisterClassExW(&wndc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRectEx` in crate `user32` [INFO] [stdout] --> src/window.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | user32::AdjustWindowRectEx(&mut client_rect, window_style, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExW` in crate `user32` [INFO] [stdout] --> src/window.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | let hwnd = user32::CreateWindowExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | let mut ps: winuser::PAINTSTRUCT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowLongPtrA` in crate `user32` [INFO] [stdout] --> src/window.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | user32::SetWindowLongPtrA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | let mut client_rect: windef::RECT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let msg: winuser::LPMSG = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | let mut ps: winuser::PAINTSTRUCT = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/window.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/window.rs:240:23 [INFO] [stdout] | [INFO] [stdout] 240 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8` [INFO] [stdout] error: aborting due to 46 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0557, E0599. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "40d7452f71a8e2a60082f30771d3afaa0f8904a97c372f0340568e127e91a53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d7452f71a8e2a60082f30771d3afaa0f8904a97c372f0340568e127e91a53c", kill_on_drop: false }` [INFO] [stdout] 40d7452f71a8e2a60082f30771d3afaa0f8904a97c372f0340568e127e91a53c