[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] checking kstrempel/rusty_ants against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kstrempel/rusty_ants on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-12/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 941509bbc6cc08734d266e7df7be93926f34fd7a33307e9664df7a097c2f2eb3
[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" "941509bbc6cc08734d266e7df7be93926f34fd7a33307e9664df7a097c2f2eb3"`
[INFO] [stderr]     Checking 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: 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[E0433]: failed to resolve: use of undeclared type or module `Range`
[INFO] [stderr]   --> src/main.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 |   let range_x = Range::new(0, height);
[INFO] [stderr]    |                 ^^^^^ use of undeclared type or module `Range`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Range`
[INFO] [stderr]   --> src/main.rs:12:17
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let range_y = Range::new(0, width);
[INFO] [stderr]    |                 ^^^^^ use of undeclared type or module `Range`
[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[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/main.rs:14:17
[INFO] [stderr]    |
[INFO] [stderr] 14 |   let counter = range(0u, count);
[INFO] [stderr]    |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stderr]   --> src/main.rs:20:22
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                      ^^^ not found in `num`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stderr]   --> src/main.rs:20:50
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                                                  ^^^ not found in `num`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/main.rs:20:16
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/main.rs:20:30
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                              ^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/main.rs:20:58
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 15 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `rusty_ants`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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[E0433]: failed to resolve: use of undeclared type or module `Range`
[INFO] [stderr]   --> src/main.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 |   let range_x = Range::new(0, height);
[INFO] [stderr]    |                 ^^^^^ use of undeclared type or module `Range`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Range`
[INFO] [stderr]   --> src/main.rs:12:17
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let range_y = Range::new(0, width);
[INFO] [stderr]    |                 ^^^^^ use of undeclared type or module `Range`
[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[E0425]: cannot find function `range` in this scope
[INFO] [stderr]   --> src/main.rs:14:17
[INFO] [stderr]    |
[INFO] [stderr] 14 |   let counter = range(0u, count);
[INFO] [stderr]    |                 ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stderr]   --> src/main.rs:20:22
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                      ^^^ not found in `num`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `pow` in module `num`
[INFO] [stderr]   --> src/main.rs:20:50
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                                                  ^^^ not found in `num`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/main.rs:20:16
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/main.rs:20:30
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                              ^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/main.rs:20:58
[INFO] [stderr]    |
[INFO] [stderr] 20 |   let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x)));
[INFO] [stderr]    |                                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 15 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `rusty_ants`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "941509bbc6cc08734d266e7df7be93926f34fd7a33307e9664df7a097c2f2eb3"`
[INFO] running `"docker" "rm" "-f" "941509bbc6cc08734d266e7df7be93926f34fd7a33307e9664df7a097c2f2eb3"`
[INFO] [stdout] 941509bbc6cc08734d266e7df7be93926f34fd7a33307e9664df7a097c2f2eb3
