[INFO] crate rogue 0.0.2 is already in cache [INFO] extracting crate rogue 0.0.2 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/rogue/0.0.2 [INFO] extracting crate rogue 0.0.2 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/rogue/0.0.2 [INFO] validating manifest of rogue-0.0.2 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rogue-0.0.2 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rogue-0.0.2 [INFO] finished frobbing rogue-0.0.2 [INFO] frobbed toml for rogue-0.0.2 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/rogue/0.0.2/Cargo.toml [INFO] started frobbing rogue-0.0.2 [INFO] finished frobbing rogue-0.0.2 [INFO] frobbed toml for rogue-0.0.2 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/rogue/0.0.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking rogue-0.0.2 against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/rogue/0.0.2:/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=forbid" "-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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 39f0dc187b4e67946dbb47fb38e2c7c65554d8f1a67871f5355302f7c1ce346a [INFO] running `"docker" "start" "-a" "39f0dc187b4e67946dbb47fb38e2c7c65554d8f1a67871f5355302f7c1ce346a"` [INFO] [stderr] Checking rogue v0.0.2 (/opt/crater/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" "39f0dc187b4e67946dbb47fb38e2c7c65554d8f1a67871f5355302f7c1ce346a"` [INFO] running `"docker" "rm" "-f" "39f0dc187b4e67946dbb47fb38e2c7c65554d8f1a67871f5355302f7c1ce346a"` [INFO] [stdout] 39f0dc187b4e67946dbb47fb38e2c7c65554d8f1a67871f5355302f7c1ce346a