[INFO] updating cached repository https://github.com/bencecile/absolute_defence [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b544f94bb8e324aa8b2c73c874f10d37fffa2234 [INFO] testing bencecile/absolute_defence against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencecile%2Fabsolute_defence" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bencecile/absolute_defence on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/bencecile/absolute_defence [INFO] finished tweaking git repo https://github.com/bencecile/absolute_defence [INFO] tweaked toml for git repo https://github.com/bencecile/absolute_defence written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/bencecile/absolute_defence already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 6693bece8c14a1bb1f7938ad7c8c5c96b9a4495f5ab6759c3c83069bcc963317 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6693bece8c14a1bb1f7938ad7c8c5c96b9a4495f5ab6759c3c83069bcc963317"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Compiling js-sys v0.3.40 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.40 [INFO] [stderr] Compiling absolute_defence v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0583]: file not found for module `commons` [INFO] [stderr] --> src/world.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | mod commons; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: to create the module `commons`, create file "src/world/commons.rs" [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::common` [INFO] [stderr] --> src/world/enemy.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | common::{MovementStatus}, [INFO] [stderr] | ^^^^^^ could not find `common` in `super` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::common` [INFO] [stderr] --> src/world/player.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | common::{MovementStatus}, [INFO] [stderr] | ^^^^^^ could not find `common` in `super` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::math::probablility` [INFO] [stderr] --> src/world.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | probablility::{RollTable}, [INFO] [stderr] | ^^^^^^^^^^^^ could not find `probablility` in `math` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `CanvasRenderingContex2d` in this scope [INFO] [stderr] --> src/render.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(context: &CanvasRenderingContex2d, width: f64, height: f64) -> DrawingKit<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `CanvasRenderingContext2d` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/web-sys-0.3.40/src/features/gen_CanvasRenderingContext2d.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[wasm_bindgen] [INFO] [stderr] | --------------- similarly named struct `CanvasRenderingContext2d` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `World` in this scope [INFO] [stderr] --> src/render.rs:20:38 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn draw_world(&self, world: &World) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::world::World; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | context.save(); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | context.set_fill_style(&("black".into())); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | context.stroke_rect(75.0, 140.0, 150.0, 110.0); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | context.fill_rect(130.0, 190.0, 40.0, 60.0); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | context.begin_path(); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | context.move_to(50.0, 140.0); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | context.line_to(150.0, 60.0); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | context.line_to(250.0, 140.0); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | context.close_path(); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | context.stroke(); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `context` in this scope [INFO] [stderr] --> src/render.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | context.restore(); [INFO] [stderr] | ^^^^^^^ help: you might have meant to use the available field: `self.context` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Position` in this scope [INFO] [stderr] --> src/world/enemy.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn is_in_range(&self, target: Position) -> bool { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::math::Position; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Player` in this scope [INFO] [stderr] --> src/world/enemy.rs:23:60 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn attack(&mut self, time_delta: f64, player: &mut Player) { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::world::player::Player; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Position` in this scope [INFO] [stderr] --> src/world/enemy.rs:37:31 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn position(&self) -> Position { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::math::Position; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Position` in this scope [INFO] [stderr] --> src/world/enemy.rs:43:44 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn turn_towards(&mut self, target: Position) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::math::Position; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Position` in this scope [INFO] [stderr] --> src/world/enemy.rs:53:34 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn spawn(self, position: Position, direction: Direction) -> Enemy { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::math::Position; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Direction` in this scope [INFO] [stderr] --> src/world/enemy.rs:53:55 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn spawn(self, position: Position, direction: Direction) -> Enemy { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 | use crate::math::Direction; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Enemy` [INFO] [stderr] --> src/lib.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | world::{Enemy, EnemyType, World}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/math/probability.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | impl RollTable { [INFO] [stderr] | ^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0583. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `absolute_defence`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6693bece8c14a1bb1f7938ad7c8c5c96b9a4495f5ab6759c3c83069bcc963317"` [INFO] running `"docker" "rm" "-f" "6693bece8c14a1bb1f7938ad7c8c5c96b9a4495f5ab6759c3c83069bcc963317"` [INFO] [stdout] 6693bece8c14a1bb1f7938ad7c8c5c96b9a4495f5ab6759c3c83069bcc963317