[INFO] fetching crate pipewarp 0.1.5... [INFO] checking pipewarp-0.1.5 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate pipewarp 0.1.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate pipewarp 0.1.5 [INFO] finished tweaking crates.io crate pipewarp 0.1.5 [INFO] tweaked toml for crates.io crate pipewarp 0.1.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pipewarp 0.1.5 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 195 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding warp v0.3.7 (available: v0.4.2) [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] 6859307d47613eeabd0600fc3b1e8bfc1c50a9cd070e0d788c66936389c05247 [INFO] running `Command { std: "docker" "start" "-a" "6859307d47613eeabd0600fc3b1e8bfc1c50a9cd070e0d788c66936389c05247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6859307d47613eeabd0600fc3b1e8bfc1c50a9cd070e0d788c66936389c05247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6859307d47613eeabd0600fc3b1e8bfc1c50a9cd070e0d788c66936389c05247", kill_on_drop: false }` [INFO] [stdout] 6859307d47613eeabd0600fc3b1e8bfc1c50a9cd070e0d788c66936389c05247 [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] 9beced093079965cb90983fec04eaeb4b686719fbba4637080664dbd5a291c86 [INFO] running `Command { std: "docker" "start" "-a" "9beced093079965cb90983fec04eaeb4b686719fbba4637080664dbd5a291c86", kill_on_drop: false }` [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling pipederive v0.2.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking pipebase v0.2.0 [INFO] [stderr] Checking url v2.5.7 [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 pipewarp v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 217 | | let contexts = repository.list_contexts(); [INFO] [stdout] 218 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 219 | | } [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 [INFO] [stdout] --> src/context.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 217 | | let contexts = repository.list_contexts(); [INFO] [stdout] 218 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | Ok(warp::reply::json(&contexts)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 225 | | match repository.get_context(&name) { [INFO] [stdout] 226 | | Some(context) => Ok(Response::builder() [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 225 | | match repository.get_context(&name) { [INFO] [stdout] 226 | | Some(context) => Ok(Response::builder() [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | / match repository.get_context(&name) { [INFO] [stdout] 226 | | Some(context) => Ok(Response::builder() [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] 228 | | .body(serde_json::to_string(&context).unwrap())), [INFO] [stdout] ... | [INFO] [stdout] 231 | | .body(format!("pipe '{}' not found", &name))), [INFO] [stdout] 232 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | Some(context) => Ok(Response::builder() [INFO] [stdout] | ______________________________^ [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] 228 | | .body(serde_json::to_string(&context).unwrap())), [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | None => Ok(Response::builder() [INFO] [stdout] | _____________________^ [INFO] [stdout] 230 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 231 | | .body(format!("pipe '{}' not found", &name))), [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let contexts = repository.query_context(query); [INFO] [stdout] 240 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let contexts = repository.query_context(query); [INFO] [stdout] 240 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Ok(warp::reply::json(&contexts)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:243:92 [INFO] [stdout] | [INFO] [stdout] 243 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 244 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 245 | | if sent { [INFO] [stdout] 246 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 253 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:243:92 [INFO] [stdout] | [INFO] [stdout] 243 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 244 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 245 | | if sent { [INFO] [stdout] 246 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 253 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 247 | | .status(StatusCode::OK) [INFO] [stdout] 248 | | .body("shutdown ...".to_string())); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | / Ok(Response::builder() [INFO] [stdout] 252 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 253 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:256:67 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn health() -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 257 | | Ok(StatusCode::OK) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:256:67 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn health() -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 257 | | Ok(StatusCode::OK) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 186 | | if state.is_pause() { [INFO] [stdout] 187 | | let maintenance = models::Maintenance::new("ingestion server paused".to_string()); [INFO] [stdout] 188 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 186 | | if state.is_pause() { [INFO] [stdout] 187 | | let maintenance = models::Maintenance::new("ingestion server paused".to_string()); [INFO] [stdout] 188 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 189 | | .status(StatusCode::SERVICE_UNAVAILABLE) [INFO] [stdout] 190 | | .body(serde_json::to_string(&maintenance).unwrap())); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / match sender.send(bytes.to_vec()).await { [INFO] [stdout] 194 | | Ok(_) => { [INFO] [stdout] 195 | | let success = models::Success::new(size); [INFO] [stdout] 196 | | Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(_) => { [INFO] [stdout] | ______________________^ [INFO] [stdout] 195 | | let success = models::Success::new(size); [INFO] [stdout] 196 | | Ok(Response::builder() [INFO] [stdout] 197 | | .status(StatusCode::OK) [INFO] [stdout] 198 | | .body(serde_json::to_string(&success).unwrap())) [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | / Ok(Response::builder() [INFO] [stdout] 197 | | .status(StatusCode::OK) [INFO] [stdout] 198 | | .body(serde_json::to_string(&success).unwrap())) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 201 | | let failure = models::Failure::new(e.to_string()); [INFO] [stdout] 202 | | Ok(Response::builder() [INFO] [stdout] 203 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 204 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | / Ok(Response::builder() [INFO] [stdout] 203 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 204 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 212 | | state.set_pause(true); [INFO] [stdout] 213 | | Ok(StatusCode::OK) [INFO] [stdout] 214 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 212 | | state.set_pause(true); [INFO] [stdout] 213 | | Ok(StatusCode::OK) [INFO] [stdout] 214 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 219 | | state.set_pause(false); [INFO] [stdout] 220 | | Ok(StatusCode::OK) [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 219 | | state.set_pause(false); [INFO] [stdout] 220 | | Ok(StatusCode::OK) [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:223:92 [INFO] [stdout] | [INFO] [stdout] 223 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 224 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 225 | | if sent { [INFO] [stdout] 226 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:223:92 [INFO] [stdout] | [INFO] [stdout] 223 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 224 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 225 | | if sent { [INFO] [stdout] 226 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] 228 | | .body("shutdown ...".to_string())); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / Ok(Response::builder() [INFO] [stdout] 232 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 233 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let health = models::Health::new(!state.is_pause()); [INFO] [stdout] 240 | | Ok(warp::reply::json(&health)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let health = models::Health::new(!state.is_pause()); [INFO] [stdout] 240 | | Ok(warp::reply::json(&health)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Ok(warp::reply::json(&health)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pipewarp` (lib) due to 18 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 217 | | let contexts = repository.list_contexts(); [INFO] [stdout] 218 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 219 | | } [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 [INFO] [stdout] --> src/context.rs:216:47 [INFO] [stdout] | [INFO] [stdout] 216 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 217 | | let contexts = repository.list_contexts(); [INFO] [stdout] 218 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | Ok(warp::reply::json(&contexts)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 225 | | match repository.get_context(&name) { [INFO] [stdout] 226 | | Some(context) => Ok(Response::builder() [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mustuse_in_always_ok)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:224:47 [INFO] [stdout] | [INFO] [stdout] 224 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 225 | | match repository.get_context(&name) { [INFO] [stdout] 226 | | Some(context) => Ok(Response::builder() [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] ... | [INFO] [stdout] 233 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | / match repository.get_context(&name) { [INFO] [stdout] 226 | | Some(context) => Ok(Response::builder() [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] 228 | | .body(serde_json::to_string(&context).unwrap())), [INFO] [stdout] ... | [INFO] [stdout] 231 | | .body(format!("pipe '{}' not found", &name))), [INFO] [stdout] 232 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:226:30 [INFO] [stdout] | [INFO] [stdout] 226 | Some(context) => Ok(Response::builder() [INFO] [stdout] | ______________________________^ [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] 228 | | .body(serde_json::to_string(&context).unwrap())), [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | None => Ok(Response::builder() [INFO] [stdout] | _____________________^ [INFO] [stdout] 230 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 231 | | .body(format!("pipe '{}' not found", &name))), [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let contexts = repository.query_context(query); [INFO] [stdout] 240 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let contexts = repository.query_context(query); [INFO] [stdout] 240 | | Ok(warp::reply::json(&contexts)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Ok(warp::reply::json(&contexts)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:243:92 [INFO] [stdout] | [INFO] [stdout] 243 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 244 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 245 | | if sent { [INFO] [stdout] 246 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 253 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:243:92 [INFO] [stdout] | [INFO] [stdout] 243 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 244 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 245 | | if sent { [INFO] [stdout] 246 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 253 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 254 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 247 | | .status(StatusCode::OK) [INFO] [stdout] 248 | | .body("shutdown ...".to_string())); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/context.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | / Ok(Response::builder() [INFO] [stdout] 252 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 253 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:256:67 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn health() -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 257 | | Ok(StatusCode::OK) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:256:67 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn health() -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 257 | | Ok(StatusCode::OK) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/context.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 186 | | if state.is_pause() { [INFO] [stdout] 187 | | let maintenance = models::Maintenance::new("ingestion server paused".to_string()); [INFO] [stdout] 188 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 186 | | if state.is_pause() { [INFO] [stdout] 187 | | let maintenance = models::Maintenance::new("ingestion server paused".to_string()); [INFO] [stdout] 188 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 189 | | .status(StatusCode::SERVICE_UNAVAILABLE) [INFO] [stdout] 190 | | .body(serde_json::to_string(&maintenance).unwrap())); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / match sender.send(bytes.to_vec()).await { [INFO] [stdout] 194 | | Ok(_) => { [INFO] [stdout] 195 | | let success = models::Success::new(size); [INFO] [stdout] 196 | | Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | Ok(_) => { [INFO] [stdout] | ______________________^ [INFO] [stdout] 195 | | let success = models::Success::new(size); [INFO] [stdout] 196 | | Ok(Response::builder() [INFO] [stdout] 197 | | .status(StatusCode::OK) [INFO] [stdout] 198 | | .body(serde_json::to_string(&success).unwrap())) [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | / Ok(Response::builder() [INFO] [stdout] 197 | | .status(StatusCode::OK) [INFO] [stdout] 198 | | .body(serde_json::to_string(&success).unwrap())) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:200:23 [INFO] [stdout] | [INFO] [stdout] 200 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 201 | | let failure = models::Failure::new(e.to_string()); [INFO] [stdout] 202 | | Ok(Response::builder() [INFO] [stdout] 203 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 204 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | / Ok(Response::builder() [INFO] [stdout] 203 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 204 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 212 | | state.set_pause(true); [INFO] [stdout] 213 | | Ok(StatusCode::OK) [INFO] [stdout] 214 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:211:47 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 212 | | state.set_pause(true); [INFO] [stdout] 213 | | Ok(StatusCode::OK) [INFO] [stdout] 214 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 219 | | state.set_pause(false); [INFO] [stdout] 220 | | Ok(StatusCode::OK) [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 219 | | state.set_pause(false); [INFO] [stdout] 220 | | Ok(StatusCode::OK) [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:223:92 [INFO] [stdout] | [INFO] [stdout] 223 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 224 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 225 | | if sent { [INFO] [stdout] 226 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:223:92 [INFO] [stdout] | [INFO] [stdout] 223 | pub async fn shutdown(shutdown_tx: Sender<()>) -> Result { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 224 | | let sent = shutdown_tx.send(()).await.is_ok(); [INFO] [stdout] 225 | | if sent { [INFO] [stdout] 226 | | return Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 233 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] 234 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | return Ok(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 227 | | .status(StatusCode::OK) [INFO] [stdout] 228 | | .body("shutdown ...".to_string())); [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this type continue be must used: Result, warp::http::Error>, Infallible> [INFO] [stdout] --> src/listen.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / Ok(Response::builder() [INFO] [stdout] 232 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 233 | | .body(serde_json::to_string(&failure).unwrap())) [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let health = models::Health::new(!state.is_pause()); [INFO] [stdout] 240 | | Ok(warp::reply::json(&health)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | ) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 239 | | let health = models::Health::new(!state.is_pause()); [INFO] [stdout] 240 | | Ok(warp::reply::json(&health)) [INFO] [stdout] 241 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/listen.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | Ok(warp::reply::json(&health)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pipewarp` (lib test) due to 18 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9beced093079965cb90983fec04eaeb4b686719fbba4637080664dbd5a291c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9beced093079965cb90983fec04eaeb4b686719fbba4637080664dbd5a291c86", kill_on_drop: false }` [INFO] [stdout] 9beced093079965cb90983fec04eaeb4b686719fbba4637080664dbd5a291c86