[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/d185bfea15f942354e67fa8fba0968e0ee98c91b against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpanfile%2FCHIP8" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Spanfile/CHIP8 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fca94b341ed0957979b1ab1ab1eba9234509b4489b078561a64c510678f05dac [INFO] running `Command { std: "docker" "start" "-a" "fca94b341ed0957979b1ab1ab1eba9234509b4489b078561a64c510678f05dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fca94b341ed0957979b1ab1ab1eba9234509b4489b078561a64c510678f05dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca94b341ed0957979b1ab1ab1eba9234509b4489b078561a64c510678f05dac", kill_on_drop: false }` [INFO] [stdout] fca94b341ed0957979b1ab1ab1eba9234509b4489b078561a64c510678f05dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7383ad72de3d5c6a3c02b112770f73b8596f6339065ea1fa854bfcbcd0553cc [INFO] running `Command { std: "docker" "start" "-a" "b7383ad72de3d5c6a3c02b112770f73b8596f6339065ea1fa854bfcbcd0553cc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [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::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[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] note: found an item that was configured out [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:120:1 [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[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] note: found an item that was configured out [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/os/mod.rs:120:1 [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: 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 `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 `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[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[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[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 `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 `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 `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 `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 `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 `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 `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[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 `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 `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 `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 `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 `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 `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: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 `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: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 `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 `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 `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 `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 `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[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[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 `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[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 `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 `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[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[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 `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 `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 `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 `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 `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[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[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[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 `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 `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 `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 `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 `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 `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[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[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] 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] 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] [stderr] error: could not compile `chip8` (bin "chip8") due to 46 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chip8` (bin "chip8" test) due to 46 previous errors [INFO] running `Command { std: "docker" "inspect" "b7383ad72de3d5c6a3c02b112770f73b8596f6339065ea1fa854bfcbcd0553cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7383ad72de3d5c6a3c02b112770f73b8596f6339065ea1fa854bfcbcd0553cc", kill_on_drop: false }` [INFO] [stdout] b7383ad72de3d5c6a3c02b112770f73b8596f6339065ea1fa854bfcbcd0553cc