[INFO] cloning repository https://github.com/JavaHello/game_life
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JavaHello/game_life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavaHello%2Fgame_life", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavaHello%2Fgame_life'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1e0905cd74734e5751a866a228313bfa5fd4a1cd
[INFO] checking JavaHello/game_life against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavaHello%2Fgame_life" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JavaHello/game_life on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JavaHello/game_life
[INFO] finished tweaking git repo https://github.com/JavaHello/game_life
[INFO] tweaked toml for git repo https://github.com/JavaHello/game_life written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/JavaHello/game_life 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3eccfd8edc24bbe20e48cc44feb7b629a4cf637a324c9ad68ea4367679c8f13
[INFO] running `Command { std: "docker" "start" "-a" "c3eccfd8edc24bbe20e48cc44feb7b629a4cf637a324c9ad68ea4367679c8f13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3eccfd8edc24bbe20e48cc44feb7b629a4cf637a324c9ad68ea4367679c8f13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3eccfd8edc24bbe20e48cc44feb7b629a4cf637a324c9ad68ea4367679c8f13", kill_on_drop: false }`
[INFO] [stdout] c3eccfd8edc24bbe20e48cc44feb7b629a4cf637a324c9ad68ea4367679c8f13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35261d14609aecdec2f675930b914b93c479d1cd22978c5afb8a6b8a6a19d548
[INFO] running `Command { std: "docker" "start" "-a" "35261d14609aecdec2f675930b914b93c479d1cd22978c5afb8a6b8a6a19d548", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.70
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking life_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | 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/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    --> src/main.rs:491:22
[INFO] [stdout]     |
[INFO] [stdout] 491 |         let window = winapi::um::wincon::GetConsoleWindow();
[INFO] [stdout]     |                      ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:203:31
[INFO] [stdout]     |
[INFO] [stdout] 203 |     fn draw_title(&self, hdc: HDC, title: String) {
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:210:48
[INFO] [stdout]     |
[INFO] [stdout] 210 |     fn draw_change(&mut self, cell: Cell, hdc: HDC, c: i32, r: i32) {
[INFO] [stdout]     |                                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:221:42
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn draw_rec(&self, cell: &Cell, hdc: HDC, c: i32, r: i32) {
[INFO] [stdout]     |                                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/main.rs:231:23
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let rec = RECT {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/main.rs:238:52
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let org_brs = SelectObject(hdc, hbr as HGDIOBJ) 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]    --> src/main.rs:238:64
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let org_brs = SelectObject(hdc, hbr as HGDIOBJ) as HBRUSH;
[INFO] [stdout]     |                                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/main.rs:248:42
[INFO] [stdout]     |
[INFO] [stdout] 248 |             SelectObject(hdc, org_brs as HGDIOBJ);
[INFO] [stdout]     |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/main.rs:249:33
[INFO] [stdout]     |
[INFO] [stdout] 249 |             DeleteObject(hbr as HGDIOBJ);
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]    --> src/main.rs:493:32
[INFO] [stdout]     |
[INFO] [stdout] 493 |             ShowWindow(window, SW_HIDE);
[INFO] [stdout]     |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    --> src/main.rs:491:22
[INFO] [stdout]     |
[INFO] [stdout] 491 |         let window = winapi::um::wincon::GetConsoleWindow();
[INFO] [stdout]     |                      ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:203:31
[INFO] [stdout]     |
[INFO] [stdout] 203 |     fn draw_title(&self, hdc: HDC, title: String) {
[INFO] [stdout]     |                               ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:210:48
[INFO] [stdout]     |
[INFO] [stdout] 210 |     fn draw_change(&mut self, cell: Cell, hdc: HDC, c: i32, r: i32) {
[INFO] [stdout]     |                                                ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/main.rs:221:42
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn draw_rec(&self, cell: &Cell, hdc: HDC, c: i32, r: i32) {
[INFO] [stdout]     |                                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]    --> src/main.rs:231:23
[INFO] [stdout]     |
[INFO] [stdout] 231 |             let rec = RECT {
[INFO] [stdout]     |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/main.rs:238:52
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let org_brs = SelectObject(hdc, hbr as HGDIOBJ) 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]    --> src/main.rs:238:64
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let org_brs = SelectObject(hdc, hbr as HGDIOBJ) as HBRUSH;
[INFO] [stdout]     |                                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/main.rs:248:42
[INFO] [stdout]     |
[INFO] [stdout] 248 |             SelectObject(hdc, org_brs as HGDIOBJ);
[INFO] [stdout]     |                                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HGDIOBJ` in this scope
[INFO] [stdout]    --> src/main.rs:249:33
[INFO] [stdout]     |
[INFO] [stdout] 249 |             DeleteObject(hbr as HGDIOBJ);
[INFO] [stdout]     |                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SW_HIDE` in this scope
[INFO] [stdout]    --> src/main.rs:493:32
[INFO] [stdout]     |
[INFO] [stdout] 493 |             ShowWindow(window, SW_HIDE);
[INFO] [stdout]     |                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TextOutW` in this scope
[INFO] [stdout]    --> src/main.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |             TextOutW(hdc, CELL_SIZE * (COL_LEN + 0) - 2 * COL_LEN, 0, z.as_ptr(), z.len() as i32);
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope
[INFO] [stdout]    --> src/main.rs:225:38
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     CreateSolidBrush(RGB(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 `CreateSolidBrush` in this scope
[INFO] [stdout]    --> src/main.rs:225:21
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     CreateSolidBrush(RGB(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 `RGB` in this scope
[INFO] [stdout]    --> src/main.rs:228:38
[INFO] [stdout]     |
[INFO] [stdout] 228 |                     CreateSolidBrush(RGB(255, 255, 255))
[INFO] [stdout]     |                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope
[INFO] [stdout]    --> src/main.rs:228:21
[INFO] [stdout]     |
[INFO] [stdout] 228 |                     CreateSolidBrush(RGB(255, 255, 255))
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/main.rs:238:27
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let org_brs = SelectObject(hdc, hbr as HGDIOBJ) 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 `FillRect` in this scope
[INFO] [stdout]    --> src/main.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |             FillRect(
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |             SelectObject(hdc, org_brs as HGDIOBJ);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope
[INFO] [stdout]    --> src/main.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |             DeleteObject(hbr as HGDIOBJ);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:431:54
[INFO] [stdout]     |
[INFO] [stdout] 431 |     let v: Vec<u16> = OsStr::new(str).to_os_string().encode_wide().chain(once(0)).collect();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]    --> src/main.rs:493:13
[INFO] [stdout]     |
[INFO] [stdout] 493 |             ShowWindow(window, SW_HIDE);
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_windows` in this scope
[INFO] [stdout]    --> src/main.rs:500:5
[INFO] [stdout]     |
[INFO] [stdout] 500 |     create_windows("生命游戏").unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TextOutW` in this scope
[INFO] [stdout]    --> src/main.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |             TextOutW(hdc, CELL_SIZE * (COL_LEN + 0) - 2 * COL_LEN, 0, z.as_ptr(), z.len() as i32);
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `life_game` (bin "life_game") due to 23 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RGB` in this scope
[INFO] [stdout]    --> src/main.rs:225:38
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     CreateSolidBrush(RGB(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 `CreateSolidBrush` in this scope
[INFO] [stdout]    --> src/main.rs:225:21
[INFO] [stdout]     |
[INFO] [stdout] 225 |                     CreateSolidBrush(RGB(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 `RGB` in this scope
[INFO] [stdout]    --> src/main.rs:228:38
[INFO] [stdout]     |
[INFO] [stdout] 228 |                     CreateSolidBrush(RGB(255, 255, 255))
[INFO] [stdout]     |                                      ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope
[INFO] [stdout]    --> src/main.rs:228:21
[INFO] [stdout]     |
[INFO] [stdout] 228 |                     CreateSolidBrush(RGB(255, 255, 255))
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/main.rs:238:27
[INFO] [stdout]     |
[INFO] [stdout] 238 |             let org_brs = SelectObject(hdc, hbr as HGDIOBJ) 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 `FillRect` in this scope
[INFO] [stdout]    --> src/main.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |             FillRect(
[INFO] [stdout]     |             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]    --> src/main.rs:248:13
[INFO] [stdout]     |
[INFO] [stdout] 248 |             SelectObject(hdc, org_brs as HGDIOBJ);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope
[INFO] [stdout]    --> src/main.rs:249:13
[INFO] [stdout]     |
[INFO] [stdout] 249 |             DeleteObject(hbr as HGDIOBJ);
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:431:54
[INFO] [stdout]     |
[INFO] [stdout] 431 |     let v: Vec<u16> = OsStr::new(str).to_os_string().encode_wide().chain(once(0)).collect();
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in this scope
[INFO] [stdout]    --> src/main.rs:493:13
[INFO] [stdout]     |
[INFO] [stdout] 493 |             ShowWindow(window, SW_HIDE);
[INFO] [stdout]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_windows` in this scope
[INFO] [stdout]    --> src/main.rs:500:5
[INFO] [stdout]     |
[INFO] [stdout] 500 |     create_windows("生命游戏").unwrap();
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `life_game` (bin "life_game" test) due to 23 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "35261d14609aecdec2f675930b914b93c479d1cd22978c5afb8a6b8a6a19d548", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35261d14609aecdec2f675930b914b93c479d1cd22978c5afb8a6b8a6a19d548", kill_on_drop: false }`
[INFO] [stdout] 35261d14609aecdec2f675930b914b93c479d1cd22978c5afb8a6b8a6a19d548
