[INFO] cloning repository https://github.com/AnickaBurova/roguelike-dwemthys [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnickaBurova/roguelike-dwemthys" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Froguelike-dwemthys", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Froguelike-dwemthys'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f97c584f1efe38a1d5559d32beb292ac809e6d51 [INFO] checking AnickaBurova/roguelike-dwemthys against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Froguelike-dwemthys" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnickaBurova/roguelike-dwemthys on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnickaBurova/roguelike-dwemthys [INFO] finished tweaking git repo https://github.com/AnickaBurova/roguelike-dwemthys [INFO] tweaked toml for git repo https://github.com/AnickaBurova/roguelike-dwemthys written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/AnickaBurova/roguelike-dwemthys already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba2fb841c491c192fa89bcd5dd2c217ccecc6ddc64c1cb2dac71b47b96c2accb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ba2fb841c491c192fa89bcd5dd2c217ccecc6ddc64c1cb2dac71b47b96c2accb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba2fb841c491c192fa89bcd5dd2c217ccecc6ddc64c1cb2dac71b47b96c2accb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2fb841c491c192fa89bcd5dd2c217ccecc6ddc64c1cb2dac71b47b96c2accb", kill_on_drop: false }` [INFO] [stdout] ba2fb841c491c192fa89bcd5dd2c217ccecc6ddc64c1cb2dac71b47b96c2accb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d61fdfd446017e041a97a52d9ed2cbf56b41398580c647795c0c4a29bf922a6 [INFO] running `Command { std: "docker" "start" "-a" "0d61fdfd446017e041a97a52d9ed2cbf56b41398580c647795c0c4a29bf922a6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking cgmath v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking collision v0.20.1 [INFO] [stderr] Checking dwemthys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::cell::BorrowState` [INFO] [stdout] --> src/world/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | use std::cell::{RefCell,BorrowState}; [INFO] [stdout] | ^^^^^^^^^^^ no `BorrowState` in `cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | rendering_component : Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor/mod.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pub components : Rc>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor/mod.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn render(&self, rendering_component : &mut RenderingComponent){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor/mod.rs:57:54 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_component( &mut self, cmp: Rc>) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:35:80 [INFO] [stdout] | [INFO] [stdout] 35 | let rand_mover = Rc::new(RefCell::new(RandomMovement{})) as Rc>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | let chase_mover = Rc::new(RefCell::new(ChaseMovement{target: '@'})) as Rc>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:46:80 [INFO] [stdout] | [INFO] [stdout] 46 | let input_mover = Rc::new(RefCell::new(InputMovement{})) as Rc>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::cell::BorrowState` [INFO] [stdout] --> src/world/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | use std::cell::{RefCell,BorrowState}; [INFO] [stdout] | ^^^^^^^^^^^ no `BorrowState` in `cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | rendering_component : Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor/mod.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | pub components : Rc>>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor/mod.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn render(&self, rendering_component : &mut RenderingComponent){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RenderingComponent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/actor/mod.rs:57:54 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_component( &mut self, cmp: Rc>) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:35:80 [INFO] [stdout] | [INFO] [stdout] 35 | let rand_mover = Rc::new(RefCell::new(RandomMovement{})) as Rc>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:36:91 [INFO] [stdout] | [INFO] [stdout] 36 | let chase_mover = Rc::new(RefCell::new(ChaseMovement{target: '@'})) as Rc>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:46:80 [INFO] [stdout] | [INFO] [stdout] 46 | let input_mover = Rc::new(RefCell::new(InputMovement{})) as Rc>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/mod.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let bounds = Bounds::new(Point::new(0,0), Point::new(80,50)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `cgmath::point::Point2`, found struct `Point2` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::point::Point2` [INFO] [stdout] found struct `Point2` [INFO] [stdout] = note: perhaps two different versions of crate `cgmath` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/mod.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let bounds = Bounds::new(Point::new(0,0), Point::new(80,50)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `cgmath::point::Point2`, found struct `Point2` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::point::Point2` [INFO] [stdout] found struct `Point2` [INFO] [stdout] = note: perhaps two different versions of crate `cgmath` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/mod.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | let bounds = Bounds::new(Point::new(0,0), Point::new(80,50)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `cgmath::point::Point2`, found struct `Point2` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::point::Point2` [INFO] [stdout] found struct `Point2` [INFO] [stdout] = note: perhaps two different versions of crate `cgmath` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/actor/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | rand::thread_rng().gen_range(game.window_bounds.min().x, game.window_bounds.max().x), [INFO] [stdout] | ^^^^^^^^^ -------------------------- -------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/actor/mod.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | rand::thread_rng().gen_range(game.window_bounds.min().y, game.window_bounds.max().y)), [INFO] [stdout] | ^^^^^^^^^ -------------------------- -------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/world/mod.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | let npc = rand::thread_rng().gen_range(0,npcs.len()); [INFO] [stdout] | ^^^^^^^^^ - ---------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_state` found for reference `&Rc>` in the current scope [INFO] [stdout] --> src/world/mod.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | if actor.borrow_state() != BorrowState::Writing && actor.borrow().display_char == target { [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `borrow_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/movement/mod.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let offset_x = rand::thread_rng().gen_range(-1,2); [INFO] [stdout] | ^^^^^^^^^ -- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `Aabb2` in the current scope [INFO] [stdout] --> src/movement/mod.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | if game.window_bounds.contains(new_pos) { [INFO] [stdout] | ^^^^^^^^ method not found in `Aabb2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use collision::Contains;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/movement/mod.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let offset_y = rand::thread_rng().gen_range(-1,2); [INFO] [stdout] | ^^^^^^^^^ -- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `Aabb2` in the current scope [INFO] [stdout] --> src/movement/mod.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | if game.window_bounds.contains(new_pos) { [INFO] [stdout] | ^^^^^^^^ method not found in `Aabb2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use collision::Contains;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `Aabb2` in the current scope [INFO] [stdout] --> src/movement/mod.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | if game.window_bounds.contains(new_pos) { [INFO] [stdout] | ^^^^^^^^ method not found in `Aabb2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use collision::Contains;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Aabb` [INFO] [stdout] --> src/movement/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use collision::{Aabb}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dwemthys` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/game/mod.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | let bounds = Bounds::new(Point::new(0,0), Point::new(80,50)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected struct `cgmath::point::Point2`, found struct `Point2` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::point::Point2` [INFO] [stdout] found struct `Point2` [INFO] [stdout] = note: perhaps two different versions of crate `cgmath` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/actor/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | rand::thread_rng().gen_range(game.window_bounds.min().x, game.window_bounds.max().x), [INFO] [stdout] | ^^^^^^^^^ -------------------------- -------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/actor/mod.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | rand::thread_rng().gen_range(game.window_bounds.min().y, game.window_bounds.max().y)), [INFO] [stdout] | ^^^^^^^^^ -------------------------- -------------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/world/mod.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 40 | let npc = rand::thread_rng().gen_range(0,npcs.len()); [INFO] [stdout] | ^^^^^^^^^ - ---------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_state` found for reference `&Rc>` in the current scope [INFO] [stdout] --> src/world/mod.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | if actor.borrow_state() != BorrowState::Writing && actor.borrow().display_char == target { [INFO] [stdout] | ^^^^^^^^^^^^ help: there is an associated function with a similar name: `borrow_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/movement/mod.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | let offset_x = rand::thread_rng().gen_range(-1,2); [INFO] [stdout] | ^^^^^^^^^ -- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `Aabb2` in the current scope [INFO] [stdout] --> src/movement/mod.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 36 | if game.window_bounds.contains(new_pos) { [INFO] [stdout] | ^^^^^^^^ method not found in `Aabb2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use collision::Contains;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/movement/mod.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 39 | let offset_y = rand::thread_rng().gen_range(-1,2); [INFO] [stdout] | ^^^^^^^^^ -- - supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `Aabb2` in the current scope [INFO] [stdout] --> src/movement/mod.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | if game.window_bounds.contains(new_pos) { [INFO] [stdout] | ^^^^^^^^ method not found in `Aabb2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use collision::Contains;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for struct `Aabb2` in the current scope [INFO] [stdout] --> src/movement/mod.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | if game.window_bounds.contains(new_pos) { [INFO] [stdout] | ^^^^^^^^ method not found in `Aabb2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use collision::Contains;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Aabb` [INFO] [stdout] --> src/movement/mod.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | use collision::{Aabb}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0d61fdfd446017e041a97a52d9ed2cbf56b41398580c647795c0c4a29bf922a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d61fdfd446017e041a97a52d9ed2cbf56b41398580c647795c0c4a29bf922a6", kill_on_drop: false }` [INFO] [stdout] 0d61fdfd446017e041a97a52d9ed2cbf56b41398580c647795c0c4a29bf922a6