[INFO] updating cached repository https://github.com/iepathos/guessing_game [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 69aaf51e74ae809b0ef1ce9fa8fdbac9fafefd15 [INFO] testing iepathos/guessing_game against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiepathos%2Fguessing_game" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iepathos/guessing_game on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/iepathos/guessing_game [INFO] finished tweaking git repo https://github.com/iepathos/guessing_game [INFO] tweaked toml for git repo https://github.com/iepathos/guessing_game written to work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/iepathos/guessing_game already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] a4eb946368050314c334ae3a8775ea6da0363ef46f45661d58b205e38d3af249 [INFO] running `"docker" "start" "-a" "a4eb946368050314c334ae3a8775ea6da0363ef46f45661d58b205e38d3af249"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling guessing_game v0.0.1 (/opt/rustwide/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::() % 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::() % 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::() % 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 = input.trim().parse(); [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 `trim` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:16:45 [INFO] [stderr] | [INFO] [stderr] 16 | let input_num: Option = input.trim().parse(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 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" "a4eb946368050314c334ae3a8775ea6da0363ef46f45661d58b205e38d3af249"` [INFO] running `"docker" "rm" "-f" "a4eb946368050314c334ae3a8775ea6da0363ef46f45661d58b205e38d3af249"` [INFO] [stdout] a4eb946368050314c334ae3a8775ea6da0363ef46f45661d58b205e38d3af249