[INFO] crate gameboard 0.1.0 is already in cache [INFO] testing gameboard-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate gameboard 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate gameboard 0.1.0 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 gameboard 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gameboard 0.1.0 [INFO] tweaked toml for crates.io crate gameboard 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5e9aee8c9965beb0ebff521254b14876bd8868961a5de15fbed9f442f3b328e8 [INFO] running `"docker" "start" "-a" "5e9aee8c9965beb0ebff521254b14876bd8868961a5de15fbed9f442f3b328e8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling gameboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.39s [INFO] running `"docker" "inspect" "5e9aee8c9965beb0ebff521254b14876bd8868961a5de15fbed9f442f3b328e8"` [INFO] running `"docker" "rm" "-f" "5e9aee8c9965beb0ebff521254b14876bd8868961a5de15fbed9f442f3b328e8"` [INFO] [stdout] 5e9aee8c9965beb0ebff521254b14876bd8868961a5de15fbed9f442f3b328e8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] d3290058a2b6ed817ab4a55faaba128904b258d7b7cb9a405279a281a7791ba8 [INFO] running `"docker" "start" "-a" "d3290058a2b6ed817ab4a55faaba128904b258d7b7cb9a405279a281a7791ba8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling gameboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.44s [INFO] running `"docker" "inspect" "d3290058a2b6ed817ab4a55faaba128904b258d7b7cb9a405279a281a7791ba8"` [INFO] running `"docker" "rm" "-f" "d3290058a2b6ed817ab4a55faaba128904b258d7b7cb9a405279a281a7791ba8"` [INFO] [stdout] d3290058a2b6ed817ab4a55faaba128904b258d7b7cb9a405279a281a7791ba8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 3e3de1ac92c663aad0456963520244b2abc5ec417d619ccfe884b2850ea4b95d [INFO] running `"docker" "start" "-a" "3e3de1ac92c663aad0456963520244b2abc5ec417d619ccfe884b2850ea4b95d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gameboard-788d600488504206 [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 gameboard [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/board.rs - board::Board::init_from_str (line 153) ... FAILED [INFO] [stdout] test src/board.rs - board::Board::init_from_vec (line 120) ... FAILED [INFO] [stdout] test src/board.rs - board::Board::new (line 70) ... FAILED [INFO] [stdout] test src/game.rs - game::Game::show_message (line 434) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor::new (line 58) ... FAILED [INFO] [stdout] test src/board.rs - board::Board::init_from_str (line 158) ... FAILED [INFO] [stdout] test src/info.rs - info::Info::new (line 63) ... FAILED [INFO] [stdout] test src/game.rs - game::Game::update_info (line 391) ... FAILED [INFO] [stdout] test src/cursor.rs - cursor::Cursor::new (line 72) ... FAILED [INFO] [stdout] test src/game.rs - game::Game::update_cells (line 375) ... FAILED [INFO] [stdout] test src/game.rs - game::Game>, L>::new (line 97) ... ok [INFO] [stdout] test src/cell.rs - cell::Cell::Content (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/board.rs - board::Board::init_from_str (line 153) stdout ---- [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> src/board.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 5 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/board.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 3 | let mut board = Board::new(4, 4, 1, 1, false, None)); [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board.rs - board::Board::init_from_vec (line 120) stdout ---- [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> src/board.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/board.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 3 | let mut board = Board::new(2, 2, 1, 1, false, None)); [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board.rs - board::Board::new (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ResourceTable` [INFO] [stdout] --> src/board.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 4 | let mut res = ResourceTable::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ResourceTable` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Board` [INFO] [stdout] --> src/board.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 9 | let mut board = Board::new(3, 3, 10, 5, true, Some(create_resources())); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Board` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceTable` in this scope [INFO] [stdout] --> src/board.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 3 | fn create_resources() -> ResourceTable { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::ResourceTable; [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::board::ResourceTable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/game.rs - game::Game::show_message (line 434) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/game.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 3 | game.show_message(&[ [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/cursor.rs - cursor::Cursor::new (line 58) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/cursor.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 5 | Key::Char('a') | Key::Left => Some(Direction::Left), [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/cursor.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 5 | Key::Char('a') | Key::Left => Some(Direction::Left), [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Direction` [INFO] [stdout] --> src/cursor.rs:61:44 [INFO] [stdout] | [INFO] [stdout] 5 | Key::Char('a') | Key::Left => Some(Direction::Left), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Direction` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/cursor.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 6 | Key::Char('s') | Key::Down => Some(Direction::Down), [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/cursor.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 6 | Key::Char('s') | Key::Down => Some(Direction::Down), [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Direction` [INFO] [stdout] --> src/cursor.rs:62:44 [INFO] [stdout] | [INFO] [stdout] 6 | Key::Char('s') | Key::Down => Some(Direction::Down), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Direction` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/cursor.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 7 | Key::Char('w') | Key::Up => Some(Direction::Up), [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/cursor.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 7 | Key::Char('w') | Key::Up => Some(Direction::Up), [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Direction` [INFO] [stdout] --> src/cursor.rs:63:42 [INFO] [stdout] | [INFO] [stdout] 7 | Key::Char('w') | Key::Up => Some(Direction::Up), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Direction` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Key` [INFO] [stdout] --> src/cursor.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 8 | Key::Char('d') | Key::Right => Some(Direction::Right), [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/cursor.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 8 | Key::Char('d') | Key::Right => Some(Direction::Right), [INFO] [stdout] | ^^^ use of undeclared type or module `Key` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Direction` [INFO] [stdout] --> src/cursor.rs:64:45 [INFO] [stdout] | [INFO] [stdout] 8 | Key::Char('d') | Key::Right => Some(Direction::Right), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Direction` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/cursor.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_direction_default(key: Key) -> Option { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use termion::event::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Direction` in this scope [INFO] [stdout] --> src/cursor.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_direction_default(key: Key) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::cursor::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/board.rs - board::Board::init_from_str (line 158) stdout ---- [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> src/board.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 9 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/board.rs:159:52 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 3 | let mut board = Board::new(4, 4, 1, 1, false, None)); [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/info.rs - info::Info::new (line 63) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Board` [INFO] [stdout] --> src/info.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 3 | let board = Board::new(5, 5, 10, 5, true, None); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Board` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Info` [INFO] [stdout] --> src/info.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 4 | let info = Info::new(15, InfoLayout::Top, &[ [INFO] [stdout] | ^^^^ use of undeclared type or module `Info` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `InfoLayout` [INFO] [stdout] --> src/info.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 4 | let info = Info::new(15, InfoLayout::Top, &[ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `InfoLayout` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/game.rs - game::Game::update_info (line 391) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/game.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 3 | game.update_info(&[ [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/cursor.rs - cursor::Cursor::new (line 72) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor` [INFO] [stdout] --> src/cursor.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 6 | let cursor = Cursor::new(color::Rgb(0, 0, 200), START_POSITION, true, None); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Cursor` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position` in this scope [INFO] [stdout] --> src/cursor.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 5 | const START_POSITION: Position = Position(1, 1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::Position; [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::game::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Position` in this scope [INFO] [stdout] --> src/cursor.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 5 | const START_POSITION: Position = Position(1, 1); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::Position; [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::game::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/game.rs - game::Game::update_cells (line 375) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `CellUpdates` [INFO] [stdout] --> src/game.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut updates = CellUpdates::with_capacity(2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `CellUpdates` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/game.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 4 | updates.push((Cell::Empty, Position(0, 1))); [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/game.rs:378:15 [INFO] [stdout] | [INFO] [stdout] 5 | updates.push((Cell::Char('x'), Position(0, 2))); [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Position` in this scope [INFO] [stdout] --> src/game.rs:377:28 [INFO] [stdout] | [INFO] [stdout] 4 | updates.push((Cell::Empty, Position(0, 1))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::Position; [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::game::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Position` in this scope [INFO] [stdout] --> src/game.rs:378:32 [INFO] [stdout] | [INFO] [stdout] 5 | updates.push((Cell::Char('x'), Position(0, 2))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::Position; [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::game::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `game` in this scope [INFO] [stdout] --> src/game.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 6 | game.update_cells(updates); [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/cell.rs - cell::Cell::Content (line 40) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ResourceTable` [INFO] [stdout] --> src/cell.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res = ResourceTable::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `ResourceTable` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor` [INFO] [stdout] --> src/cell.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 12 | let cursor = Cursor::new(color::Rgb(0, 0, 200), Position(0, 0), true, None); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Cursor` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Board` [INFO] [stdout] --> src/cell.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut board = Board::new(3, 3, 6, 3, true, Some(create_resources())); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Board` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 16 | Cell::Empty, [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 17 | Cell::ResourceId(0), [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 18 | Cell::ResourceId(1), [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 19 | Cell::Char('z'), [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 20 | Cell::Char('▒'), [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 21 | Cell::Content( [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 27 | Cell::Content( [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 36 | Cell::Content( [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cell` [INFO] [stdout] --> src/cell.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 41 | Cell::Content( [INFO] [stdout] | ^^^^ use of undeclared type or module `Cell` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceTable` in this scope [INFO] [stdout] --> src/cell.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn create_resources() -> ResourceTable { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::ResourceTable; [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::board::ResourceTable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Position` in this scope [INFO] [stdout] --> src/cell.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 12 | let cursor = Cursor::new(color::Rgb(0, 0, 200), Position(0, 0), true, None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::Position; [INFO] [stdout] | [INFO] [stdout] 2 | use gameboard::game::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/board.rs - board::Board::init_from_str (line 153) [INFO] [stdout] src/board.rs - board::Board::init_from_str (line 158) [INFO] [stdout] src/board.rs - board::Board::init_from_vec (line 120) [INFO] [stdout] src/board.rs - board::Board::new (line 70) [INFO] [stdout] src/cell.rs - cell::Cell::Content (line 40) [INFO] [stdout] src/cursor.rs - cursor::Cursor::new (line 58) [INFO] [stdout] src/cursor.rs - cursor::Cursor::new (line 72) [INFO] [stdout] src/game.rs - game::Game::show_message (line 434) [INFO] [stdout] src/game.rs - game::Game::update_cells (line 375) [INFO] [stdout] src/game.rs - game::Game::update_info (line 391) [INFO] [stdout] src/info.rs - info::Info::new (line 63) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "3e3de1ac92c663aad0456963520244b2abc5ec417d619ccfe884b2850ea4b95d"` [INFO] running `"docker" "rm" "-f" "3e3de1ac92c663aad0456963520244b2abc5ec417d619ccfe884b2850ea4b95d"` [INFO] [stdout] 3e3de1ac92c663aad0456963520244b2abc5ec417d619ccfe884b2850ea4b95d