[INFO] cloning repository https://github.com/bencecile/absolute_defence [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bencecile/absolute_defence" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencecile%2Fabsolute_defence", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencecile%2Fabsolute_defence'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b544f94bb8e324aa8b2c73c874f10d37fffa2234 [INFO] documenting bencecile/absolute_defence against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbencecile%2Fabsolute_defence" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bencecile/absolute_defence on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/bencecile/absolute_defence already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "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] 53cefad991320c5b5d16874ebc13f515b8419d3527f36fdb16888cca8fdc2250 [INFO] running `Command { std: "docker" "start" "-a" "53cefad991320c5b5d16874ebc13f515b8419d3527f36fdb16888cca8fdc2250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53cefad991320c5b5d16874ebc13f515b8419d3527f36fdb16888cca8fdc2250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53cefad991320c5b5d16874ebc13f515b8419d3527f36fdb16888cca8fdc2250", kill_on_drop: false }` [INFO] [stdout] 53cefad991320c5b5d16874ebc13f515b8419d3527f36fdb16888cca8fdc2250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] 9ef15574163460b066a7484d8624149b7242d346807380153a180479068bd559 [INFO] running `Command { std: "docker" "start" "-a" "9ef15574163460b066a7484d8624149b7242d346807380153a180479068bd559", kill_on_drop: false }` [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking js-sys v0.3.44 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking web-sys v0.3.44 [INFO] [stderr] Documenting absolute_defence v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `commons` [INFO] [stdout] --> src/world.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod commons; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `commons`, create file "src/world/commons.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::common` [INFO] [stdout] --> src/world/enemy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | common::{MovementStatus}, [INFO] [stdout] | ^^^^^^ could not find `common` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::common` [INFO] [stdout] --> src/world/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | common::{MovementStatus}, [INFO] [stdout] | ^^^^^^ could not find `common` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::math::probablility` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | probablility::{RollTable}, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `probablility` in `math` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CanvasRenderingContex2d` in this scope [INFO] [stdout] --> src/render.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(context: &CanvasRenderingContex2d, width: f64, height: f64) -> DrawingKit<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `CanvasRenderingContext2d` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/web-sys-0.3.44/src/features/gen_CanvasRenderingContext2d.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[wasm_bindgen] [INFO] [stdout] | --------------- similarly named struct `CanvasRenderingContext2d` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `World` in this scope [INFO] [stdout] --> src/render.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn draw_world(&self, world: &World) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::World; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position` in this scope [INFO] [stdout] --> src/world/enemy.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn is_in_range(&self, target: Position) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/world/enemy.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn attack(&mut self, time_delta: f64, player: &mut Player) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::world::Player; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position` in this scope [INFO] [stdout] --> src/world/enemy.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn position(&self) -> Position { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position` in this scope [INFO] [stdout] --> src/world/enemy.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn turn_towards(&mut self, target: Position) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Position` in this scope [INFO] [stdout] --> src/world/enemy.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn spawn(self, position: Position, direction: Direction) -> Enemy { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Direction` in this scope [INFO] [stdout] --> src/world/enemy.rs:53:55 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn spawn(self, position: Position, direction: Direction) -> Enemy { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `absolute_defence`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type cdylib --crate-name absolute_defence src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="console_error_panic_hook"' --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern console_error_panic_hook=/opt/rustwide/target/debug/deps/libconsole_error_panic_hook-47ff62646cfdd6ce.rmeta --extern fixedbitset=/opt/rustwide/target/debug/deps/libfixedbitset-4e1e1cff85be3b97.rmeta --extern getrandom=/opt/rustwide/target/debug/deps/libgetrandom-acb7ebfb3a4fde5a.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-135548f4abe7cc11.rmeta --extern wasm_bindgen=/opt/rustwide/target/debug/deps/libwasm_bindgen-6999d37e60804acd.rmeta --extern web_sys=/opt/rustwide/target/debug/deps/libweb_sys-588cab460392d825.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "9ef15574163460b066a7484d8624149b7242d346807380153a180479068bd559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef15574163460b066a7484d8624149b7242d346807380153a180479068bd559", kill_on_drop: false }` [INFO] [stdout] 9ef15574163460b066a7484d8624149b7242d346807380153a180479068bd559