[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab75e20128379935e3aa7e1c62c594bbef55089e [INFO] testing kstrempel/rusty_ants against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstrempel/rusty_ants on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 684c5f3d5d098c70765cfe0bd7130b08ef60492deb9c44882dd270839a2b1bdd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "684c5f3d5d098c70765cfe0bd7130b08ef60492deb9c44882dd270839a2b1bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "684c5f3d5d098c70765cfe0bd7130b08ef60492deb9c44882dd270839a2b1bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "684c5f3d5d098c70765cfe0bd7130b08ef60492deb9c44882dd270839a2b1bdd", kill_on_drop: false }` [INFO] [stdout] 684c5f3d5d098c70765cfe0bd7130b08ef60492deb9c44882dd270839a2b1bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955a1bf90444c700c678e92f9045442568ef53ba548f1659ec6fbb0d1536c1fb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "955a1bf90444c700c678e92f9045442568ef53ba548f1659ec6fbb0d1536c1fb", kill_on_drop: false }` [INFO] [stderr] Compiling rusty_ants v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `u` for integer 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 integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for integer 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 integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for integer 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 integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [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[E0433]: failed to resolve: use of undeclared type or module `Range` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let range_x = Range::new(0, height); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Range` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let range_y = Range::new(0, width); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Range` [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 { [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 { [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 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let counter = range(0u, count); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pow` in module `num` [INFO] [stdout] --> src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [INFO] [stdout] | ^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pow` in module `num` [INFO] [stdout] --> src/main.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [INFO] [stdout] | ^^^ not found in `num` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_ants`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "955a1bf90444c700c678e92f9045442568ef53ba548f1659ec6fbb0d1536c1fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955a1bf90444c700c678e92f9045442568ef53ba548f1659ec6fbb0d1536c1fb", kill_on_drop: false }` [INFO] [stdout] 955a1bf90444c700c678e92f9045442568ef53ba548f1659ec6fbb0d1536c1fb