[INFO] cloning repository https://github.com/joachimbulow/Sip-Party-Backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joachimbulow/Sip-Party-Backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoachimbulow%2FSip-Party-Backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoachimbulow%2FSip-Party-Backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5ddcfaddb36f550bd037a3d59525dccc462a360
[INFO] testing joachimbulow/Sip-Party-Backend against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoachimbulow%2FSip-Party-Backend" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/joachimbulow/Sip-Party-Backend
[INFO] finished tweaking git repo https://github.com/joachimbulow/Sip-Party-Backend
[INFO] tweaked toml for git repo https://github.com/joachimbulow/Sip-Party-Backend written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/joachimbulow/Sip-Party-Backend on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/joachimbulow/Sip-Party-Backend 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.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-macros v0.2.6
[INFO] [stderr]   Downloaded unicode-ident v1.0.6
[INFO] [stderr]   Downloaded futures-io v0.3.25
[INFO] [stderr]   Downloaded futures-core v0.3.25
[INFO] [stderr]   Downloaded percent-encoding v2.2.0
[INFO] [stderr]   Downloaded futures-macro v0.3.25
[INFO] [stderr]   Downloaded quote v1.0.23
[INFO] [stderr]   Downloaded route-recognizer v0.2.0
[INFO] [stderr]   Downloaded futures-task v0.3.25
[INFO] [stderr]   Downloaded itoa v1.0.5
[INFO] [stderr]   Downloaded sha1_smol v1.0.0
[INFO] [stderr]   Downloaded futures-sink v0.3.25
[INFO] [stderr]   Downloaded httpdate v0.3.2
[INFO] [stderr]   Downloaded form_urlencoded v1.1.0
[INFO] [stderr]   Downloaded tinyvec_macros v0.1.0
[INFO] [stderr]   Downloaded miow v0.2.2
[INFO] [stderr]   Downloaded net2 v0.2.38
[INFO] [stderr]   Downloaded once_cell v1.17.0
[INFO] [stderr]   Downloaded itoa v0.4.8
[INFO] [stderr]   Downloaded async-trait v0.1.60
[INFO] [stderr]   Downloaded pin-project-lite v0.1.12
[INFO] [stderr]   Downloaded getrandom v0.2.8
[INFO] [stderr]   Downloaded futures-channel v0.3.25
[INFO] [stderr]   Downloaded slab v0.4.7
[INFO] [stderr]   Downloaded ryu v1.0.12
[INFO] [stderr]   Downloaded unicode-bidi v0.3.8
[INFO] [stderr]   Downloaded socket2 v0.3.19
[INFO] [stderr]   Downloaded proc-macro2 v1.0.49
[INFO] [stderr]   Downloaded indexmap v1.9.2
[INFO] [stderr]   Downloaded futures v0.3.25
[INFO] [stderr]   Downloaded serde_derive v1.0.152
[INFO] [stderr]   Downloaded tracing-core v0.1.30
[INFO] [stderr]   Downloaded url v2.3.1
[INFO] [stderr]   Downloaded bytes v1.3.0
[INFO] [stderr]   Downloaded tracing v0.1.37
[INFO] [stderr]   Downloaded http v0.2.8
[INFO] [stderr]   Downloaded mio v0.6.23
[INFO] [stderr]   Downloaded redis v0.22.1
[INFO] [stderr]   Downloaded hyper v0.13.10
[INFO] [stderr]   Downloaded serde_json v1.0.91
[INFO] [stderr]   Downloaded h2 v0.2.7
[INFO] [stderr]   Downloaded futures-util v0.3.25
[INFO] [stderr]   Downloaded syn v1.0.107
[INFO] [stderr]   Downloaded idna v0.3.0
[INFO] [stderr]   Downloaded tokio v0.2.25
[INFO] [stderr]   Downloaded libc v0.2.139
[INFO] [stderr]   Downloaded serde v1.0.152
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00
[INFO] running `Command { std: "docker" "start" "9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00", kill_on_drop: false }`
[INFO] running `Command { std: "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" "9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00", kill_on_drop: false }`
[INFO] running `Command { std: "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" "9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.38
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling pin-project-lite v0.1.12
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling async-trait v0.1.60
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling combine v4.6.6
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling futures-io v0.3.25
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling route-recognizer v0.2.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling futures v0.3.25
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling redis v0.22.1
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling sip_party v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/services/lobby_service.rs:21:20
[INFO] [stdout]    |
[INFO] [stdout] 21 |     serialized_game
[INFO] [stdout]    |                    ^ help: add `;` here
[INFO] [stdout] 22 |     let _ : () = ctx.state.redis_client.set(code.to_string(), serialized_game.to_string())?;
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/controllers/lobby_controller.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Game` and `Player`
[INFO] [stdout]  --> src/controllers/lobby_controller.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     models::vote_game::{Game, Player},
[INFO] [stdout]   |                         ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/controllers/lobby_controller.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub async fn host_lobby(mut ctx: Context) -> String {
[INFO] [stdout]    |                         ----^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `ctx` because it is borrowed
[INFO] [stdout]   --> src/controllers/lobby_controller.rs:58:71
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub async fn join_lobby(mut ctx: Context) -> String {
[INFO] [stdout]    |                         ------- binding `ctx` declared here
[INFO] [stdout] 53 |     let code = match ctx.params.find("lobby_code") {
[INFO] [stdout]    |                      ---------- borrow of `ctx.params` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 58 |     let is_valid = match services::lobby_service::is_valid_lobby_code(ctx, code.to_string()) {
[INFO] [stdout]    |                                                                       ^^^  ---- borrow later used here
[INFO] [stdout]    |                                                                       |
[INFO] [stdout]    |                                                                       move out of `ctx` occurs here
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let code = match ctx.params.clone().find("lobby_code") {
[INFO] [stdout]    |                                ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `ctx`
[INFO] [stdout]    --> src/controllers/lobby_controller.rs:64:18
[INFO] [stdout]     |
[INFO] [stdout]  52 | pub async fn join_lobby(mut ctx: Context) -> String {
[INFO] [stdout]     |                         ------- move occurs because `ctx` has type `Context`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout]  58 |     let is_valid = match services::lobby_service::is_valid_lobby_code(ctx, code.to_string()) {
[INFO] [stdout]     |                                                                       --- value moved here
[INFO] [stdout] ...
[INFO] [stdout]  64 |     let result = ctx.state.redis_client.get::<&str, String>(&code);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] note: consider changing this parameter type in function `is_valid_lobby_code` to borrow instead if owning the value isn't necessary
[INFO] [stdout]    --> src/services/lobby_service.rs:5:37
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub fn is_valid_lobby_code(mut ctx: Context, code: String) -> Result<String, Error> {
[INFO] [stdout]     |        -------------------          ^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]     |        |
[INFO] [stdout]     |        in this function
[INFO] [stdout] note: if `Context` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> src/main.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct Context {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/controllers/lobby_controller.rs:58:71
[INFO] [stdout]     |
[INFO] [stdout]  58 |     let is_valid = match services::lobby_service::is_valid_lobby_code(ctx, code.to_string()) {
[INFO] [stdout]     |                                                                       --- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_valid`
[INFO] [stdout]   --> src/controllers/lobby_controller.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let is_valid = match services::lobby_service::is_valid_lobby_code(ctx, code.to_string()) {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_valid`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/utils/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut rng = thread_rng();
[INFO] [stdout]   |         ----^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]  --> src/utils/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     let mut rng = thread_rng();
[INFO] [stdout]   |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `self.players` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/models/vote_game.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         self.players.push(player);
[INFO] [stdout]    |         ^^^^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn add_player(&mut self, player: Player) {
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut redis_client = redis::Client::open(redis_conn_url)
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0505, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sip_party` (bin "sip_party") due to 4 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00", kill_on_drop: false }`
[INFO] [stdout] 9bffe4b46989d6878cb3ab9ad182f8811d5df80f431faf5b9c7c430cde406c00
