[INFO] cloning repository https://github.com/MyGoodSir/ANSI_Rusterizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MyGoodSir/ANSI_Rusterizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyGoodSir%2FANSI_Rusterizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyGoodSir%2FANSI_Rusterizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef2f812bc356aca8db157a4890c9f343dc7734a1 [INFO] checking MyGoodSir/ANSI_Rusterizer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMyGoodSir%2FANSI_Rusterizer" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MyGoodSir/ANSI_Rusterizer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MyGoodSir/ANSI_Rusterizer [INFO] finished tweaking git repo https://github.com/MyGoodSir/ANSI_Rusterizer [INFO] tweaked toml for git repo https://github.com/MyGoodSir/ANSI_Rusterizer written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/MyGoodSir/ANSI_Rusterizer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ebe24b5c8cd9b5f091876faef222c0e54ca9e1ab3fcc0262e02d6da154f1c55 [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" "9ebe24b5c8cd9b5f091876faef222c0e54ca9e1ab3fcc0262e02d6da154f1c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ebe24b5c8cd9b5f091876faef222c0e54ca9e1ab3fcc0262e02d6da154f1c55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ebe24b5c8cd9b5f091876faef222c0e54ca9e1ab3fcc0262e02d6da154f1c55", kill_on_drop: false }` [INFO] [stdout] 9ebe24b5c8cd9b5f091876faef222c0e54ca9e1ab3fcc0262e02d6da154f1c55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] c070c3dac516c0c96d2e13ca6bb233229f3e94fb629aaa8668bdc4ef5ed39568 [INFO] running `Command { std: "docker" "start" "-a" "c070c3dac516c0c96d2e13ca6bb233229f3e94fb629aaa8668bdc4ef5ed39568", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking cmdln-graphics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/terminal.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::{HWND, RECT}; [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/terminal.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{MoveWindow, GetWindowRect}; [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/terminal.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [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/terminal.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/terminal.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winbase::STD_OUTPUT_HANDLE; [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/terminal.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{HANDLE}; [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/terminal.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wingdi::{FF_DONTCARE, FW_NORMAL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/terminal.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/terminal.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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 `windows` in `os` [INFO] [stdout] --> src/graphics.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/terminal.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::{HWND, RECT}; [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/terminal.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{MoveWindow, GetWindowRect}; [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/terminal.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::handleapi::INVALID_HANDLE_VALUE; [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/terminal.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | 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/terminal.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winbase::STD_OUTPUT_HANDLE; [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/terminal.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{HANDLE}; [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/terminal.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::wingdi::{FF_DONTCARE, FW_NORMAL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/terminal.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/terminal.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | 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 `windows` in `os` [INFO] [stdout] --> src/graphics.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/terminal.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub console_handles: [HANDLE; 2], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/terminal.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub wHndl: HWND, pub current_buffer: u32, [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/terminal.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe{Terminal{ console_handles: [0 as HANDLE;2], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in this scope [INFO] [stdout] --> src/terminal.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | width: 0, height: 0, wHndl: GetConsoleWindow(), current_buffer: 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/terminal.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | let hndl = unsafe{ 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/terminal.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | let hndl = unsafe{ 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/terminal.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if hndl == INVALID_HANDLE_VALUE { [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/terminal.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let cc = 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 `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/terminal.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let mut csbi = CONSOLE_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 `SMALL_RECT` in this scope [INFO] [stdout] --> src/terminal.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | srWindow: SMALL_RECT{Left:0, Right:0, Top:0, Bottom:0}, [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/terminal.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | if unsafe{ GetConsoleScreenBufferInfo(hndl, &mut csbi) } == 0 {return ();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleScreenBufferSize` in this scope [INFO] [stdout] --> src/terminal.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe{SetConsoleScreenBufferSize(self.console_handles[0], COORD{X:self.width as i16, Y:self.height as i16})}; [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/terminal.rs:62:68 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe{SetConsoleScreenBufferSize(self.console_handles[0], COORD{X:self.width as i16, Y:self.height as i16})}; [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/terminal.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | let mut console_rect = RECT{left:0, right:0, top:0, bottom:0,}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/terminal.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe{GetWindowRect(self.wHndl, &mut console_rect)}; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> src/terminal.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe{MoveWindow(self.wHndl, console_rect.left, console_rect.top, width, height, 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/terminal.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | let rect = Box::new(SMALL_RECT{Top:0, Left:0, Right:self.width as i16, Bottom:self.height as i16}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleOutputCharacterW` in this scope [INFO] [stdout] --> src/terminal.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | WriteConsoleOutputCharacterW(self.console_handles[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/terminal.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | bvec.as_ptr() , buff.len() as u32, COORD{X:0,Y:0}, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/terminal.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl Terminal{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 78 | Box::::into_raw(rect) as *mut u32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/terminal.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let cfi: *mut CONSOLE_FONT_INFOEX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/terminal.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | CONSOLE_FONT_INFOEX{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/terminal.rs:90:53 [INFO] [stdout] | [INFO] [stdout] 29 | impl Terminal{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 90 | cbSize: std::mem::size_of::() as u32, [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/terminal.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | dwFontSize: COORD{X:size, Y:size*2}, // Height [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_DONTCARE` in this scope [INFO] [stdout] --> src/terminal.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | FontFamily: FF_DONTCARE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stdout] --> src/terminal.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | FontWeight: FW_NORMAL as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCurrentConsoleFontEx` in this scope [INFO] [stdout] --> src/terminal.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | SetCurrentConsoleFontEx(self.console_handles[0], 0, cfi ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/graphics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cell` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct cell{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `px` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct px{ [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Px` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ansi_color` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct ansi_color{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AnsiColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `black` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | black = 0, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `red` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | red = 1, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `green` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | green = 2, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `yellow` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | yellow = 3, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Yellow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `blue` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | blue = 4, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `magenta` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | magenta =5, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Magenta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cyan` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | cyan =6, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cyan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `gray` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | gray=7, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Gray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dark_gray` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | dark_gray=8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DarkGray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_red` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | bright_red=9, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightRed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_green` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | bright_green=10, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightGreen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_yellow` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | bright_yellow=11, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightYellow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_blue` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | bright_blue=12, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightBlue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_magenta` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | bright_magenta=13, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightMagenta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_cyan` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | bright_cyan=14, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightCyan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `white` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | white=15, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `White` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Formatter` [INFO] [stdout] --> src/rasterizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Formatter` [INFO] [stdout] --> src/geometry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v3` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct v3{ [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `V3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v4` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct v4{ [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `V4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mat4` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct mat4{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mat4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tri` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct tri{ [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mesh` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct mesh{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/terminal.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub console_handles: [HANDLE; 2], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/terminal.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | pub wHndl: HWND, pub current_buffer: u32, [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/terminal.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe{Terminal{ console_handles: [0 as HANDLE;2], [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in this scope [INFO] [stdout] --> src/terminal.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | width: 0, height: 0, wHndl: GetConsoleWindow(), current_buffer: 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/terminal.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | let hndl = unsafe{ 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/terminal.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | let hndl = unsafe{ 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/terminal.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if hndl == INVALID_HANDLE_VALUE { [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/terminal.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let cc = 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 `CONSOLE_SCREEN_BUFFER_INFO` in this scope [INFO] [stdout] --> src/terminal.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let mut csbi = CONSOLE_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 `SMALL_RECT` in this scope [INFO] [stdout] --> src/terminal.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | srWindow: SMALL_RECT{Left:0, Right:0, Top:0, Bottom:0}, [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/terminal.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | if unsafe{ GetConsoleScreenBufferInfo(hndl, &mut csbi) } == 0 {return ();} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleScreenBufferSize` in this scope [INFO] [stdout] --> src/terminal.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe{SetConsoleScreenBufferSize(self.console_handles[0], COORD{X:self.width as i16, Y:self.height as i16})}; [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/terminal.rs:62:68 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe{SetConsoleScreenBufferSize(self.console_handles[0], COORD{X:self.width as i16, Y:self.height as i16})}; [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/terminal.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | let mut console_rect = RECT{left:0, right:0, top:0, bottom:0,}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/terminal.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe{GetWindowRect(self.wHndl, &mut console_rect)}; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in this scope [INFO] [stdout] --> src/terminal.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe{MoveWindow(self.wHndl, console_rect.left, console_rect.top, width, height, 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/terminal.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | let rect = Box::new(SMALL_RECT{Top:0, Left:0, Right:self.width as i16, Bottom:self.height as i16}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteConsoleOutputCharacterW` in this scope [INFO] [stdout] --> src/terminal.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | WriteConsoleOutputCharacterW(self.console_handles[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/terminal.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | bvec.as_ptr() , buff.len() as u32, COORD{X:0,Y:0}, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SMALL_RECT` in this scope [INFO] [stdout] --> src/terminal.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl Terminal{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 78 | Box::::into_raw(rect) as *mut u32); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/terminal.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let cfi: *mut CONSOLE_FONT_INFOEX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/terminal.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | CONSOLE_FONT_INFOEX{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONSOLE_FONT_INFOEX` in this scope [INFO] [stdout] --> src/terminal.rs:90:53 [INFO] [stdout] | [INFO] [stdout] 29 | impl Terminal{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 90 | cbSize: std::mem::size_of::() as u32, [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/terminal.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | dwFontSize: COORD{X:size, Y:size*2}, // Height [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FF_DONTCARE` in this scope [INFO] [stdout] --> src/terminal.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | FontFamily: FF_DONTCARE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FW_NORMAL` in this scope [INFO] [stdout] --> src/terminal.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | FontWeight: FW_NORMAL as u32, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetCurrentConsoleFontEx` in this scope [INFO] [stdout] --> src/terminal.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | SetCurrentConsoleFontEx(self.console_handles[0], 0, cfi ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/graphics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cell` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct cell{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `px` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct px{ [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `Px` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ansi_color` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct ansi_color{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AnsiColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `black` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | black = 0, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `red` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | red = 1, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `green` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | green = 2, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `yellow` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | yellow = 3, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Yellow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `blue` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | blue = 4, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `magenta` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | magenta =5, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Magenta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cyan` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | cyan =6, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cyan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `gray` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | gray=7, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Gray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dark_gray` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | dark_gray=8, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DarkGray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_red` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | bright_red=9, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightRed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_green` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | bright_green=10, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightGreen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_yellow` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | bright_yellow=11, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightYellow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_blue` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | bright_blue=12, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightBlue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_magenta` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | bright_magenta=13, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightMagenta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bright_cyan` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | bright_cyan=14, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `BrightCyan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `white` should have an upper camel case name [INFO] [stdout] --> src/graphics.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | white=15, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `White` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Formatter` [INFO] [stdout] --> src/rasterizer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Formatter` [INFO] [stdout] --> src/geometry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use fmt::Formatter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v3` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct v3{ [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `V3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `v4` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct v4{ [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `V4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mat4` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct mat4{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mat4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `tri` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct tri{ [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Tri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mesh` should have an upper camel case name [INFO] [stdout] --> src/geometry.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct mesh{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stdout` [INFO] [stdout] --> src/main.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope [INFO] [stdout] --> src/terminal.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | let bvec: Vec = buff.encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope [INFO] [stdout] --> src/terminal.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | let bvec: Vec = buff.encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::{Write, stdout}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 31 warnings 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] [stdout] error: aborting due to 38 previous errors; 31 warnings 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 `cmdln-graphics` [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" "c070c3dac516c0c96d2e13ca6bb233229f3e94fb629aaa8668bdc4ef5ed39568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c070c3dac516c0c96d2e13ca6bb233229f3e94fb629aaa8668bdc4ef5ed39568", kill_on_drop: false }` [INFO] [stdout] c070c3dac516c0c96d2e13ca6bb233229f3e94fb629aaa8668bdc4ef5ed39568