[INFO] cloning repository https://github.com/RavuAlHemio/wordle-archive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RavuAlHemio/wordle-archive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fwordle-archive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fwordle-archive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79abb82d08f5676798747c872f0bd2158d9c9a13 [INFO] checking RavuAlHemio/wordle-archive 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%2FRavuAlHemio%2Fwordle-archive" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RavuAlHemio/wordle-archive [INFO] finished tweaking git repo https://github.com/RavuAlHemio/wordle-archive [INFO] tweaked toml for git repo https://github.com/RavuAlHemio/wordle-archive written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RavuAlHemio/wordle-archive 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/RavuAlHemio/wordle-archive 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1873702c84be27389730d80faca22242a58a49232293c41fe5ff086fef7b8492 [INFO] running `Command { std: "docker" "start" "-a" "1873702c84be27389730d80faca22242a58a49232293c41fe5ff086fef7b8492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1873702c84be27389730d80faca22242a58a49232293c41fe5ff086fef7b8492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1873702c84be27389730d80faca22242a58a49232293c41fe5ff086fef7b8492", kill_on_drop: false }` [INFO] [stdout] 1873702c84be27389730d80faca22242a58a49232293c41fe5ff086fef7b8492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bb1314c28d9dd9f199771f274a89836441fd199ba36fc5e1ed8d3dbe213aaee0 [INFO] running `Command { std: "docker" "start" "-a" "bb1314c28d9dd9f199771f274a89836441fd199ba36fc5e1ed8d3dbe213aaee0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking wordle-archive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/database/mod.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | let current_migrations: [&(dyn DbMigration); 11] = [ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let current_migrations: [&(dyn DbMigration); 11] = [ [INFO] [stdout] 68 + let current_migrations: [&dyn DbMigration ; 11] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/database/mod.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | let current_migrations: [&(dyn DbMigration); 11] = [ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let current_migrations: [&(dyn DbMigration); 11] = [ [INFO] [stdout] 68 + let current_migrations: [&dyn DbMigration ; 11] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:216:62 [INFO] [stdout] | [INFO] [stdout] 216 | fn return_500() -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 217 | | let body = Full::new(Bytes::from("500 Internal Server Error")); [INFO] [stdout] 218 | | let resp = Response::builder() [INFO] [stdout] 219 | | .status(500) [INFO] [stdout] ... | [INFO] [stdout] 223 | | Ok(resp) [INFO] [stdout] 224 | | } [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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:226:123 [INFO] [stdout] | [INFO] [stdout] 226 | fn return_400, P: Into>(reason: S, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________________________________^ [INFO] [stdout] 227 | | let template = Error400Template { [INFO] [stdout] 228 | | reason: reason.into(), [INFO] [stdout] 229 | | static_prefix: static_prefix.into(), [INFO] [stdout] 230 | | }; [INFO] [stdout] 231 | | render_template(&template, 400, HashMap::new()) [INFO] [stdout] 232 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | render_template(&template, 400, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:234:95 [INFO] [stdout] | [INFO] [stdout] 234 | fn return_403>(static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 235 | | let template = Error403Template { [INFO] [stdout] 236 | | static_prefix: static_prefix.into(), [INFO] [stdout] 237 | | }; [INFO] [stdout] 238 | | render_template(&template, 403, HashMap::new()) [INFO] [stdout] 239 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | render_template(&template, 403, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:241:95 [INFO] [stdout] | [INFO] [stdout] 241 | fn return_404>(static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 242 | | let template = Error404Template { [INFO] [stdout] 243 | | static_prefix: static_prefix.into(), [INFO] [stdout] 244 | | }; [INFO] [stdout] 245 | | render_template(&template, 404, HashMap::new()) [INFO] [stdout] 246 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | render_template(&template, 404, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | fn get_query_pairs(uri: &hyper::Uri) -> HashMap, Cow> { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | fn get_query_pairs(uri: &hyper::Uri) -> HashMap, Cow<'_, str>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:307:48 [INFO] [stdout] | [INFO] [stdout] 307 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 308 | | let rendered = match template.render() { [INFO] [stdout] 309 | | Ok(r) => r, [INFO] [stdout] 310 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 330 | | Ok(response) [INFO] [stdout] 331 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | 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:333:126 [INFO] [stdout] | [INFO] [stdout] 333 | fn return_internal_redirect(base_path_segs: &[Cow], path: &str, code: u16) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________________________________________^ [INFO] [stdout] 334 | | let mut local_url = String::new(); [INFO] [stdout] 335 | | for bps in base_path_segs { [INFO] [stdout] 336 | | local_url.push('/'); [INFO] [stdout] ... | [INFO] [stdout] 353 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | / match response_res { [INFO] [stdout] 347 | | Ok(r) => Ok(r), [INFO] [stdout] 348 | | Err(e) => { [INFO] [stdout] 349 | | error!("failed to build redirect response: {}", e); [INFO] [stdout] 350 | | return_500() [INFO] [stdout] 351 | | }, [INFO] [stdout] 352 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | Ok(r) => Ok(r), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 349 | | error!("failed to build redirect response: {}", e); [INFO] [stdout] 350 | | return_500() [INFO] [stdout] 351 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | return_500() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:355:108 [INFO] [stdout] | [INFO] [stdout] 355 | fn return_redirect_todays_wordle(base_path_segs: &[Cow]) -> Result>, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 356 | | let today = Local::now().naive_local().date().format("%Y-%m-%d").to_string(); [INFO] [stdout] 357 | | let mut today_path = String::new(); [INFO] [stdout] 358 | | today_path.push_str("/wordle/"); [INFO] [stdout] 359 | | today_path.push_str(&today); [INFO] [stdout] 360 | | return_internal_redirect(&base_path_segs, &today_path, 303) [INFO] [stdout] 361 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | return_internal_redirect(&base_path_segs, &today_path, 303) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:363:94 [INFO] [stdout] | [INFO] [stdout] 363 | async fn handle_request(req: Request) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 364 | | let path_segs_opt = to_path_segments(req.uri().path(), false); [INFO] [stdout] 365 | | let mut path_segs: Vec = match path_segs_opt { [INFO] [stdout] 366 | | Some(p) => p.iter().map(|s| s.clone().into_owned()).collect(), [INFO] [stdout] ... | [INFO] [stdout] 434 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:363:94 [INFO] [stdout] | [INFO] [stdout] 363 | async fn handle_request(req: Request) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 364 | | let path_segs_opt = to_path_segments(req.uri().path(), false); [INFO] [stdout] 365 | | let mut path_segs: Vec = match path_segs_opt { [INFO] [stdout] 366 | | Some(p) => p.iter().map(|s| s.clone().into_owned()).collect(), [INFO] [stdout] ... | [INFO] [stdout] 434 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | None => return return_404(""), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:387:16 [INFO] [stdout] | [INFO] [stdout] 387 | return return_404(""); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:394:16 [INFO] [stdout] | [INFO] [stdout] 394 | return return_404(""); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | / if path_segs.len() == 0 || (path_segs.len() == 1 && path_segs[0] == "") { [INFO] [stdout] 410 | | // http://example.com/wordle-archive or http://example.com/wordle-archive/ [INFO] [stdout] 411 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 412 | | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:409:77 [INFO] [stdout] | [INFO] [stdout] 409 | if path_segs.len() == 0 || (path_segs.len() == 1 && path_segs[0] == "") { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 410 | | // http://example.com/wordle-archive or http://example.com/wordle-archive/ [INFO] [stdout] 411 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 412 | | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] | ____________^ [INFO] [stdout] 413 | | // http://example.com/wordle-archive/wordle [INFO] [stdout] 414 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 415 | | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:412:64 [INFO] [stdout] | [INFO] [stdout] 412 | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 413 | | // http://example.com/wordle-archive/wordle [INFO] [stdout] 414 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 415 | | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] | ____________^ [INFO] [stdout] 416 | | if path_segs[1].len() == 0 { [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:415:64 [INFO] [stdout] | [INFO] [stdout] 415 | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 416 | | if path_segs[1].len() == 0 { [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] ... | [INFO] [stdout] 423 | | } else if path_segs.len() == 2 && path_segs[0] == "puzzle" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | / if path_segs[1].len() == 0 { [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 419 | | } else { [INFO] [stdout] 420 | | // http://example.com/wordle-archive/wordle/2022-06-16 [INFO] [stdout] 421 | | handle_wordle(req, static_prefix, path_segs.get(1)).await [INFO] [stdout] 422 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:416:36 [INFO] [stdout] | [INFO] [stdout] 416 | if path_segs[1].len() == 0 { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 419 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 419 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 420 | | // http://example.com/wordle-archive/wordle/2022-06-16 [INFO] [stdout] 421 | | handle_wordle(req, static_prefix, path_segs.get(1)).await [INFO] [stdout] 422 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | handle_wordle(req, static_prefix, path_segs.get(1)).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:421:65 [INFO] [stdout] | [INFO] [stdout] 421 | handle_wordle(req, static_prefix, path_segs.get(1)).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:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | handle_wordle(req, static_prefix, path_segs.get(1)).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:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | } else if path_segs.len() == 2 && path_segs[0] == "puzzle" { [INFO] [stdout] | ____________^ [INFO] [stdout] 424 | | handle_puzzle(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 425 | | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] 426 | | handle_populate(req, static_prefix).await [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:423:64 [INFO] [stdout] | [INFO] [stdout] 423 | } else if path_segs.len() == 2 && path_segs[0] == "puzzle" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 424 | | handle_puzzle(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 425 | | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | handle_puzzle(req, static_prefix, &path_segs[1]).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:424:58 [INFO] [stdout] | [INFO] [stdout] 424 | handle_puzzle(req, static_prefix, &path_segs[1]).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:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | handle_puzzle(req, static_prefix, &path_segs[1]).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:425:12 [INFO] [stdout] | [INFO] [stdout] 425 | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] | ____________^ [INFO] [stdout] 426 | | handle_populate(req, static_prefix).await [INFO] [stdout] 427 | | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] 428 | | handle_stats(req, static_prefix).await [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:425:66 [INFO] [stdout] | [INFO] [stdout] 425 | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 426 | | handle_populate(req, static_prefix).await [INFO] [stdout] 427 | | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | handle_populate(req, static_prefix).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:426:45 [INFO] [stdout] | [INFO] [stdout] 426 | handle_populate(req, static_prefix).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:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | handle_populate(req, static_prefix).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:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] | ____________^ [INFO] [stdout] 428 | | handle_stats(req, static_prefix).await [INFO] [stdout] 429 | | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] 430 | | handle_static(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 431 | | } else { [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:427:63 [INFO] [stdout] | [INFO] [stdout] 427 | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 428 | | handle_stats(req, static_prefix).await [INFO] [stdout] 429 | | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | handle_stats(req, static_prefix).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:428:42 [INFO] [stdout] | [INFO] [stdout] 428 | handle_stats(req, static_prefix).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:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | handle_stats(req, static_prefix).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:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] | ____________^ [INFO] [stdout] 430 | | handle_static(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 431 | | } else { [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:429:64 [INFO] [stdout] | [INFO] [stdout] 429 | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 430 | | handle_static(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 431 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | handle_static(req, static_prefix, &path_segs[1]).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:430:58 [INFO] [stdout] | [INFO] [stdout] 430 | handle_static(req, static_prefix, &path_segs[1]).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:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | handle_static(req, static_prefix, &path_segs[1]).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:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:494:48 [INFO] [stdout] | [INFO] [stdout] 494 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 495 | | let date_opt = match date_string_opt { [INFO] [stdout] 496 | | Some(ds) => { [INFO] [stdout] 497 | | match NaiveDate::parse_from_str(ds.as_ref(), "%Y-%m-%d") { [INFO] [stdout] ... | [INFO] [stdout] 566 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 567 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:494:48 [INFO] [stdout] | [INFO] [stdout] 494 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 495 | | let date_opt = match date_string_opt { [INFO] [stdout] 496 | | Some(ds) => { [INFO] [stdout] 497 | | match NaiveDate::parse_from_str(ds.as_ref(), "%Y-%m-%d") { [INFO] [stdout] ... | [INFO] [stdout] 566 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 567 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:499:34 [INFO] [stdout] | [INFO] [stdout] 499 | Err(_) => return return_404(static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:515:24 [INFO] [stdout] | [INFO] [stdout] 515 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:528:28 [INFO] [stdout] | [INFO] [stdout] 528 | return render_template(&template, 404, HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:530:47 [INFO] [stdout] | [INFO] [stdout] 530 | OptionResult::Error => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:573:48 [INFO] [stdout] | [INFO] [stdout] 573 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 574 | | let id: i64 = match id_string.as_ref().parse() { [INFO] [stdout] 575 | | Ok(i) => i, [INFO] [stdout] 576 | | Err(_) => return return_404(static_prefix), [INFO] [stdout] ... | [INFO] [stdout] 618 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:573:48 [INFO] [stdout] | [INFO] [stdout] 573 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 574 | | let id: i64 = match id_string.as_ref().parse() { [INFO] [stdout] 575 | | Ok(i) => i, [INFO] [stdout] 576 | | Err(_) => return return_404(static_prefix), [INFO] [stdout] ... | [INFO] [stdout] 618 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:576:26 [INFO] [stdout] | [INFO] [stdout] 576 | Err(_) => return return_404(static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 589 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:594:40 [INFO] [stdout] | [INFO] [stdout] 594 | OptionResult::Absent => return return_404(static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | OptionResult::Error => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:621:130 [INFO] [stdout] | [INFO] [stdout] 621 | async fn handle_populate>(req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 622 | | // check for token [INFO] [stdout] 623 | | let query_pairs = get_query_pairs(req.uri()); [INFO] [stdout] 624 | | if !has_valid_token(&query_pairs, true).await { [INFO] [stdout] ... | [INFO] [stdout] 647 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:621:130 [INFO] [stdout] | [INFO] [stdout] 621 | async fn handle_populate>(req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 622 | | // check for token [INFO] [stdout] 623 | | let query_pairs = get_query_pairs(req.uri()); [INFO] [stdout] 624 | | if !has_valid_token(&query_pairs, true).await { [INFO] [stdout] ... | [INFO] [stdout] 647 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:625:16 [INFO] [stdout] | [INFO] [stdout] 625 | return return_403(static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | / if req.method() == Method::POST { [INFO] [stdout] 629 | | handle_populate_post(req, static_prefix).await [INFO] [stdout] 630 | | } else if req.method() == Method::GET { [INFO] [stdout] 631 | | handle_populate_get(&req, static_prefix, &query_pairs).await [INFO] [stdout] ... | [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:628:37 [INFO] [stdout] | [INFO] [stdout] 628 | if req.method() == Method::POST { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 629 | | handle_populate_post(req, static_prefix).await [INFO] [stdout] 630 | | } else if req.method() == Method::GET { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | handle_populate_post(req, static_prefix).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:629:50 [INFO] [stdout] | [INFO] [stdout] 629 | handle_populate_post(req, static_prefix).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:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | handle_populate_post(req, static_prefix).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:630:12 [INFO] [stdout] | [INFO] [stdout] 630 | } else if req.method() == Method::GET { [INFO] [stdout] | ____________^ [INFO] [stdout] 631 | | handle_populate_get(&req, static_prefix, &query_pairs).await [INFO] [stdout] 632 | | } else { [INFO] [stdout] 633 | | let body = Full::new(Bytes::from("invalid method; requires GET or POST")); [INFO] [stdout] ... | [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:630:43 [INFO] [stdout] | [INFO] [stdout] 630 | } else if req.method() == Method::GET { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 631 | | handle_populate_get(&req, static_prefix, &query_pairs).await [INFO] [stdout] 632 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | handle_populate_get(&req, static_prefix, &query_pairs).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:631:64 [INFO] [stdout] | [INFO] [stdout] 631 | handle_populate_get(&req, static_prefix, &query_pairs).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:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | handle_populate_get(&req, static_prefix, &query_pairs).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:632:12 [INFO] [stdout] | [INFO] [stdout] 632 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 633 | | let body = Full::new(Bytes::from("invalid method; requires GET or POST")); [INFO] [stdout] 634 | | let response_res = Response::builder() [INFO] [stdout] 635 | | .status(405) [INFO] [stdout] ... | [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | / match response_res { [INFO] [stdout] 640 | | Ok(r) => Ok(r), [INFO] [stdout] 641 | | Err(e) => { [INFO] [stdout] 642 | | error!("failed to obtain 405 response: {}", e); [INFO] [stdout] 643 | | return_500() [INFO] [stdout] 644 | | }, [INFO] [stdout] 645 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 640 | Ok(r) => Ok(r), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:641:23 [INFO] [stdout] | [INFO] [stdout] 641 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 642 | | error!("failed to obtain 405 response: {}", e); [INFO] [stdout] 643 | | return_500() [INFO] [stdout] 644 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | return_500() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:653:48 [INFO] [stdout] | [INFO] [stdout] 653 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 654 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 655 | | Some(c) => c, [INFO] [stdout] 656 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 678 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 679 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:653:48 [INFO] [stdout] | [INFO] [stdout] 653 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 654 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 655 | | Some(c) => c, [INFO] [stdout] 656 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 678 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 679 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:656:24 [INFO] [stdout] | [INFO] [stdout] 656 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:661:24 [INFO] [stdout] | [INFO] [stdout] 661 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:666:24 [INFO] [stdout] | [INFO] [stdout] 666 | None => return return_500(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:740:48 [INFO] [stdout] | [INFO] [stdout] 740 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 741 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 742 | | Some(c) => c, [INFO] [stdout] 743 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:740:48 [INFO] [stdout] | [INFO] [stdout] 740 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 741 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 742 | | Some(c) => c, [INFO] [stdout] 743 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:743:24 [INFO] [stdout] | [INFO] [stdout] 743 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:751:20 [INFO] [stdout] | [INFO] [stdout] 751 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:762:24 [INFO] [stdout] | [INFO] [stdout] 762 | None => return return_400("missing field \"site\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:766:26 [INFO] [stdout] | [INFO] [stdout] 766 | Err(_) => return return_400("invalid value for field \"site\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:774:26 [INFO] [stdout] | [INFO] [stdout] 774 | Err(_) => return return_400("invalid value for field \"day-ordinal\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:779:24 [INFO] [stdout] | [INFO] [stdout] 779 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | None => return return_400(format!("site {} not found", site_id), static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:789:24 [INFO] [stdout] | [INFO] [stdout] 789 | None => return return_400("missing field \"result\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:793:24 [INFO] [stdout] | [INFO] [stdout] 793 | None => return return_400("missing field \"solution\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:835:24 [INFO] [stdout] | [INFO] [stdout] 835 | return return_400( [INFO] [stdout] | ________________________^ [INFO] [stdout] 836 | | format!( [INFO] [stdout] 837 | | "{} result lines, {} => expected {} solution lines but obtained {}", [INFO] [stdout] 838 | | result_lines.len(), if victory { "victory" } else { "defeat" }, [INFO] [stdout] ... | [INFO] [stdout] 841 | | static_prefix, [INFO] [stdout] 842 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:855:20 [INFO] [stdout] | [INFO] [stdout] 855 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:885:24 [INFO] [stdout] | [INFO] [stdout] 885 | return return_400( [INFO] [stdout] | ________________________^ [INFO] [stdout] 886 | | format!( [INFO] [stdout] 887 | | "{} guesses derived from result {:?}, {} solution lines; must be the same", [INFO] [stdout] 888 | | expected_line_count, result_string, solution_lines.len(), [INFO] [stdout] 889 | | ), [INFO] [stdout] 890 | | static_prefix, [INFO] [stdout] 891 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:941:32 [INFO] [stdout] | [INFO] [stdout] 941 | return return_400( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 942 | | format!( [INFO] [stdout] 943 | | "unknown result character {} (U+{:04X})", [INFO] [stdout] 944 | | c, u32::from(c), [INFO] [stdout] 945 | | ), [INFO] [stdout] 946 | | static_prefix, [INFO] [stdout] 947 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:969:20 [INFO] [stdout] | [INFO] [stdout] 969 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1015:20 [INFO] [stdout] | [INFO] [stdout] 1015 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1036:20 [INFO] [stdout] | [INFO] [stdout] 1036 | return return_400( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1037 | | format!( [INFO] [stdout] 1038 | | "expected {}, obtained {} solution lines", [INFO] [stdout] 1039 | | expected_line_count, solution_lines.len(), [INFO] [stdout] 1040 | | ), [INFO] [stdout] 1041 | | static_prefix, [INFO] [stdout] 1042 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | / if !db_conn.store_puzzle(&puzzle).await { [INFO] [stdout] 1092 | | return_500() [INFO] [stdout] 1093 | | } else { [INFO] [stdout] 1094 | | let template = PopulateSuccessTemplate { [INFO] [stdout] ... | [INFO] [stdout] 1097 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1098 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1091:45 [INFO] [stdout] | [INFO] [stdout] 1091 | if !db_conn.store_puzzle(&puzzle).await { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1092 | | return_500() [INFO] [stdout] 1093 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1092:9 [INFO] [stdout] | [INFO] [stdout] 1092 | return_500() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1093:12 [INFO] [stdout] | [INFO] [stdout] 1093 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 1094 | | let template = PopulateSuccessTemplate { [INFO] [stdout] 1095 | | static_prefix: static_prefix.into(), [INFO] [stdout] 1096 | | }; [INFO] [stdout] 1097 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1098 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1097:9 [INFO] [stdout] | [INFO] [stdout] 1097 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1158:128 [INFO] [stdout] | [INFO] [stdout] 1158 | async fn handle_stats>(_req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1159 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 1160 | | Some(c) => c, [INFO] [stdout] 1161 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1173 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1158:128 [INFO] [stdout] | [INFO] [stdout] 1158 | async fn handle_stats>(_req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1159 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 1160 | | Some(c) => c, [INFO] [stdout] 1161 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1173 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1161:24 [INFO] [stdout] | [INFO] [stdout] 1161 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1166:24 [INFO] [stdout] | [INFO] [stdout] 1166 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1173:5 [INFO] [stdout] | [INFO] [stdout] 1173 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1176:148 [INFO] [stdout] | [INFO] [stdout] 1176 | async fn handle_static>(_req: Request, static_prefix: P, static_path: &str) -> Result>, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1177 | | macro_rules! typescript { [INFO] [stdout] 1178 | | ($basename:expr) => { [INFO] [stdout] 1179 | | if static_path == concat!($basename, ".js") { [INFO] [stdout] ... | [INFO] [stdout] 1200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1176:148 [INFO] [stdout] | [INFO] [stdout] 1176 | async fn handle_static>(_req: Request, static_prefix: P, static_path: &str) -> Result>, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1177 | | macro_rules! typescript { [INFO] [stdout] 1178 | | ($basename:expr) => { [INFO] [stdout] 1179 | | if static_path == concat!($basename, ".js") { [INFO] [stdout] ... | [INFO] [stdout] 1200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1191:5 [INFO] [stdout] | [INFO] [stdout] 1191 | / if static_path == "style.css" { [INFO] [stdout] 1192 | | return_static(include_bytes!("../static/style.css"), "text/css") [INFO] [stdout] 1193 | | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] 1194 | | typescript!("puzzles") [INFO] [stdout] ... | [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1191:35 [INFO] [stdout] | [INFO] [stdout] 1191 | if static_path == "style.css" { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1192 | | return_static(include_bytes!("../static/style.css"), "text/css") [INFO] [stdout] 1193 | | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1192:9 [INFO] [stdout] | [INFO] [stdout] 1192 | return_static(include_bytes!("../static/style.css"), "text/css") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1193:12 [INFO] [stdout] | [INFO] [stdout] 1193 | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] | ____________^ [INFO] [stdout] 1194 | | typescript!("puzzles") [INFO] [stdout] 1195 | | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] 1196 | | typescript!("wordle32-spoiler") [INFO] [stdout] 1197 | | } else { [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1193:51 [INFO] [stdout] | [INFO] [stdout] 1193 | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 1194 | | typescript!("puzzles") [INFO] [stdout] 1195 | | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wordle-archive` (bin "wordle-archive") due to 166 previous errors; 2 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1179:13 [INFO] [stdout] | [INFO] [stdout] 1179 | / if static_path == concat!($basename, ".js") { [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] ... | [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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:1179:57 [INFO] [stdout] | [INFO] [stdout] 1179 | if static_path == concat!($basename, ".js") { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1180:17 [INFO] [stdout] | [INFO] [stdout] 1180 | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:20 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:68 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1182:17 [INFO] [stdout] | [INFO] [stdout] 1182 | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:20 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:64 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1185:20 [INFO] [stdout] | [INFO] [stdout] 1185 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1186:17 [INFO] [stdout] | [INFO] [stdout] 1186 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1195:12 [INFO] [stdout] | [INFO] [stdout] 1195 | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] | ____________^ [INFO] [stdout] 1196 | | typescript!("wordle32-spoiler") [INFO] [stdout] 1197 | | } else { [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1195:60 [INFO] [stdout] | [INFO] [stdout] 1195 | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 1196 | | typescript!("wordle32-spoiler") [INFO] [stdout] 1197 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1179:13 [INFO] [stdout] | [INFO] [stdout] 1179 | / if static_path == concat!($basename, ".js") { [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] ... | [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1179:57 [INFO] [stdout] | [INFO] [stdout] 1179 | if static_path == concat!($basename, ".js") { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1180:17 [INFO] [stdout] | [INFO] [stdout] 1180 | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:20 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:68 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1182:17 [INFO] [stdout] | [INFO] [stdout] 1182 | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:20 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:64 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1185:20 [INFO] [stdout] | [INFO] [stdout] 1185 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1186:17 [INFO] [stdout] | [INFO] [stdout] 1186 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1197:12 [INFO] [stdout] | [INFO] [stdout] 1197 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1198:9 [INFO] [stdout] | [INFO] [stdout] 1198 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1202:102 [INFO] [stdout] | [INFO] [stdout] 1202 | fn return_static(body_bytes: &[u8], content_type: &str) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________________^ [INFO] [stdout] 1203 | | let response_res = Response::builder() [INFO] [stdout] 1204 | | .status(200) [INFO] [stdout] 1205 | | .header("Content-Type", content_type) [INFO] [stdout] ... | [INFO] [stdout] 1214 | | Ok(response) [INFO] [stdout] 1215 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1211:20 [INFO] [stdout] | [INFO] [stdout] 1211 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | 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:216:62 [INFO] [stdout] | [INFO] [stdout] 216 | fn return_500() -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 217 | | let body = Full::new(Bytes::from("500 Internal Server Error")); [INFO] [stdout] 218 | | let resp = Response::builder() [INFO] [stdout] 219 | | .status(500) [INFO] [stdout] ... | [INFO] [stdout] 223 | | Ok(resp) [INFO] [stdout] 224 | | } [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:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:226:123 [INFO] [stdout] | [INFO] [stdout] 226 | fn return_400, P: Into>(reason: S, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________________________________________________^ [INFO] [stdout] 227 | | let template = Error400Template { [INFO] [stdout] 228 | | reason: reason.into(), [INFO] [stdout] 229 | | static_prefix: static_prefix.into(), [INFO] [stdout] 230 | | }; [INFO] [stdout] 231 | | render_template(&template, 400, HashMap::new()) [INFO] [stdout] 232 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | render_template(&template, 400, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:234:95 [INFO] [stdout] | [INFO] [stdout] 234 | fn return_403>(static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 235 | | let template = Error403Template { [INFO] [stdout] 236 | | static_prefix: static_prefix.into(), [INFO] [stdout] 237 | | }; [INFO] [stdout] 238 | | render_template(&template, 403, HashMap::new()) [INFO] [stdout] 239 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | render_template(&template, 403, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:241:95 [INFO] [stdout] | [INFO] [stdout] 241 | fn return_404>(static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________^ [INFO] [stdout] 242 | | let template = Error404Template { [INFO] [stdout] 243 | | static_prefix: static_prefix.into(), [INFO] [stdout] 244 | | }; [INFO] [stdout] 245 | | render_template(&template, 404, HashMap::new()) [INFO] [stdout] 246 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | render_template(&template, 404, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | fn get_query_pairs(uri: &hyper::Uri) -> HashMap, Cow> { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 277 | fn get_query_pairs(uri: &hyper::Uri) -> HashMap, Cow<'_, str>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:307:48 [INFO] [stdout] | [INFO] [stdout] 307 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 308 | | let rendered = match template.render() { [INFO] [stdout] 309 | | Ok(r) => r, [INFO] [stdout] 310 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 330 | | Ok(response) [INFO] [stdout] 331 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | 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:333:126 [INFO] [stdout] | [INFO] [stdout] 333 | fn return_internal_redirect(base_path_segs: &[Cow], path: &str, code: u16) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________________________________________^ [INFO] [stdout] 334 | | let mut local_url = String::new(); [INFO] [stdout] 335 | | for bps in base_path_segs { [INFO] [stdout] 336 | | local_url.push('/'); [INFO] [stdout] ... | [INFO] [stdout] 353 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | / match response_res { [INFO] [stdout] 347 | | Ok(r) => Ok(r), [INFO] [stdout] 348 | | Err(e) => { [INFO] [stdout] 349 | | error!("failed to build redirect response: {}", e); [INFO] [stdout] 350 | | return_500() [INFO] [stdout] 351 | | }, [INFO] [stdout] 352 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | Ok(r) => Ok(r), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:348:19 [INFO] [stdout] | [INFO] [stdout] 348 | Err(e) => { [INFO] [stdout] | ___________________^ [INFO] [stdout] 349 | | error!("failed to build redirect response: {}", e); [INFO] [stdout] 350 | | return_500() [INFO] [stdout] 351 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | return_500() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:355:108 [INFO] [stdout] | [INFO] [stdout] 355 | fn return_redirect_todays_wordle(base_path_segs: &[Cow]) -> Result>, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________________________^ [INFO] [stdout] 356 | | let today = Local::now().naive_local().date().format("%Y-%m-%d").to_string(); [INFO] [stdout] 357 | | let mut today_path = String::new(); [INFO] [stdout] 358 | | today_path.push_str("/wordle/"); [INFO] [stdout] 359 | | today_path.push_str(&today); [INFO] [stdout] 360 | | return_internal_redirect(&base_path_segs, &today_path, 303) [INFO] [stdout] 361 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | return_internal_redirect(&base_path_segs, &today_path, 303) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:363:94 [INFO] [stdout] | [INFO] [stdout] 363 | async fn handle_request(req: Request) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 364 | | let path_segs_opt = to_path_segments(req.uri().path(), false); [INFO] [stdout] 365 | | let mut path_segs: Vec = match path_segs_opt { [INFO] [stdout] 366 | | Some(p) => p.iter().map(|s| s.clone().into_owned()).collect(), [INFO] [stdout] ... | [INFO] [stdout] 434 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:363:94 [INFO] [stdout] | [INFO] [stdout] 363 | async fn handle_request(req: Request) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________^ [INFO] [stdout] 364 | | let path_segs_opt = to_path_segments(req.uri().path(), false); [INFO] [stdout] 365 | | let mut path_segs: Vec = match path_segs_opt { [INFO] [stdout] 366 | | Some(p) => p.iter().map(|s| s.clone().into_owned()).collect(), [INFO] [stdout] ... | [INFO] [stdout] 434 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | None => return return_404(""), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:387:16 [INFO] [stdout] | [INFO] [stdout] 387 | return return_404(""); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:394:16 [INFO] [stdout] | [INFO] [stdout] 394 | return return_404(""); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | / if path_segs.len() == 0 || (path_segs.len() == 1 && path_segs[0] == "") { [INFO] [stdout] 410 | | // http://example.com/wordle-archive or http://example.com/wordle-archive/ [INFO] [stdout] 411 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 412 | | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:409:77 [INFO] [stdout] | [INFO] [stdout] 409 | if path_segs.len() == 0 || (path_segs.len() == 1 && path_segs[0] == "") { [INFO] [stdout] | _____________________________________________________________________________^ [INFO] [stdout] 410 | | // http://example.com/wordle-archive or http://example.com/wordle-archive/ [INFO] [stdout] 411 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 412 | | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] | ____________^ [INFO] [stdout] 413 | | // http://example.com/wordle-archive/wordle [INFO] [stdout] 414 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 415 | | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:412:64 [INFO] [stdout] | [INFO] [stdout] 412 | } else if path_segs.len() == 1 && path_segs[0] == "wordle" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 413 | | // http://example.com/wordle-archive/wordle [INFO] [stdout] 414 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 415 | | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] | ____________^ [INFO] [stdout] 416 | | if path_segs[1].len() == 0 { [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:415:64 [INFO] [stdout] | [INFO] [stdout] 415 | } else if path_segs.len() == 2 && path_segs[0] == "wordle" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 416 | | if path_segs[1].len() == 0 { [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] ... | [INFO] [stdout] 423 | | } else if path_segs.len() == 2 && path_segs[0] == "puzzle" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | / if path_segs[1].len() == 0 { [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 419 | | } else { [INFO] [stdout] 420 | | // http://example.com/wordle-archive/wordle/2022-06-16 [INFO] [stdout] 421 | | handle_wordle(req, static_prefix, path_segs.get(1)).await [INFO] [stdout] 422 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:416:36 [INFO] [stdout] | [INFO] [stdout] 416 | if path_segs[1].len() == 0 { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 417 | | // http://example.com/wordle-archive/wordle/ [INFO] [stdout] 418 | | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] 419 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | return_redirect_todays_wordle(&base_path_segs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 419 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 420 | | // http://example.com/wordle-archive/wordle/2022-06-16 [INFO] [stdout] 421 | | handle_wordle(req, static_prefix, path_segs.get(1)).await [INFO] [stdout] 422 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | handle_wordle(req, static_prefix, path_segs.get(1)).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:421:65 [INFO] [stdout] | [INFO] [stdout] 421 | handle_wordle(req, static_prefix, path_segs.get(1)).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:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | handle_wordle(req, static_prefix, path_segs.get(1)).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:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | } else if path_segs.len() == 2 && path_segs[0] == "puzzle" { [INFO] [stdout] | ____________^ [INFO] [stdout] 424 | | handle_puzzle(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 425 | | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] 426 | | handle_populate(req, static_prefix).await [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:423:64 [INFO] [stdout] | [INFO] [stdout] 423 | } else if path_segs.len() == 2 && path_segs[0] == "puzzle" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 424 | | handle_puzzle(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 425 | | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | handle_puzzle(req, static_prefix, &path_segs[1]).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:424:58 [INFO] [stdout] | [INFO] [stdout] 424 | handle_puzzle(req, static_prefix, &path_segs[1]).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:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | handle_puzzle(req, static_prefix, &path_segs[1]).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:425:12 [INFO] [stdout] | [INFO] [stdout] 425 | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] | ____________^ [INFO] [stdout] 426 | | handle_populate(req, static_prefix).await [INFO] [stdout] 427 | | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] 428 | | handle_stats(req, static_prefix).await [INFO] [stdout] ... | [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:425:66 [INFO] [stdout] | [INFO] [stdout] 425 | } else if path_segs.len() == 1 && path_segs[0] == "populate" { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 426 | | handle_populate(req, static_prefix).await [INFO] [stdout] 427 | | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | handle_populate(req, static_prefix).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:426:45 [INFO] [stdout] | [INFO] [stdout] 426 | handle_populate(req, static_prefix).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:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | handle_populate(req, static_prefix).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:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] | ____________^ [INFO] [stdout] 428 | | handle_stats(req, static_prefix).await [INFO] [stdout] 429 | | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] 430 | | handle_static(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 431 | | } else { [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:427:63 [INFO] [stdout] | [INFO] [stdout] 427 | } else if path_segs.len() == 1 && path_segs[0] == "stats" { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 428 | | handle_stats(req, static_prefix).await [INFO] [stdout] 429 | | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | handle_stats(req, static_prefix).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:428:42 [INFO] [stdout] | [INFO] [stdout] 428 | handle_stats(req, static_prefix).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:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | handle_stats(req, static_prefix).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:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] | ____________^ [INFO] [stdout] 430 | | handle_static(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 431 | | } else { [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:429:64 [INFO] [stdout] | [INFO] [stdout] 429 | } else if path_segs.len() == 2 && path_segs[0] == "static" { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 430 | | handle_static(req, static_prefix, &path_segs[1]).await [INFO] [stdout] 431 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | handle_static(req, static_prefix, &path_segs[1]).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:430:58 [INFO] [stdout] | [INFO] [stdout] 430 | handle_static(req, static_prefix, &path_segs[1]).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:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | handle_static(req, static_prefix, &path_segs[1]).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:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 432 | | return_404(static_prefix) [INFO] [stdout] 433 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:494:48 [INFO] [stdout] | [INFO] [stdout] 494 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 495 | | let date_opt = match date_string_opt { [INFO] [stdout] 496 | | Some(ds) => { [INFO] [stdout] 497 | | match NaiveDate::parse_from_str(ds.as_ref(), "%Y-%m-%d") { [INFO] [stdout] ... | [INFO] [stdout] 566 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 567 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:494:48 [INFO] [stdout] | [INFO] [stdout] 494 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 495 | | let date_opt = match date_string_opt { [INFO] [stdout] 496 | | Some(ds) => { [INFO] [stdout] 497 | | match NaiveDate::parse_from_str(ds.as_ref(), "%Y-%m-%d") { [INFO] [stdout] ... | [INFO] [stdout] 566 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 567 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:499:34 [INFO] [stdout] | [INFO] [stdout] 499 | Err(_) => return return_404(static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:515:24 [INFO] [stdout] | [INFO] [stdout] 515 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:528:28 [INFO] [stdout] | [INFO] [stdout] 528 | return render_template(&template, 404, HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:530:47 [INFO] [stdout] | [INFO] [stdout] 530 | OptionResult::Error => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:573:48 [INFO] [stdout] | [INFO] [stdout] 573 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 574 | | let id: i64 = match id_string.as_ref().parse() { [INFO] [stdout] 575 | | Ok(i) => i, [INFO] [stdout] 576 | | Err(_) => return return_404(static_prefix), [INFO] [stdout] ... | [INFO] [stdout] 618 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:573:48 [INFO] [stdout] | [INFO] [stdout] 573 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 574 | | let id: i64 = match id_string.as_ref().parse() { [INFO] [stdout] 575 | | Ok(i) => i, [INFO] [stdout] 576 | | Err(_) => return return_404(static_prefix), [INFO] [stdout] ... | [INFO] [stdout] 618 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:576:26 [INFO] [stdout] | [INFO] [stdout] 576 | Err(_) => return return_404(static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:589:24 [INFO] [stdout] | [INFO] [stdout] 589 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:594:40 [INFO] [stdout] | [INFO] [stdout] 594 | OptionResult::Absent => return return_404(static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:595:39 [INFO] [stdout] | [INFO] [stdout] 595 | OptionResult::Error => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:621:130 [INFO] [stdout] | [INFO] [stdout] 621 | async fn handle_populate>(req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 622 | | // check for token [INFO] [stdout] 623 | | let query_pairs = get_query_pairs(req.uri()); [INFO] [stdout] 624 | | if !has_valid_token(&query_pairs, true).await { [INFO] [stdout] ... | [INFO] [stdout] 647 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:621:130 [INFO] [stdout] | [INFO] [stdout] 621 | async fn handle_populate>(req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________________________________________________^ [INFO] [stdout] 622 | | // check for token [INFO] [stdout] 623 | | let query_pairs = get_query_pairs(req.uri()); [INFO] [stdout] 624 | | if !has_valid_token(&query_pairs, true).await { [INFO] [stdout] ... | [INFO] [stdout] 647 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:625:16 [INFO] [stdout] | [INFO] [stdout] 625 | return return_403(static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:628:5 [INFO] [stdout] | [INFO] [stdout] 628 | / if req.method() == Method::POST { [INFO] [stdout] 629 | | handle_populate_post(req, static_prefix).await [INFO] [stdout] 630 | | } else if req.method() == Method::GET { [INFO] [stdout] 631 | | handle_populate_get(&req, static_prefix, &query_pairs).await [INFO] [stdout] ... | [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:628:37 [INFO] [stdout] | [INFO] [stdout] 628 | if req.method() == Method::POST { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 629 | | handle_populate_post(req, static_prefix).await [INFO] [stdout] 630 | | } else if req.method() == Method::GET { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | handle_populate_post(req, static_prefix).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:629:50 [INFO] [stdout] | [INFO] [stdout] 629 | handle_populate_post(req, static_prefix).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:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | handle_populate_post(req, static_prefix).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:630:12 [INFO] [stdout] | [INFO] [stdout] 630 | } else if req.method() == Method::GET { [INFO] [stdout] | ____________^ [INFO] [stdout] 631 | | handle_populate_get(&req, static_prefix, &query_pairs).await [INFO] [stdout] 632 | | } else { [INFO] [stdout] 633 | | let body = Full::new(Bytes::from("invalid method; requires GET or POST")); [INFO] [stdout] ... | [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:630:43 [INFO] [stdout] | [INFO] [stdout] 630 | } else if req.method() == Method::GET { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 631 | | handle_populate_get(&req, static_prefix, &query_pairs).await [INFO] [stdout] 632 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | handle_populate_get(&req, static_prefix, &query_pairs).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:631:64 [INFO] [stdout] | [INFO] [stdout] 631 | handle_populate_get(&req, static_prefix, &query_pairs).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:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | handle_populate_get(&req, static_prefix, &query_pairs).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:632:12 [INFO] [stdout] | [INFO] [stdout] 632 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 633 | | let body = Full::new(Bytes::from("invalid method; requires GET or POST")); [INFO] [stdout] 634 | | let response_res = Response::builder() [INFO] [stdout] 635 | | .status(405) [INFO] [stdout] ... | [INFO] [stdout] 646 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:639:9 [INFO] [stdout] | [INFO] [stdout] 639 | / match response_res { [INFO] [stdout] 640 | | Ok(r) => Ok(r), [INFO] [stdout] 641 | | Err(e) => { [INFO] [stdout] 642 | | error!("failed to obtain 405 response: {}", e); [INFO] [stdout] 643 | | return_500() [INFO] [stdout] 644 | | }, [INFO] [stdout] 645 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 640 | Ok(r) => Ok(r), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:641:23 [INFO] [stdout] | [INFO] [stdout] 641 | Err(e) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 642 | | error!("failed to obtain 405 response: {}", e); [INFO] [stdout] 643 | | return_500() [INFO] [stdout] 644 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:643:17 [INFO] [stdout] | [INFO] [stdout] 643 | return_500() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:653:48 [INFO] [stdout] | [INFO] [stdout] 653 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 654 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 655 | | Some(c) => c, [INFO] [stdout] 656 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 678 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 679 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:653:48 [INFO] [stdout] | [INFO] [stdout] 653 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 654 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 655 | | Some(c) => c, [INFO] [stdout] 656 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 678 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 679 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:656:24 [INFO] [stdout] | [INFO] [stdout] 656 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:661:24 [INFO] [stdout] | [INFO] [stdout] 661 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:666:24 [INFO] [stdout] | [INFO] [stdout] 666 | None => return return_500(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:740:48 [INFO] [stdout] | [INFO] [stdout] 740 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 741 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 742 | | Some(c) => c, [INFO] [stdout] 743 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:740:48 [INFO] [stdout] | [INFO] [stdout] 740 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 741 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 742 | | Some(c) => c, [INFO] [stdout] 743 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1099 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:743:24 [INFO] [stdout] | [INFO] [stdout] 743 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:751:20 [INFO] [stdout] | [INFO] [stdout] 751 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:762:24 [INFO] [stdout] | [INFO] [stdout] 762 | None => return return_400("missing field \"site\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:766:26 [INFO] [stdout] | [INFO] [stdout] 766 | Err(_) => return return_400("invalid value for field \"site\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:774:26 [INFO] [stdout] | [INFO] [stdout] 774 | Err(_) => return return_400("invalid value for field \"day-ordinal\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:779:24 [INFO] [stdout] | [INFO] [stdout] 779 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | None => return return_400(format!("site {} not found", site_id), static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:789:24 [INFO] [stdout] | [INFO] [stdout] 789 | None => return return_400("missing field \"result\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:793:24 [INFO] [stdout] | [INFO] [stdout] 793 | None => return return_400("missing field \"solution\"", static_prefix), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:835:24 [INFO] [stdout] | [INFO] [stdout] 835 | return return_400( [INFO] [stdout] | ________________________^ [INFO] [stdout] 836 | | format!( [INFO] [stdout] 837 | | "{} result lines, {} => expected {} solution lines but obtained {}", [INFO] [stdout] 838 | | result_lines.len(), if victory { "victory" } else { "defeat" }, [INFO] [stdout] ... | [INFO] [stdout] 841 | | static_prefix, [INFO] [stdout] 842 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:855:20 [INFO] [stdout] | [INFO] [stdout] 855 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:885:24 [INFO] [stdout] | [INFO] [stdout] 885 | return return_400( [INFO] [stdout] | ________________________^ [INFO] [stdout] 886 | | format!( [INFO] [stdout] 887 | | "{} guesses derived from result {:?}, {} solution lines; must be the same", [INFO] [stdout] 888 | | expected_line_count, result_string, solution_lines.len(), [INFO] [stdout] 889 | | ), [INFO] [stdout] 890 | | static_prefix, [INFO] [stdout] 891 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:941:32 [INFO] [stdout] | [INFO] [stdout] 941 | return return_400( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 942 | | format!( [INFO] [stdout] 943 | | "unknown result character {} (U+{:04X})", [INFO] [stdout] 944 | | c, u32::from(c), [INFO] [stdout] 945 | | ), [INFO] [stdout] 946 | | static_prefix, [INFO] [stdout] 947 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:969:20 [INFO] [stdout] | [INFO] [stdout] 969 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1015:20 [INFO] [stdout] | [INFO] [stdout] 1015 | return return_400("failed to decode guesses", static_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1036:20 [INFO] [stdout] | [INFO] [stdout] 1036 | return return_400( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1037 | | format!( [INFO] [stdout] 1038 | | "expected {}, obtained {} solution lines", [INFO] [stdout] 1039 | | expected_line_count, solution_lines.len(), [INFO] [stdout] 1040 | | ), [INFO] [stdout] 1041 | | static_prefix, [INFO] [stdout] 1042 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1091:5 [INFO] [stdout] | [INFO] [stdout] 1091 | / if !db_conn.store_puzzle(&puzzle).await { [INFO] [stdout] 1092 | | return_500() [INFO] [stdout] 1093 | | } else { [INFO] [stdout] 1094 | | let template = PopulateSuccessTemplate { [INFO] [stdout] ... | [INFO] [stdout] 1097 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1098 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1091:45 [INFO] [stdout] | [INFO] [stdout] 1091 | if !db_conn.store_puzzle(&puzzle).await { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1092 | | return_500() [INFO] [stdout] 1093 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1092:9 [INFO] [stdout] | [INFO] [stdout] 1092 | return_500() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1093:12 [INFO] [stdout] | [INFO] [stdout] 1093 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 1094 | | let template = PopulateSuccessTemplate { [INFO] [stdout] 1095 | | static_prefix: static_prefix.into(), [INFO] [stdout] 1096 | | }; [INFO] [stdout] 1097 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1098 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1097:9 [INFO] [stdout] | [INFO] [stdout] 1097 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1158:128 [INFO] [stdout] | [INFO] [stdout] 1158 | async fn handle_stats>(_req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1159 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 1160 | | Some(c) => c, [INFO] [stdout] 1161 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1173 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1158:128 [INFO] [stdout] | [INFO] [stdout] 1158 | async fn handle_stats>(_req: Request, static_prefix: P) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1159 | | let db_conn = match DbConnection::new().await { [INFO] [stdout] 1160 | | Some(c) => c, [INFO] [stdout] 1161 | | None => return return_500(), // error already logged [INFO] [stdout] ... | [INFO] [stdout] 1173 | | render_template(&template, 200, HashMap::new()) [INFO] [stdout] 1174 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1161:24 [INFO] [stdout] | [INFO] [stdout] 1161 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1166:24 [INFO] [stdout] | [INFO] [stdout] 1166 | None => return return_500(), // error already logged [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1173:5 [INFO] [stdout] | [INFO] [stdout] 1173 | render_template(&template, 200, HashMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1176:148 [INFO] [stdout] | [INFO] [stdout] 1176 | async fn handle_static>(_req: Request, static_prefix: P, static_path: &str) -> Result>, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1177 | | macro_rules! typescript { [INFO] [stdout] 1178 | | ($basename:expr) => { [INFO] [stdout] 1179 | | if static_path == concat!($basename, ".js") { [INFO] [stdout] ... | [INFO] [stdout] 1200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1176:148 [INFO] [stdout] | [INFO] [stdout] 1176 | async fn handle_static>(_req: Request, static_prefix: P, static_path: &str) -> Result>, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 1177 | | macro_rules! typescript { [INFO] [stdout] 1178 | | ($basename:expr) => { [INFO] [stdout] 1179 | | if static_path == concat!($basename, ".js") { [INFO] [stdout] ... | [INFO] [stdout] 1200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1191:5 [INFO] [stdout] | [INFO] [stdout] 1191 | / if static_path == "style.css" { [INFO] [stdout] 1192 | | return_static(include_bytes!("../static/style.css"), "text/css") [INFO] [stdout] 1193 | | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] 1194 | | typescript!("puzzles") [INFO] [stdout] ... | [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1191:35 [INFO] [stdout] | [INFO] [stdout] 1191 | if static_path == "style.css" { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1192 | | return_static(include_bytes!("../static/style.css"), "text/css") [INFO] [stdout] 1193 | | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1192:9 [INFO] [stdout] | [INFO] [stdout] 1192 | return_static(include_bytes!("../static/style.css"), "text/css") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1193:12 [INFO] [stdout] | [INFO] [stdout] 1193 | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] | ____________^ [INFO] [stdout] 1194 | | typescript!("puzzles") [INFO] [stdout] 1195 | | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] 1196 | | typescript!("wordle32-spoiler") [INFO] [stdout] 1197 | | } else { [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1193:51 [INFO] [stdout] | [INFO] [stdout] 1193 | } else if static_path.starts_with("puzzles.") { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 1194 | | typescript!("puzzles") [INFO] [stdout] 1195 | | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1179:13 [INFO] [stdout] | [INFO] [stdout] 1179 | / if static_path == concat!($basename, ".js") { [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] ... | [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1179:57 [INFO] [stdout] | [INFO] [stdout] 1179 | if static_path == concat!($basename, ".js") { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1180:17 [INFO] [stdout] | [INFO] [stdout] 1180 | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:20 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:68 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1182:17 [INFO] [stdout] | [INFO] [stdout] 1182 | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:20 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:64 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1185:20 [INFO] [stdout] | [INFO] [stdout] 1185 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1186:17 [INFO] [stdout] | [INFO] [stdout] 1186 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | typescript!("puzzles") [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1195:12 [INFO] [stdout] | [INFO] [stdout] 1195 | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] | ____________^ [INFO] [stdout] 1196 | | typescript!("wordle32-spoiler") [INFO] [stdout] 1197 | | } else { [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1195:60 [INFO] [stdout] | [INFO] [stdout] 1195 | } else if static_path.starts_with("wordle32-spoiler.") { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 1196 | | typescript!("wordle32-spoiler") [INFO] [stdout] 1197 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1179:13 [INFO] [stdout] | [INFO] [stdout] 1179 | / if static_path == concat!($basename, ".js") { [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] ... | [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1179:57 [INFO] [stdout] | [INFO] [stdout] 1179 | if static_path == concat!($basename, ".js") { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 1180 | | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] 1181 | | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1180:17 [INFO] [stdout] | [INFO] [stdout] 1180 | return_static(include_bytes!(concat!("../static/", $basename, ".js")), "text/javascript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:20 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1181:68 [INFO] [stdout] | [INFO] [stdout] 1181 | } else if static_path == concat!($basename, ".js.map") { [INFO] [stdout] | ____________________________________________________________________^ [INFO] [stdout] 1182 | | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] 1183 | | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1182:17 [INFO] [stdout] | [INFO] [stdout] 1182 | return_static(include_bytes!(concat!("../static/", $basename, ".js.map")), "application/json") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:20 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1183:64 [INFO] [stdout] | [INFO] [stdout] 1183 | } else if static_path == concat!($basename, ".ts") { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 1184 | | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] 1185 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1184:17 [INFO] [stdout] | [INFO] [stdout] 1184 | return_static(include_bytes!(concat!("../static/", $basename, ".ts")), "text/vnd.typescript") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1185:20 [INFO] [stdout] | [INFO] [stdout] 1185 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1186 | | return_404(static_prefix) [INFO] [stdout] 1187 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1186:17 [INFO] [stdout] | [INFO] [stdout] 1186 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1196 | typescript!("wordle32-spoiler") [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `typescript` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1197:12 [INFO] [stdout] | [INFO] [stdout] 1197 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 1198 | | return_404(static_prefix) [INFO] [stdout] 1199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1198:9 [INFO] [stdout] | [INFO] [stdout] 1198 | return_404(static_prefix) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1202:102 [INFO] [stdout] | [INFO] [stdout] 1202 | fn return_static(body_bytes: &[u8], content_type: &str) -> Result>, Infallible> { [INFO] [stdout] | ______________________________________________________________________________________________________^ [INFO] [stdout] 1203 | | let response_res = Response::builder() [INFO] [stdout] 1204 | | .status(200) [INFO] [stdout] 1205 | | .header("Content-Type", content_type) [INFO] [stdout] ... | [INFO] [stdout] 1214 | | Ok(response) [INFO] [stdout] 1215 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1211:20 [INFO] [stdout] | [INFO] [stdout] 1211 | return return_500(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wordle-archive` (bin "wordle-archive" test) due to 166 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bb1314c28d9dd9f199771f274a89836441fd199ba36fc5e1ed8d3dbe213aaee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1314c28d9dd9f199771f274a89836441fd199ba36fc5e1ed8d3dbe213aaee0", kill_on_drop: false }` [INFO] [stdout] bb1314c28d9dd9f199771f274a89836441fd199ba36fc5e1ed8d3dbe213aaee0