[INFO] cloning repository https://github.com/mnaircckel/Rust-Console-Adventure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mnaircckel/Rust-Console-Adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnaircckel%2FRust-Console-Adventure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnaircckel%2FRust-Console-Adventure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c143a3de6cf1bc5929cb3ca4c8eb69c4b5da383b [INFO] documenting mnaircckel/Rust-Console-Adventure against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmnaircckel%2FRust-Console-Adventure" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mnaircckel/Rust-Console-Adventure on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mnaircckel/Rust-Console-Adventure [INFO] finished tweaking git repo https://github.com/mnaircckel/Rust-Console-Adventure [INFO] tweaked toml for git repo https://github.com/mnaircckel/Rust-Console-Adventure written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/mnaircckel/Rust-Console-Adventure already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae3abaf13e2830e17e07c6ebe6dc8a31306c933d36c125011cb3887a127e6ae2 [INFO] running `Command { std: "docker" "start" "-a" "ae3abaf13e2830e17e07c6ebe6dc8a31306c933d36c125011cb3887a127e6ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae3abaf13e2830e17e07c6ebe6dc8a31306c933d36c125011cb3887a127e6ae2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3abaf13e2830e17e07c6ebe6dc8a31306c933d36c125011cb3887a127e6ae2", kill_on_drop: false }` [INFO] [stdout] ae3abaf13e2830e17e07c6ebe6dc8a31306c933d36c125011cb3887a127e6ae2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 776627a0a11d35ff60717b2e07e606de89ca1d1698b2a2c50550b25d20155755 [INFO] running `Command { std: "docker" "start" "-a" "776627a0a11d35ff60717b2e07e606de89ca1d1698b2a2c50550b25d20155755", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/game.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting project v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `project` [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/game.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::File; [INFO] [stdout] | ^^^^^^^^^^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub level: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:16:72 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(running: bool, player: Character, enemy: Character, level: int, monsters: Vec) -> GameState { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name project src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=4a6c2aed3d11f871 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1) [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | level: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | health: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | level : int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | max_health: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | current_health: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: String, level: int, max_health: int, current_health: int, alive: bool) -> Character { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: String, level: int, max_health: int, current_health: int, alive: bool) -> Character { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:46:72 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(name: String, level: int, max_health: int, current_health: int, alive: bool) -> Character { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn attack(&self) -> int{ [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/game.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | fn defend(&mut self, damage: int){ [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "776627a0a11d35ff60717b2e07e606de89ca1d1698b2a2c50550b25d20155755", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776627a0a11d35ff60717b2e07e606de89ca1d1698b2a2c50550b25d20155755", kill_on_drop: false }` [INFO] [stdout] 776627a0a11d35ff60717b2e07e606de89ca1d1698b2a2c50550b25d20155755