[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-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Antiarchitect/rust_guessing_game"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Antiarchitect/rust_guessing_game'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Antiarchitect/rust_guessing_game" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Antiarchitect/rust_guessing_game"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Antiarchitect/rust_guessing_game 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 Antiarchitect/rust_guessing_game [INFO] finished frobbing Antiarchitect/rust_guessing_game [INFO] frobbed toml for Antiarchitect/rust_guessing_game written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/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" "+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 Antiarchitect/rust_guessing_game against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] beed700f185c0c91a5f9f1cead76246bad60bc8c0f66c01006c27ef01bd96dda [INFO] running `"docker" "start" "-a" "beed700f185c0c91a5f9f1cead76246bad60bc8c0f66c01006c27ef01bd96dda"` [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[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: 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[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" "beed700f185c0c91a5f9f1cead76246bad60bc8c0f66c01006c27ef01bd96dda"` [INFO] running `"docker" "rm" "-f" "beed700f185c0c91a5f9f1cead76246bad60bc8c0f66c01006c27ef01bd96dda"` [INFO] [stdout] beed700f185c0c91a5f9f1cead76246bad60bc8c0f66c01006c27ef01bd96dda