[INFO] updating cached repository dobrite/dwemthys-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dobrite/dwemthys-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dobrite/dwemthys-rs" "work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/dobrite/dwemthys-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/dobrite/dwemthys-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dobrite/dwemthys-rs" "work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/dobrite/dwemthys-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/dobrite/dwemthys-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cabcbafb64c6f39fdc89ed23479281b44153c61f [INFO] sha for GitHub repo dobrite/dwemthys-rs: cabcbafb64c6f39fdc89ed23479281b44153c61f [INFO] validating manifest of dobrite/dwemthys-rs on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dobrite/dwemthys-rs on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dobrite/dwemthys-rs [INFO] finished frobbing dobrite/dwemthys-rs [INFO] frobbed toml for dobrite/dwemthys-rs written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/dobrite/dwemthys-rs/Cargo.toml [INFO] started frobbing dobrite/dwemthys-rs [INFO] finished frobbing dobrite/dwemthys-rs [INFO] frobbed toml for dobrite/dwemthys-rs written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/dobrite/dwemthys-rs/Cargo.toml [INFO] crate dobrite/dwemthys-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/dobrite/dwemthys-rs/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/tomassedovic/tcod-rs.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/tomassedovic/tcod-rs.git` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking dobrite/dwemthys-rs against try#f45cc3094ee337acd688771b9234318046b0572d for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-3/try#f45cc3094ee337acd688771b9234318046b0572d:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/dobrite/dwemthys-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 27bff73fe5a175ddb27273a6ffa1e05af539741399ff608147f24dd7d154796d [INFO] running `"docker" "start" "-a" "27bff73fe5a175ddb27273a6ffa1e05af539741399ff608147f24dd7d154796d"` [INFO] [stderr] Compiling tcod-sys v5.0.0 (https://github.com/tomassedovic/tcod-rs.git#4fd224a7) [INFO] [stderr] Checking tcod v0.14.0 (https://github.com/tomassedovic/tcod-rs.git#4fd224a7) [INFO] [stderr] Checking dwemthys v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `self::tcod::KeyState` [INFO] [stderr] --> src/game/mod.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use self::tcod::{KeyState}; [INFO] [stderr] | ^^^^^^^^ no `KeyState` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `self::tcod::background_flag`, `self::tcod::KeyState` [INFO] [stderr] --> src/rendering/mod.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use self::tcod::{Console, background_flag, KeyState}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^ no `KeyState` in the root [INFO] [stderr] | | [INFO] [stderr] | no `background_flag` in the root [INFO] [stderr] | help: a similar name exists in the module: `BackgroundFlag` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/movement/mod.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `self::tcod::Special`, `self::tcod::key_code` [INFO] [stderr] --> src/movement/mod.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use self::tcod::{Special, key_code}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ no `key_code` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Special` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `util::DoesContain`, `util::DoesNotContain`, `util::LeftOfPoint`, `util::RightOfPoint`, `util::OnPointX`, `util::OnPointY`, `util::AbovePoint`, `util::BelowPoint`, `util::PointsEqual`, `util::PointsNotEqual` [INFO] [stderr] --> src/movement/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | DoesContain, [INFO] [stderr] | ^^^^^^^^^^^ no `DoesContain` in `util` [INFO] [stderr] 12 | DoesNotContain, [INFO] [stderr] | ^^^^^^^^^^^^^^ no `DoesNotContain` in `util` [INFO] [stderr] 13 | LeftOfPoint, [INFO] [stderr] | ^^^^^^^^^^^ no `LeftOfPoint` in `util` [INFO] [stderr] 14 | RightOfPoint, [INFO] [stderr] | ^^^^^^^^^^^^ no `RightOfPoint` in `util` [INFO] [stderr] 15 | OnPointX, [INFO] [stderr] | ^^^^^^^^ no `OnPointX` in `util` [INFO] [stderr] 16 | OnPointY, [INFO] [stderr] | ^^^^^^^^ no `OnPointY` in `util` [INFO] [stderr] 17 | AbovePoint, [INFO] [stderr] | ^^^^^^^^^^ no `AbovePoint` in `util` [INFO] [stderr] 18 | BelowPoint, [INFO] [stderr] | ^^^^^^^^^^ no `BelowPoint` in `util` [INFO] [stderr] 19 | PointsEqual, [INFO] [stderr] | ^^^^^^^^^^^ no `PointsEqual` in `util` [INFO] [stderr] 20 | PointsNotEqual [INFO] [stderr] | ^^^^^^^^^^^^^^ no `PointsNotEqual` in `util` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::tcod::KeyState` [INFO] [stderr] --> src/game/mod.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use self::tcod::{KeyState}; [INFO] [stderr] | ^^^^^^^^ no `KeyState` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `self::tcod::background_flag`, `self::tcod::KeyState` [INFO] [stderr] --> src/rendering/mod.rs:2:27 [INFO] [stderr] | [INFO] [stderr] 2 | use self::tcod::{Console, background_flag, KeyState}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^ no `KeyState` in the root [INFO] [stderr] | | [INFO] [stderr] | no `background_flag` in the root [INFO] [stderr] | help: a similar name exists in the module: `BackgroundFlag` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/movement/mod.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `self::tcod::Special`, `self::tcod::key_code` [INFO] [stderr] --> src/movement/mod.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | use self::tcod::{Special, key_code}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ no `key_code` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Special` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `util::DoesContain`, `util::DoesNotContain`, `util::LeftOfPoint`, `util::RightOfPoint`, `util::OnPointX`, `util::OnPointY`, `util::AbovePoint`, `util::BelowPoint`, `util::PointsEqual`, `util::PointsNotEqual` [INFO] [stderr] --> src/movement/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | DoesContain, [INFO] [stderr] | ^^^^^^^^^^^ no `DoesContain` in `util` [INFO] [stderr] 12 | DoesNotContain, [INFO] [stderr] | ^^^^^^^^^^^^^^ no `DoesNotContain` in `util` [INFO] [stderr] 13 | LeftOfPoint, [INFO] [stderr] | ^^^^^^^^^^^ no `LeftOfPoint` in `util` [INFO] [stderr] 14 | RightOfPoint, [INFO] [stderr] | ^^^^^^^^^^^^ no `RightOfPoint` in `util` [INFO] [stderr] 15 | OnPointX, [INFO] [stderr] | ^^^^^^^^ no `OnPointX` in `util` [INFO] [stderr] 16 | OnPointY, [INFO] [stderr] | ^^^^^^^^ no `OnPointY` in `util` [INFO] [stderr] 17 | AbovePoint, [INFO] [stderr] | ^^^^^^^^^^ no `AbovePoint` in `util` [INFO] [stderr] 18 | BelowPoint, [INFO] [stderr] | ^^^^^^^^^^ no `BelowPoint` in `util` [INFO] [stderr] 19 | PointsEqual, [INFO] [stderr] | ^^^^^^^^^^^ no `PointsEqual` in `util` [INFO] [stderr] 20 | PointsNotEqual [INFO] [stderr] | ^^^^^^^^^^^^^^ no `PointsNotEqual` in `util` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stderr] --> src/movement/mod.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | let offset_x = std::rand::task_rng().gen_range(0, 3i32) - 1; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stderr] --> src/movement/mod.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | let offset_y = std::rand::task_rng().gen_range(0, 3i32) - 1; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RightOfPoint` in this scope [INFO] [stderr] --> src/util/mod.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | RightOfPoint [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::XPointRelation::RightOfPoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LeftOfPoint` in this scope [INFO] [stderr] --> src/util/mod.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | LeftOfPoint [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::XPointRelation::LeftOfPoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OnPointX` in this scope [INFO] [stderr] --> src/util/mod.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | OnPointX [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::XPointRelation::OnPointX; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BelowPoint` in this scope [INFO] [stderr] --> src/util/mod.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | BelowPoint [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::YPointRelation::BelowPoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `AbovePoint` in this scope [INFO] [stderr] --> src/util/mod.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | AbovePoint [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::YPointRelation::AbovePoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OnPointY` in this scope [INFO] [stderr] --> src/util/mod.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | OnPointY [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::YPointRelation::OnPointY; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PointsEqual` in this scope [INFO] [stderr] --> src/util/mod.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | PointsEqual [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::PointEquality::PointsEqual; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PointsNotEqual` in this scope [INFO] [stderr] --> src/util/mod.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | PointsNotEqual [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::PointEquality::PointsNotEqual; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DoesContain` in this scope [INFO] [stderr] --> src/util/mod.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | DoesContain [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::Contains::DoesContain; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DoesNotContain` in this scope [INFO] [stderr] --> src/util/mod.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | DoesNotContain [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::Contains::DoesNotContain; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | (bounds.max.x + 1) as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:22:35 [INFO] [stderr] | [INFO] [stderr] 22 | (bounds.max.y + 1) as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:37:45 [INFO] [stderr] | [INFO] [stderr] 37 | self.console.put_char(position.x as int, position.y as int, symbol, background_flag::Set); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:37:64 [INFO] [stderr] | [INFO] [stderr] 37 | self.console.put_char(position.x as int, position.y as int, symbol, background_flag::Set); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/game/mod.rs:41:48 [INFO] [stderr] | [INFO] [stderr] 41 | let rc : Box = box RenderingComponent::new(bounds); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:43:49 [INFO] [stderr] | [INFO] [stderr] 43 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:53:48 [INFO] [stderr] | [INFO] [stderr] 53 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:59:51 [INFO] [stderr] | [INFO] [stderr] 59 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] --> src/game/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub rendering_component: Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] --> src/actor/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub movement_component: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] --> src/actor/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> Actor { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] --> src/actor/mod.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn render(&self, rendering_component: &mut RenderingComponent) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0038, E0412, E0425, E0432, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0038`. [INFO] [stderr] error: Could not compile `dwemthys`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stderr] --> src/movement/mod.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | let offset_x = std::rand::task_rng().gen_range(0, 3i32) - 1; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stderr] --> src/movement/mod.rs:55:29 [INFO] [stderr] | [INFO] [stderr] 55 | let offset_y = std::rand::task_rng().gen_range(0, 3i32) - 1; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RightOfPoint` in this scope [INFO] [stderr] --> src/util/mod.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | RightOfPoint [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::XPointRelation::RightOfPoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `LeftOfPoint` in this scope [INFO] [stderr] --> src/util/mod.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | LeftOfPoint [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::XPointRelation::LeftOfPoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OnPointX` in this scope [INFO] [stderr] --> src/util/mod.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | OnPointX [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::XPointRelation::OnPointX; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `BelowPoint` in this scope [INFO] [stderr] --> src/util/mod.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | BelowPoint [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::YPointRelation::BelowPoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `AbovePoint` in this scope [INFO] [stderr] --> src/util/mod.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | AbovePoint [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::YPointRelation::AbovePoint; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `OnPointY` in this scope [INFO] [stderr] --> src/util/mod.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | OnPointY [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::YPointRelation::OnPointY; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PointsEqual` in this scope [INFO] [stderr] --> src/util/mod.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | PointsEqual [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::PointEquality::PointsEqual; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PointsNotEqual` in this scope [INFO] [stderr] --> src/util/mod.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | PointsNotEqual [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::PointEquality::PointsNotEqual; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DoesContain` in this scope [INFO] [stderr] --> src/util/mod.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 83 | DoesContain [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::Contains::DoesContain; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `DoesNotContain` in this scope [INFO] [stderr] --> src/util/mod.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | DoesNotContain [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use util::Contains::DoesNotContain; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | (bounds.max.x + 1) as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:22:35 [INFO] [stderr] | [INFO] [stderr] 22 | (bounds.max.y + 1) as int, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:37:45 [INFO] [stderr] | [INFO] [stderr] 37 | self.console.put_char(position.x as int, position.y as int, symbol, background_flag::Set); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/rendering/mod.rs:37:64 [INFO] [stderr] | [INFO] [stderr] 37 | self.console.put_char(position.x as int, position.y as int, symbol, background_flag::Set); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/game/mod.rs:41:48 [INFO] [stderr] | [INFO] [stderr] 41 | let rc : Box = box RenderingComponent::new(bounds); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:43:49 [INFO] [stderr] | [INFO] [stderr] 43 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:48:49 [INFO] [stderr] | [INFO] [stderr] 48 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:53:48 [INFO] [stderr] | [INFO] [stderr] 53 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/actor/mod.rs:59:51 [INFO] [stderr] | [INFO] [stderr] 59 | let mc : Box = box MovementComponent::new(bound); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] = help: add #![feature(box_syntax)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] --> src/game/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub rendering_component: Box [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] --> src/actor/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub movement_component: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] --> src/actor/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(x: i32, y: i32, dc: char, mc: Box) -> Actor { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `movement::MovementComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error[E0038]: the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] --> src/actor/mod.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn render(&self, rendering_component: &mut RenderingComponent) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rendering::RenderingComponent` cannot be made into an object [INFO] [stderr] | [INFO] [stderr] = note: method `new` has no receiver [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0038, E0412, E0425, E0432, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0038`. [INFO] [stderr] error: Could not compile `dwemthys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "27bff73fe5a175ddb27273a6ffa1e05af539741399ff608147f24dd7d154796d"` [INFO] running `"docker" "rm" "-f" "27bff73fe5a175ddb27273a6ffa1e05af539741399ff608147f24dd7d154796d"` [INFO] [stdout] 27bff73fe5a175ddb27273a6ffa1e05af539741399ff608147f24dd7d154796d