[INFO] crate console_engine 1.0.5 is already in cache [INFO] testing console_engine-1.0.5 against 1.44.0 for beta-1.45-1 [INFO] extracting crate console_engine 1.0.5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate console_engine 1.0.5 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-0/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 2294e683e2774b7ee9a77172b038cc77a4aba59f956e5ade582a73a18383e584 [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" "2294e683e2774b7ee9a77172b038cc77a4aba59f956e5ade582a73a18383e584"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling mio v0.6.22 [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.16s [INFO] running `"docker" "inspect" "2294e683e2774b7ee9a77172b038cc77a4aba59f956e5ade582a73a18383e584"` [INFO] running `"docker" "rm" "-f" "2294e683e2774b7ee9a77172b038cc77a4aba59f956e5ade582a73a18383e584"` [INFO] [stdout] 2294e683e2774b7ee9a77172b038cc77a4aba59f956e5ade582a73a18383e584 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+1.44.0" "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] c75720920a6ae82ddcfcb23b2cbff81295d485c138e8b432f64ac39dbfd0a59c [INFO] running `"docker" "start" "-a" "c75720920a6ae82ddcfcb23b2cbff81295d485c138e8b432f64ac39dbfd0a59c"` [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 7.51s [INFO] running `"docker" "inspect" "c75720920a6ae82ddcfcb23b2cbff81295d485c138e8b432f64ac39dbfd0a59c"` [INFO] running `"docker" "rm" "-f" "c75720920a6ae82ddcfcb23b2cbff81295d485c138e8b432f64ac39dbfd0a59c"` [INFO] [stdout] c75720920a6ae82ddcfcb23b2cbff81295d485c138e8b432f64ac39dbfd0a59c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba0889599b67d431c159e480551487c72c5993f59c2aaea93bf38253a6423a70 [INFO] running `"docker" "start" "-a" "ba0889599b67d431c159e480551487c72c5993f59c2aaea93bf38253a6423a70"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/console_engine-46c0d7eff822a683 [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::is_key_held (line 600) ... 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::fill_rect (line 251) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_released (line 712) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_pxl (line 353) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_screen (line 411) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_held (line 680) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_up (line 768) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_released (line 623) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_triangle (line 319) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::line (line 227) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_mouse_press (line 647) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::draw (line 422) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_fbg (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed (line 564) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_screen (line 196) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_screen (line 381) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_mouse_scrolled_down (line 744) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed_with_modifier (line 582) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_pxl (line 341) ... 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 297) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::resize (line 366) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fg (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::rect (line 239) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl (line 72) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen (line 24) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_triangle (line 466) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::circle (line 364) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print (line 131) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::line (line 244) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_circle (line 401) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::get_pxl (line 598) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::fill_rect (line 336) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_fbg (line 143) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::rect (line 321) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::print_screen (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine (line 36) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::resize (line 620) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::set_pxl (line 583) ... FAILED [INFO] [stdout] test src/screen.rs - screen::Screen::triangle (line 442) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::check_resize (line 541) ... 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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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::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_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_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 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::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/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/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/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/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/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::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::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::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::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::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::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/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::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::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/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: 11, kind: WouldBlock, message: "Resource temporarily unavailable" })', src/lib.rs:87:20 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563d360c51b4 - backtrace::backtrace::libunwind::trace::hc1c4a1d8ad423b97 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x563d360c51b4 - backtrace::backtrace::trace_unsynchronized::h82274781060cb056 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x563d360c51b4 - std::sys_common::backtrace::_print_fmt::h2a45d89b653a4da8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x563d360c51b4 - ::fmt::h41a0a93ab85e6aa1 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x563d360e88ec - core::fmt::write::hdaea18585065a96d [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x563d360c26b3 - std::io::Write::write_fmt::h0cea70c809005252 [INFO] [stdout] at src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x563d360c7795 - std::sys_common::backtrace::_print::hd95f9978cc145ca4 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x563d360c7795 - std::sys_common::backtrace::print::hfb25ca2291be47d0 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x563d360c7795 - std::panicking::default_hook::{{closure}}::h44f76cee5dc8591c [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x563d360c74d2 - std::panicking::default_hook::h198e1a712910f1e6 [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x563d360c7df2 - std::panicking::rust_panic_with_hook::hc0b4730bb8013f9d [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 11: 0x563d360c79db - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 12: 0x563d360e7cd1 - core::panicking::panic_fmt::h1ac71ad045d55416 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 13: 0x563d360e7af3 - core::option::expect_none_failed::hb40004d71d61b685 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 14: 0x563d3602da7e - core::result::Result::unwrap::hcff6105c8c0c4999 [INFO] [stdout] at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x563d360227df - console_engine::ConsoleEngine::init::ha74439f6626a8d04 [INFO] [stdout] at src/lib.rs:87 [INFO] [stdout] 16: 0x563d36022451 - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x563d36022293 - std::rt::lang_start::{{closure}}::hb15f61f8249547b1 [INFO] [stdout] 18: 0x563d360c8238 - std::rt::lang_start_internal::{{closure}}::h7a212202ff76034b [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x563d360c8238 - std::panicking::try::do_call::h6d214a73427d759b [INFO] [stdout] at src/libstd/panicking.rs:331 [INFO] [stdout] 20: 0x563d360c8238 - std::panicking::try::hc078f0e11721d1cb [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x563d360c8238 - std::panic::catch_unwind::hb31c05be30625612 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x563d360c8238 - std::rt::lang_start_internal::hcf7fb98a775d5af0 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x563d36022278 - std::rt::lang_start::h80cabc1387d7a5d8 [INFO] [stdout] 24: 0x563d360226fb - main [INFO] [stdout] 25: 0x7f5380efe0b3 - __libc_start_main [INFO] [stdout] 26: 0x563d3602217e - _start [INFO] [stdout] 27: 0x0 - [INFO] [stdout] [INFO] [stdout] [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/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::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/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: 0x557b37dd8c54 - backtrace::backtrace::libunwind::trace::hc1c4a1d8ad423b97 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x557b37dd8c54 - backtrace::backtrace::trace_unsynchronized::h82274781060cb056 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x557b37dd8c54 - std::sys_common::backtrace::_print_fmt::h2a45d89b653a4da8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x557b37dd8c54 - ::fmt::h41a0a93ab85e6aa1 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x557b37dfbebc - core::fmt::write::hdaea18585065a96d [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x557b37dd6153 - std::io::Write::write_fmt::h0cea70c809005252 [INFO] [stdout] at src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x557b37ddb235 - std::sys_common::backtrace::_print::hd95f9978cc145ca4 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x557b37ddb235 - std::sys_common::backtrace::print::hfb25ca2291be47d0 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x557b37ddb235 - std::panicking::default_hook::{{closure}}::h44f76cee5dc8591c [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x557b37ddaf72 - std::panicking::default_hook::h198e1a712910f1e6 [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x557b37ddb892 - std::panicking::rust_panic_with_hook::hc0b4730bb8013f9d [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 11: 0x557b37ddb47b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 12: 0x557b37dfb2a1 - core::panicking::panic_fmt::h1ac71ad045d55416 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 13: 0x557b37dfb0c3 - core::option::expect_none_failed::hb40004d71d61b685 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 14: 0x557b37d45c0e - core::result::Result::unwrap::hcff6105c8c0c4999 [INFO] [stdout] at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x557b37d3eb4c - console_engine::ConsoleEngine::init_fill::h429e3f80d07a0b28 [INFO] [stdout] at src/lib.rs:109 [INFO] [stdout] 16: 0x557b37d3e385 - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x557b37d3e293 - std::rt::lang_start::{{closure}}::hb15f61f8249547b1 [INFO] [stdout] 18: 0x557b37ddbcd8 - std::rt::lang_start_internal::{{closure}}::h7a212202ff76034b [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x557b37ddbcd8 - std::panicking::try::do_call::h6d214a73427d759b [INFO] [stdout] at src/libstd/panicking.rs:331 [INFO] [stdout] 20: 0x557b37ddbcd8 - std::panicking::try::hc078f0e11721d1cb [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x557b37ddbcd8 - std::panic::catch_unwind::hb31c05be30625612 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x557b37ddbcd8 - std::rt::lang_start_internal::hcf7fb98a775d5af0 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x557b37d3e278 - std::rt::lang_start::h80cabc1387d7a5d8 [INFO] [stdout] 24: 0x557b37d3e3fb - main [INFO] [stdout] 25: 0x7fa38023f0b3 - __libc_start_main [INFO] [stdout] 26: 0x557b37d3e17e - _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: 2, kind: NotFound, message: "No such file or directory" })', src/lib.rs:87:20 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55caf08b5ef4 - backtrace::backtrace::libunwind::trace::hc1c4a1d8ad423b97 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55caf08b5ef4 - backtrace::backtrace::trace_unsynchronized::h82274781060cb056 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55caf08b5ef4 - std::sys_common::backtrace::_print_fmt::h2a45d89b653a4da8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55caf08b5ef4 - ::fmt::h41a0a93ab85e6aa1 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55caf08d915c - core::fmt::write::hdaea18585065a96d [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55caf08b33f3 - std::io::Write::write_fmt::h0cea70c809005252 [INFO] [stdout] at src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55caf08b84d5 - std::sys_common::backtrace::_print::hd95f9978cc145ca4 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x55caf08b84d5 - std::sys_common::backtrace::print::hfb25ca2291be47d0 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x55caf08b84d5 - std::panicking::default_hook::{{closure}}::h44f76cee5dc8591c [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x55caf08b8212 - std::panicking::default_hook::h198e1a712910f1e6 [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x55caf08b8b32 - std::panicking::rust_panic_with_hook::hc0b4730bb8013f9d [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 11: 0x55caf08b871b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 12: 0x55caf08d8541 - core::panicking::panic_fmt::h1ac71ad045d55416 [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 13: 0x55caf08d8363 - core::option::expect_none_failed::hb40004d71d61b685 [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 14: 0x55caf08236ee - core::result::Result::unwrap::hcff6105c8c0c4999 [INFO] [stdout] at /rustc/49cae55760da0a43428eba73abcb659bb70cf2e4/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x55caf081c4cf - console_engine::ConsoleEngine::init::ha74439f6626a8d04 [INFO] [stdout] at src/lib.rs:87 [INFO] [stdout] 16: 0x55caf081c38e - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x55caf081c293 - std::rt::lang_start::{{closure}}::hb15f61f8249547b1 [INFO] [stdout] 18: 0x55caf08b8f78 - std::rt::lang_start_internal::{{closure}}::h7a212202ff76034b [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x55caf08b8f78 - std::panicking::try::do_call::h6d214a73427d759b [INFO] [stdout] at src/libstd/panicking.rs:331 [INFO] [stdout] 20: 0x55caf08b8f78 - std::panicking::try::hc078f0e11721d1cb [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x55caf08b8f78 - std::panic::catch_unwind::hb31c05be30625612 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55caf08b8f78 - std::rt::lang_start_internal::hcf7fb98a775d5af0 [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x55caf081c278 - std::rt::lang_start::h80cabc1387d7a5d8 [INFO] [stdout] 24: 0x55caf081c3eb - main [INFO] [stdout] 25: 0x7fc7180a70b3 - __libc_start_main [INFO] [stdout] 26: 0x55caf081c17e - _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" "ba0889599b67d431c159e480551487c72c5993f59c2aaea93bf38253a6423a70"` [INFO] running `"docker" "rm" "-f" "ba0889599b67d431c159e480551487c72c5993f59c2aaea93bf38253a6423a70"` [INFO] [stdout] ba0889599b67d431c159e480551487c72c5993f59c2aaea93bf38253a6423a70