[INFO] fetching crate samserve 0.1.1...
[INFO] checking samserve-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate samserve 0.1.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate samserve 0.1.1
[INFO] finished tweaking crates.io crate samserve 0.1.1
[INFO] tweaked toml for crates.io crate samserve 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate samserve 0.1.1 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 crates.io crate samserve 0.1.1 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] [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] bc5b05010ee2fe79e196314cfa0c05efea7f9df6ebbb374f7f985517e2d63fcb
[INFO] running `Command { std: "docker" "start" "-a" "bc5b05010ee2fe79e196314cfa0c05efea7f9df6ebbb374f7f985517e2d63fcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc5b05010ee2fe79e196314cfa0c05efea7f9df6ebbb374f7f985517e2d63fcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc5b05010ee2fe79e196314cfa0c05efea7f9df6ebbb374f7f985517e2d63fcb", kill_on_drop: false }`
[INFO] [stdout] bc5b05010ee2fe79e196314cfa0c05efea7f9df6ebbb374f7f985517e2d63fcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] eb9f723d1097eb8d33a67fdaef5f1cf43f93af1d888e41307e10064eaa029271
[INFO] running `Command { std: "docker" "start" "-a" "eb9f723d1097eb8d33a67fdaef5f1cf43f93af1d888e41307e10064eaa029271", kill_on_drop: false }`
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking html-escape v0.2.13
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking clap_builder v4.5.42
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking simple_logger v5.0.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]     Checking sanitize-filename v0.6.0
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking clap v4.5.42
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking samserve v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<{closure@src/main.rs:46:44: 46:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |           async move {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 46 | |             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 47 | |                 handler::handle_requests(
[INFO] [stdout] 48 | |                     req,
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             }))
[INFO] [stdout] 55 | |         }
[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<hyper::service::util::ServiceFn<{closure@src/main.rs:46:44: 46:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | /             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 47 | |                 handler::handle_requests(
[INFO] [stdout] 48 | |                     req,
[INFO] [stdout] 49 | |                     remote_addr.clone(),
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             }))
[INFO] [stdout]    | |_______________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 26 | |     if let Some(base64_auth) = &*auth {
[INFO] [stdout] 27 | |         if let Err(unauthorize) = check_basic_auth(&req, base64_auth, remote_addr) {
[INFO] [stdout] 28 | |             return Ok(unauthorize);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(response)
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 26 | |     if let Some(base64_auth) = &*auth {
[INFO] [stdout] 27 | |         if let Err(unauthorize) = check_basic_auth(&req, base64_auth, remote_addr) {
[INFO] [stdout] 28 | |             return Ok(unauthorize);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(response)
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:28:20
[INFO] [stdout]    |
[INFO] [stdout] 28 |             return Ok(unauthorize);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return handle_upload(req, PathBuf::from(root_dir.as_str()), remote_addr).await;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:34:86
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return handle_upload(req, PathBuf::from(root_dir.as_str()), remote_addr).await;
[INFO] [stdout]    |                                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return handle_upload(req, PathBuf::from(root_dir.as_str()), remote_addr).await;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |               return Ok(Response::builder()
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 44 | |                 .status(StatusCode::FORBIDDEN)
[INFO] [stdout] 45 | |                 .body(Body::from("Uploads are disabled on this server"))
[INFO] [stdout] 46 | |                 .unwrap());
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Ok(response)
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:465:41
[INFO] [stdout]     |
[INFO] [stdout] 465 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 466 | |     let path_uri = req.uri().path().trim_start_matches("/");
[INFO] [stdout] 467 | |     let target_dir = root_dir.join(PathBuf::from(path_uri));
[INFO] [stdout] 468 | |     let version = (&req.version()).clone();
[INFO] [stdout] ...   |
[INFO] [stdout] 549 | |         .unwrap())
[INFO] [stdout] 550 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:465:41
[INFO] [stdout]     |
[INFO] [stdout] 465 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 466 | |     let path_uri = req.uri().path().trim_start_matches("/");
[INFO] [stdout] 467 | |     let target_dir = root_dir.join(PathBuf::from(path_uri));
[INFO] [stdout] 468 | |     let version = (&req.version()).clone();
[INFO] [stdout] ...   |
[INFO] [stdout] 549 | |         .unwrap())
[INFO] [stdout] 550 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:477:16
[INFO] [stdout]     |
[INFO] [stdout] 477 |           return Ok(Response::builder()
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 478 | |             .status(StatusCode::CONFLICT)
[INFO] [stdout] 479 | |             .body(Body::from("Upload path is a file"))
[INFO] [stdout] 480 | |             .unwrap());
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:497:16
[INFO] [stdout]     |
[INFO] [stdout] 497 |           return Ok(Response::builder()
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 498 | |             .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 499 | |             .body(Body::from("Expected multipart/form-data"))
[INFO] [stdout] 500 | |             .unwrap());
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:533:16
[INFO] [stdout]     |
[INFO] [stdout] 533 |           return Ok(Response::builder()
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 534 | |             .status(StatusCode::SEE_OTHER)
[INFO] [stdout] 535 | |             .header("Location", ".")
[INFO] [stdout] 536 | |             .body(Body::empty())
[INFO] [stdout] 537 | |             .unwrap());
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:546:5
[INFO] [stdout]     |
[INFO] [stdout] 546 | /     Ok(Response::builder()
[INFO] [stdout] 547 | |         .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 548 | |         .body(Body::from("No file field"))
[INFO] [stdout] 549 | |         .unwrap())
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `samserve` (bin "samserve") due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<{closure@src/main.rs:46:44: 46:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |           async move {
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 46 | |             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 47 | |                 handler::handle_requests(
[INFO] [stdout] 48 | |                     req,
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             }))
[INFO] [stdout] 55 | |         }
[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<hyper::service::util::ServiceFn<{closure@src/main.rs:46:44: 46:54}, Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 | /             Ok::<_, Infallible>(service_fn(move |req| {
[INFO] [stdout] 47 | |                 handler::handle_requests(
[INFO] [stdout] 48 | |                     req,
[INFO] [stdout] 49 | |                     remote_addr.clone(),
[INFO] [stdout] ...  |
[INFO] [stdout] 54 | |             }))
[INFO] [stdout]    | |_______________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 26 | |     if let Some(base64_auth) = &*auth {
[INFO] [stdout] 27 | |         if let Err(unauthorize) = check_basic_auth(&req, base64_auth, remote_addr) {
[INFO] [stdout] 28 | |             return Ok(unauthorize);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(response)
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 26 | |     if let Some(base64_auth) = &*auth {
[INFO] [stdout] 27 | |         if let Err(unauthorize) = check_basic_auth(&req, base64_auth, remote_addr) {
[INFO] [stdout] 28 | |             return Ok(unauthorize);
[INFO] [stdout] ...  |
[INFO] [stdout] 57 | |     Ok(response)
[INFO] [stdout] 58 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:28:20
[INFO] [stdout]    |
[INFO] [stdout] 28 |             return Ok(unauthorize);
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return handle_upload(req, PathBuf::from(root_dir.as_str()), remote_addr).await;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:34:86
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return handle_upload(req, PathBuf::from(root_dir.as_str()), remote_addr).await;
[INFO] [stdout]    |                                                                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             return handle_upload(req, PathBuf::from(root_dir.as_str()), remote_addr).await;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |               return Ok(Response::builder()
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 44 | |                 .status(StatusCode::FORBIDDEN)
[INFO] [stdout] 45 | |                 .body(Body::from("Uploads are disabled on this server"))
[INFO] [stdout] 46 | |                 .unwrap());
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/handler.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Ok(response)
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:465:41
[INFO] [stdout]     |
[INFO] [stdout] 465 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 466 | |     let path_uri = req.uri().path().trim_start_matches("/");
[INFO] [stdout] 467 | |     let target_dir = root_dir.join(PathBuf::from(path_uri));
[INFO] [stdout] 468 | |     let version = (&req.version()).clone();
[INFO] [stdout] ...   |
[INFO] [stdout] 549 | |         .unwrap())
[INFO] [stdout] 550 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:465:41
[INFO] [stdout]     |
[INFO] [stdout] 465 |   ) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 466 | |     let path_uri = req.uri().path().trim_start_matches("/");
[INFO] [stdout] 467 | |     let target_dir = root_dir.join(PathBuf::from(path_uri));
[INFO] [stdout] 468 | |     let version = (&req.version()).clone();
[INFO] [stdout] ...   |
[INFO] [stdout] 549 | |         .unwrap())
[INFO] [stdout] 550 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:477:16
[INFO] [stdout]     |
[INFO] [stdout] 477 |           return Ok(Response::builder()
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 478 | |             .status(StatusCode::CONFLICT)
[INFO] [stdout] 479 | |             .body(Body::from("Upload path is a file"))
[INFO] [stdout] 480 | |             .unwrap());
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:497:16
[INFO] [stdout]     |
[INFO] [stdout] 497 |           return Ok(Response::builder()
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 498 | |             .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 499 | |             .body(Body::from("Expected multipart/form-data"))
[INFO] [stdout] 500 | |             .unwrap());
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:533:16
[INFO] [stdout]     |
[INFO] [stdout] 533 |           return Ok(Response::builder()
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 534 | |             .status(StatusCode::SEE_OTHER)
[INFO] [stdout] 535 | |             .header("Location", ".")
[INFO] [stdout] 536 | |             .body(Body::empty())
[INFO] [stdout] 537 | |             .unwrap());
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/handler.rs:546:5
[INFO] [stdout]     |
[INFO] [stdout] 546 | /     Ok(Response::builder()
[INFO] [stdout] 547 | |         .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 548 | |         .body(Body::from("No file field"))
[INFO] [stdout] 549 | |         .unwrap())
[INFO] [stdout]     | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `samserve` (bin "samserve" test) due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "eb9f723d1097eb8d33a67fdaef5f1cf43f93af1d888e41307e10064eaa029271", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb9f723d1097eb8d33a67fdaef5f1cf43f93af1d888e41307e10064eaa029271", kill_on_drop: false }`
[INFO] [stdout] eb9f723d1097eb8d33a67fdaef5f1cf43f93af1d888e41307e10064eaa029271
