[INFO] fetching crate rogue 0.0.2... [INFO] checking rogue-0.0.2 against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] extracting crate rogue 0.0.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rogue 0.0.2 on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rogue 0.0.2 [INFO] finished tweaking crates.io crate rogue 0.0.2 [INFO] tweaked toml for crates.io crate rogue 0.0.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 573080c4ac9a9096d6cca15155321cce0f1198f01907f7e87b1c476117c44804 [INFO] running `"docker" "start" "-a" "573080c4ac9a9096d6cca15155321cce0f1198f01907f7e87b1c476117c44804"` [INFO] [stderr] Checking rogue v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/dice.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | for num in range(1u, 4) { [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 `u` for integer literal [INFO] [stderr] --> src/dice.rs:41:32 [INFO] [stderr] | [INFO] [stderr] 41 | for sides in range(1u, 20) { [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 `u` for integer literal [INFO] [stderr] --> src/dice.rs:40:26 [INFO] [stderr] | [INFO] [stderr] 40 | for num in range(1u, 4) { [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 `u` for integer literal [INFO] [stderr] --> src/dice.rs:41:32 [INFO] [stderr] | [INFO] [stderr] 41 | for sides in range(1u, 20) { [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[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/dice.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/dice.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Dice(pub uint, pub uint); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Dice(pub uint, pub uint); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn roll(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rogue`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/dice.rs:28:46 [INFO] [stderr] | [INFO] [stderr] 28 | let mut dist : Vec = repeat(0u).take($num * $sides + 1).collect(); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] ... [INFO] [stderr] 42 | assert_dice!(num, sides); [INFO] [stderr] | ------------------------- in this macro invocation [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/dice.rs:34:102 [INFO] [stderr] | [INFO] [stderr] 34 | assert!(dist.iter().take($num - 1).all(|g| *g == 0), "dist {}d{} {}", $num, $sides, dist[0u..$num]); [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] ... [INFO] [stderr] 42 | assert_dice!(num, sides); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/dice.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::rand; [INFO] [stderr] | ^^^^^^^^^ no `rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/dice.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use std::rand::Rng; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Dice(pub uint, pub uint); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:5:31 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Dice(pub uint, pub uint); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn roll(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/dice.rs:40:20 [INFO] [stderr] | [INFO] [stderr] 40 | for num in range(1u, 4) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/dice.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | for sides in range(1u, 20) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:28:31 [INFO] [stderr] | [INFO] [stderr] 28 | let mut dist : Vec = repeat(0u).take($num * $sides + 1).collect(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 42 | assert_dice!(num, sides); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/dice.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | for _ in range(0, $num * $sides * 1000) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 42 | assert_dice!(num, sides); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/dice.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | dist[roll as uint] += 1; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 42 | assert_dice!(num, sides); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rogue`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "573080c4ac9a9096d6cca15155321cce0f1198f01907f7e87b1c476117c44804"` [INFO] running `"docker" "rm" "-f" "573080c4ac9a9096d6cca15155321cce0f1198f01907f7e87b1c476117c44804"` [INFO] [stdout] 573080c4ac9a9096d6cca15155321cce0f1198f01907f7e87b1c476117c44804