[INFO] fetching crate console_engine 2.0.1... [INFO] testing console_engine-2.0.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate console_engine 2.0.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate console_engine 2.0.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate console_engine 2.0.1 [INFO] finished tweaking crates.io crate console_engine 2.0.1 [INFO] tweaked toml for crates.io crate console_engine 2.0.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate console_engine 2.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio v0.7.11 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74362e8748fb3514a5dea16b7a7dbf303d4dfdcda54b9060c206f21364c2be78 [INFO] running `Command { std: "docker" "start" "-a" "74362e8748fb3514a5dea16b7a7dbf303d4dfdcda54b9060c206f21364c2be78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74362e8748fb3514a5dea16b7a7dbf303d4dfdcda54b9060c206f21364c2be78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74362e8748fb3514a5dea16b7a7dbf303d4dfdcda54b9060c206f21364c2be78", kill_on_drop: false }` [INFO] [stdout] 74362e8748fb3514a5dea16b7a7dbf303d4dfdcda54b9060c206f21364c2be78 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df71e243a404e5239e7ba6da723ccee5800e51e3d470ce570f7dca36472a57a8 [INFO] running `Command { std: "docker" "start" "-a" "df71e243a404e5239e7ba6da723ccee5800e51e3d470ce570f7dca36472a57a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling console_engine v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | ...e, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 72 - assert!(vec.len() == (width*height) as usize, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len())); [INFO] [stdout] 72 + assert!(vec.len() == (width*height) as usize, "The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:84:68 [INFO] [stdout] | [INFO] [stdout] 84 | ...e, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 84 - assert!(string.chars().count() == (width*height) as usize, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count())); [INFO] [stdout] 84 + assert!(string.chars().count() == (width*height) as usize, "The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "df71e243a404e5239e7ba6da723ccee5800e51e3d470ce570f7dca36472a57a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df71e243a404e5239e7ba6da723ccee5800e51e3d470ce570f7dca36472a57a8", kill_on_drop: false }` [INFO] [stdout] df71e243a404e5239e7ba6da723ccee5800e51e3d470ce570f7dca36472a57a8 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e4f1323026b3363a0eefb2726ecb0b54dbab8d33c0c6731f9edc8087572457 [INFO] running `Command { std: "docker" "start" "-a" "d2e4f1323026b3363a0eefb2726ecb0b54dbab8d33c0c6731f9edc8087572457", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | ...e, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 72 - assert!(vec.len() == (width*height) as usize, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len())); [INFO] [stdout] 72 + assert!(vec.len() == (width*height) as usize, "The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:84:68 [INFO] [stdout] | [INFO] [stdout] 84 | ...e, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 84 - assert!(string.chars().count() == (width*height) as usize, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count())); [INFO] [stdout] 84 + assert!(string.chars().count() == (width*height) as usize, "The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling console_engine v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:72:55 [INFO] [stdout] | [INFO] [stdout] 72 | ...e, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 72 - assert!(vec.len() == (width*height) as usize, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len())); [INFO] [stdout] 72 + assert!(vec.len() == (width*height) as usize, "The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:84:68 [INFO] [stdout] | [INFO] [stdout] 84 | ...e, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 84 - assert!(string.chars().count() == (width*height) as usize, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count())); [INFO] [stdout] 84 + assert!(string.chars().count() == (width*height) as usize, "The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.52s [INFO] running `Command { std: "docker" "inspect" "d2e4f1323026b3363a0eefb2726ecb0b54dbab8d33c0c6731f9edc8087572457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e4f1323026b3363a0eefb2726ecb0b54dbab8d33c0c6731f9edc8087572457", kill_on_drop: false }` [INFO] [stdout] d2e4f1323026b3363a0eefb2726ecb0b54dbab8d33c0c6731f9edc8087572457 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3391d528e9170fcee0c67828049bcec7dc8d111ab260ea25c6172bd3f161c3c [INFO] running `Command { std: "docker" "start" "-a" "b3391d528e9170fcee0c67828049bcec7dc8d111ab260ea25c6172bd3f161c3c", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/screen.rs:72:55 [INFO] [stderr] | [INFO] [stderr] 72 | ...e, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 72 - assert!(vec.len() == (width*height) as usize, format!("The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len())); [INFO] [stderr] 72 + assert!(vec.len() == (width*height) as usize, "The Vec structure must have the length corresponding to width*height (={}) but the given Vec has a length of {}.", width*height, vec.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/screen.rs:84:68 [INFO] [stderr] | [INFO] [stderr] 84 | ...e, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 84 - assert!(string.chars().count() == (width*height) as usize, format!("The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count())); [INFO] [stderr] 84 + assert!(string.chars().count() == (width*height) as usize, "The String must have the length corresponding to width*height (={}) but the given String has a length of {}.", width*height, string.chars().count()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `console_engine` (lib) generated 2 warnings [INFO] [stderr] warning: `console_engine` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/console_engine-bce35fa6aab0d8d3) [INFO] [stdout] [INFO] [stderr] Doc-tests console_engine [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test src/lib.rs - ConsoleEngine::circle (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_rect (line 332) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_triangle (line 401) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed (line 723) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::rect (line 300) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::resize (line 473) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::scroll (line 430) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_pxl (line 448) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_pxl (line 460) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 741) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_screen (line 539) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_screen (line 257) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::extract (line 488) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::triangle (line 378) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::draw (line 555) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::line (line 288) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_press (line 806) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 920) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_held (line 759) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_bg (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_fbg (line 241) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_released (line 888) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_resize (line 839) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fg (line 40) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_held (line 856) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::rect_border (line 312) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine (line 41) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fbg (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print (line 229) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_screen (line 509) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 944) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_released (line 782) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_circle (line 475) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_circle (line 366) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::wait_frame (line 642) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print (line 134) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::check_resize (line 700) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::set_pxl (line 739) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::line (line 291) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_triangle (line 541) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::scroll (line 648) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::resize (line 776) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_fbg (line 146) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::extract (line 801) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen (line 25) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl (line 76) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::circle (line 438) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_rect (line 410) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::get_pxl (line 754) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::rect (line 368) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_screen (line 220) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::triangle (line 516) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::rect_border (line 383) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::circle (line 353) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.circle(10, 10, 4, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::fill_rect (line 332) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.fill_rect(0, 0, 9, 9, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::fill_triangle (line 401) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.fill_triangle(8,8, 4,6, 9,2, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_key_pressed (line 723) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 7 | engine.wait_frame(); // wait for next frame + captures input [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:729:8 [INFO] [stdout] | [INFO] [stdout] 9 | if engine.is_key_pressed(KeyCode::Char('q')) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::rect (line 300) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.rect(0, 0, 9, 9, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::resize (line 473) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:474:1 [INFO] [stdout] | [INFO] [stdout] 3 | engine.resize(40,10) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::scroll (line 430) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 7 | engine.fill(pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:436:1 [INFO] [stdout] | [INFO] [stdout] 9 | engine.scroll(0,1,pixel::pxl(' ')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:438:1 [INFO] [stdout] | [INFO] [stdout] 11 | engine.print(0, height-1, "Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `height` in this scope [INFO] [stdout] --> src/lib.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 11 | engine.print(0, height-1, "Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::set_pxl (line 448) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.set_pxl(3,8,pixel::pixel('o')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pixel` in module `pixel` [INFO] [stdout] --> src/lib.rs:451:27 [INFO] [stdout] | [INFO] [stdout] 6 | engine.set_pxl(3,8,pixel::pixel('o')); [INFO] [stdout] | ^^^^^ not found in `pixel` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_pxl (line 460) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 3 | if engine.get_pxl(3,8).unwrap().chr == 'o' { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0,0,"Found a 'o'"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 741) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `loop` [INFO] [stdout] --> src/lib.rs:742:44 [INFO] [stdout] | [INFO] [stdout] 4 | use console_engine::{KeyCode, KeyModifiers} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | [INFO] [stdout] 6 | loop { [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 7 | engine.wait_frame(); // wait for next frame + captures input [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:747:8 [INFO] [stdout] | [INFO] [stdout] 9 | if engine.is_key_pressed_with_modifier(KeyCode::Char('c'), KeyModifiers::CONTROL) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_screen (line 539) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:540:11 [INFO] [stdout] | [INFO] [stdout] 3 | let scr = engine.get_screen(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::print_screen (line 257) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 13 | engine.print_screen(5,2, &my_square); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::extract (line 488) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 6 | let scr_chunk = engine.extract(10, 4, 12, 5, pixel::pxl(' ')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::triangle (line 378) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:381:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.triangle(8,8, 4,6, 9,2, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::draw (line 555) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:556:1 [INFO] [stdout] | [INFO] [stdout] 3 | engine.print(0,0,"Hello, world!"); // <- prints "Hello, world!" in 'screen' memory [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:557:1 [INFO] [stdout] | [INFO] [stdout] 4 | engine.draw(); // display 'screen' memory to the user's terminal [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::line (line 288) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.line(0, 0, 9, 9, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_mouse_press (line 806) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:812:60 [INFO] [stdout] | [INFO] [stdout] 9 | engine.set_pxl(mouse_pos.0 as i32, mouse_pos.1 as i32, pixel::pxl('P')); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mouse_pos = engine.get_mouse_press(MouseButton::Left); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:812:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine.set_pxl(mouse_pos.0 as i32, mouse_pos.1 as i32, pixel::pxl('P')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 920) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:921:4 [INFO] [stdout] | [INFO] [stdout] 3 | if engine.is_mouse_scrolled_down() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_key_held (line 759) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:763:5 [INFO] [stdout] | [INFO] [stdout] 7 | engine.wait_frame(); // wait for next frame + captures input [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:765:8 [INFO] [stdout] | [INFO] [stdout] 9 | if engine.is_key_held(KeyCode::Char('8')) && pos_y > 0 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pos_y` in this scope [INFO] [stdout] --> src/lib.rs:765:50 [INFO] [stdout] | [INFO] [stdout] 9 | if engine.is_key_held(KeyCode::Char('8')) && pos_y > 0 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pos_y` in this scope [INFO] [stdout] --> src/lib.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 10 | pos_y -= 1; // move position upward [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pixel.rs - pixel::pxl_bg (line 57) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 7 | engine.set_pxl(0,0,pixel::pxl_bg('X', Color::Magenta)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::print_fbg (line 241) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 7 | engine.print(0,0, "Hello, world!", Color::Blue, Color::White); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_mouse_released (line 888) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:894:60 [INFO] [stdout] | [INFO] [stdout] 9 | engine.set_pxl(mouse_pos.0 as i32, mouse_pos.1 as i32, pixel::pxl('R')); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:892:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mouse_pos = engine.get_mouse_released(MouseButton::Left); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:894:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine.set_pxl(mouse_pos.0 as i32, mouse_pos.1 as i32, pixel::pxl('R')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_resize (line 839) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:840:32 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((width, height)) = engine.get_resize() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pixel.rs - pixel::pxl_fg (line 40) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 7 | engine.set_pxl(0,0,pixel::pxl_fg('X', Color::Cyan)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_mouse_held (line 856) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:862:60 [INFO] [stdout] | [INFO] [stdout] 9 | engine.set_pxl(mouse_pos.0 as i32, mouse_pos.1 as i32, pixel::pxl('H')); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:860:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mouse_pos = engine.get_mouse_held(MouseButton::Left); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine.set_pxl(mouse_pos.0 as i32, mouse_pos.1 as i32, pixel::pxl('H')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::rect_border (line 312) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:315:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.rect_border(0, 0, 9, 9, BorderStyle::new_simple()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine (line 41) stdout ---- [INFO] [stdout] error[E0599]: no method named `wait_frame` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 14 | engine.wait_frame(); // wait for next frame + capture inputs [INFO] [stdout] | ^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear_screen` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 15 | engine.clear_screen(); // reset the screen [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `line` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 17 | engine.line(0, 0, 19, 9, pixel::pxl('#')); // draw a line of '#' from [0,0] to [19,9] [INFO] [stdout] | ^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 18 | engine.print(0, 4, format!("Result: {}", value).as_str()); // prints some value at [0,4] [INFO] [stdout] | ^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_pxl` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 20 | engine.set_pxl(4, 0, pixel::pxl_fg('O', Color::Cyan)); // write a majestic cyan 'O' at [4,0] [INFO] [stdout] | ^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_key_pressed` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 22 | if engine.is_key_pressed(KeyCode::Char('q')) { // if the user presses 'q' : [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `draw` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 26 | engine.draw(); // draw the screen [INFO] [stdout] | ^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pixel.rs - pixel::pxl_fbg (line 26) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 7 | engine.set_pxl(0,0,pixel::pxl_fbg('X', Color::Blue, Color::White)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::print (line 229) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 3 | engine.print(0,0, "Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0, 4, format!("Score: {}", score).as_str()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `score` in this scope [INFO] [stdout] --> src/lib.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0, 4, format!("Score: {}", score).as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::set_screen (line 509) stdout ---- [INFO] [stdout] error: expected `;`, found `scr` [INFO] [stdout] --> src/lib.rs:511:33 [INFO] [stdout] | [INFO] [stdout] 4 | let mut scr = Screen::new(40,10) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | scr.rect(0,0,39,9, pixel::pxl("#")); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:512:20 [INFO] [stdout] | [INFO] [stdout] 5 | scr.rect(0,0,39,9, pixel::pxl("#")); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Screen` [INFO] [stdout] --> src/lib.rs:511:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut scr = Screen::new(40,10) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use console_engine::screen::Screen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:516:15 [INFO] [stdout] | [INFO] [stdout] 9 | let old_scr = engine.get_screen(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:518:1 [INFO] [stdout] | [INFO] [stdout] 11 | engine.set_screen(&scr); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 15 | engine.set_screen(&old_scr); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 944) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:945:4 [INFO] [stdout] | [INFO] [stdout] 3 | if engine.is_mouse_scrolled_up() { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_key_released (line 782) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:785:4 [INFO] [stdout] | [INFO] [stdout] 6 | if engine.is_key_held(KeyCode::Char('h')) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:786:5 [INFO] [stdout] | [INFO] [stdout] 7 | engine.clear_screen(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 8 | engine.print(0,0,"Please don't hold this button."); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:788:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine.draw(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:789:12 [INFO] [stdout] | [INFO] [stdout] 10 | while !engine.is_key_released(KeyCode::Char('h')) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:790:9 [INFO] [stdout] | [INFO] [stdout] 11 | engine.wait_frame(); // refresh button's states [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::fill_circle (line 475) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.fill_circle(10, 10, 4, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::fill_circle (line 366) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.fill_circle(10, 10, 4, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::wait_frame (line 642) stdout ---- [INFO] [stdout] error[E0599]: no method named `wait_frame` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 7 | engine.wait_frame(); // wait for next frame [INFO] [stdout] | ^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::print (line 134) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 3 | screen.print(0, 0, "Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 4 | screen.print(0, 4, format!("Score: {}", score).as_str()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `score` in this scope [INFO] [stdout] --> src/screen.rs:136:41 [INFO] [stdout] | [INFO] [stdout] 4 | screen.print(0, 4, format!("Score: {}", score).as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::check_resize (line 700) stdout ---- [INFO] [stdout] error[E0599]: no method named `wait_frame` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 7 | engine.wait_frame(); // wait for next frame [INFO] [stdout] | ^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `check_resize` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:705:12 [INFO] [stdout] | [INFO] [stdout] 8 | engine.check_resize(); // resize the terminal if its size has changed [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::set_pxl (line 739) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:742:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.set_pxl(3,8,pixel::pixel('o')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pixel` in module `pixel` [INFO] [stdout] --> src/screen.rs:742:27 [INFO] [stdout] | [INFO] [stdout] 6 | screen.set_pxl(3,8,pixel::pixel('o')); [INFO] [stdout] | ^^^^^ not found in `pixel` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::line (line 291) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.line(0, 0, 9, 9, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::fill_triangle (line 541) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:544:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.fill_triangle(8,8, 4,6, 9,2, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::scroll (line 648) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:652:1 [INFO] [stdout] | [INFO] [stdout] 7 | screen.fill(pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:654:1 [INFO] [stdout] | [INFO] [stdout] 9 | screen.scroll(0,1,pixel::pxl(' ')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:656:1 [INFO] [stdout] | [INFO] [stdout] 11 | screen.print(0, height-1, "Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `height` in this scope [INFO] [stdout] --> src/screen.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 11 | screen.print(0, height-1, "Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::resize (line 776) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:777:1 [INFO] [stdout] | [INFO] [stdout] 3 | screen.resize() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::print_fbg (line 146) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 7 | screen.print(0, 0, "Hello, world!", Color::Blue, Color::White); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::extract (line 801) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:804:17 [INFO] [stdout] | [INFO] [stdout] 6 | let scr_chunk = screen.extract(10, 4, 12, 5, pixel::pxl(' ')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `screen` [INFO] [stdout] --> src/screen.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 9 | let mut scr = screen::Screen::new(20,11); [INFO] [stdout] | ^^^^^^ not found in `screen` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use console_engine::screen::Screen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pixel.rs - pixel::pxl (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.set_pxl(0,0,pixel::pxl('X')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::circle (line 438) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.circle(10, 10, 4, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::fill_rect (line 410) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:413:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.fill_rect(0, 0, 9, 9, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::get_pxl (line 754) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:755:4 [INFO] [stdout] | [INFO] [stdout] 3 | if screen.get_pxl(3,8).unwrap().chr == 'o' { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:756:5 [INFO] [stdout] | [INFO] [stdout] 4 | screen.print(0,0,"Found a 'o'"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::rect (line 368) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.rect(0, 0, 9, 9, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::print_screen (line 220) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 13 | screen.print_screen(5,2, &my_square); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::triangle (line 516) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:519:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.triangle(8,8, 4,6, 9,2, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/screen.rs - screen::Screen::rect_border (line 383) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:386:1 [INFO] [stdout] | [INFO] [stdout] 6 | screen.rect_border(0, 0, 9, 9, BorderStyle::new_simple()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - ConsoleEngine (line 41) [INFO] [stdout] src/lib.rs - ConsoleEngine::check_resize (line 700) [INFO] [stdout] src/lib.rs - ConsoleEngine::circle (line 353) [INFO] [stdout] src/lib.rs - ConsoleEngine::draw (line 555) [INFO] [stdout] src/lib.rs - ConsoleEngine::extract (line 488) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_circle (line 366) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_rect (line 332) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_triangle (line 401) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_held (line 856) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_press (line 806) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_released (line 888) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_pxl (line 460) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_resize (line 839) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_screen (line 539) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_held (line 759) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed (line 723) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 741) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_released (line 782) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 920) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 944) [INFO] [stdout] src/lib.rs - ConsoleEngine::line (line 288) [INFO] [stdout] src/lib.rs - ConsoleEngine::print (line 229) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_fbg (line 241) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_screen (line 257) [INFO] [stdout] src/lib.rs - ConsoleEngine::rect (line 300) [INFO] [stdout] src/lib.rs - ConsoleEngine::rect_border (line 312) [INFO] [stdout] src/lib.rs - ConsoleEngine::resize (line 473) [INFO] [stdout] src/lib.rs - ConsoleEngine::scroll (line 430) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_pxl (line 448) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_screen (line 509) [INFO] [stdout] src/lib.rs - ConsoleEngine::triangle (line 378) [INFO] [stdout] src/lib.rs - ConsoleEngine::wait_frame (line 642) [INFO] [stdout] src/pixel.rs - pixel::pxl (line 76) [INFO] [stdout] src/pixel.rs - pixel::pxl_bg (line 57) [INFO] [stdout] src/pixel.rs - pixel::pxl_fbg (line 26) [INFO] [stdout] src/pixel.rs - pixel::pxl_fg (line 40) [INFO] [stdout] src/screen.rs - screen::Screen (line 25) [INFO] [stdout] src/screen.rs - screen::Screen::circle (line 438) [INFO] [stdout] src/screen.rs - screen::Screen::extract (line 801) [INFO] [stdout] src/screen.rs - screen::Screen::fill_circle (line 475) [INFO] [stdout] src/screen.rs - screen::Screen::fill_rect (line 410) [INFO] [stdout] src/screen.rs - screen::Screen::fill_triangle (line 541) [INFO] [stdout] src/screen.rs - screen::Screen::get_pxl (line 754) [INFO] [stdout] src/screen.rs - screen::Screen::line (line 291) [INFO] [stdout] src/screen.rs - screen::Screen::print (line 134) [INFO] [stdout] src/screen.rs - screen::Screen::print_fbg (line 146) [INFO] [stdout] src/screen.rs - screen::Screen::print_screen (line 220) [INFO] [stdout] src/screen.rs - screen::Screen::rect (line 368) [INFO] [stdout] src/screen.rs - screen::Screen::rect_border (line 383) [INFO] [stdout] src/screen.rs - screen::Screen::resize (line 776) [INFO] [stdout] src/screen.rs - screen::Screen::scroll (line 648) [INFO] [stdout] src/screen.rs - screen::Screen::set_pxl (line 739) [INFO] [stdout] src/screen.rs - screen::Screen::triangle (line 516) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 53 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b3391d528e9170fcee0c67828049bcec7dc8d111ab260ea25c6172bd3f161c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3391d528e9170fcee0c67828049bcec7dc8d111ab260ea25c6172bd3f161c3c", kill_on_drop: false }` [INFO] [stdout] b3391d528e9170fcee0c67828049bcec7dc8d111ab260ea25c6172bd3f161c3c