[INFO] fetching crate console_engine 1.5.1... [INFO] testing console_engine-1.5.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate console_engine 1.5.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate console_engine 1.5.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate console_engine 1.5.1 [INFO] finished tweaking crates.io crate console_engine 1.5.1 [INFO] tweaked toml for crates.io crate console_engine 1.5.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate console_engine 1.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c17350dd3f00d4bd174ab6cbfeac9aa40a4e5cee421e4af96ea07fdc91051f54 [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" "c17350dd3f00d4bd174ab6cbfeac9aa40a4e5cee421e4af96ea07fdc91051f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c17350dd3f00d4bd174ab6cbfeac9aa40a4e5cee421e4af96ea07fdc91051f54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c17350dd3f00d4bd174ab6cbfeac9aa40a4e5cee421e4af96ea07fdc91051f54", kill_on_drop: false }` [INFO] [stdout] c17350dd3f00d4bd174ab6cbfeac9aa40a4e5cee421e4af96ea07fdc91051f54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1d7fb0d1755aa92a20d8d55498456956c24f1967b618600e9ab3c5481e1f505 [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" "e1d7fb0d1755aa92a20d8d55498456956c24f1967b618600e9ab3c5481e1f505", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling console_engine v1.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:70:55 [INFO] [stdout] | [INFO] [stdout] 70 | ...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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 70 | 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:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | ...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 is no longer accepted in Rust 2021 [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] 82 | 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 4.18s [INFO] running `Command { std: "docker" "inspect" "e1d7fb0d1755aa92a20d8d55498456956c24f1967b618600e9ab3c5481e1f505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d7fb0d1755aa92a20d8d55498456956c24f1967b618600e9ab3c5481e1f505", kill_on_drop: false }` [INFO] [stdout] e1d7fb0d1755aa92a20d8d55498456956c24f1967b618600e9ab3c5481e1f505 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a957b66242bf26970310847215bbc478d32e516f60fd8b53b8a07f95d947037c [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" "a957b66242bf26970310847215bbc478d32e516f60fd8b53b8a07f95d947037c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:70:55 [INFO] [stdout] | [INFO] [stdout] 70 | ...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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 70 | 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:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | ...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 is no longer accepted in Rust 2021 [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] 82 | 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.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling console_engine v1.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/screen.rs:70:55 [INFO] [stdout] | [INFO] [stdout] 70 | ...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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 70 | 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:82:68 [INFO] [stdout] | [INFO] [stdout] 82 | ...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 is no longer accepted in Rust 2021 [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] 82 | 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.58s [INFO] running `Command { std: "docker" "inspect" "a957b66242bf26970310847215bbc478d32e516f60fd8b53b8a07f95d947037c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a957b66242bf26970310847215bbc478d32e516f60fd8b53b8a07f95d947037c", kill_on_drop: false }` [INFO] [stdout] a957b66242bf26970310847215bbc478d32e516f60fd8b53b8a07f95d947037c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae3a12322aa69c255d070dd58e960c58ec0609ef17537cda80ab361e7e04d6b6 [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" "ae3a12322aa69c255d070dd58e960c58ec0609ef17537cda80ab361e7e04d6b6", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/screen.rs:70:55 [INFO] [stderr] | [INFO] [stderr] 70 | ...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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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] 70 | 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:82:68 [INFO] [stderr] | [INFO] [stderr] 82 | ...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 is no longer accepted in Rust 2021 [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] 82 | 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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/screen.rs:70:55 [INFO] [stderr] | [INFO] [stderr] 70 | ...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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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] 70 | 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:82:68 [INFO] [stderr] | [INFO] [stderr] 82 | ...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 is no longer accepted in Rust 2021 [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] 82 | 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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/console_engine-af894818988d0721) [INFO] [stdout] [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] [stderr] Doc-tests console_engine [INFO] [stdout] [INFO] [stdout] running 51 tests [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_held (line 730) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::circle (line 324) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_released (line 753) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::draw (line 526) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::resize (line 444) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_pxl (line 431) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_released (line 859) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::extract (line 459) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_screen (line 248) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_triangle (line 372) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_resize (line 810) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_rect (line 303) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_held (line 827) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_fbg (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_screen (line 480) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::line (line 279) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::rect (line 291) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_pxl (line 419) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_press (line 777) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 891) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_circle (line 446) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fbg (line 26) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_screen (line 510) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_circle (line 337) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::get_pxl (line 725) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 712) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::triangle (line 349) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_bg (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::scroll (line 401) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_screen (line 218) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_fbg (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed (line 694) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::line (line 289) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_triangle (line 512) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print (line 132) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::scroll (line 619) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::triangle (line 487) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::set_pxl (line 710) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::circle (line 409) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 915) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fg (line 40) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::extract (line 772) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_rect (line 381) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::rect (line 366) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::resize (line 747) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::check_resize (line 671) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::wait_frame (line 613) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_key_held (line 730) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:734: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:736: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:736: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:737: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/lib.rs - ConsoleEngine::circle (line 324) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:327: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::is_key_released (line 753) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:756: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:757: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:758: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:759: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:760: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:761: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/lib.rs - ConsoleEngine::draw (line 526) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:527: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:528: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::resize (line 444) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:445: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::get_pxl (line 431) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:432: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:433: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::get_mouse_released (line 859) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:865: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:863: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:865: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::extract (line 459) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:462: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::print_screen (line 248) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:258: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::fill_triangle (line 372) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:375: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::get_resize (line 810) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:811: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/lib.rs - ConsoleEngine::fill_rect (line 303) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:306: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::get_mouse_held (line 827) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:833: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:831: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:833: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::print_fbg (line 232) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:236: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::set_screen (line 480) stdout ---- [INFO] [stdout] error: expected `;`, found `scr` [INFO] [stdout] --> src/lib.rs:482: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:483: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:482: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:487: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:489: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:493: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::line (line 279) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:282: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::rect (line 291) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:294: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::set_pxl (line 419) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:422: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:422: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/screen.rs - screen::Screen (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `screen` [INFO] [stdout] --> src/screen.rs:30: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/lib.rs - ConsoleEngine::get_mouse_press (line 777) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:783: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:781: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:783: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 891) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:892: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/screen.rs - screen::Screen::fill_circle (line 446) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:449: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/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::get_screen (line 510) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:511: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::fill_circle (line 337) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:340: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/screen.rs - screen::Screen::get_pxl (line 725) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:726: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:727: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/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/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 712) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `loop` [INFO] [stdout] --> src/lib.rs:713: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:716: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:718: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::triangle (line 349) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:352: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/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 (line 220) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:221: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:222: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:222: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::scroll (line 401) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:405: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:407: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:409: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:409: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/screen.rs - screen::Screen::print_screen (line 218) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:228: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::print_fbg (line 144) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:148: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/lib.rs - ConsoleEngine::is_key_pressed (line 694) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:698: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:700: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/screen.rs - screen::Screen::line (line 289) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:292: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 512) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:515: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::print (line 132) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:133: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:134: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:134: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/screen.rs - screen::Screen::scroll (line 619) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:623: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:625: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:627: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:627: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::triangle (line 487) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:490: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::set_pxl (line 710) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:713: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:713: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::circle (line 409) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:412: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/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 915) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:916: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/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/screen.rs - screen::Screen::extract (line 772) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:775: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::fill_rect (line 381) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:384: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::rect (line 366) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:369: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::resize (line 747) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:748: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/lib.rs - ConsoleEngine::check_resize (line 671) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IoError(Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" })', src/lib.rs:118:48 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f3d3ed3390 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55f3d3ed3390 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f3d3ed3390 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f3d3ed3390 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f3d3ef0c7c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55f3d3ed1145 - ::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55f3d3ed548b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f3d3ed548b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f3d3ed548b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55f3d3ed4f61 - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55f3d3ed5b31 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55f3d3ed5637 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55f3d3ed388c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55f3d3ed5599 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55f3d3e46281 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55f3d3e46313 - core[ee1ca6415511a9c4]::result::unwrap_failed [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55f3d3e4f13c - >::unwrap [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x55f3d3e472a3 - ::init_fill [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:118:20 [INFO] [stdout] 18: 0x55f3d3e46c77 - rust_out[17891616a171812d]::main::_doctest_main_src_lib_rs_671_0 [INFO] [stdout] 19: 0x55f3d3e46c56 - rust_out[17891616a171812d]::main [INFO] [stdout] 20: 0x55f3d3e46bf3 - >::call_once [INFO] [stdout] 21: 0x55f3d3e46b29 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 22: 0x55f3d3e46b69 - std[77c0456e0eb29f0c]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 23: 0x55f3d3ed6029 - <&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 24: 0x55f3d3ed6029 - std[77c0456e0eb29f0c]::panicking::try::do_call::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55f3d3ed6029 - std[77c0456e0eb29f0c]::panicking::try:: + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55f3d3ed6029 - std[77c0456e0eb29f0c]::panic::catch_unwind::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: 0x55f3d3ed6029 - std[77c0456e0eb29f0c]::rt::lang_start_internal [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:34:21 [INFO] [stdout] 28: 0x55f3d3e46b01 - std[77c0456e0eb29f0c]::rt::lang_start::<()> [INFO] [stdout] 29: 0x55f3d3e46ce3 - main [INFO] [stdout] 30: 0x7f1bde39f0b3 - __libc_start_main [INFO] [stdout] 31: 0x55f3d3e46a1e - _start [INFO] [stdout] 32: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::wait_frame (line 613) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stdout: [INFO] [stdout] [?25h[?1006l[?1015l[?1003l[?1002l[?1000l[?1049l [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IoError(Os { code: 6, kind: Other, message: "No such device or address" })', src/lib.rs:149:37 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e6f9f1f1c0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55e6f9f1f1c0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e6f9f1f1c0 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e6f9f1f1c0 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55e6f9f3caac - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55e6f9f1cf75 - ::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55e6f9f212bb - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55e6f9f212bb - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55e6f9f212bb - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55e6f9f20d91 - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55e6f9e9c543 - core[ee1ca6415511a9c4]::ops::function::Fn<(&'a core[ee1ca6415511a9c4]::panic::PanicInfo<'b>,), Output = ()> + core[ee1ca6415511a9c4]::marker::Sync + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::Fn<(&core[ee1ca6415511a9c4]::panic::PanicInfo,)>>::call [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1589:9 [INFO] [stdout] 11: 0x55e6f9e93254 - ::init::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:108:13 [INFO] [stdout] 12: 0x55e6f9f21986 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:626:17 [INFO] [stdout] 13: 0x55e6f9f21467 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 14: 0x55e6f9f1f6bc - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 15: 0x55e6f9f213c9 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 16: 0x55e6f9e92281 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 17: 0x55e6f9e92313 - core[ee1ca6415511a9c4]::result::unwrap_failed [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1355:5 [INFO] [stdout] 18: 0x55e6f9e9b079 - >::unwrap [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1037:23 [INFO] [stdout] 19: 0x55e6f9e93779 - ::begin [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:149:9 [INFO] [stdout] 20: 0x55e6f9e931de - ::init [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:111:9 [INFO] [stdout] 21: 0x55e6f9e92c7e - rust_out[17891616a171812d]::main::_doctest_main_src_lib_rs_613_0 [INFO] [stdout] 22: 0x55e6f9e92c56 - rust_out[17891616a171812d]::main [INFO] [stdout] 23: 0x55e6f9e92bf3 - >::call_once [INFO] [stdout] 24: 0x55e6f9e92b29 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 25: 0x55e6f9e92b69 - std[77c0456e0eb29f0c]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 26: 0x55e6f9f21e59 - <&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 27: 0x55e6f9f21e59 - std[77c0456e0eb29f0c]::panicking::try::do_call::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 28: 0x55e6f9f21e59 - std[77c0456e0eb29f0c]::panicking::try:: + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 29: 0x55e6f9f21e59 - std[77c0456e0eb29f0c]::panic::catch_unwind::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 30: 0x55e6f9f21e59 - std[77c0456e0eb29f0c]::rt::lang_start_internal [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:34:21 [INFO] [stdout] 31: 0x55e6f9e92b01 - std[77c0456e0eb29f0c]::rt::lang_start::<()> [INFO] [stdout] 32: 0x55e6f9e92ce3 - main [INFO] [stdout] 33: 0x7fa0e1e6b0b3 - __libc_start_main [INFO] [stdout] 34: 0x55e6f9e92a1e - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine (line 36) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stdout: [INFO] [stdout] [?25h[?1006l[?1015l[?1003l[?1002l[?1000l[?1049l [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IoError(Os { code: 6, kind: Other, message: "No such device or address" })', src/lib.rs:149:37 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c9d3fb5910 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55c9d3fb5910 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c9d3fb5910 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55c9d3fb5910 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55c9d3fd359c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55c9d3fb36c5 - ::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55c9d3fb7a0b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55c9d3fb7a0b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55c9d3fb7a0b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55c9d3fb74e1 - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55c9d3f33b13 - core[ee1ca6415511a9c4]::ops::function::Fn<(&'a core[ee1ca6415511a9c4]::panic::PanicInfo<'b>,), Output = ()> + core[ee1ca6415511a9c4]::marker::Sync + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::Fn<(&core[ee1ca6415511a9c4]::panic::PanicInfo,)>>::call [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1589:9 [INFO] [stdout] 11: 0x55c9d3f24dc4 - ::init::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:108:13 [INFO] [stdout] 12: 0x55c9d3fb80d6 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:626:17 [INFO] [stdout] 13: 0x55c9d3fb7bb7 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 14: 0x55c9d3fb5e0c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 15: 0x55c9d3fb7b19 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 16: 0x55c9d3f22281 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 17: 0x55c9d3f22313 - core[ee1ca6415511a9c4]::result::unwrap_failed [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1355:5 [INFO] [stdout] 18: 0x55c9d3f31a89 - >::unwrap [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1037:23 [INFO] [stdout] 19: 0x55c9d3f252e9 - ::begin [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:149:9 [INFO] [stdout] 20: 0x55c9d3f24d4e - ::init [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:111:9 [INFO] [stdout] 21: 0x55c9d3f22d51 - rust_out[17891616a171812d]::main [INFO] [stdout] 22: 0x55c9d3f22cd3 - >::call_once [INFO] [stdout] 23: 0x55c9d3f22b29 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 24: 0x55c9d3f22b69 - std[77c0456e0eb29f0c]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 25: 0x55c9d3fb85a9 - <&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 26: 0x55c9d3fb85a9 - std[77c0456e0eb29f0c]::panicking::try::do_call::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 27: 0x55c9d3fb85a9 - std[77c0456e0eb29f0c]::panicking::try:: + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 28: 0x55c9d3fb85a9 - std[77c0456e0eb29f0c]::panic::catch_unwind::<&dyn core[ee1ca6415511a9c4]::ops::function::Fn<(), Output = i32> + std[77c0456e0eb29f0c]::panic::RefUnwindSafe + core[ee1ca6415511a9c4]::marker::Sync, i32> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 29: 0x55c9d3fb85a9 - std[77c0456e0eb29f0c]::rt::lang_start_internal [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/rt.rs:34:21 [INFO] [stdout] 30: 0x55c9d3f22b01 - std[77c0456e0eb29f0c]::rt::lang_start::<()> [INFO] [stdout] 31: 0x55c9d3f23083 - main [INFO] [stdout] 32: 0x7f3757a7f0b3 - __libc_start_main [INFO] [stdout] 33: 0x55c9d3f22a1e - _start [INFO] [stdout] 34: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - ConsoleEngine (line 36) [INFO] [stdout] src/lib.rs - ConsoleEngine::check_resize (line 671) [INFO] [stdout] src/lib.rs - ConsoleEngine::circle (line 324) [INFO] [stdout] src/lib.rs - ConsoleEngine::draw (line 526) [INFO] [stdout] src/lib.rs - ConsoleEngine::extract (line 459) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_circle (line 337) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_rect (line 303) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_triangle (line 372) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_held (line 827) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_press (line 777) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_released (line 859) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_pxl (line 431) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_resize (line 810) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_screen (line 510) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_held (line 730) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed (line 694) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 712) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_released (line 753) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 891) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 915) [INFO] [stdout] src/lib.rs - ConsoleEngine::line (line 279) [INFO] [stdout] src/lib.rs - ConsoleEngine::print (line 220) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_fbg (line 232) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_screen (line 248) [INFO] [stdout] src/lib.rs - ConsoleEngine::rect (line 291) [INFO] [stdout] src/lib.rs - ConsoleEngine::resize (line 444) [INFO] [stdout] src/lib.rs - ConsoleEngine::scroll (line 401) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_pxl (line 419) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_screen (line 480) [INFO] [stdout] src/lib.rs - ConsoleEngine::triangle (line 349) [INFO] [stdout] src/lib.rs - ConsoleEngine::wait_frame (line 613) [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 23) [INFO] [stdout] src/screen.rs - screen::Screen::circle (line 409) [INFO] [stdout] src/screen.rs - screen::Screen::extract (line 772) [INFO] [stdout] src/screen.rs - screen::Screen::fill_circle (line 446) [INFO] [stdout] src/screen.rs - screen::Screen::fill_rect (line 381) [INFO] [stdout] src/screen.rs - screen::Screen::fill_triangle (line 512) [INFO] [stdout] src/screen.rs - screen::Screen::get_pxl (line 725) [INFO] [stdout] src/screen.rs - screen::Screen::line (line 289) [INFO] [stdout] src/screen.rs - screen::Screen::print (line 132) [INFO] [stdout] src/screen.rs - screen::Screen::print_fbg (line 144) [INFO] [stdout] src/screen.rs - screen::Screen::print_screen (line 218) [INFO] [stdout] src/screen.rs - screen::Screen::rect (line 366) [INFO] [stdout] src/screen.rs - screen::Screen::resize (line 747) [INFO] [stdout] src/screen.rs - screen::Screen::scroll (line 619) [INFO] [stdout] src/screen.rs - screen::Screen::set_pxl (line 710) [INFO] [stdout] src/screen.rs - screen::Screen::triangle (line 487) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 51 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ae3a12322aa69c255d070dd58e960c58ec0609ef17537cda80ab361e7e04d6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3a12322aa69c255d070dd58e960c58ec0609ef17537cda80ab361e7e04d6b6", kill_on_drop: false }` [INFO] [stdout] ae3a12322aa69c255d070dd58e960c58ec0609ef17537cda80ab361e7e04d6b6