[INFO] cloning repository https://github.com/dupunkto/waiter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dupunkto/waiter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdupunkto%2Fwaiter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdupunkto%2Fwaiter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3f6d9cf62d62df8bb17e295fdfdcd154c71cce6 [INFO] checking dupunkto/waiter 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%2Fdupunkto%2Fwaiter" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dupunkto/waiter [INFO] finished tweaking git repo https://github.com/dupunkto/waiter [INFO] tweaked toml for git repo https://github.com/dupunkto/waiter written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dupunkto/waiter 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/dupunkto/waiter 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0c0ceab2a9eb9c39a56576f0502903281fe172c4a08df5befb375d186289c01c [INFO] running `Command { std: "docker" "start" "-a" "0c0ceab2a9eb9c39a56576f0502903281fe172c4a08df5befb375d186289c01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c0ceab2a9eb9c39a56576f0502903281fe172c4a08df5befb375d186289c01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0ceab2a9eb9c39a56576f0502903281fe172c4a08df5befb375d186289c01c", kill_on_drop: false }` [INFO] [stdout] 0c0ceab2a9eb9c39a56576f0502903281fe172c4a08df5befb375d186289c01c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f110d8fc6c7b7d693b5a8ddcb1dbc14ec7c96aca42517621509db8622d9f8e01 [INFO] running `Command { std: "docker" "start" "-a" "f110d8fc6c7b7d693b5a8ddcb1dbc14ec7c96aca42517621509db8622d9f8e01", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Checking hyper v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.2 [INFO] [stderr] Checking waiter v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 60 | | match *request.method() { [INFO] [stdout] 61 | | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] 62 | | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [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/main.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 60 | | match *request.method() { [INFO] [stdout] 61 | | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] 62 | | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / match *request.method() { [INFO] [stdout] 61 | | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] 62 | | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] 63 | | _ => Ok(response::serve( [INFO] [stdout] ... | [INFO] [stdout] 66 | | )), [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | _ => Ok(response::serve( [INFO] [stdout] | ______________^ [INFO] [stdout] 64 | | 400, [INFO] [stdout] 65 | | "Bad request; only `GET` and `PUT` requests are supported.", [INFO] [stdout] 66 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:70:88 [INFO] [stdout] | [INFO] [stdout] 70 | async fn handle_put_request(request: Req, _dev_mode: bool) -> Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 71 | | match auth::require_authentication(request) { [INFO] [stdout] 72 | | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] 73 | | Err(response) => Ok(response), [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:70:88 [INFO] [stdout] | [INFO] [stdout] 70 | async fn handle_put_request(request: Req, _dev_mode: bool) -> Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 71 | | match auth::require_authentication(request) { [INFO] [stdout] 72 | | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] 73 | | Err(response) => Ok(response), [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / match auth::require_authentication(request) { [INFO] [stdout] 72 | | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] 73 | | Err(response) => Ok(response), [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:62 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | Err(response) => Ok(response), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:77:87 [INFO] [stdout] | [INFO] [stdout] 77 | async fn handle_get_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 78 | | let mut response = response::try_files(&request).await; [INFO] [stdout] 79 | | let url = request.uri(); [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(response) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:77:87 [INFO] [stdout] | [INFO] [stdout] 77 | async fn handle_get_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 78 | | let mut response = response::try_files(&request).await; [INFO] [stdout] 79 | | let url = request.uri(); [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(response) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:14:76 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn process_put_request(request: Req) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 15 | | let uri = request.uri().to_owned(); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | match read_body(request).await { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:14:76 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn process_put_request(request: Req) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 15 | | let uri = request.uri().to_owned(); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | match read_body(request).await { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / match read_body(request).await { [INFO] [stdout] 18 | | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] 19 | | None => Ok(response::serve( [INFO] [stdout] 20 | | 400, [INFO] [stdout] 21 | | "Bad request; empty body, nothing to upload.", [INFO] [stdout] 22 | | )), [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | None => Ok(response::serve( [INFO] [stdout] | _________________^ [INFO] [stdout] 20 | | 400, [INFO] [stdout] 21 | | "Bad request; empty body, nothing to upload.", [INFO] [stdout] 22 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:33:77 [INFO] [stdout] | [INFO] [stdout] 33 | async fn handle_upload(uri: &Uri, bytes: Bytes) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 34 | | let path = &files::uri_to_local_path(uri); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | match files::get_path_buffer_for_allowed_path(path) { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:33:77 [INFO] [stdout] | [INFO] [stdout] 33 | async fn handle_upload(uri: &Uri, bytes: Bytes) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 34 | | let path = &files::uri_to_local_path(uri); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | match files::get_path_buffer_for_allowed_path(path) { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match files::get_path_buffer_for_allowed_path(path) { [INFO] [stdout] 37 | | Some(path_buffer) => { [INFO] [stdout] 38 | | let path = path_buffer.to_str().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | )), [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | Some(path_buffer) => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 38 | | let path = path_buffer.to_str().unwrap(); [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | match upload_file(path, bytes).await { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / match upload_file(path, bytes).await { [INFO] [stdout] 41 | | Ok(response) => Ok(response), [INFO] [stdout] 42 | | Err(error) => Ok(response::serve( [INFO] [stdout] 43 | | 500, [INFO] [stdout] 44 | | &format!("Internal server error; {error}"), [INFO] [stdout] 45 | | )), [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(response) => Ok(response), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | Err(error) => Ok(response::serve( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 43 | | 500, [INFO] [stdout] 44 | | &format!("Internal server error; {error}"), [INFO] [stdout] 45 | | )), [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | None => Ok(response::serve( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | 403, [INFO] [stdout] 50 | | "Forbidden; you cannot upload outside of scope.", [INFO] [stdout] 51 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `waiter` (bin "waiter") due to 35 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/main.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 60 | | match *request.method() { [INFO] [stdout] 61 | | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] 62 | | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [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/main.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | async fn handle_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 60 | | match *request.method() { [INFO] [stdout] 61 | | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] 62 | | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / match *request.method() { [INFO] [stdout] 61 | | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] 62 | | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] 63 | | _ => Ok(response::serve( [INFO] [stdout] ... | [INFO] [stdout] 66 | | )), [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | Method::PUT => handle_put_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | Method::GET => handle_get_request(request, dev_mode).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | _ => Ok(response::serve( [INFO] [stdout] | ______________^ [INFO] [stdout] 64 | | 400, [INFO] [stdout] 65 | | "Bad request; only `GET` and `PUT` requests are supported.", [INFO] [stdout] 66 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:70:88 [INFO] [stdout] | [INFO] [stdout] 70 | async fn handle_put_request(request: Req, _dev_mode: bool) -> Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 71 | | match auth::require_authentication(request) { [INFO] [stdout] 72 | | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] 73 | | Err(response) => Ok(response), [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:70:88 [INFO] [stdout] | [INFO] [stdout] 70 | async fn handle_put_request(request: Req, _dev_mode: bool) -> Result { [INFO] [stdout] | ________________________________________________________________________________________^ [INFO] [stdout] 71 | | match auth::require_authentication(request) { [INFO] [stdout] 72 | | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] 73 | | Err(response) => Ok(response), [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / match auth::require_authentication(request) { [INFO] [stdout] 72 | | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] 73 | | Err(response) => Ok(response), [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:62 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(request) => uploads::process_put_request(request).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | Err(response) => Ok(response), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:77:87 [INFO] [stdout] | [INFO] [stdout] 77 | async fn handle_get_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 78 | | let mut response = response::try_files(&request).await; [INFO] [stdout] 79 | | let url = request.uri(); [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(response) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:77:87 [INFO] [stdout] | [INFO] [stdout] 77 | async fn handle_get_request(request: Req, dev_mode: bool) -> Result { [INFO] [stdout] | _______________________________________________________________________________________^ [INFO] [stdout] 78 | | let mut response = response::try_files(&request).await; [INFO] [stdout] 79 | | let url = request.uri(); [INFO] [stdout] ... | [INFO] [stdout] 89 | | Ok(response) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:14:76 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn process_put_request(request: Req) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 15 | | let uri = request.uri().to_owned(); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | match read_body(request).await { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:14:76 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn process_put_request(request: Req) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 15 | | let uri = request.uri().to_owned(); [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | match read_body(request).await { [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / match read_body(request).await { [INFO] [stdout] 18 | | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] 19 | | None => Ok(response::serve( [INFO] [stdout] 20 | | 400, [INFO] [stdout] 21 | | "Bad request; empty body, nothing to upload.", [INFO] [stdout] 22 | | )), [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | Some(bytes) => handle_upload(&uri, bytes).await, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | None => Ok(response::serve( [INFO] [stdout] | _________________^ [INFO] [stdout] 20 | | 400, [INFO] [stdout] 21 | | "Bad request; empty body, nothing to upload.", [INFO] [stdout] 22 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:33:77 [INFO] [stdout] | [INFO] [stdout] 33 | async fn handle_upload(uri: &Uri, bytes: Bytes) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 34 | | let path = &files::uri_to_local_path(uri); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | match files::get_path_buffer_for_allowed_path(path) { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:33:77 [INFO] [stdout] | [INFO] [stdout] 33 | async fn handle_upload(uri: &Uri, bytes: Bytes) -> Result { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 34 | | let path = &files::uri_to_local_path(uri); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | match files::get_path_buffer_for_allowed_path(path) { [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / match files::get_path_buffer_for_allowed_path(path) { [INFO] [stdout] 37 | | Some(path_buffer) => { [INFO] [stdout] 38 | | let path = path_buffer.to_str().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 51 | | )), [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | Some(path_buffer) => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 38 | | let path = path_buffer.to_str().unwrap(); [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | match upload_file(path, bytes).await { [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | / match upload_file(path, bytes).await { [INFO] [stdout] 41 | | Ok(response) => Ok(response), [INFO] [stdout] 42 | | Err(error) => Ok(response::serve( [INFO] [stdout] 43 | | 500, [INFO] [stdout] 44 | | &format!("Internal server error; {error}"), [INFO] [stdout] 45 | | )), [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(response) => Ok(response), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | Err(error) => Ok(response::serve( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 43 | | 500, [INFO] [stdout] 44 | | &format!("Internal server error; {error}"), [INFO] [stdout] 45 | | )), [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/uploads.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | None => Ok(response::serve( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | 403, [INFO] [stdout] 50 | | "Forbidden; you cannot upload outside of scope.", [INFO] [stdout] 51 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `waiter` (bin "waiter" test) due to 35 previous errors [INFO] running `Command { std: "docker" "inspect" "f110d8fc6c7b7d693b5a8ddcb1dbc14ec7c96aca42517621509db8622d9f8e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f110d8fc6c7b7d693b5a8ddcb1dbc14ec7c96aca42517621509db8622d9f8e01", kill_on_drop: false }` [INFO] [stdout] f110d8fc6c7b7d693b5a8ddcb1dbc14ec7c96aca42517621509db8622d9f8e01