[INFO] cloning repository https://github.com/KaloyanYosifov/rust-casino-learning-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KaloyanYosifov/rust-casino-learning-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaloyanYosifov%2Frust-casino-learning-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaloyanYosifov%2Frust-casino-learning-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 688bacd7b78344e34a69d398ee920b3fda462e69 [INFO] checking KaloyanYosifov/rust-casino-learning-game against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaloyanYosifov%2Frust-casino-learning-game" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KaloyanYosifov/rust-casino-learning-game on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KaloyanYosifov/rust-casino-learning-game [INFO] finished tweaking git repo https://github.com/KaloyanYosifov/rust-casino-learning-game [INFO] tweaked toml for git repo https://github.com/KaloyanYosifov/rust-casino-learning-game written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/KaloyanYosifov/rust-casino-learning-game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded argon2 v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 406eb8f6387c173403406d067c82bf70030ceefe4630103258fc7eee06335911 [INFO] running `Command { std: "docker" "start" "-a" "406eb8f6387c173403406d067c82bf70030ceefe4630103258fc7eee06335911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "406eb8f6387c173403406d067c82bf70030ceefe4630103258fc7eee06335911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406eb8f6387c173403406d067c82bf70030ceefe4630103258fc7eee06335911", kill_on_drop: false }` [INFO] [stdout] 406eb8f6387c173403406d067c82bf70030ceefe4630103258fc7eee06335911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e74f8a322bdfb47b7374e004f56074e9f8a3d93cb5d8f69c05a2f0c6c5ffceb1 [INFO] running `Command { std: "docker" "start" "-a" "e74f8a322bdfb47b7374e004f56074e9f8a3d93cb5d8f69c05a2f0c6c5ffceb1", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking rpassword v5.0.1 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking password-hash v0.2.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking argon2 v0.2.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking rust-casino-learning-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/input/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Stdin` [INFO] [stdout] --> src/input/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, Read, Stdin}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/input/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Stdin` [INFO] [stdout] --> src/input/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufRead, Read, Stdin}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/input/mod.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | reader: Box::new(reader.into()), [INFO] [stdout] | ^^^^^^^^ ------------- this method call resolves to `T` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/input/mod.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | reader: Box::new(reader.into()), [INFO] [stdout] | ^^^^^^^^ ------------- this method call resolves to `T` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/input/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Self::new()._get_input(prompt) [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/input/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(reader: T) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/input/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Self::new()._prompt_for_number(prompt) [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/input/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(reader: T) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/input/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | Self::new()._get_input(prompt) [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/input/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(reader: T) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/input/mod.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | Self::new()._prompt_for_number(prompt) [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/input/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(reader: T) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/input/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Self::new()._prompt_for_password(message, constraints) [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/input/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(reader: T) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/input/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Self::new()._prompt_for_password(message, constraints) [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/input/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(reader: T) -> Self { [INFO] [stdout] | ^^^ --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-casino-learning-game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e74f8a322bdfb47b7374e004f56074e9f8a3d93cb5d8f69c05a2f0c6c5ffceb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74f8a322bdfb47b7374e004f56074e9f8a3d93cb5d8f69c05a2f0c6c5ffceb1", kill_on_drop: false }` [INFO] [stdout] e74f8a322bdfb47b7374e004f56074e9f8a3d93cb5d8f69c05a2f0c6c5ffceb1