[INFO] cloning repository https://github.com/orion-studios/snek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orion-studios/snek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forion-studios%2Fsnek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forion-studios%2Fsnek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 800d95e32ecc4fd8ee7e4d6a824c1d135a4eb993 [INFO] checking orion-studios/snek against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forion-studios%2Fsnek" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orion-studios/snek on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orion-studios/snek [INFO] finished tweaking git repo https://github.com/orion-studios/snek [INFO] tweaked toml for git repo https://github.com/orion-studios/snek written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/orion-studios/snek already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c624f345779e398cdeb7301421799d6f2a0ce0bc0012808de2e72832d15883 [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" "e5c624f345779e398cdeb7301421799d6f2a0ce0bc0012808de2e72832d15883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c624f345779e398cdeb7301421799d6f2a0ce0bc0012808de2e72832d15883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c624f345779e398cdeb7301421799d6f2a0ce0bc0012808de2e72832d15883", kill_on_drop: false }` [INFO] [stdout] e5c624f345779e398cdeb7301421799d6f2a0ce0bc0012808de2e72832d15883 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1a2a2b7a2bc3caf439fdfac0f401720afa2af31570bdb832bdfd66a07aa3aa8 [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" "a1a2a2b7a2bc3caf439fdfac0f401720afa2af31570bdb832bdfd66a07aa3aa8", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking snek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/console.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | print!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 68 | print!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/console.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | println!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 72 | println!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/console.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/console.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::errhandlingapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::handleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::memoryapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wincon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processenv::GetStdHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::STD_OUTPUT_HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/console.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | print!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 68 | print!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/console.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | println!(msg) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 72 | println!("{}", msg) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/console.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/console.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::windef::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::errhandlingapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::handleapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::memoryapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wincon::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processenv::GetStdHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/console.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::STD_OUTPUT_HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/console.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let mut hstdout: HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/console.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cell_count: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/console.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let mut home_coords: COORD = COORD{ X: 0, Y: 0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | let mut home_coords: COORD = COORD{ X: 0, Y: 0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/console.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let &mut count: DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/console.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let mut csbi: PCONSOLE_SCREEN_BUFFER_INFO = PCONSOLE_SCREEN_BUFFER_INFO{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PCONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/console.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | let mut csbi: PCONSOLE_SCREEN_BUFFER_INFO = PCONSOLE_SCREEN_BUFFER_INFO{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | dwSize: COORD { X: 0, Y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | dwCursorPosition: COORD { X: 0, Y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/console.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | srWindow: SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | dwMaximumWindowSize: COORD { X: 0, Y: 0 } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/console.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | hstdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/console.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | hstdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/console.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | if hstdout == INVALID_HANDLE_VALUE { return }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleScreenBufferInfo` in this scope [INFO] [stdout] --> src/console.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | if !GetConsoleScreenBufferInfo(hstdout, csbi) { return; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cellCount` in this scope [INFO] [stdout] --> src/console.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | cellCount = csbi.dwSize.X *csbi.dwSize.Y; [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `cell_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillConsoleOutputAttribute` in this scope [INFO] [stdout] --> src/console.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | if !FillConsoleOutputAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillConsoleOutputAttributes` in this scope [INFO] [stdout] --> src/console.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | if !FillConsoleOutputAttributes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCursorPosition` in this scope [INFO] [stdout] --> src/console.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | SetConsoleCursorPosition(hstdout, home_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/console.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let mut hstdout: HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/console.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cell_count: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `COORD` in this scope [INFO] [stdout] --> src/console.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let mut home_coords: COORD = COORD{ X: 0, Y: 0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/prelude/config.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> &Config { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> &'static Config { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | let mut home_coords: COORD = COORD{ X: 0, Y: 0 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/console.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let &mut count: DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/console.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let mut csbi: PCONSOLE_SCREEN_BUFFER_INFO = PCONSOLE_SCREEN_BUFFER_INFO{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PCONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/console.rs:28:57 [INFO] [stdout] | [INFO] [stdout] 28 | let mut csbi: PCONSOLE_SCREEN_BUFFER_INFO = PCONSOLE_SCREEN_BUFFER_INFO{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | dwSize: COORD { X: 0, Y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | dwCursorPosition: COORD { X: 0, Y: 0 }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SMALL_RECT` in this scope [INFO] [stdout] --> src/console.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | srWindow: SMALL_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `COORD` in this scope [INFO] [stdout] --> src/console.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | dwMaximumWindowSize: COORD { X: 0, Y: 0 } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetStdHandle` in this scope [INFO] [stdout] --> src/console.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | hstdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STD_OUTPUT_HANDLE` in this scope [INFO] [stdout] --> src/console.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | hstdout = GetStdHandle(STD_OUTPUT_HANDLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/console.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | if hstdout == INVALID_HANDLE_VALUE { return }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleScreenBufferInfo` in this scope [INFO] [stdout] --> src/console.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | if !GetConsoleScreenBufferInfo(hstdout, csbi) { return; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cellCount` in this scope [INFO] [stdout] --> src/console.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | cellCount = csbi.dwSize.X *csbi.dwSize.Y; [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `cell_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillConsoleOutputAttribute` in this scope [INFO] [stdout] --> src/console.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | if !FillConsoleOutputAttribute( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillConsoleOutputAttributes` in this scope [INFO] [stdout] --> src/console.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | if !FillConsoleOutputAttributes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleCursorPosition` in this scope [INFO] [stdout] --> src/console.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | SetConsoleCursorPosition(hstdout, home_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/prelude/config.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> &Config { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> &'static Config { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snek` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a1a2a2b7a2bc3caf439fdfac0f401720afa2af31570bdb832bdfd66a07aa3aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a2a2b7a2bc3caf439fdfac0f401720afa2af31570bdb832bdfd66a07aa3aa8", kill_on_drop: false }` [INFO] [stdout] a1a2a2b7a2bc3caf439fdfac0f401720afa2af31570bdb832bdfd66a07aa3aa8