[INFO] cloning repository https://github.com/orkunkilic/rust-voting-app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orkunkilic/rust-voting-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forkunkilic%2Frust-voting-app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forkunkilic%2Frust-voting-app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 66df5f06b5eaa0b6b2d0aef518478622f74e2ebd
[INFO] testing orkunkilic/rust-voting-app against 1.90.0 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forkunkilic%2Frust-voting-app" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/orkunkilic/rust-voting-app
[INFO] finished tweaking git repo https://github.com/orkunkilic/rust-voting-app
[INFO] tweaked toml for git repo https://github.com/orkunkilic/rust-voting-app written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/orkunkilic/rust-voting-app on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/orkunkilic/rust-voting-app already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f43f6b1645965bbac633825e705eca5800968fd8580d58c9855692c6b77998e2
[INFO] running `Command { std: "docker" "start" "-a" "f43f6b1645965bbac633825e705eca5800968fd8580d58c9855692c6b77998e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f43f6b1645965bbac633825e705eca5800968fd8580d58c9855692c6b77998e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f43f6b1645965bbac633825e705eca5800968fd8580d58c9855692c6b77998e2", kill_on_drop: false }`
[INFO] [stdout] f43f6b1645965bbac633825e705eca5800968fd8580d58c9855692c6b77998e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64e252b6344640853e81bff558ada8244f105789514057649ecb4475b994e9dc
[INFO] running `Command { std: "docker" "start" "-a" "64e252b6344640853e81bff558ada8244f105789514057649ecb4475b994e9dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling voting v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |         if (input == 0) {
[INFO] [stdout]    |            ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 21 -         if (input == 0) {
[INFO] [stdout] 21 +         if input == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 23 |         } else if (input == 1) {
[INFO] [stdout]    |                   ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -         } else if (input == 1) {
[INFO] [stdout] 23 +         } else if input == 1 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |         } else if (input == 2) {
[INFO] [stdout]    |                   ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 36 -         } else if (input == 2) {
[INFO] [stdout] 36 +         } else if input == 2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |         } else if (input == 3) {
[INFO] [stdout]    |                   ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -         } else if (input == 3) {
[INFO] [stdout] 60 +         } else if input == 3 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of index of `Vec<structs::Auction>`
[INFO] [stdout]   --> src/main.rs:71:36
[INFO] [stdout]    |
[INFO] [stdout] 71 |             let result = give_vote(auctions[1], vote_array[1].trim().parse().unwrap(), vote_array[2].trim().to_string());
[INFO] [stdout]    |                                    ^^^^^^^^^^^ move occurs because value has type `structs::Auction`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: if `structs::Auction` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/voting.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub struct Auction {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/main.rs:71:36
[INFO] [stdout]    |
[INFO] [stdout] 71 |             let result = give_vote(auctions[1], vote_array[1].trim().parse().unwrap(), vote_array[2].trim().to_string());
[INFO] [stdout]    |                                    ----------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `&_` not covered
[INFO] [stdout]   --> src/main.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let enum_vote = match vote.as_str() {
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ pattern `&_` not covered
[INFO] [stdout]    |
[INFO] [stdout]    = note: the matched value is of type `&str`
[INFO] [stdout]    = note: `&str` cannot be matched exhaustively, so a wildcard `_` is necessary
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
[INFO] [stdout]    |
[INFO] [stdout] 95 ~         "DOWN" => VoteType::DOWNVOTE,
[INFO] [stdout] 96 ~         &_ => todo!(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `voting` (bin "voting") due to 2 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "64e252b6344640853e81bff558ada8244f105789514057649ecb4475b994e9dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64e252b6344640853e81bff558ada8244f105789514057649ecb4475b994e9dc", kill_on_drop: false }`
[INFO] [stdout] 64e252b6344640853e81bff558ada8244f105789514057649ecb4475b994e9dc
