[INFO] cloning repository https://github.com/jwodder/axum-hammer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jwodder/axum-hammer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwodder%2Faxum-hammer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwodder%2Faxum-hammer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bb269c16afdff2a2d3766b8e3a694a8d4d2dbde [INFO] checking jwodder/axum-hammer 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%2Fjwodder%2Faxum-hammer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jwodder/axum-hammer [INFO] finished tweaking git repo https://github.com/jwodder/axum-hammer [INFO] tweaked toml for git repo https://github.com/jwodder/axum-hammer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jwodder/axum-hammer 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/jwodder/axum-hammer 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cee738af3b515ea1aebe872066a80a79c9d7ddb504e0f9150b85dee4cfd08657 [INFO] running `Command { std: "docker" "start" "-a" "cee738af3b515ea1aebe872066a80a79c9d7ddb504e0f9150b85dee4cfd08657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cee738af3b515ea1aebe872066a80a79c9d7ddb504e0f9150b85dee4cfd08657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee738af3b515ea1aebe872066a80a79c9d7ddb504e0f9150b85dee4cfd08657", kill_on_drop: false }` [INFO] [stdout] cee738af3b515ea1aebe872066a80a79c9d7ddb504e0f9150b85dee4cfd08657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cbe24d772c1b621a4399ec07d5a5b3d7f9adb9d76546a32aa373505c428c9da4 [INFO] running `Command { std: "docker" "start" "-a" "cbe24d772c1b621a4399ec07d5a5b3d7f9adb9d76546a32aa373505c428c9da4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking patharg v0.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking rstest v0.19.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking axum-hammer v0.1.0-dev (/opt/rustwide/workdir/hammer) [INFO] [stderr] Checking axum-nail v0.1.0-dev (/opt/rustwide/workdir/nail) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:78:52 [INFO] [stdout] | [INFO] [stdout] 78 | .route("/", get(move || async move { subpages.index_response() })) [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] --> nail/src/main.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | .route("/", get(move || async move { subpages.index_response() })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:88:52 [INFO] [stdout] | [INFO] [stdout] 88 | .route("/", get(move || async move { subpages.index_response() })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:88:54 [INFO] [stdout] | [INFO] [stdout] 88 | .route("/", get(move || async move { subpages.index_response() })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:91:63 [INFO] [stdout] | [INFO] [stdout] 91 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:52 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> nail/src/main.rs:118:50 [INFO] [stdout] | [INFO] [stdout] 118 | service_fn(|req: Request| async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 119 | | Ok::<_, std::convert::Infallible>(req.uri().path().to_owned()) [INFO] [stdout] 120 | | }), [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> nail/src/main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | Ok::<_, std::convert::Infallible>(req.uri().path().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:56:91 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) async fn handle(&self, req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 57 | | sleep_handler(req).await [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:56:91 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) async fn handle(&self, req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 57 | | sleep_handler(req).await [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | sleep_handler(req).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | sleep_handler(req).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | sleep_handler(req).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:61:91 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) async fn sleep_handler(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 62 | | match req.extract_parts::>().await { [INFO] [stdout] 63 | | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] 64 | | Err(e) => Ok(e.into_response()), [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:61:91 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) async fn sleep_handler(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 62 | | match req.extract_parts::>().await { [INFO] [stdout] 63 | | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] 64 | | Err(e) => Ok(e.into_response()), [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / match req.extract_parts::>().await { [INFO] [stdout] 63 | | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] 64 | | Err(e) => Ok(e.into_response()), [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => Ok(e.into_response()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:36:79 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn index_response(&self) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 37 | | let mut body = String::new(); [INFO] [stdout] 38 | | for key in self.data.keys() { [INFO] [stdout] 39 | | writeln!(&mut body, "/{}/{}", self.path, key) [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(body.into_response()) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(body.into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:46:92 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn subpage_response(&self, key: &str) -> Result, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 47 | | if let Some(body) = self.data.get(key) { [INFO] [stdout] 48 | | Ok(body.clone().into_response()) [INFO] [stdout] 49 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / if let Some(body) = self.data.get(key) { [INFO] [stdout] 48 | | Ok(body.clone().into_response()) [INFO] [stdout] 49 | | } else { [INFO] [stdout] 50 | | Ok((StatusCode::NOT_FOUND, "404\n").into_response()) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(body) = self.data.get(key) { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | Ok(body.clone().into_response()) [INFO] [stdout] 49 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(body.clone().into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 50 | | Ok((StatusCode::NOT_FOUND, "404\n").into_response()) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Ok((StatusCode::NOT_FOUND, "404\n").into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 59 | | // ↓↓ Does not have leading "/{self.path}" [INFO] [stdout] 60 | | let reqpath = req.uri().path().trim_start_matches('/'); [INFO] [stdout] 61 | | if reqpath.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 59 | | // ↓↓ Does not have leading "/{self.path}" [INFO] [stdout] 60 | | let reqpath = req.uri().path().trim_start_matches('/'); [INFO] [stdout] 61 | | if reqpath.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / if reqpath.is_empty() { [INFO] [stdout] 62 | | self.index_response() [INFO] [stdout] 63 | | } else { [INFO] [stdout] 64 | | self.subpage_response(reqpath) [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | if reqpath.is_empty() { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 62 | | self.index_response() [INFO] [stdout] 63 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | self.index_response() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 64 | | self.subpage_response(reqpath) [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | self.subpage_response(reqpath) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:78:52 [INFO] [stdout] | [INFO] [stdout] 78 | .route("/", get(move || async move { subpages.index_response() })) [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] --> nail/src/main.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | .route("/", get(move || async move { subpages.index_response() })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:81:61 [INFO] [stdout] | [INFO] [stdout] 81 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:88:52 [INFO] [stdout] | [INFO] [stdout] 88 | .route("/", get(move || async move { subpages.index_response() })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:88:54 [INFO] [stdout] | [INFO] [stdout] 88 | .route("/", get(move || async move { subpages.index_response() })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:91:63 [INFO] [stdout] | [INFO] [stdout] 91 | get(move |key: Path| async move { subpages2.subpage_response(&key) }), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:52 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | async move { s.handle_request(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:50 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/main.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | async move { sleeper.handle(req).await } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> nail/src/main.rs:118:50 [INFO] [stdout] | [INFO] [stdout] 118 | service_fn(|req: Request| async move { [INFO] [stdout] | __________________________________________________^ [INFO] [stdout] 119 | | Ok::<_, std::convert::Infallible>(req.uri().path().to_owned()) [INFO] [stdout] 120 | | }), [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> nail/src/main.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | Ok::<_, std::convert::Infallible>(req.uri().path().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:56:91 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) async fn handle(&self, req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 57 | | sleep_handler(req).await [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:56:91 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) async fn handle(&self, req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 57 | | sleep_handler(req).await [INFO] [stdout] 58 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | sleep_handler(req).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 57 | sleep_handler(req).await [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | sleep_handler(req).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:61:91 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) async fn sleep_handler(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 62 | | match req.extract_parts::>().await { [INFO] [stdout] 63 | | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] 64 | | Err(e) => Ok(e.into_response()), [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:61:91 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) async fn sleep_handler(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 62 | | match req.extract_parts::>().await { [INFO] [stdout] 63 | | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] 64 | | Err(e) => Ok(e.into_response()), [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / match req.extract_parts::>().await { [INFO] [stdout] 63 | | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] 64 | | Err(e) => Ok(e.into_response()), [INFO] [stdout] 65 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(params) => Ok(sleep_for_params(params).await), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/sleep.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => Ok(e.into_response()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:36:79 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn index_response(&self) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 37 | | let mut body = String::new(); [INFO] [stdout] 38 | | for key in self.data.keys() { [INFO] [stdout] 39 | | writeln!(&mut body, "/{}/{}", self.path, key) [INFO] [stdout] ... | [INFO] [stdout] 42 | | Ok(body.into_response()) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(body.into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:46:92 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) fn subpage_response(&self, key: &str) -> Result, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 47 | | if let Some(body) = self.data.get(key) { [INFO] [stdout] 48 | | Ok(body.clone().into_response()) [INFO] [stdout] 49 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / if let Some(body) = self.data.get(key) { [INFO] [stdout] 48 | | Ok(body.clone().into_response()) [INFO] [stdout] 49 | | } else { [INFO] [stdout] 50 | | Ok((StatusCode::NOT_FOUND, "404\n").into_response()) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(body) = self.data.get(key) { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | Ok(body.clone().into_response()) [INFO] [stdout] 49 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(body.clone().into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 50 | | Ok((StatusCode::NOT_FOUND, "404\n").into_response()) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Ok((StatusCode::NOT_FOUND, "404\n").into_response()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 59 | | // ↓↓ Does not have leading "/{self.path}" [INFO] [stdout] 60 | | let reqpath = req.uri().path().trim_start_matches('/'); [INFO] [stdout] 61 | | if reqpath.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:58:45 [INFO] [stdout] | [INFO] [stdout] 58 | ) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 59 | | // ↓↓ Does not have leading "/{self.path}" [INFO] [stdout] 60 | | let reqpath = req.uri().path().trim_start_matches('/'); [INFO] [stdout] 61 | | if reqpath.is_empty() { [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / if reqpath.is_empty() { [INFO] [stdout] 62 | | self.index_response() [INFO] [stdout] 63 | | } else { [INFO] [stdout] 64 | | self.subpage_response(reqpath) [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | if reqpath.is_empty() { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 62 | | self.index_response() [INFO] [stdout] 63 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | self.index_response() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 64 | | self.subpage_response(reqpath) [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> nail/src/subpages.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | self.subpage_response(reqpath) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-nail` (bin "axum-nail" test) due to 47 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `axum-nail` (bin "axum-nail") due to 47 previous errors [INFO] running `Command { std: "docker" "inspect" "cbe24d772c1b621a4399ec07d5a5b3d7f9adb9d76546a32aa373505c428c9da4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbe24d772c1b621a4399ec07d5a5b3d7f9adb9d76546a32aa373505c428c9da4", kill_on_drop: false }` [INFO] [stdout] cbe24d772c1b621a4399ec07d5a5b3d7f9adb9d76546a32aa373505c428c9da4