[INFO] updating cached repository kstrempel/rusty_ants [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kstrempel/rusty_ants [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kstrempel/rusty_ants" "work/ex/beta-1.38-1/sources/1.37.0/gh/kstrempel/rusty_ants"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/kstrempel/rusty_ants'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kstrempel/rusty_ants" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kstrempel/rusty_ants"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kstrempel/rusty_ants'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ab75e20128379935e3aa7e1c62c594bbef55089e [INFO] sha for GitHub repo kstrempel/rusty_ants: ab75e20128379935e3aa7e1c62c594bbef55089e [INFO] validating manifest of kstrempel/rusty_ants on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of kstrempel/rusty_ants on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing kstrempel/rusty_ants [INFO] finished frobbing kstrempel/rusty_ants [INFO] frobbed toml for kstrempel/rusty_ants written to work/ex/beta-1.38-1/sources/1.37.0/gh/kstrempel/rusty_ants/Cargo.toml [INFO] started frobbing kstrempel/rusty_ants [INFO] finished frobbing kstrempel/rusty_ants [INFO] frobbed toml for kstrempel/rusty_ants written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kstrempel/rusty_ants/Cargo.toml [INFO] crate kstrempel/rusty_ants already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing kstrempel/rusty_ants against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/kstrempel/rusty_ants:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 0f6199aa5c85f3611255a7ccbda50569a4c47edd32e7d03ee792597a9878ca2a [INFO] running `"docker" "start" "-a" "0f6199aa5c85f3611255a7ccbda50569a4c47edd32e7d03ee792597a9878ca2a"` [INFO] [stderr] Compiling rusty_ants v0.0.1 (/opt/crater/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[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 { [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 { [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 { [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: unused imports: `IndependentSample`, `Range` [INFO] [stderr] --> src/main.rs:3:32 [INFO] [stderr] | [INFO] [stderr] 3 | use std::rand::distributions::{IndependentSample, Range}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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" "0f6199aa5c85f3611255a7ccbda50569a4c47edd32e7d03ee792597a9878ca2a"` [INFO] running `"docker" "rm" "-f" "0f6199aa5c85f3611255a7ccbda50569a4c47edd32e7d03ee792597a9878ca2a"` [INFO] [stdout] 0f6199aa5c85f3611255a7ccbda50569a4c47edd32e7d03ee792597a9878ca2a