[INFO] cloning repository https://github.com/rk463345/Rust_Projects_RPS
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rk463345/Rust_Projects_RPS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frk463345%2FRust_Projects_RPS"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frk463345%2FRust_Projects_RPS'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] cc9b6d481d2a2f67307db15a774acf3f8ef5b742
[INFO] testing rk463345/Rust_Projects_RPS against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frk463345%2FRust_Projects_RPS" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rk463345/Rust_Projects_RPS
[INFO] finished tweaking git repo https://github.com/rk463345/Rust_Projects_RPS
[INFO] tweaked toml for git repo https://github.com/rk463345/Rust_Projects_RPS written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rk463345/Rust_Projects_RPS on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/rk463345/Rust_Projects_RPS already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18
[INFO] running `"docker" "start" "5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18"`
[INFO] running `"docker" "inspect" "5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling RPS v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: path separator must be a double colon
[INFO] [stdout]   --> src/main.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut best_of = Int:new();
[INFO] [stdout]    |                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: use a double colon instead
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut best_of = Int::new();
[INFO] [stdout]    |                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: path separator must be a double colon
[INFO] [stdout]   --> src/main.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut two_player = String:new();
[INFO] [stdout]    |                                ^
[INFO] [stdout]    |
[INFO] [stdout] help: use a double colon instead
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut two_player = String::new();
[INFO] [stdout]    |                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/game.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::Rng;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: function `play` is private
[INFO] [stdout]   --> src/main.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     game::play(best_of, two_player);
[INFO] [stdout]    |           ^^^^ private function
[INFO] [stdout]    |
[INFO] [stdout] note: the function `play` is defined here
[INFO] [stdout]   --> src/game.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | fn play(rounds: u32, bot: String) -> (){
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/game.rs:12:48
[INFO] [stdout]    |
[INFO] [stdout] 12 |             let mut bot_choice = legal_choices[rand::thread_rng().gen_range(0..2)];
[INFO] [stdout]    |                                                ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/game.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |             let round = player_choice + bot_choice;
[INFO] [stdout]    |                 ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/game.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 win_1 => {println!("Player 1 wins!");},
[INFO] [stdout]    |                 ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Int` in this scope
[INFO] [stdout]   --> src/main.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut best_of = Int:new();
[INFO] [stdout]    |                       ^^^ use of undeclared type `Int`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut best_of = Into:new();
[INFO] [stdout]    |                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RPS` (bin "RPS") due to 8 previous errors
[INFO] running `"docker" "inspect" "5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18"`
[INFO] running `"docker" "rm" "-f" "5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18"`
[INFO] [stdout] 5faf26c1c96af58ca3c9b3e1d4af5c77de3130eb3b61ca647ecf2c7b9df5ab18
