[INFO] updating cached repository claudiug/rust_game
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/claudiug/rust_game
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/claudiug/rust_game" "work/ex/beta-1.37-6/sources/1.36.0/gh/claudiug/rust_game"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/claudiug/rust_game'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/claudiug/rust_game" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/claudiug/rust_game"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/claudiug/rust_game'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 58d3c707fa1205a38661b137748d79db4edb8b58
[INFO] sha for GitHub repo claudiug/rust_game: 58d3c707fa1205a38661b137748d79db4edb8b58
[INFO] validating manifest of claudiug/rust_game on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of claudiug/rust_game on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing claudiug/rust_game
[INFO] finished frobbing claudiug/rust_game
[INFO] frobbed toml for claudiug/rust_game written to work/ex/beta-1.37-6/sources/1.36.0/gh/claudiug/rust_game/Cargo.toml
[INFO] started frobbing claudiug/rust_game
[INFO] finished frobbing claudiug/rust_game
[INFO] frobbed toml for claudiug/rust_game written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/claudiug/rust_game/Cargo.toml
[INFO] crate claudiug/rust_game already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing claudiug/rust_game against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/claudiug/rust_game:/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-07-23" "build" "--frozen"`
[INFO] [stdout] 212bfabc0eea94aabf0965410f3c8ca44a3401e19fc9132584ff8c10db05d6f7
[INFO] running `"docker" "start" "-a" "212bfabc0eea94aabf0965410f3c8ca44a3401e19fc9132584ff8c10db05d6f7"`
[INFO] [stderr]    Compiling guessing_game v0.0.1 (/opt/crater/workdir)
[INFO] [stderr] error: invalid suffix `u` for integer literal
[INFO] [stderr]  --> src/main.rs:7:51
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[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/main.rs:7:59
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[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/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::rand;
[INFO] [stderr]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]  --> src/main.rs:7:41
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[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:16:31
[INFO] [stderr]    |
[INFO] [stderr] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stderr]    |                               ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stderr]   --> src/main.rs:16:39
[INFO] [stderr]    |
[INFO] [stderr] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[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:40:11
[INFO] [stderr]    |
[INFO] [stderr] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[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:40:20
[INFO] [stderr]    |
[INFO] [stderr] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stderr]   --> src/main.rs:40:29
[INFO] [stderr]    |
[INFO] [stderr] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stderr]    |                             ^^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::cmp::Ordering;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::sync::atomic::Ordering;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Less` in this scope
[INFO] [stderr]   --> src/main.rs:41:16
[INFO] [stderr]    |
[INFO] [stderr] 41 |     if a < b { Less }
[INFO] [stderr]    |                ^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::cmp::Ordering::Less;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Greater` in this scope
[INFO] [stderr]   --> src/main.rs:42:21
[INFO] [stderr]    |
[INFO] [stderr] 42 |     else if a > b { Greater }
[INFO] [stderr]    |                     ^^^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::cmp::Ordering::Greater;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `Equal` in this scope
[INFO] [stderr]   --> src/main.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 |     else { Equal }
[INFO] [stderr]    |            ^^^^^ not found in this scope
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::cmp::Ordering::Equal;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied
[INFO] [stderr]   --> src/main.rs:13:33
[INFO] [stderr]    |
[INFO] [stderr] 13 |         let input = io::stdin().read_line()
[INFO] [stderr]    |                                 ^^^^^^^^^ expected 1 parameter
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:16:54
[INFO] [stderr]    |
[INFO] [stderr] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stderr]    |                                                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 14 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0061`.
[INFO] [stderr] error: Could not compile `guessing_game`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "212bfabc0eea94aabf0965410f3c8ca44a3401e19fc9132584ff8c10db05d6f7"`
[INFO] running `"docker" "rm" "-f" "212bfabc0eea94aabf0965410f3c8ca44a3401e19fc9132584ff8c10db05d6f7"`
[INFO] [stdout] 212bfabc0eea94aabf0965410f3c8ca44a3401e19fc9132584ff8c10db05d6f7
