[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.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Forkunkilic%2Frust-voting-app" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/orkunkilic/rust-voting-app on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-13/source/Cargo.toml
[INFO] crate git repo https://github.com/orkunkilic/rust-voting-app already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8658565f2931bfffbcc3d72d9d412222aec5e65b15cf9ae2d9e36f69c974db29
[INFO] running `Command { std: "docker" "start" "-a" "8658565f2931bfffbcc3d72d9d412222aec5e65b15cf9ae2d9e36f69c974db29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8658565f2931bfffbcc3d72d9d412222aec5e65b15cf9ae2d9e36f69c974db29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8658565f2931bfffbcc3d72d9d412222aec5e65b15cf9ae2d9e36f69c974db29", kill_on_drop: false }`
[INFO] [stdout] 8658565f2931bfffbcc3d72d9d412222aec5e65b15cf9ae2d9e36f69c974db29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2eba2e58cacd2546bc0aa92164fb7971d8a5c31049c9cab9b486c56514650036
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "2eba2e58cacd2546bc0aa92164fb7971d8a5c31049c9cab9b486c56514650036", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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[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] 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] 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] 
[INFO] [stdout] error[E0596]: cannot borrow `auction` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/main.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn give_vote(auction: Auction, voter_id: u32, vote: String) -> bool {
[INFO] [stdout]    |              ------- help: consider changing this to be mutable: `mut auction`
[INFO] [stdout] ...
[INFO] [stdout] 99 |     return auction.vote(vote);
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0004, E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `voting` due to 4 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2eba2e58cacd2546bc0aa92164fb7971d8a5c31049c9cab9b486c56514650036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2eba2e58cacd2546bc0aa92164fb7971d8a5c31049c9cab9b486c56514650036", kill_on_drop: false }`
[INFO] [stdout] 2eba2e58cacd2546bc0aa92164fb7971d8a5c31049c9cab9b486c56514650036
