[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJavaHello%2Fgame_life" "/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/JavaHello/game_life on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-1/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: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", 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] 78fe5b52f720513e1a555b5ff1a840e4067f56739126f3ccb2363f38cba42d12 [INFO] running `Command { std: "docker" "start" "-a" "78fe5b52f720513e1a555b5ff1a840e4067f56739126f3ccb2363f38cba42d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78fe5b52f720513e1a555b5ff1a840e4067f56739126f3ccb2363f38cba42d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fe5b52f720513e1a555b5ff1a840e4067f56739126f3ccb2363f38cba42d12", kill_on_drop: false }` [INFO] [stdout] 78fe5b52f720513e1a555b5ff1a840e4067f56739126f3ccb2363f38cba42d12 [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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] bf7da86eb4e2eba121be32ab64b99f28210f961d774e0e8db88be26ca10772d1 [INFO] running `Command { std: "docker" "start" "-a" "bf7da86eb4e2eba121be32ab64b99f28210f961d774e0e8db88be26ca10772d1", 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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:491:22 [INFO] [stdout] | [INFO] [stdout] 491 | let window = winapi::um::wincon::GetConsoleWindow(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [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[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[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[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: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: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 `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[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[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[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[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[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[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[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] [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 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 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] 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] 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 undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:491:22 [INFO] [stdout] | [INFO] [stdout] 491 | let window = winapi::um::wincon::GetConsoleWindow(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [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[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[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[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: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: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 `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[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[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[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[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[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[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[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 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 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] 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] 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[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 = 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: aborting due to 23 previous errors; 1 warning emitted [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[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 = 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: aborting due to 23 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "bf7da86eb4e2eba121be32ab64b99f28210f961d774e0e8db88be26ca10772d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf7da86eb4e2eba121be32ab64b99f28210f961d774e0e8db88be26ca10772d1", kill_on_drop: false }` [INFO] [stdout] bf7da86eb4e2eba121be32ab64b99f28210f961d774e0e8db88be26ca10772d1