[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f97c584f1efe38a1d5559d32beb292ac809e6d51 [INFO] testing AnickaBurova/roguelike-dwemthys against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnickaBurova%2Froguelike-dwemthys" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnickaBurova/roguelike-dwemthys on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-3/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", 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] 6a586d46c8c793f3feb86ef03a36cb376ab122fe922f2a0622303f960c75488d [INFO] running `Command { std: "docker" "start" "-a" "6a586d46c8c793f3feb86ef03a36cb376ab122fe922f2a0622303f960c75488d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a586d46c8c793f3feb86ef03a36cb376ab122fe922f2a0622303f960c75488d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a586d46c8c793f3feb86ef03a36cb376ab122fe922f2a0622303f960c75488d", kill_on_drop: false }` [INFO] [stdout] 6a586d46c8c793f3feb86ef03a36cb376ab122fe922f2a0622303f960c75488d [INFO] running `Command { std: "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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6400b6b90023038a277f5926a1162acccf3cb8236406830e5e2bb94bdf6e1072 [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" "6400b6b90023038a277f5926a1162acccf3cb8236406830e5e2bb94bdf6e1072", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling cgmath v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling tcod v0.15.0 [INFO] [stderr] Compiling collision v0.20.1 [INFO] [stderr] Compiling 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] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #![feature(borrow_state)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `cgmath::Point2` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::point::Point2` [INFO] [stdout] found struct `cgmath::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 `cgmath::Point2` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `cgmath::point::Point2` [INFO] [stdout] found struct `cgmath::Point2` [INFO] [stdout] = note: perhaps two different versions of crate `cgmath` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow_state` found for reference `&std::rc::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[E0599]: no method named `contains` found for struct `collision::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 `collision::Aabb2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/collision-0.20.1/src/traits.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn contains(&self, _: &RHS) -> bool; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box>` here [INFO] [stdout] | the method is available for `std::sync::Arc>` here [INFO] [stdout] | the method is available for `std::rc::Rc>` here [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 `collision::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 `collision::Aabb2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/collision-0.20.1/src/traits.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn contains(&self, _: &RHS) -> bool; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box>` here [INFO] [stdout] | the method is available for `std::sync::Arc>` here [INFO] [stdout] | the method is available for `std::rc::Rc>` here [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 `collision::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 `collision::Aabb2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/collision-0.20.1/src/traits.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn contains(&self, _: &RHS) -> bool; [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | the method is available for `std::boxed::Box>` here [INFO] [stdout] | the method is available for `std::sync::Arc>` here [INFO] [stdout] | the method is available for `std::rc::Rc>` here [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 8 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dwemthys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6400b6b90023038a277f5926a1162acccf3cb8236406830e5e2bb94bdf6e1072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6400b6b90023038a277f5926a1162acccf3cb8236406830e5e2bb94bdf6e1072", kill_on_drop: false }` [INFO] [stdout] 6400b6b90023038a277f5926a1162acccf3cb8236406830e5e2bb94bdf6e1072