[INFO] cloning repository https://github.com/kstrempel/rusty_ants
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstrempel/rusty_ants" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab75e20128379935e3aa7e1c62c594bbef55089e
[INFO] documenting kstrempel/rusty_ants against beta-2023-04-20 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kstrempel/rusty_ants on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/kstrempel/rusty_ants already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d5edcb65c02896fd71c46e17f06f256964deda0ea6e1f9e6162500d9a97dee97
[INFO] running `Command { std: "docker" "start" "-a" "d5edcb65c02896fd71c46e17f06f256964deda0ea6e1f9e6162500d9a97dee97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5edcb65c02896fd71c46e17f06f256964deda0ea6e1f9e6162500d9a97dee97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5edcb65c02896fd71c46e17f06f256964deda0ea6e1f9e6162500d9a97dee97", kill_on_drop: false }`
[INFO] [stdout] d5edcb65c02896fd71c46e17f06f256964deda0ea6e1f9e6162500d9a97dee97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ffa89c02d36fd288875562b6b6b45dd25dde94f4bf68e5e93116556fbe0bd3e
[INFO] running `Command { std: "docker" "start" "-a" "5ffa89c02d36fd288875562b6b6b45dd25dde94f4bf68e5e93116556fbe0bd3e", kill_on_drop: false }`
[INFO] [stderr]  Documenting rusty_ants v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std`
[INFO] [stdout]  --> src/main.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::rand::distributions::{IndependentSample, Range};
[INFO] [stdout]   |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |   x: uint,
[INFO] [stdout]   |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 |   y: uint
[INFO] [stdout]   |      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:10:53
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec<Point> {
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                ^                                                   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout] 20 +   let result = num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                              ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout] 20 +   let result = (num::pow(2i, a.x - b.y) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:20:58
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                          ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 -   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout] 20 +   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, a.y-b.x));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/main.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |   let counter = range(0u, count);
[INFO] [stdout]    |                       ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                          ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/main.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stdout]    |                                                      ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[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,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=918cb2f57b76531b -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "5ffa89c02d36fd288875562b6b6b45dd25dde94f4bf68e5e93116556fbe0bd3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ffa89c02d36fd288875562b6b6b45dd25dde94f4bf68e5e93116556fbe0bd3e", kill_on_drop: false }`
[INFO] [stdout] 5ffa89c02d36fd288875562b6b6b45dd25dde94f4bf68e5e93116556fbe0bd3e
