[INFO] cloning repository https://github.com/DomGada/rust_hangman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DomGada/rust_hangman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDomGada%2Frust_hangman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDomGada%2Frust_hangman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce088af6a8034c04c4f6a73e48e3fdec410d49f9 [INFO] testing DomGada/rust_hangman against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDomGada%2Frust_hangman" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DomGada/rust_hangman on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DomGada/rust_hangman [INFO] finished tweaking git repo https://github.com/DomGada/rust_hangman [INFO] tweaked toml for git repo https://github.com/DomGada/rust_hangman written to /workspace/builds/worker-82/source/Cargo.toml [INFO] crate git repo https://github.com/DomGada/rust_hangman already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5e0ec10ede26fc32de68f4ce5f207c4208e80911004b992c9cce12c19caf490 [INFO] running `Command { std: "docker" "start" "-a" "f5e0ec10ede26fc32de68f4ce5f207c4208e80911004b992c9cce12c19caf490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5e0ec10ede26fc32de68f4ce5f207c4208e80911004b992c9cce12c19caf490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5e0ec10ede26fc32de68f4ce5f207c4208e80911004b992c9cce12c19caf490", kill_on_drop: false }` [INFO] [stdout] f5e0ec10ede26fc32de68f4ce5f207c4208e80911004b992c9cce12c19caf490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9334faa62e7636e21b3b2e8ccea2bf2d0628c37d78681521494ccb761e16cc6d [INFO] running `Command { std: "docker" "start" "-a" "9334faa62e7636e21b3b2e8ccea2bf2d0628c37d78681521494ccb761e16cc6d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hangman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `...`, `..=`, `..`, `::`, `:`, `{`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn guessPass(word::String){ [INFO] [stdout] | ^ expected one of 9 possible tokens [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 25 | fn guessPass(_: word::String){ [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `guestNum` in this scope [INFO] [stdout] --> src/main.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | while guestNum <= 6{ [INFO] [stdout] | ^^^^^^^^ help: a local variable with a similar name exists: `guessNum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_rang` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/main.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | let wordIndex = rand::thread_rng().gen_rang(0..words.len()); [INFO] [stdout] | ^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | .read_line() [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | / while guestNum <= 6{ [INFO] [stdout] 17 | | io::stdin() [INFO] [stdout] | |_________^ [INFO] [stdout] 18 | || .read_line() [INFO] [stdout] | ||________________________^ expected `()`, found enum `Result` [INFO] [stdout] 19 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 18 | .read_line(); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 19 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hangman` due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9334faa62e7636e21b3b2e8ccea2bf2d0628c37d78681521494ccb761e16cc6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9334faa62e7636e21b3b2e8ccea2bf2d0628c37d78681521494ccb761e16cc6d", kill_on_drop: false }` [INFO] [stdout] 9334faa62e7636e21b3b2e8ccea2bf2d0628c37d78681521494ccb761e16cc6d