[INFO] updating cached repository tthorn/GuessingGame [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tthorn/GuessingGame [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tthorn/GuessingGame" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/tthorn/GuessingGame"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/tthorn/GuessingGame'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tthorn/GuessingGame" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tthorn/GuessingGame"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tthorn/GuessingGame'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7c6c690a62e2cdf3ed8c2accb18f09d8e71c6dad [INFO] sha for GitHub repo tthorn/GuessingGame: 7c6c690a62e2cdf3ed8c2accb18f09d8e71c6dad [INFO] validating manifest of tthorn/GuessingGame 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 tthorn/GuessingGame 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 tthorn/GuessingGame [INFO] finished frobbing tthorn/GuessingGame [INFO] frobbed toml for tthorn/GuessingGame written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/tthorn/GuessingGame/Cargo.toml [INFO] started frobbing tthorn/GuessingGame [INFO] finished frobbing tthorn/GuessingGame [INFO] frobbed toml for tthorn/GuessingGame written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tthorn/GuessingGame/Cargo.toml [INFO] crate tthorn/GuessingGame already has a lockfile, it will not be regenerated [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 tthorn/GuessingGame against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/tthorn/GuessingGame:/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f6494b7d0a35cf54445d14eabd0cbc68281b6485caf22ec9886ae80fbd84477a [INFO] running `"docker" "start" "-a" "f6494b7d0a35cf54445d14eabd0cbc68281b6485caf22ec9886ae80fbd84477a"` [INFO] [stderr] Checking GuessingGame v0.0.1 (/opt/crater/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::() % 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::() % 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 `return` [INFO] [stderr] --> src/main.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 26 | println!("Please input a number.") [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 27 | return; [INFO] [stderr] | ^^^^^^ [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::() % 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::() % 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 `return` [INFO] [stderr] --> src/main.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 26 | println!("Please input a number.") [INFO] [stderr] | - help: a semicolon may be missing here [INFO] [stderr] 27 | return; [INFO] [stderr] | ^^^^^^ [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::() % 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 = 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 = 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] 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] 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] 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] 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 parameter but 0 parameters 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] | ^^^^^^^^^ expected 1 parameter [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[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 = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [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: Could not compile `GuessingGame`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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::() % 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 = 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 = 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] 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] 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] 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] 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 parameter but 0 parameters 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] | ^^^^^^^^^ 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:22:50 [INFO] [stderr] | [INFO] [stderr] 22 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ [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: Could not compile `GuessingGame`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f6494b7d0a35cf54445d14eabd0cbc68281b6485caf22ec9886ae80fbd84477a"` [INFO] running `"docker" "rm" "-f" "f6494b7d0a35cf54445d14eabd0cbc68281b6485caf22ec9886ae80fbd84477a"` [INFO] [stdout] f6494b7d0a35cf54445d14eabd0cbc68281b6485caf22ec9886ae80fbd84477a