[INFO] fetching crate console_engine 0.2.0... [INFO] testing console_engine-0.2.0 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate console_engine 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate console_engine 0.2.0 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate console_engine 0.2.0 [INFO] finished tweaking crates.io crate console_engine 0.2.0 [INFO] tweaked toml for crates.io crate console_engine 0.2.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate console_engine 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 3ec09b9d6c7886ef5148891bad19deba78464d62c614b1fcc3ee41cec77bf031 [INFO] running `"docker" "start" "-a" "3ec09b9d6c7886ef5148891bad19deba78464d62c614b1fcc3ee41cec77bf031"` [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling console_engine v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `"docker" "inspect" "3ec09b9d6c7886ef5148891bad19deba78464d62c614b1fcc3ee41cec77bf031"` [INFO] running `"docker" "rm" "-f" "3ec09b9d6c7886ef5148891bad19deba78464d62c614b1fcc3ee41cec77bf031"` [INFO] [stdout] 3ec09b9d6c7886ef5148891bad19deba78464d62c614b1fcc3ee41cec77bf031 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 6181e2418185c33ceec3d0dea749a884a3e55bbcbbd3edc75d6684297835111a [INFO] running `"docker" "start" "-a" "6181e2418185c33ceec3d0dea749a884a3e55bbcbbd3edc75d6684297835111a"` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [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 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.23s [INFO] running `"docker" "inspect" "6181e2418185c33ceec3d0dea749a884a3e55bbcbbd3edc75d6684297835111a"` [INFO] running `"docker" "rm" "-f" "6181e2418185c33ceec3d0dea749a884a3e55bbcbbd3edc75d6684297835111a"` [INFO] [stdout] 6181e2418185c33ceec3d0dea749a884a3e55bbcbbd3edc75d6684297835111a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 0812cce94ef3f531aed709e6c71cab6ee9a7597dd57017e4bf8cb873f315cb93 [INFO] running `"docker" "start" "-a" "0812cce94ef3f531aed709e6c71cab6ee9a7597dd57017e4bf8cb873f315cb93"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/console_engine-6f46a423bc48eee5 [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 19 tests [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_rect (line 313) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::circle (line 329) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_pressed (line 531) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::fill_circle (line 368) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::get_pxl (line 441) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_held (line 548) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print_fbg (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::draw (line 457) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::is_key_released (line 565) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::line (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::set_pxl (line 425) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::rect (line 297) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::print (line 151) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_bg (line 55) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fg (line 39) ... FAILED [INFO] [stdout] test src/pixel.rs - pixel::pxl_fbg (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine (line 31) ... FAILED [INFO] [stdout] test src/lib.rs - ConsoleEngine::wait_frame (line 493) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::fill_rect (line 313) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:316: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::circle (line 329) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.circle(10, 10, 4, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_key_pressed (line 531) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/lib.rs:535:30 [INFO] [stdout] | [INFO] [stdout] 6 | if engine.is_key_pressed(Key::Char('q')) { [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:533:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:535:8 [INFO] [stdout] | [INFO] [stdout] 6 | if engine.is_key_pressed(Key::Char('q')) { [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::fill_circle (line 368) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.circle(10, 10, 4, pixel::pxl('#')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::get_pxl (line 441) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:442:4 [INFO] [stdout] | [INFO] [stdout] 3 | if engine.get_pxl(3,8).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:443:5 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0,0,"Found a 'o'"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::is_key_held (line 548) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/lib.rs:552:27 [INFO] [stdout] | [INFO] [stdout] 6 | if engine.is_key_held(Key::Char('8')) && pos_y > 0 { [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:552:8 [INFO] [stdout] | [INFO] [stdout] 6 | if engine.is_key_held(Key::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:552:46 [INFO] [stdout] | [INFO] [stdout] 6 | if engine.is_key_held(Key::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:553:9 [INFO] [stdout] | [INFO] [stdout] 7 | pos_y -= 1; // move position upward [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::print_fbg (line 175) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `color` [INFO] [stdout] --> src/lib.rs:177:50 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0,0, String::from("Hello, world!"), color::Blue, color::White); [INFO] [stdout] | ^^^^^ use of undeclared type or module `color` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `color` [INFO] [stdout] --> src/lib.rs:177:63 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0,0, String::from("Hello, world!"), color::Blue, color::White); [INFO] [stdout] | ^^^^^ use of undeclared type or module `color` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0,0, String::from("Hello, world!"), color::Blue, color::White); [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 457) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 3 | engine.print(0,0,String::from("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:459: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::is_key_released (line 565) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/lib.rs:566:23 [INFO] [stdout] | [INFO] [stdout] 3 | if engine.is_key_held(Key::Char('h')) { [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/lib.rs:570:35 [INFO] [stdout] | [INFO] [stdout] 7 | while !engine.is_key_released(Key::Char('h')) { [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:566:4 [INFO] [stdout] | [INFO] [stdout] 3 | if engine.is_key_held(Key::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:567:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:568:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:569:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:570:12 [INFO] [stdout] | [INFO] [stdout] 7 | while !engine.is_key_released(Key::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:571:9 [INFO] [stdout] | [INFO] [stdout] 8 | engine.wait_frame(); // refresh button's states [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::line (line 202) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:205: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::set_pxl (line 425) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:428: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:428:27 [INFO] [stdout] | [INFO] [stdout] 6 | engine.set_pxl(3,8,pixel::pixel('o')); [INFO] [stdout] | ^^^^^ not found in `pixel` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::rect (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.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 73) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 6 | engine.set_pxl(0,0,pixel::pxl('X')); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::print (line 151) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/lib.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 3 | engine.print(0,0, String::from("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:153:1 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0, 4, format!("Score: {}", score)); [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:153:41 [INFO] [stdout] | [INFO] [stdout] 4 | engine.print(0, 4, format!("Score: {}", score)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pixel.rs - pixel::pxl_bg (line 55) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:59: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_fg (line 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `engine` in this scope [INFO] [stdout] --> src/pixel.rs:43: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/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 (line 31) 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: Os { code: 25, kind: Other, message: "Inappropriate ioctl for device" }', src/lib.rs:63:20 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55caecef3db4 - backtrace::backtrace::libunwind::trace::h61666fa4b9834a45 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55caecef3db4 - backtrace::backtrace::trace_unsynchronized::h01d3725fb5da8653 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55caecef3db4 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55caecef3db4 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55caecf1300c - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x55caecef20c3 - std::io::Write::write_fmt::hfb486fa6ccb90f14 [INFO] [stdout] at src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x55caecef6535 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x55caecef6535 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x55caecef6535 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x55caecef6272 - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x55caecef6b92 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 11: 0x55caecef677b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 12: 0x55caecf123f1 - core::panicking::panic_fmt::hc5953a7331f9805c [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 13: 0x55caecf12213 - core::option::expect_none_failed::hf2c575a7b931ce1f [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 14: 0x55caecec731c - core::result::Result::unwrap::h1c56503a8512a673 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x55caeceb3717 - console_engine::ConsoleEngine::init::h615d4e0315434f22 [INFO] [stdout] at src/lib.rs:63 [INFO] [stdout] 16: 0x55caeceb33f1 - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x55caeceb31a3 - std::rt::lang_start::{{closure}}::hd4d3223f97a59432 [INFO] [stdout] 18: 0x55caecef6fd8 - std::rt::lang_start_internal::{{closure}}::h76043ceda1ce1596 [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x55caecef6fd8 - std::panicking::try::do_call::hb3d81a78fdf1ed63 [INFO] [stdout] at src/libstd/panicking.rs:331 [INFO] [stdout] 20: 0x55caecef6fd8 - std::panicking::try::he8d7c35962fb5d7e [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x55caecef6fd8 - std::panic::catch_unwind::h643ad9bfe058a347 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55caecef6fd8 - std::rt::lang_start_internal::h4b0f023744ce345f [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x55caeceb3188 - std::rt::lang_start::h03f94474139bc599 [INFO] [stdout] 24: 0x55caeceb362b - main [INFO] [stdout] 25: 0x7fce161ecb97 - __libc_start_main [INFO] [stdout] 26: 0x55caeceb2eca - _start [INFO] [stdout] 27: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ConsoleEngine::wait_frame (line 493) 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: Os { code: 25, kind: Other, message: "Inappropriate ioctl for device" }', src/lib.rs:63:20 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56333b767db4 - backtrace::backtrace::libunwind::trace::h61666fa4b9834a45 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x56333b767db4 - backtrace::backtrace::trace_unsynchronized::h01d3725fb5da8653 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x56333b767db4 - std::sys_common::backtrace::_print_fmt::h5c7c4751bc296f90 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x56333b767db4 - ::fmt::h7729313ad2d729c7 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x56333b786ffc - core::fmt::write::hb0049f6c12bdaffc [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x56333b7660c3 - std::io::Write::write_fmt::hfb486fa6ccb90f14 [INFO] [stdout] at src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x56333b76a535 - std::sys_common::backtrace::_print::ha087cac92e84a414 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 7: 0x56333b76a535 - std::sys_common::backtrace::print::h6b013d3bfe6cbcb8 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 8: 0x56333b76a535 - std::panicking::default_hook::{{closure}}::h016d7de02def2736 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 9: 0x56333b76a272 - std::panicking::default_hook::h9386f7e484840463 [INFO] [stdout] at src/libstd/panicking.rs:218 [INFO] [stdout] 10: 0x56333b76ab92 - std::panicking::rust_panic_with_hook::h3846eb1b2e5a9312 [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 11: 0x56333b76a77b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:419 [INFO] [stdout] 12: 0x56333b7863e1 - core::panicking::panic_fmt::hc5953a7331f9805c [INFO] [stdout] at src/libcore/panicking.rs:111 [INFO] [stdout] 13: 0x56333b786203 - core::option::expect_none_failed::hf2c575a7b931ce1f [INFO] [stdout] at src/libcore/option.rs:1268 [INFO] [stdout] 14: 0x56333b73e25c - core::result::Result::unwrap::h1c56503a8512a673 [INFO] [stdout] at /rustc/41997647ba6a77908f6ef64401414feb00bccf16/src/libcore/result.rs:1005 [INFO] [stdout] 15: 0x56333b72f1b7 - console_engine::ConsoleEngine::init::h615d4e0315434f22 [INFO] [stdout] at src/lib.rs:63 [INFO] [stdout] 16: 0x56333b72f060 - rust_out::main::hce5147e828914a17 [INFO] [stdout] 17: 0x56333b72ef63 - std::rt::lang_start::{{closure}}::hd4d3223f97a59432 [INFO] [stdout] 18: 0x56333b76afd8 - std::rt::lang_start_internal::{{closure}}::h76043ceda1ce1596 [INFO] [stdout] at src/libstd/rt.rs:52 [INFO] [stdout] 19: 0x56333b76afd8 - std::panicking::try::do_call::hb3d81a78fdf1ed63 [INFO] [stdout] at src/libstd/panicking.rs:331 [INFO] [stdout] 20: 0x56333b76afd8 - std::panicking::try::he8d7c35962fb5d7e [INFO] [stdout] at src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x56333b76afd8 - std::panic::catch_unwind::h643ad9bfe058a347 [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x56333b76afd8 - std::rt::lang_start_internal::h4b0f023744ce345f [INFO] [stdout] at src/libstd/rt.rs:51 [INFO] [stdout] 23: 0x56333b72ef48 - std::rt::lang_start::h03f94474139bc599 [INFO] [stdout] 24: 0x56333b72f0cb - main [INFO] [stdout] 25: 0x7fec0136bb97 - __libc_start_main [INFO] [stdout] 26: 0x56333b72ee2a - _start [INFO] [stdout] 27: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - ConsoleEngine (line 31) [INFO] [stdout] src/lib.rs - ConsoleEngine::circle (line 329) [INFO] [stdout] src/lib.rs - ConsoleEngine::draw (line 457) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_circle (line 368) [INFO] [stdout] src/lib.rs - ConsoleEngine::fill_rect (line 313) [INFO] [stdout] src/lib.rs - ConsoleEngine::get_pxl (line 441) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_held (line 548) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_pressed (line 531) [INFO] [stdout] src/lib.rs - ConsoleEngine::is_key_released (line 565) [INFO] [stdout] src/lib.rs - ConsoleEngine::line (line 202) [INFO] [stdout] src/lib.rs - ConsoleEngine::print (line 151) [INFO] [stdout] src/lib.rs - ConsoleEngine::print_fbg (line 175) [INFO] [stdout] src/lib.rs - ConsoleEngine::rect (line 297) [INFO] [stdout] src/lib.rs - ConsoleEngine::set_pxl (line 425) [INFO] [stdout] src/lib.rs - ConsoleEngine::wait_frame (line 493) [INFO] [stdout] src/pixel.rs - pixel::pxl (line 73) [INFO] [stdout] src/pixel.rs - pixel::pxl_bg (line 55) [INFO] [stdout] src/pixel.rs - pixel::pxl_fbg (line 22) [INFO] [stdout] src/pixel.rs - pixel::pxl_fg (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "0812cce94ef3f531aed709e6c71cab6ee9a7597dd57017e4bf8cb873f315cb93"` [INFO] running `"docker" "rm" "-f" "0812cce94ef3f531aed709e6c71cab6ee9a7597dd57017e4bf8cb873f315cb93"` [INFO] [stdout] 0812cce94ef3f531aed709e6c71cab6ee9a7597dd57017e4bf8cb873f315cb93