[INFO] updating cached repository https://github.com/tthorn/GuessingGame
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 7c6c690a62e2cdf3ed8c2accb18f09d8e71c6dad
[INFO] checking tthorn/GuessingGame against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftthorn%2FGuessingGame" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tthorn/GuessingGame on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/tthorn/GuessingGame
[INFO] finished tweaking git repo https://github.com/tthorn/GuessingGame
[INFO] tweaked toml for git repo https://github.com/tthorn/GuessingGame written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/tthorn/GuessingGame already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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] 3720b0edb957af69f62b284a173dc43dff3ae5b517d5a11137e471933a54e6c3
[INFO] running `"docker" "start" "-a" "3720b0edb957af69f62b284a173dc43dff3ae5b517d5a11137e471933a54e6c3"`
[INFO] [stderr]     Checking GuessingGame v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: invalid suffix `u` for integer literal
[INFO] [stderr]  --> src/main.rs:9:19
[INFO] [stderr]   |
[INFO] [stderr] 9 |   let mut lower = 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:12:43
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let toGuess = (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:12:51
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let toGuess = (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: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `return`
[INFO] [stderr]   --> src/main.rs:27:7
[INFO] [stderr]    |
[INFO] [stderr] 26 |       println!("Please input a number.")
[INFO] [stderr]    |                                         - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stderr] 27 |       return;
[INFO] [stderr]    |       ^^^^^^ unexpected token
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `u` for integer literal
[INFO] [stderr]  --> src/main.rs:9:19
[INFO] [stderr]   |
[INFO] [stderr] 9 |   let mut lower = 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:12:43
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let toGuess = (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:12:51
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let toGuess = (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: expected one of `.`, `;`, `?`, `}`, or an operator, found keyword `return`
[INFO] [stderr]   --> src/main.rs:27:7
[INFO] [stderr]    |
[INFO] [stderr] 26 |       println!("Please input a number.")
[INFO] [stderr]    |                                         - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stderr] 27 |       return;
[INFO] [stderr]    |       ^^^^^^ unexpected token
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | 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:8:18
[INFO] [stderr]   |
[INFO] [stderr] 8 |   let mut upper: uint = 100;
[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:12:33
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let toGuess = (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:22:27
[INFO] [stderr]    |
[INFO] [stderr] 22 |     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:22:35
[INFO] [stderr]    |
[INFO] [stderr] 22 |     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:47:15
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn compare(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:47:24
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn compare(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:47:33
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn compare(a: uint, b: uint) -> Ordering {
[INFO] [stderr]    |                                 ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::cmp::Ordering;
[INFO] [stderr]    |
[INFO] [stderr] 3  | 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:48:20
[INFO] [stderr]    |
[INFO] [stderr] 48 |         if a < b { Less }
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | 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:49:25
[INFO] [stderr]    |
[INFO] [stderr] 49 |         else if a > b { Greater }
[INFO] [stderr]    |                         ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | 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:50:16
[INFO] [stderr]    |
[INFO] [stderr] 50 |         else { Equal }
[INFO] [stderr]    |                ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::cmp::Ordering::Equal;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:17:29
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let input = io::stdin().read_line().ok().expect("Failed to read line.");
[INFO] [stderr]    |                             ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                             |
[INFO] [stderr]    |                             expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::rand`
[INFO] [stderr]  --> src/main.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | 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:8:18
[INFO] [stderr]   |
[INFO] [stderr] 8 |   let mut upper: uint = 100;
[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:12:33
[INFO] [stderr]    |
[INFO] [stderr] 12 |   let toGuess = (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:22:27
[INFO] [stderr]    |
[INFO] [stderr] 22 |     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:22:35
[INFO] [stderr]    |
[INFO] [stderr] 22 |     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:47:15
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn compare(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:47:24
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn compare(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:47:33
[INFO] [stderr]    |
[INFO] [stderr] 47 | fn compare(a: uint, b: uint) -> Ordering {
[INFO] [stderr]    |                                 ^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::cmp::Ordering;
[INFO] [stderr]    |
[INFO] [stderr] 3  | 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:48:20
[INFO] [stderr]    |
[INFO] [stderr] 48 |         if a < b { Less }
[INFO] [stderr]    |                    ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | 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:49:25
[INFO] [stderr]    |
[INFO] [stderr] 49 |         else if a > b { Greater }
[INFO] [stderr]    |                         ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | 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:50:16
[INFO] [stderr]    |
[INFO] [stderr] 50 |         else { Equal }
[INFO] [stderr]    |                ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use std::cmp::Ordering::Equal;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stderr]   --> src/main.rs:17:29
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let input = io::stdin().read_line().ok().expect("Failed to read line.");
[INFO] [stderr]    |                             ^^^^^^^^^- supplied 0 arguments
[INFO] [stderr]    |                             |
[INFO] [stderr]    |                             expected 1 argument
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:22:50
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stderr]    |                                                  ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 17 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[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stderr]   --> src/main.rs:22:50
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stderr]    |                                                  ^^^^^^^^ method not found in `usize`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 17 previous errors
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `GuessingGame`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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 `GuessingGame`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "3720b0edb957af69f62b284a173dc43dff3ae5b517d5a11137e471933a54e6c3"`
[INFO] running `"docker" "rm" "-f" "3720b0edb957af69f62b284a173dc43dff3ae5b517d5a11137e471933a54e6c3"`
[INFO] [stdout] 3720b0edb957af69f62b284a173dc43dff3ae5b517d5a11137e471933a54e6c3
