[INFO] updating cached repository Antiarchitect/rust_guessing_game [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Antiarchitect/rust_guessing_game [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Antiarchitect/rust_guessing_game" "work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Antiarchitect/rust_guessing_game"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Antiarchitect/rust_guessing_game'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Antiarchitect/rust_guessing_game" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Antiarchitect/rust_guessing_game"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Antiarchitect/rust_guessing_game'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ba0fe58a80453cb3c555e35c18b2d9c0886aa555 [INFO] sha for GitHub repo Antiarchitect/rust_guessing_game: ba0fe58a80453cb3c555e35c18b2d9c0886aa555 [INFO] validating manifest of Antiarchitect/rust_guessing_game on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Antiarchitect/rust_guessing_game on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Antiarchitect/rust_guessing_game [INFO] finished frobbing Antiarchitect/rust_guessing_game [INFO] frobbed toml for Antiarchitect/rust_guessing_game written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/Antiarchitect/rust_guessing_game/Cargo.toml [INFO] started frobbing Antiarchitect/rust_guessing_game [INFO] finished frobbing Antiarchitect/rust_guessing_game [INFO] frobbed toml for Antiarchitect/rust_guessing_game written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Antiarchitect/rust_guessing_game/Cargo.toml [INFO] crate Antiarchitect/rust_guessing_game already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Antiarchitect/rust_guessing_game against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-1/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/Antiarchitect/rust_guessing_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=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" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8aa795b15b7cd57c0af7f9fd62a26c5ebde817a69dae63fad72e1f806bec554f [INFO] running `"docker" "start" "-a" "8aa795b15b7cd57c0af7f9fd62a26c5ebde817a69dae63fad72e1f806bec554f"` [INFO] [stderr] Checking guessing_game v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | let secret = (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:14:52 [INFO] [stderr] | [INFO] [stderr] 14 | let secret = (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:14:44 [INFO] [stderr] | [INFO] [stderr] 14 | let secret = (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:14:52 [INFO] [stderr] | [INFO] [stderr] 14 | let secret = (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[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:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | 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:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | 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:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | let secret = (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:20:49 [INFO] [stderr] | [INFO] [stderr] 20 | let input_number = input.trim().parse::(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | 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 `trim` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | let input_number = input.trim().parse::(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `guessing_game`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | 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:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | 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:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | let secret = (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:20:49 [INFO] [stderr] | [INFO] [stderr] 20 | let input_number = input.trim().parse::(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | 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 `trim` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | let input_number = input.trim().parse::(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, 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" "8aa795b15b7cd57c0af7f9fd62a26c5ebde817a69dae63fad72e1f806bec554f"` [INFO] running `"docker" "rm" "-f" "8aa795b15b7cd57c0af7f9fd62a26c5ebde817a69dae63fad72e1f806bec554f"` [INFO] [stdout] 8aa795b15b7cd57c0af7f9fd62a26c5ebde817a69dae63fad72e1f806bec554f