[INFO] fetching crate console_engine 1.3.0... [INFO] testing console_engine-1.3.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate console_engine 1.3.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate console_engine 1.3.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate console_engine 1.3.0 [INFO] finished tweaking crates.io crate console_engine 1.3.0 [INFO] tweaked toml for crates.io crate console_engine 1.3.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate console_engine 1.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4ae6a142bedf59b44e6c7eac66bec180179778ac8885775a4a91174498336e6a [INFO] running `Command { std: "docker" "start" "-a" "4ae6a142bedf59b44e6c7eac66bec180179778ac8885775a4a91174498336e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae6a142bedf59b44e6c7eac66bec180179778ac8885775a4a91174498336e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae6a142bedf59b44e6c7eac66bec180179778ac8885775a4a91174498336e6a", kill_on_drop: false }` [INFO] [stdout] 4ae6a142bedf59b44e6c7eac66bec180179778ac8885775a4a91174498336e6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98b647fa62d9abbebb4f97092cbe3ba38312999c10a67914568f3f7a8fbbe920 [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" "98b647fa62d9abbebb4f97092cbe3ba38312999c10a67914568f3f7a8fbbe920", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling crossterm v0.18.1 [INFO] [stderr] Compiling console_engine v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.08s [INFO] running `Command { std: "docker" "inspect" "98b647fa62d9abbebb4f97092cbe3ba38312999c10a67914568f3f7a8fbbe920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b647fa62d9abbebb4f97092cbe3ba38312999c10a67914568f3f7a8fbbe920", kill_on_drop: false }` [INFO] [stdout] 98b647fa62d9abbebb4f97092cbe3ba38312999c10a67914568f3f7a8fbbe920 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e83cf2c33e0523dceba81a043272239c8361890375b2467224cd052c2516e5e0 [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" "e83cf2c33e0523dceba81a043272239c8361890375b2467224cd052c2516e5e0", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling console_engine v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.77s [INFO] running `Command { std: "docker" "inspect" "e83cf2c33e0523dceba81a043272239c8361890375b2467224cd052c2516e5e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e83cf2c33e0523dceba81a043272239c8361890375b2467224cd052c2516e5e0", kill_on_drop: false }` [INFO] [stdout] e83cf2c33e0523dceba81a043272239c8361890375b2467224cd052c2516e5e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b262dedaffa99b0e564ff36bb0e705836aabf1f9f5cf748553dd80b12bf94aa5 [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" "b262dedaffa99b0e564ff36bb0e705836aabf1f9f5cf748553dd80b12bf94aa5", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/console_engine-a83a518b8fed27e3 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests console_engine [INFO] [stdout] [INFO] [stdout] running 49 tests [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_rect (line 293) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::draw (line 485) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_pxl (line 395) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_circle (line 327) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_triangle (line 361) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_screen (line 474) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_released (line 796) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_resize (line 747) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_press (line 714) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::circle (line 314) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_held (line 764) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::extract (line 423) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 649) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_held (line 667) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 828) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_released (line 690) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::resize (line 408) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::rect (line 281) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed (line 631) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 852) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_fbg (line 222) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_pxl (line 383) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::line (line 269) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_screen (line 238) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print (line 210) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl (line 72) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_bg (line 53) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fbg (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::triangle (line 339) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_screen (line 444) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::extract (line 684) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_rect (line 375) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fg (line 36) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::circle (line 403) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::line (line 283) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::get_pxl (line 637) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_circle (line 440) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen (line 24) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print (line 131) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::set_pxl (line 622) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::rect (line 360) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_triangle (line 505) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::triangle (line 481) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_screen (line 215) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::resize (line 659) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_fbg (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::check_resize (line 608) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::wait_frame (line 551) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::fill_rect (line 293) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:296: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::draw (line 485) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:486: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:487: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::get_pxl (line 395) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:396: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:397: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::fill_circle (line 327) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:330: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::fill_triangle (line 361) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:364: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_screen (line 474) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:475: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::get_mouse_released (line 796) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:802: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:800: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:802: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 747) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:748: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::get_mouse_press (line 714) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:720: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:718: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:720: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::circle (line 314) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:317: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::get_mouse_held (line 764) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pixel` [INFO] [stdout] --> src/lib.rs:770: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:768: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:770: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::extract (line 423) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:426: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::is_key_pressed_with_modifier (line 649) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `loop` [INFO] [stdout] --> src/lib.rs:650: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:653: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:655: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::is_key_held (line 667) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:671: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:673: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:673: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:674: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::is_mouse_scrolled_down (line 828) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:829: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_released (line 690) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:693: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:694: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:695: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:696: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:697: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:698: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::resize (line 408) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:409: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::rect (line 281) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:284: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::is_key_pressed (line 631) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:635: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:637: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::is_mouse_scrolled_up (line 852) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:853: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::print_fbg (line 222) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:226: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_pxl (line 383) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:386: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:386: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::line (line 269) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:272: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::print_screen (line 238) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:248: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::print (line 210) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:211: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:212: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:212: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/pixel.rs - pixel::pxl (line 72) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:75: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/pixel.rs - pixel::pxl_bg (line 53) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:57: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/pixel.rs - pixel::pxl_fbg (line 22) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:26: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::triangle (line 339) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:342: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::set_screen (line 444) stdout ---- [INFO] [stdout] error: expected `;`, found `scr` [INFO] [stdout] --> src/lib.rs:446: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:447: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:446: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:451: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:453: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:457: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/screen.rs - screen::Screen::extract (line 684) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:687: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 375) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:378: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/pixel.rs - pixel::pxl_fg (line 36) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:40: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::circle (line 403) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:406: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::line (line 283) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:286: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::get_pxl (line 637) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:638: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:639: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::fill_circle (line 440) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:443: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/screen.rs - screen::Screen (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `screen` [INFO] [stdout] --> src/screen.rs:31: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 one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use console_engine::screen::Screen; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::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/screen.rs - screen::Screen::print (line 131) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:132: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:133: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:133: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::set_pxl (line 622) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:625: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:625: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::rect (line 360) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:363: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::fill_triangle (line 505) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:508: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::triangle (line 481) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:484: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::print_screen (line 215) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:225: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::resize (line 659) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:660: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 143) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:147: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 (line 36) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stdout: [INFO] [stdout] [?25h[?1006l[?1015l[?1002l[?1000l[?1049l [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IoError(Os { code: 25, kind: Other, message: "Inappropriate ioctl for device" })', src/lib.rs:147:37 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55b0978e0e60 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55b0978e0e60 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b0978e0e60 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55b0978e0e60 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55b0978ff88c - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55b0978de012 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55b0978e35e5 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55b0978e35e5 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55b0978e35e5 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55b0978e313a - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55b0978596d6 - as core::ops::function::Fn>::call::h476bea80ff86497f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1332:9 [INFO] [stdout] 11: 0x55b097848c5e - console_engine::ConsoleEngine::init::{{closure}}::hc3dbae260a8cf1e6 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:106:13 [INFO] [stdout] 12: 0x55b0978e3da6 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:595:17 [INFO] [stdout] 13: 0x55b0978e38c7 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 14: 0x55b0978e131c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 15: 0x55b0978e3829 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 16: 0x55b0978fec31 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 17: 0x55b0978fea53 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 18: 0x55b097850f12 - core::result::Result::unwrap::ha4b4987bf34c38a9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/result.rs:973:23 [INFO] [stdout] 19: 0x55b0978494bb - console_engine::ConsoleEngine::begin::hb42bfa334100b035 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:147:9 [INFO] [stdout] 20: 0x55b097848ad7 - console_engine::ConsoleEngine::init::ha03a4839ee999b30 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:109:9 [INFO] [stdout] 21: 0x55b0978483f1 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 22: 0x55b0978482d3 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 23: 0x55b097848179 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 24: 0x55b097848209 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 25: 0x55b0978e41a7 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 26: 0x55b0978e41a7 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 27: 0x55b0978e41a7 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 28: 0x55b0978e41a7 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 29: 0x55b0978e41a7 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/rt.rs:51:25 [INFO] [stdout] 30: 0x55b0978481e8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 31: 0x55b09784870b - main [INFO] [stdout] 32: 0x7fde6f7f10b3 - __libc_start_main [INFO] [stdout] 33: 0x55b0978480ae - _start [INFO] [stdout] 34: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::check_resize (line 608) 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: 2, kind: NotFound, message: "No such file or directory" })', src/lib.rs:116:48 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e648b565d0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55e648b565d0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e648b565d0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e648b565d0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55e648b74ffc - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55e648b53782 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55e648b58d55 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55e648b58d55 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55e648b58d55 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55e648b588aa - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55e648b594f1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x55e648b59037 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x55e648b56a8c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55e648b58f99 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x55e648b743a1 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55e648b741c3 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x55e648acb25e - core::result::Result::unwrap::h3d0ce07a3e15e9fb [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/result.rs:973:23 [INFO] [stdout] 17: 0x55e648ac591c - console_engine::ConsoleEngine::init_fill::ha53cbd7c4867167c [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:116:20 [INFO] [stdout] 18: 0x55e648ac5307 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 19: 0x55e648ac5293 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 20: 0x55e648ac5179 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 21: 0x55e648ac5209 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 22: 0x55e648b59917 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55e648b59917 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: 0x55e648b59917 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 25: 0x55e648b59917 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 26: 0x55e648b59917 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/rt.rs:51:25 [INFO] [stdout] 27: 0x55e648ac51e8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 28: 0x55e648ac537b - main [INFO] [stdout] 29: 0x7f66c661f0b3 - __libc_start_main [INFO] [stdout] 30: 0x55e648ac50ae - _start [INFO] [stdout] 31: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::wait_frame (line 551) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stdout: [INFO] [stdout] [?25h[?1006l[?1015l[?1002l[?1000l[?1049l [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: IoError(Os { code: 25, kind: Other, message: "Inappropriate ioctl for device" })', src/lib.rs:147:37 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55fa3599d3b0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55fa3599d3b0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55fa3599d3b0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55fa3599d3b0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55fa359bbddc - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x55fa3599a562 - std::io::Write::write_fmt::h24485de26f355188 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x55fa3599fb35 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55fa3599fb35 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55fa3599fb35 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55fa3599f68a - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55fa35918146 - as core::ops::function::Fn>::call::h476bea80ff86497f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1332:9 [INFO] [stdout] 11: 0x55fa3590c8be - console_engine::ConsoleEngine::init::{{closure}}::hc3dbae260a8cf1e6 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:106:13 [INFO] [stdout] 12: 0x55fa359a02f6 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:595:17 [INFO] [stdout] 13: 0x55fa3599fe17 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 14: 0x55fa3599d86c - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 15: 0x55fa3599fd79 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 16: 0x55fa359bb181 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 17: 0x55fa359bafa3 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 18: 0x55fa35912102 - core::result::Result::unwrap::ha4b4987bf34c38a9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/result.rs:973:23 [INFO] [stdout] 19: 0x55fa3590d11b - console_engine::ConsoleEngine::begin::hb42bfa334100b035 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:147:9 [INFO] [stdout] 20: 0x55fa3590c737 - console_engine::ConsoleEngine::init::ha03a4839ee999b30 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:109:9 [INFO] [stdout] 21: 0x55fa3590c310 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 22: 0x55fa3590c293 - core::ops::function::FnOnce::call_once::ha451af22024e1864 [INFO] [stdout] 23: 0x55fa3590c179 - std::sys_common::backtrace::__rust_begin_short_backtrace::hefd8e56bf97a4afd [INFO] [stdout] 24: 0x55fa3590c209 - std::rt::lang_start::{{closure}}::hee13be5f96bd7848 [INFO] [stdout] 25: 0x55fa359a06f7 - core::ops::function::impls:: for &F>::call_once::h194d6aa01fb6b594 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 26: 0x55fa359a06f7 - std::panicking::try::do_call::h4ef477456776cccb [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 27: 0x55fa359a06f7 - std::panicking::try::h7f2121b6bb3bbca4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 28: 0x55fa359a06f7 - std::panic::catch_unwind::he974d0ca04309948 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 29: 0x55fa359a06f7 - std::rt::lang_start_internal::h36e9e78490120b9f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/rt.rs:51:25 [INFO] [stdout] 30: 0x55fa3590c1e8 - std::rt::lang_start::h290408a3f91c6d5a [INFO] [stdout] 31: 0x55fa3590c36b - main [INFO] [stdout] 32: 0x7fb264c150b3 - __libc_start_main [INFO] [stdout] 33: 0x55fa3590c0ae - _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 608) [INFO] [stdout] src/lib.rs - ConsoleEngine::circle (line 314) [INFO] [stdout] src/lib.rs - ConsoleEngine::draw (line 485) [INFO] [stdout] src/lib.rs - ConsoleEngine::extract (line 423) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_circle (line 327) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_rect (line 293) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_triangle (line 361) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_held (line 764) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_press (line 714) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_released (line 796) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_pxl (line 395) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_resize (line 747) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_screen (line 474) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_held (line 667) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed (line 631) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 649) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_released (line 690) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 828) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 852) [INFO] [stdout] src/lib.rs - ConsoleEngine::line (line 269) [INFO] [stdout] src/lib.rs - ConsoleEngine::print (line 210) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_fbg (line 222) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_screen (line 238) [INFO] [stdout] src/lib.rs - ConsoleEngine::rect (line 281) [INFO] [stdout] src/lib.rs - ConsoleEngine::resize (line 408) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_pxl (line 383) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_screen (line 444) [INFO] [stdout] src/lib.rs - ConsoleEngine::triangle (line 339) [INFO] [stdout] src/lib.rs - ConsoleEngine::wait_frame (line 551) [INFO] [stdout] src/pixel.rs - pixel::pxl (line 72) [INFO] [stdout] src/pixel.rs - pixel::pxl_bg (line 53) [INFO] [stdout] src/pixel.rs - pixel::pxl_fbg (line 22) [INFO] [stdout] src/pixel.rs - pixel::pxl_fg (line 36) [INFO] [stdout] src/screen.rs - screen::Screen (line 24) [INFO] [stdout] src/screen.rs - screen::Screen::circle (line 403) [INFO] [stdout] src/screen.rs - screen::Screen::extract (line 684) [INFO] [stdout] src/screen.rs - screen::Screen::fill_circle (line 440) [INFO] [stdout] src/screen.rs - screen::Screen::fill_rect (line 375) [INFO] [stdout] src/screen.rs - screen::Screen::fill_triangle (line 505) [INFO] [stdout] src/screen.rs - screen::Screen::get_pxl (line 637) [INFO] [stdout] src/screen.rs - screen::Screen::line (line 283) [INFO] [stdout] src/screen.rs - screen::Screen::print (line 131) [INFO] [stdout] src/screen.rs - screen::Screen::print_fbg (line 143) [INFO] [stdout] src/screen.rs - screen::Screen::print_screen (line 215) [INFO] [stdout] src/screen.rs - screen::Screen::rect (line 360) [INFO] [stdout] src/screen.rs - screen::Screen::resize (line 659) [INFO] [stdout] src/screen.rs - screen::Screen::set_pxl (line 622) [INFO] [stdout] src/screen.rs - screen::Screen::triangle (line 481) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 49 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b262dedaffa99b0e564ff36bb0e705836aabf1f9f5cf748553dd80b12bf94aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b262dedaffa99b0e564ff36bb0e705836aabf1f9f5cf748553dd80b12bf94aa5", kill_on_drop: false }` [INFO] [stdout] b262dedaffa99b0e564ff36bb0e705836aabf1f9f5cf748553dd80b12bf94aa5