[INFO] updating cached repository https://github.com/kstrempel/rusty_ants
[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] ab75e20128379935e3aa7e1c62c594bbef55089e
[INFO] documenting kstrempel/rusty_ants against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kstrempel/rusty_ants on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/kstrempel/rusty_ants
[INFO] finished tweaking git repo https://github.com/kstrempel/rusty_ants
[INFO] tweaked toml for git repo https://github.com/kstrempel/rusty_ants written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kstrempel/rusty_ants already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "RUSTDOCFLAGS=--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" "+1.40.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] 6bf98190f557b499bb51adf602d00fe427166fc05b016a2ae163b3b438407149
[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" "6bf98190f557b499bb51adf602d00fe427166fc05b016a2ae163b3b438407149"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Documenting rusty_ants v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: invalid suffix `u` for integer literal
[INFO] [stderr]   --> src/main.rs:14:23
[INFO] [stderr]    |
[INFO] [stderr] 14 |   let counter = range(0u, count);
[INFO] [stderr]    |                       ^^ invalid suffix `u`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `i` for integer literal
[INFO] [stderr]   --> src/main.rs:20:26
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                          ^^ invalid suffix `i`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `i` for integer literal
[INFO] [stderr]   --> src/main.rs:20:54
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                                                      ^^ invalid suffix `i`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `rand` in `std`
[INFO] [stderr]  --> src/main.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::rand::distributions::{IndependentSample, Range};
[INFO] [stderr]   |          ^^^^ could not find `rand` in `std`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::rand;
[INFO] [stderr]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]  --> src/main.rs:6:6
[INFO] [stderr]   |
[INFO] [stderr] 6 |   x: uint,
[INFO] [stderr]   |      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]  --> src/main.rs:7:6
[INFO] [stderr]   |
[INFO] [stderr] 7 |   y: uint
[INFO] [stderr]   |      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]   --> src/main.rs:10:27
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stderr]    |                           ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]   --> src/main.rs:10:40
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stderr]    |                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]   --> src/main.rs:10:53
[INFO] [stderr]    |
[INFO] [stderr] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stderr]    |                                                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 11 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `rusty_ants`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name rusty_ants src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "6bf98190f557b499bb51adf602d00fe427166fc05b016a2ae163b3b438407149"`
[INFO] running `"docker" "rm" "-f" "6bf98190f557b499bb51adf602d00fe427166fc05b016a2ae163b3b438407149"`
[INFO] [stdout] 6bf98190f557b499bb51adf602d00fe427166fc05b016a2ae163b3b438407149
