[INFO] fetching crate mocktail 0.3.0... [INFO] checking mocktail-0.3.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate mocktail 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mocktail 0.3.0 [INFO] finished tweaking crates.io crate mocktail 0.3.0 [INFO] tweaked toml for crates.io crate mocktail 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mocktail 0.3.0 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 mocktail 0.3.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 689a3022caffea51a84f0ada42923a8f6dd6c51ade3f44a5075851e5db091501 [INFO] running `Command { std: "docker" "start" "-a" "689a3022caffea51a84f0ada42923a8f6dd6c51ade3f44a5075851e5db091501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "689a3022caffea51a84f0ada42923a8f6dd6c51ade3f44a5075851e5db091501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689a3022caffea51a84f0ada42923a8f6dd6c51ade3f44a5075851e5db091501", kill_on_drop: false }` [INFO] [stdout] 689a3022caffea51a84f0ada42923a8f6dd6c51ade3f44a5075851e5db091501 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f0370a5cd6d7c1e08dc6805f1eea288e7e2efde417614c6387bfb972e05b4e4f [INFO] running `Command { std: "docker" "start" "-a" "f0370a5cd6d7c1e08dc6805f1eea288e7e2efde417614c6387bfb972e05b4e4f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking tokio v1.44.0 [INFO] [stderr] Checking getrandom v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking prost v0.13.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 icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper-util v0.1.10 [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 mocktail v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/body.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | Poll::Ready(Some(Ok(frame))) [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>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let fut = async move { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 38 | | debug!(?req, "handling request"); [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | if req.method() != http::Method::POST { [INFO] [stdout] ... | [INFO] [stdout] 119 | | Ok(response) [INFO] [stdout] 120 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | return Ok(http::Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 42 | | .status(http::StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 43 | | .header("Allow", "POST") [INFO] [stdout] 44 | | .body(empty()) [INFO] [stdout] 45 | | .unwrap()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | return Ok(http::Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 54 | | .status(http::StatusCode::UNSUPPORTED_MEDIA_TYPE) [INFO] [stdout] 55 | | .header("Accept-Post", "application/grpc") [INFO] [stdout] 56 | | .body(empty()) [INFO] [stdout] 57 | | .unwrap()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let fut = async move { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 47 | | debug!(?req, "handling request"); [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | if !ALLOWED_METHODS.contains(req.method()) { [INFO] [stdout] ... | [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | return Ok(http::Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 51 | | .status(http::StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 52 | | .header("Allow", "GET, POST, PUT, HEAD, DELETE") [INFO] [stdout] 53 | | .body(empty()) [INFO] [stdout] 54 | | .unwrap()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / if body.is_end_stream() { [INFO] [stdout] 68 | | // Process as unary [INFO] [stdout] 69 | | // Match request to mock [INFO] [stdout] 70 | | let request = Request::from_parts(parts).with_body(chunk); [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(response) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | if body.is_end_stream() { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 68 | | // Process as unary [INFO] [stdout] 69 | | // Match request to mock [INFO] [stdout] 70 | | let request = Request::from_parts(parts).with_body(chunk); [INFO] [stdout] ... | [INFO] [stdout] 95 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | / if let Some(mock) = mock { [INFO] [stdout] 73 | | debug!("mock found, sending response"); [INFO] [stdout] 74 | | let response = mock.response; [INFO] [stdout] 75 | | let mut body = response.body().clone().as_bytes(); [INFO] [stdout] ... | [INFO] [stdout] 93 | | .unwrap()) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(mock) = mock { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 73 | | debug!("mock found, sending response"); [INFO] [stdout] 74 | | let response = mock.response; [INFO] [stdout] 75 | | let mut body = response.body().clone().as_bytes(); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(res) [INFO] [stdout] 88 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 89 | | debug!(?request, "no mocks found, sending error"); [INFO] [stdout] 90 | | Ok(http::Response::builder() [INFO] [stdout] 91 | | .status(http::StatusCode::NOT_FOUND) [INFO] [stdout] 92 | | .body(full(Bytes::from("mock not found"))) [INFO] [stdout] 93 | | .unwrap()) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | / Ok(http::Response::builder() [INFO] [stdout] 91 | | .status(http::StatusCode::NOT_FOUND) [INFO] [stdout] 92 | | .body(full(Bytes::from("mock not found"))) [INFO] [stdout] 93 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 96 | | // Process as streaming [INFO] [stdout] 97 | | let mut stream = body.into_data_stream(); [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(response) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mocktail` (lib test) 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, Infallible> [INFO] [stdout] --> src/body.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | Poll::Ready(Some(Ok(frame))) [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>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | let fut = async move { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 38 | | debug!(?req, "handling request"); [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | if req.method() != http::Method::POST { [INFO] [stdout] ... | [INFO] [stdout] 119 | | Ok(response) [INFO] [stdout] 120 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | return Ok(http::Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 42 | | .status(http::StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 43 | | .header("Allow", "POST") [INFO] [stdout] 44 | | .body(empty()) [INFO] [stdout] 45 | | .unwrap()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | return Ok(http::Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 54 | | .status(http::StatusCode::UNSUPPORTED_MEDIA_TYPE) [INFO] [stdout] 55 | | .header("Accept-Post", "application/grpc") [INFO] [stdout] 56 | | .body(empty()) [INFO] [stdout] 57 | | .unwrap()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/grpc.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | let fut = async move { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 47 | | debug!(?req, "handling request"); [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | if !ALLOWED_METHODS.contains(req.method()) { [INFO] [stdout] ... | [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | return Ok(http::Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 51 | | .status(http::StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] 52 | | .header("Allow", "GET, POST, PUT, HEAD, DELETE") [INFO] [stdout] 53 | | .body(empty()) [INFO] [stdout] 54 | | .unwrap()); [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / if body.is_end_stream() { [INFO] [stdout] 68 | | // Process as unary [INFO] [stdout] 69 | | // Match request to mock [INFO] [stdout] 70 | | let request = Request::from_parts(parts).with_body(chunk); [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(response) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | if body.is_end_stream() { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 68 | | // Process as unary [INFO] [stdout] 69 | | // Match request to mock [INFO] [stdout] 70 | | let request = Request::from_parts(parts).with_body(chunk); [INFO] [stdout] ... | [INFO] [stdout] 95 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | / if let Some(mock) = mock { [INFO] [stdout] 73 | | debug!("mock found, sending response"); [INFO] [stdout] 74 | | let response = mock.response; [INFO] [stdout] 75 | | let mut body = response.body().clone().as_bytes(); [INFO] [stdout] ... | [INFO] [stdout] 93 | | .unwrap()) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | if let Some(mock) = mock { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 73 | | debug!("mock found, sending response"); [INFO] [stdout] 74 | | let response = mock.response; [INFO] [stdout] 75 | | let mut body = response.body().clone().as_bytes(); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Ok(res) [INFO] [stdout] 88 | | } else { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | } else { [INFO] [stdout] | ________________________^ [INFO] [stdout] 89 | | debug!(?request, "no mocks found, sending error"); [INFO] [stdout] 90 | | Ok(http::Response::builder() [INFO] [stdout] 91 | | .status(http::StatusCode::NOT_FOUND) [INFO] [stdout] 92 | | .body(full(Bytes::from("mock not found"))) [INFO] [stdout] 93 | | .unwrap()) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | / Ok(http::Response::builder() [INFO] [stdout] 91 | | .status(http::StatusCode::NOT_FOUND) [INFO] [stdout] 92 | | .body(full(Bytes::from("mock not found"))) [INFO] [stdout] 93 | | .unwrap()) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 96 | | // Process as streaming [INFO] [stdout] 97 | | let mut stream = body.into_data_stream(); [INFO] [stdout] ... | [INFO] [stdout] 154 | | Ok(response) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/service/http.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mocktail` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "f0370a5cd6d7c1e08dc6805f1eea288e7e2efde417614c6387bfb972e05b4e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0370a5cd6d7c1e08dc6805f1eea288e7e2efde417614c6387bfb972e05b4e4f", kill_on_drop: false }` [INFO] [stdout] f0370a5cd6d7c1e08dc6805f1eea288e7e2efde417614c6387bfb972e05b4e4f