[INFO] cloning repository https://github.com/gilbertca/artillery
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gilbertca/artillery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilbertca%2Fartillery", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilbertca%2Fartillery'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fb7293d48dae071bd4348ed0edaf1ca6c0ea0648
[INFO] checking gilbertca/artillery against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgilbertca%2Fartillery" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gilbertca/artillery
[INFO] finished tweaking git repo https://github.com/gilbertca/artillery
[INFO] tweaked toml for git repo https://github.com/gilbertca/artillery written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gilbertca/artillery on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gilbertca/artillery 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a980f7666c1244ff6ad43055651dc1e06bea7a58578210b3f770c783304641c
[INFO] running `Command { std: "docker" "start" "-a" "0a980f7666c1244ff6ad43055651dc1e06bea7a58578210b3f770c783304641c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a980f7666c1244ff6ad43055651dc1e06bea7a58578210b3f770c783304641c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a980f7666c1244ff6ad43055651dc1e06bea7a58578210b3f770c783304641c", kill_on_drop: false }`
[INFO] [stdout] 0a980f7666c1244ff6ad43055651dc1e06bea7a58578210b3f770c783304641c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67e29d474720a2b83b7990196972a6b002c535c0bd6d76f9caae11378f9e8caf
[INFO] running `Command { std: "docker" "start" "-a" "67e29d474720a2b83b7990196972a6b002c535c0bd6d76f9caae11378f9e8caf", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking cpufeatures v0.2.16
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking http v1.2.0
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]     Checking tokio v1.42.0
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerofrom v0.1.5
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking serde v1.0.217
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking artillery v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `set_position` and `reset_game` are never used
[INFO] [stdout]    --> src/game.rs:387:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 387 |     pub fn set_position(&mut self, index:usize, x:f32, y:f32) -> Result<(), ArtilleryError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 |     pub fn reset_game(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:228:84
[INFO] [stdout]     |
[INFO] [stdout] 228 |       pub async fn get_all_units(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 229 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 230 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 238 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:228:84
[INFO] [stdout]     |
[INFO] [stdout] 228 |       pub async fn get_all_units(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 229 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 230 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 238 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         Ok(warp::reply::json(&response))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:242:93
[INFO] [stdout]     |
[INFO] [stdout] 242 |       pub async fn get_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _____________________________________________________________________________________________^
[INFO] [stdout] 243 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 244 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 268 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:242:93
[INFO] [stdout]     |
[INFO] [stdout] 242 |       pub async fn get_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _____________________________________________________________________________________________^
[INFO] [stdout] 243 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 244 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 268 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 | /         match gamestate.get_unit(index) {
[INFO] [stdout] 247 | |             Ok(unit) => {
[INFO] [stdout] 248 | |                 response.insert("position",
[INFO] [stdout] 249 | |                                 serde_json::to_string(&unit.clone()).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 267 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:259:24
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::OK));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:265:24
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NOT_FOUND));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:272:106
[INFO] [stdout]     |
[INFO] [stdout] 272 |       pub async fn create_unit(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  __________________________________________________________________________________________________________^
[INFO] [stdout] 273 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 274 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 289 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:272:106
[INFO] [stdout]     |
[INFO] [stdout] 272 |       pub async fn create_unit(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  __________________________________________________________________________________________________________^
[INFO] [stdout] 273 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 274 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 289 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 | /         match gamestate.add_unit(coordinate.x, coordinate.y) {
[INFO] [stdout] 277 | |             Ok(_) => {
[INFO] [stdout] 278 | |                 response.insert("coordinate",
[INFO] [stdout] 279 | |                                 serde_json::to_string(&coordinate.clone()).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 288 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:281:24
[INFO] [stdout]     |
[INFO] [stdout] 281 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:283:27
[INFO] [stdout]     |
[INFO] [stdout] 283 |               Err(error) => { // Currently only fails when unit is outside map, or inside the base
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 284 | |                 response.insert("error", serde_json::to_string(&error).unwrap());
[INFO] [stdout] 285 | |
[INFO] [stdout] 286 | |                 Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::BAD_REQUEST))
[INFO] [stdout] 287 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:286:17
[INFO] [stdout]     |
[INFO] [stdout] 286 |                 Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::BAD_REQUEST))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:292:96
[INFO] [stdout]     |
[INFO] [stdout] 292 |       pub async fn delete_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 293 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 294 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 304 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:292:96
[INFO] [stdout]     |
[INFO] [stdout] 292 |       pub async fn delete_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 293 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 294 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 304 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:296:9
[INFO] [stdout]     |
[INFO] [stdout] 296 | /         match gamestate.remove_unit(index) {
[INFO] [stdout] 297 | |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout] 298 | |             Err(error) => { // `Game.remove_unit` currently only fails when index DNE
[INFO] [stdout] 299 | |                 response.insert("error", serde_json::to_string(&error).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 303 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:297:31
[INFO] [stdout]     |
[INFO] [stdout] 297 |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:301:24
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NOT_FOUND));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:307:124
[INFO] [stdout]     |
[INFO] [stdout] 307 |       pub async fn set_destination(index: usize, coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________________________^
[INFO] [stdout] 308 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 309 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 324 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:307:124
[INFO] [stdout]     |
[INFO] [stdout] 307 |       pub async fn set_destination(index: usize, coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________________________^
[INFO] [stdout] 308 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 309 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 324 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:311:9
[INFO] [stdout]     |
[INFO] [stdout] 311 | /         match gamestate.set_destination(index, coordinate.x, coordinate.y) {
[INFO] [stdout] 312 | |             Ok(_) => {
[INFO] [stdout] 313 | |                 response.insert("index", serde_json::to_string(&index).unwrap());
[INFO] [stdout] 314 | |                 response.insert("coordinate", serde_json::to_string(&coordinate).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 323 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:316:24
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:321:24
[INFO] [stdout]     |
[INFO] [stdout] 321 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::BAD_REQUEST));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:335:86
[INFO] [stdout]     |
[INFO] [stdout] 335 |       pub async fn get_all_targets(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 336 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 337 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 342 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 343 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:335:86
[INFO] [stdout]     |
[INFO] [stdout] 335 |       pub async fn get_all_targets(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 336 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 337 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 342 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 343 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |         Ok(warp::reply::json(&response))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:347:95
[INFO] [stdout]     |
[INFO] [stdout] 347 |       pub async fn get_target(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________________________^
[INFO] [stdout] 348 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 349 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:347:95
[INFO] [stdout]     |
[INFO] [stdout] 347 |       pub async fn get_target(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________________________^
[INFO] [stdout] 348 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 349 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 | /         match gamestate.get_target(index) {
[INFO] [stdout] 352 | |             Ok(target) => {
[INFO] [stdout] 353 | |                 response.insert("target", serde_json::to_string(&target.clone()).unwrap());
[INFO] [stdout] 354 | |                 response.insert(
[INFO] [stdout] ...   |
[INFO] [stdout] 372 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:364:24
[INFO] [stdout]     |
[INFO] [stdout] 364 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:370:24
[INFO] [stdout]     |
[INFO] [stdout] 370 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NOT_FOUND));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:377:108
[INFO] [stdout]     |
[INFO] [stdout] 377 |       pub async fn create_target(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________^
[INFO] [stdout] 378 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 379 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 397 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:377:108
[INFO] [stdout]     |
[INFO] [stdout] 377 |       pub async fn create_target(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________^
[INFO] [stdout] 378 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 379 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 397 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:381:9
[INFO] [stdout]     |
[INFO] [stdout] 381 | /         match gamestate.add_target(coordinate.x, coordinate.y) {
[INFO] [stdout] 382 | |             Ok(_) => { 
[INFO] [stdout] 383 | |                 let coordinate = Coordinate { x: coordinate.x, y: coordinate.y };
[INFO] [stdout] 384 | |                 response.insert("target", serde_json::to_string(&coordinate).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 395 | |             },
[INFO] [stdout] 396 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:389:24
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:394:24
[INFO] [stdout]     |
[INFO] [stdout] 394 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::FORBIDDEN));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:400:84
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub async fn delete_target(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 401 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 402 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 413 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:400:84
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub async fn delete_target(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 401 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 402 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 413 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:404:9
[INFO] [stdout]     |
[INFO] [stdout] 404 | /         match gamestate.remove_newest_target() {
[INFO] [stdout] 405 | |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout] 406 | |             Err(error) => {
[INFO] [stdout] 407 | |                 response.insert("error", serde_json::to_string(&error).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 411 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:405:31
[INFO] [stdout]     |
[INFO] [stdout] 405 |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:409:24
[INFO] [stdout]     |
[INFO] [stdout] 409 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::FORBIDDEN));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:422:86
[INFO] [stdout]     |
[INFO] [stdout] 422 |       pub async fn get_game_config(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 423 | |         let gamestate = game.lock().await;
[INFO] [stdout] 424 | |
[INFO] [stdout] 425 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 435 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 436 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:422:86
[INFO] [stdout]     |
[INFO] [stdout] 422 |       pub async fn get_game_config(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 423 | |         let gamestate = game.lock().await;
[INFO] [stdout] 424 | |
[INFO] [stdout] 425 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 435 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 436 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Json, Infallible>
[INFO] [stdout]    --> src/main.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |         Ok(warp::reply::json(&response))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:438:79
[INFO] [stdout]     |
[INFO] [stdout] 438 |       pub async fn run_turn(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 439 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 440 | |
[INFO] [stdout] 441 | |         if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout] ...   |
[INFO] [stdout] 448 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:438:79
[INFO] [stdout]     |
[INFO] [stdout] 438 |       pub async fn run_turn(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 439 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 440 | |
[INFO] [stdout] 441 | |         if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout] ...   |
[INFO] [stdout] 448 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 | /         if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout] 442 | |             Ok(StatusCode::RESET_CONTENT)
[INFO] [stdout] 443 | |         }
[INFO] [stdout] 444 | |         else {
[INFO] [stdout] 445 | |             panic!("`Game::run_turn` has returned an error to `handler::run_turn`");
[INFO] [stdout] 446 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:441:45
[INFO] [stdout]     |
[INFO] [stdout] 441 |           if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 442 | |             Ok(StatusCode::RESET_CONTENT)
[INFO] [stdout] 443 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:442:13
[INFO] [stdout]     |
[INFO] [stdout] 442 |             Ok(StatusCode::RESET_CONTENT)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `artillery` (bin "artillery") due to 50 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: methods `set_position` and `reset_game` are never used
[INFO] [stdout]    --> src/game.rs:387:12
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 387 |     pub fn set_position(&mut self, index:usize, x:f32, y:f32) -> Result<(), ArtilleryError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 468 |     pub fn reset_game(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:228:84
[INFO] [stdout]     |
[INFO] [stdout] 228 |       pub async fn get_all_units(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 229 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 230 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 238 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:228:84
[INFO] [stdout]     |
[INFO] [stdout] 228 |       pub async fn get_all_units(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 229 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 230 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 237 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 238 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         Ok(warp::reply::json(&response))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:242:93
[INFO] [stdout]     |
[INFO] [stdout] 242 |       pub async fn get_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _____________________________________________________________________________________________^
[INFO] [stdout] 243 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 244 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 268 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:242:93
[INFO] [stdout]     |
[INFO] [stdout] 242 |       pub async fn get_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _____________________________________________________________________________________________^
[INFO] [stdout] 243 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 244 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 268 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 | /         match gamestate.get_unit(index) {
[INFO] [stdout] 247 | |             Ok(unit) => {
[INFO] [stdout] 248 | |                 response.insert("position",
[INFO] [stdout] 249 | |                                 serde_json::to_string(&unit.clone()).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 267 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:259:24
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::OK));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:265:24
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NOT_FOUND));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:272:106
[INFO] [stdout]     |
[INFO] [stdout] 272 |       pub async fn create_unit(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  __________________________________________________________________________________________________________^
[INFO] [stdout] 273 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 274 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 289 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:272:106
[INFO] [stdout]     |
[INFO] [stdout] 272 |       pub async fn create_unit(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  __________________________________________________________________________________________________________^
[INFO] [stdout] 273 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 274 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 289 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 | /         match gamestate.add_unit(coordinate.x, coordinate.y) {
[INFO] [stdout] 277 | |             Ok(_) => {
[INFO] [stdout] 278 | |                 response.insert("coordinate",
[INFO] [stdout] 279 | |                                 serde_json::to_string(&coordinate.clone()).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 288 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:281:24
[INFO] [stdout]     |
[INFO] [stdout] 281 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:283:27
[INFO] [stdout]     |
[INFO] [stdout] 283 |               Err(error) => { // Currently only fails when unit is outside map, or inside the base
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 284 | |                 response.insert("error", serde_json::to_string(&error).unwrap());
[INFO] [stdout] 285 | |
[INFO] [stdout] 286 | |                 Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::BAD_REQUEST))
[INFO] [stdout] 287 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:286:17
[INFO] [stdout]     |
[INFO] [stdout] 286 |                 Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::BAD_REQUEST))
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:292:96
[INFO] [stdout]     |
[INFO] [stdout] 292 |       pub async fn delete_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 293 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 294 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 304 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:292:96
[INFO] [stdout]     |
[INFO] [stdout] 292 |       pub async fn delete_unit(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ________________________________________________________________________________________________^
[INFO] [stdout] 293 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 294 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 304 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:296:9
[INFO] [stdout]     |
[INFO] [stdout] 296 | /         match gamestate.remove_unit(index) {
[INFO] [stdout] 297 | |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout] 298 | |             Err(error) => { // `Game.remove_unit` currently only fails when index DNE
[INFO] [stdout] 299 | |                 response.insert("error", serde_json::to_string(&error).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 303 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:297:31
[INFO] [stdout]     |
[INFO] [stdout] 297 |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:301:24
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NOT_FOUND));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:307:124
[INFO] [stdout]     |
[INFO] [stdout] 307 |       pub async fn set_destination(index: usize, coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________________________^
[INFO] [stdout] 308 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 309 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 324 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:307:124
[INFO] [stdout]     |
[INFO] [stdout] 307 |       pub async fn set_destination(index: usize, coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________________________^
[INFO] [stdout] 308 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 309 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 324 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:311:9
[INFO] [stdout]     |
[INFO] [stdout] 311 | /         match gamestate.set_destination(index, coordinate.x, coordinate.y) {
[INFO] [stdout] 312 | |             Ok(_) => {
[INFO] [stdout] 313 | |                 response.insert("index", serde_json::to_string(&index).unwrap());
[INFO] [stdout] 314 | |                 response.insert("coordinate", serde_json::to_string(&coordinate).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 323 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:316:24
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:321:24
[INFO] [stdout]     |
[INFO] [stdout] 321 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::BAD_REQUEST));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:335:86
[INFO] [stdout]     |
[INFO] [stdout] 335 |       pub async fn get_all_targets(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 336 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 337 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 342 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 343 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:335:86
[INFO] [stdout]     |
[INFO] [stdout] 335 |       pub async fn get_all_targets(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 336 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 337 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 342 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 343 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:342:9
[INFO] [stdout]     |
[INFO] [stdout] 342 |         Ok(warp::reply::json(&response))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:347:95
[INFO] [stdout]     |
[INFO] [stdout] 347 |       pub async fn get_target(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________________________^
[INFO] [stdout] 348 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 349 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:347:95
[INFO] [stdout]     |
[INFO] [stdout] 347 |       pub async fn get_target(index: usize, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________________________^
[INFO] [stdout] 348 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 349 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:351:9
[INFO] [stdout]     |
[INFO] [stdout] 351 | /         match gamestate.get_target(index) {
[INFO] [stdout] 352 | |             Ok(target) => {
[INFO] [stdout] 353 | |                 response.insert("target", serde_json::to_string(&target.clone()).unwrap());
[INFO] [stdout] 354 | |                 response.insert(
[INFO] [stdout] ...   |
[INFO] [stdout] 372 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:364:24
[INFO] [stdout]     |
[INFO] [stdout] 364 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:370:24
[INFO] [stdout]     |
[INFO] [stdout] 370 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NOT_FOUND));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:377:108
[INFO] [stdout]     |
[INFO] [stdout] 377 |       pub async fn create_target(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________^
[INFO] [stdout] 378 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 379 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 397 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:377:108
[INFO] [stdout]     |
[INFO] [stdout] 377 |       pub async fn create_target(coordinate: Coordinate, game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________________________________^
[INFO] [stdout] 378 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 379 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 397 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:381:9
[INFO] [stdout]     |
[INFO] [stdout] 381 | /         match gamestate.add_target(coordinate.x, coordinate.y) {
[INFO] [stdout] 382 | |             Ok(_) => { 
[INFO] [stdout] 383 | |                 let coordinate = Coordinate { x: coordinate.x, y: coordinate.y };
[INFO] [stdout] 384 | |                 response.insert("target", serde_json::to_string(&coordinate).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 395 | |             },
[INFO] [stdout] 396 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:389:24
[INFO] [stdout]     |
[INFO] [stdout] 389 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::CREATED));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:394:24
[INFO] [stdout]     |
[INFO] [stdout] 394 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::FORBIDDEN));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:400:84
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub async fn delete_target(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 401 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 402 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 413 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:400:84
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub async fn delete_target(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ____________________________________________________________________________________^
[INFO] [stdout] 401 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 402 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 413 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:404:9
[INFO] [stdout]     |
[INFO] [stdout] 404 | /         match gamestate.remove_newest_target() {
[INFO] [stdout] 405 | |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout] 406 | |             Err(error) => {
[INFO] [stdout] 407 | |                 response.insert("error", serde_json::to_string(&error).unwrap());
[INFO] [stdout] ...   |
[INFO] [stdout] 411 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:405:31
[INFO] [stdout]     |
[INFO] [stdout] 405 |             Ok(_) => { return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::NO_CONTENT)); },
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<WithStatus<warp::reply::Json>, Infallible>
[INFO] [stdout]    --> src/main.rs:409:24
[INFO] [stdout]     |
[INFO] [stdout] 409 |                 return Ok(warp::reply::with_status(warp::reply::json(&response), StatusCode::FORBIDDEN));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:422:86
[INFO] [stdout]     |
[INFO] [stdout] 422 |       pub async fn get_game_config(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 423 | |         let gamestate = game.lock().await;
[INFO] [stdout] 424 | |
[INFO] [stdout] 425 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 435 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 436 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:422:86
[INFO] [stdout]     |
[INFO] [stdout] 422 |       pub async fn get_game_config(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  ______________________________________________________________________________________^
[INFO] [stdout] 423 | |         let gamestate = game.lock().await;
[INFO] [stdout] 424 | |
[INFO] [stdout] 425 | |         let mut response: HashMap<&str, String> = HashMap::new();
[INFO] [stdout] ...   |
[INFO] [stdout] 435 | |         Ok(warp::reply::json(&response))
[INFO] [stdout] 436 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<warp::reply::Json, Infallible>
[INFO] [stdout]    --> src/main.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |         Ok(warp::reply::json(&response))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:438:79
[INFO] [stdout]     |
[INFO] [stdout] 438 |       pub async fn run_turn(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 439 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 440 | |
[INFO] [stdout] 441 | |         if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout] ...   |
[INFO] [stdout] 448 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:438:79
[INFO] [stdout]     |
[INFO] [stdout] 438 |       pub async fn run_turn(game: Game) -> Result<impl warp::Reply, Infallible> {
[INFO] [stdout]     |  _______________________________________________________________________________^
[INFO] [stdout] 439 | |         let mut gamestate = game.lock().await;
[INFO] [stdout] 440 | |
[INFO] [stdout] 441 | |         if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout] ...   |
[INFO] [stdout] 448 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:441:9
[INFO] [stdout]     |
[INFO] [stdout] 441 | /         if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout] 442 | |             Ok(StatusCode::RESET_CONTENT)
[INFO] [stdout] 443 | |         }
[INFO] [stdout] 444 | |         else {
[INFO] [stdout] 445 | |             panic!("`Game::run_turn` has returned an error to `handler::run_turn`");
[INFO] [stdout] 446 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:441:45
[INFO] [stdout]     |
[INFO] [stdout] 441 |           if let Ok(_) = gamestate.run_turn() {
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 442 | |             Ok(StatusCode::RESET_CONTENT)
[INFO] [stdout] 443 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<StatusCode, Infallible>
[INFO] [stdout]    --> src/main.rs:442:13
[INFO] [stdout]     |
[INFO] [stdout] 442 |             Ok(StatusCode::RESET_CONTENT)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `artillery` (bin "artillery" test) due to 50 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "67e29d474720a2b83b7990196972a6b002c535c0bd6d76f9caae11378f9e8caf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67e29d474720a2b83b7990196972a6b002c535c0bd6d76f9caae11378f9e8caf", kill_on_drop: false }`
[INFO] [stdout] 67e29d474720a2b83b7990196972a6b002c535c0bd6d76f9caae11378f9e8caf
