[INFO] crate console_engine 1.0.5 is already in cache [INFO] testing console_engine-1.0.5 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate console_engine 1.0.5 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate console_engine 1.0.5 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate console_engine 1.0.5 [INFO] finished tweaking crates.io crate console_engine 1.0.5 [INFO] tweaked toml for crates.io crate console_engine 1.0.5 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate console_engine 1.0.5 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bde17345aee04efe6ea18e84f5dfe834dd23cd86b8c3eb54278c0c5fe6d8814e [INFO] running `"docker" "start" "-a" "bde17345aee04efe6ea18e84f5dfe834dd23cd86b8c3eb54278c0c5fe6d8814e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling signal-hook v0.1.15 [INFO] [stderr] Compiling crossterm v0.17.5 [INFO] [stderr] Compiling console_engine v1.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `"docker" "inspect" "bde17345aee04efe6ea18e84f5dfe834dd23cd86b8c3eb54278c0c5fe6d8814e"` [INFO] running `"docker" "rm" "-f" "bde17345aee04efe6ea18e84f5dfe834dd23cd86b8c3eb54278c0c5fe6d8814e"` [INFO] [stdout] bde17345aee04efe6ea18e84f5dfe834dd23cd86b8c3eb54278c0c5fe6d8814e [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9bf0dd2d22561e9addbf447266a3eba4e00c3348e589dd2cbae5590c8f45e9b [INFO] running `"docker" "start" "-a" "d9bf0dd2d22561e9addbf447266a3eba4e00c3348e589dd2cbae5590c8f45e9b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling getrandom v0.1.14 [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.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.69s [INFO] running `"docker" "inspect" "d9bf0dd2d22561e9addbf447266a3eba4e00c3348e589dd2cbae5590c8f45e9b"` [INFO] running `"docker" "rm" "-f" "d9bf0dd2d22561e9addbf447266a3eba4e00c3348e589dd2cbae5590c8f45e9b"` [INFO] [stdout] d9bf0dd2d22561e9addbf447266a3eba4e00c3348e589dd2cbae5590c8f45e9b [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stdout] 4841f6858be98cbec6b993d245eb96e34790030208ef22c33c07b755e25a3a26 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "4841f6858be98cbec6b993d245eb96e34790030208ef22c33c07b755e25a3a26"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/console_engine-76ee98f61471bd70 [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 46 tests [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_press (line 647) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed (line 564) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_released (line 712) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::draw (line 422) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::circle (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_circle (line 285) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_screen (line 411) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_rect (line 251) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_held (line 600) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_triangle (line 319) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 768) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_held (line 680) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_pxl (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 744) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_fbg (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::resize (line 366) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_released (line 623) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::rect (line 239) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::triangle (line 297) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_screen (line 196) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::line (line 227) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 582) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_screen (line 381) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_pxl (line 341) ... 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/screen.rs - screen::Screen::fill_rect (line 336) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fbg (line 22) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::circle (line 364) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen (line 24) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fg (line 36) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_circle (line 401) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_screen (line 176) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_triangle (line 466) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::set_pxl (line 583) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::rect (line 321) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::get_pxl (line 598) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_fbg (line 143) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::triangle (line 442) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::line (line 244) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print (line 131) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::resize (line 620) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::check_resize (line 541) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::wait_frame (line 488) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_mouse_press (line 647) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/lib.rs:653: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 type or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:651: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:653: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_key_pressed (line 564) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:568: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:570: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::get_mouse_released (line 712) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/lib.rs:718: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 type or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:716: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:718: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::draw (line 422) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:423: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:424: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::circle (line 272) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.circle(10, 10, 4, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::fill_circle (line 285) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:288: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::get_screen (line 411) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:412: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_rect (line 251) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:254: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::is_key_held (line 600) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:604: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:606: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:606: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:607: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::fill_triangle (line 319) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.fill_triangle(8,8, 4,6, 9,2, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 768) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:769: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::get_mouse_held (line 680) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/lib.rs:686: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 type or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:684: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:686: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::get_pxl (line 353) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:354: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:355:5 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0,0,"Found a 'o'"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 744) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:745: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::print_fbg (line 180) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:184: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::resize (line 366) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:367: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::is_key_released (line 623) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:626: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:627: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:628: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:629: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:630: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:631: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::rect (line 239) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:242: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::triangle (line 297) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:300: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::print_screen (line 196) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:206: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::line (line 227) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:230: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::is_key_pressed_with_modifier (line 582) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `loop` [INFO] [stdout] --> src/lib.rs:583: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:586: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:588: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::set_screen (line 381) stdout ---- [INFO] [stdout] error: expected `;`, found `scr` [INFO] [stdout] --> src/lib.rs:383: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 type or module `Screen` [INFO] [stdout] --> src/lib.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut scr = Screen::new(40,10) [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Screen` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `pixel` [INFO] [stdout] --> src/lib.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 5 | scr.rect(0,0,39,9, pixel::pxl("#")); [INFO] [stdout] | ^^^^^ use of undeclared type or module `pixel` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:388: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:390: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:394: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::print (line 168) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:169: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:170: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:170:41 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0, 4, format!("Score: {}", score).as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::set_pxl (line 341) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:344: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:344: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/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/screen.rs - screen::Screen::fill_rect (line 336) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:339: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_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/screen.rs - screen::Screen::circle (line 364) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:367: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 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `screen` [INFO] [stdout] --> src/screen.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut scr = screen::Screen::new(20,11); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `screen` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pixel.rs - pixel::pxl_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::fill_circle (line 401) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:404: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::print_screen (line 176) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:186: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::fill_triangle (line 466) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:469: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::set_pxl (line 583) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:586: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:586: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 321) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:324: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::get_pxl (line 598) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:599: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:600: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::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/screen.rs - screen::Screen::triangle (line 442) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:445: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::line (line 244) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:247: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::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::resize (line 620) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `screen` in this scope [INFO] [stdout] --> src/screen.rs:621: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 541) 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:109:20 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55920a82c305 - backtrace::backtrace::libunwind::trace::h07c956be65d9b461 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55920a82c305 - backtrace::backtrace::trace_unsynchronized::h2fdb9e4177ad4d20 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55920a82c305 - std::sys_common::backtrace::_print_fmt::ha62d8426311107ac [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55920a82c305 - ::fmt::h3ec6bdab62f1e8d9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55920a84e60c - core::fmt::write::h935cb0ed4078a853 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55920a829933 - std::io::Write::write_fmt::hc912aacf8d691eb3 [INFO] [stdout] at src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55920a82e850 - std::sys_common::backtrace::_print::h460db802d801ccf8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x55920a82e850 - std::sys_common::backtrace::print::h399d664f56640530 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x55920a82e850 - std::panicking::default_hook::{{closure}}::hc6dfd87957c765b8 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x55920a82e59c - std::panicking::default_hook::hfdceba6d6d1a18ae [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x55920a82ee87 - std::panicking::rust_panic_with_hook::hd01e282bff1b1e63 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 11: 0x55920a82ea8b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:388 [INFO] [stdout] 12: 0x55920a84da11 - core::panicking::panic_fmt::habd7df443069602c [INFO] [stdout] at src/libcore/panicking.rs:101 [INFO] [stdout] 13: 0x55920a84d833 - core::option::expect_none_failed::h721078758a086285 [INFO] [stdout] at src/libcore/option.rs:1272 [INFO] [stdout] 14: 0x55920a7a0dbe - core::result::Result::unwrap::h736065e6176fe3c3 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x55920a79babc - console_engine::ConsoleEngine::init_fill::h67efdb941ccd196e [INFO] [stdout] at src/lib.rs:109 [INFO] [stdout] 16: 0x55920a79b385 - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x55920a79b293 - std::rt::lang_start::{{closure}}::h5f92bcc9991fb652 [INFO] [stdout] 18: 0x55920a82f258 - std::rt::lang_start_internal::{{closure}}::haabc9d435e1b0c2f [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x55920a82f258 - std::panicking::try::do_call::h54d9370b0ac83700 [INFO] [stdout] at src/libstd/panicking.rs:297 [INFO] [stdout] 20: 0x55920a82f258 - std::panicking::try::h85e1c41421d5b6f9 [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x55920a82f258 - std::panic::catch_unwind::hfd957e6c9fdcf274 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55920a82f258 - std::rt::lang_start_internal::hed9744eef32ef5a1 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x55920a79b278 - std::rt::lang_start::h66e0318a0fda6501 [INFO] [stdout] 24: 0x55920a79b3eb - main [INFO] [stdout] 25: 0x7f5743ac20b3 - __libc_start_main [INFO] [stdout] 26: 0x55920a79b17e - _start [INFO] [stdout] 27: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine (line 36) 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:87:20 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55c53998b855 - backtrace::backtrace::libunwind::trace::h07c956be65d9b461 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55c53998b855 - backtrace::backtrace::trace_unsynchronized::h2fdb9e4177ad4d20 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55c53998b855 - std::sys_common::backtrace::_print_fmt::ha62d8426311107ac [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55c53998b855 - ::fmt::h3ec6bdab62f1e8d9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55c5399ae06c - core::fmt::write::h935cb0ed4078a853 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55c539988e83 - std::io::Write::write_fmt::hc912aacf8d691eb3 [INFO] [stdout] at src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55c53998dda0 - std::sys_common::backtrace::_print::h460db802d801ccf8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x55c53998dda0 - std::sys_common::backtrace::print::h399d664f56640530 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x55c53998dda0 - std::panicking::default_hook::{{closure}}::hc6dfd87957c765b8 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x55c53998daec - std::panicking::default_hook::hfdceba6d6d1a18ae [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x55c53998e3d7 - std::panicking::rust_panic_with_hook::hd01e282bff1b1e63 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 11: 0x55c53998dfdb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:388 [INFO] [stdout] 12: 0x55c5399ad471 - core::panicking::panic_fmt::habd7df443069602c [INFO] [stdout] at src/libcore/panicking.rs:101 [INFO] [stdout] 13: 0x55c5399ad293 - core::option::expect_none_failed::h721078758a086285 [INFO] [stdout] at src/libcore/option.rs:1272 [INFO] [stdout] 14: 0x55c5398fbfce - core::result::Result::unwrap::h736065e6176fe3c3 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x55c5398f37be - console_engine::ConsoleEngine::init::h040f1414af309dd6 [INFO] [stdout] at src/lib.rs:87 [INFO] [stdout] 16: 0x55c5398f3451 - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x55c5398f3293 - std::rt::lang_start::{{closure}}::h5f92bcc9991fb652 [INFO] [stdout] 18: 0x55c53998e7a8 - std::rt::lang_start_internal::{{closure}}::haabc9d435e1b0c2f [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x55c53998e7a8 - std::panicking::try::do_call::h54d9370b0ac83700 [INFO] [stdout] at src/libstd/panicking.rs:297 [INFO] [stdout] 20: 0x55c53998e7a8 - std::panicking::try::h85e1c41421d5b6f9 [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x55c53998e7a8 - std::panic::catch_unwind::hfd957e6c9fdcf274 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55c53998e7a8 - std::rt::lang_start_internal::hed9744eef32ef5a1 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x55c5398f3278 - std::rt::lang_start::h66e0318a0fda6501 [INFO] [stdout] 24: 0x55c5398f36eb - main [INFO] [stdout] 25: 0x7fe9724500b3 - __libc_start_main [INFO] [stdout] 26: 0x55c5398f317e - _start [INFO] [stdout] 27: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::wait_frame (line 488) 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:87:20 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x561adb0e4575 - backtrace::backtrace::libunwind::trace::h07c956be65d9b461 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x561adb0e4575 - backtrace::backtrace::trace_unsynchronized::h2fdb9e4177ad4d20 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x561adb0e4575 - std::sys_common::backtrace::_print_fmt::ha62d8426311107ac [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x561adb0e4575 - ::fmt::h3ec6bdab62f1e8d9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x561adb10687c - core::fmt::write::h935cb0ed4078a853 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x561adb0e1ba3 - std::io::Write::write_fmt::hc912aacf8d691eb3 [INFO] [stdout] at src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x561adb0e6ac0 - std::sys_common::backtrace::_print::h460db802d801ccf8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x561adb0e6ac0 - std::sys_common::backtrace::print::h399d664f56640530 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x561adb0e6ac0 - std::panicking::default_hook::{{closure}}::hc6dfd87957c765b8 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x561adb0e680c - std::panicking::default_hook::hfdceba6d6d1a18ae [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x561adb0e70f7 - std::panicking::rust_panic_with_hook::hd01e282bff1b1e63 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 11: 0x561adb0e6cfb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:388 [INFO] [stdout] 12: 0x561adb105c81 - core::panicking::panic_fmt::habd7df443069602c [INFO] [stdout] at src/libcore/panicking.rs:101 [INFO] [stdout] 13: 0x561adb105aa3 - core::option::expect_none_failed::h721078758a086285 [INFO] [stdout] at src/libcore/option.rs:1272 [INFO] [stdout] 14: 0x561adb0599fe - core::result::Result::unwrap::h736065e6176fe3c3 [INFO] [stdout] at /rustc/b7dc83a3f6ca9746fb3d121761c3605477b77d90/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x561adb0544be - console_engine::ConsoleEngine::init::h040f1414af309dd6 [INFO] [stdout] at src/lib.rs:87 [INFO] [stdout] 16: 0x561adb05438e - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x561adb054293 - std::rt::lang_start::{{closure}}::h5f92bcc9991fb652 [INFO] [stdout] 18: 0x561adb0e74c8 - std::rt::lang_start_internal::{{closure}}::haabc9d435e1b0c2f [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x561adb0e74c8 - std::panicking::try::do_call::h54d9370b0ac83700 [INFO] [stdout] at src/libstd/panicking.rs:297 [INFO] [stdout] 20: 0x561adb0e74c8 - std::panicking::try::h85e1c41421d5b6f9 [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x561adb0e74c8 - std::panic::catch_unwind::hfd957e6c9fdcf274 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x561adb0e74c8 - std::rt::lang_start_internal::hed9744eef32ef5a1 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x561adb054278 - std::rt::lang_start::h66e0318a0fda6501 [INFO] [stdout] 24: 0x561adb0543eb - main [INFO] [stdout] 25: 0x7fc2062460b3 - __libc_start_main [INFO] [stdout] 26: 0x561adb05417e - _start [INFO] [stdout] 27: 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 541) [INFO] [stdout] src/lib.rs - ConsoleEngine::circle (line 272) [INFO] [stdout] src/lib.rs - ConsoleEngine::draw (line 422) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_circle (line 285) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_rect (line 251) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_triangle (line 319) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_held (line 680) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_press (line 647) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_mouse_released (line 712) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_pxl (line 353) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_screen (line 411) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_held (line 600) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed (line 564) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 582) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_released (line 623) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 744) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 768) [INFO] [stdout] src/lib.rs - ConsoleEngine::line (line 227) [INFO] [stdout] src/lib.rs - ConsoleEngine::print (line 168) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_fbg (line 180) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_screen (line 196) [INFO] [stdout] src/lib.rs - ConsoleEngine::rect (line 239) [INFO] [stdout] src/lib.rs - ConsoleEngine::resize (line 366) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_pxl (line 341) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_screen (line 381) [INFO] [stdout] src/lib.rs - ConsoleEngine::triangle (line 297) [INFO] [stdout] src/lib.rs - ConsoleEngine::wait_frame (line 488) [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 364) [INFO] [stdout] src/screen.rs - screen::Screen::fill_circle (line 401) [INFO] [stdout] src/screen.rs - screen::Screen::fill_rect (line 336) [INFO] [stdout] src/screen.rs - screen::Screen::fill_triangle (line 466) [INFO] [stdout] src/screen.rs - screen::Screen::get_pxl (line 598) [INFO] [stdout] src/screen.rs - screen::Screen::line (line 244) [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 176) [INFO] [stdout] src/screen.rs - screen::Screen::rect (line 321) [INFO] [stdout] src/screen.rs - screen::Screen::resize (line 620) [INFO] [stdout] src/screen.rs - screen::Screen::set_pxl (line 583) [INFO] [stdout] src/screen.rs - screen::Screen::triangle (line 442) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 46 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "4841f6858be98cbec6b993d245eb96e34790030208ef22c33c07b755e25a3a26"` [INFO] running `"docker" "rm" "-f" "4841f6858be98cbec6b993d245eb96e34790030208ef22c33c07b755e25a3a26"` [INFO] [stdout] 4841f6858be98cbec6b993d245eb96e34790030208ef22c33c07b755e25a3a26