[INFO] cloning repository https://github.com/paradise-runner/glowdoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paradise-runner/glowdoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparadise-runner%2Fglowdoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparadise-runner%2Fglowdoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78933245a4b5313f2bdd0e3acfe668e2cd9199d5 [INFO] checking paradise-runner/glowdoc 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%2Fparadise-runner%2Fglowdoc" "/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/paradise-runner/glowdoc [INFO] finished tweaking git repo https://github.com/paradise-runner/glowdoc [INFO] tweaked toml for git repo https://github.com/paradise-runner/glowdoc written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paradise-runner/glowdoc 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/paradise-runner/glowdoc 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] c666979dd8493e5da7c7e0e2441bd0be38852dab626f68c09bb5c22363bddccb [INFO] running `Command { std: "docker" "start" "-a" "c666979dd8493e5da7c7e0e2441bd0be38852dab626f68c09bb5c22363bddccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c666979dd8493e5da7c7e0e2441bd0be38852dab626f68c09bb5c22363bddccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c666979dd8493e5da7c7e0e2441bd0be38852dab626f68c09bb5c22363bddccb", kill_on_drop: false }` [INFO] [stdout] c666979dd8493e5da7c7e0e2441bd0be38852dab626f68c09bb5c22363bddccb [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] 8b839e1c728b4b691014a057c3bcab0ff816ec6e0ffe45f30ea9312576440499 [INFO] running `Command { std: "docker" "start" "-a" "8b839e1c728b4b691014a057c3bcab0ff816ec6e0ffe45f30ea9312576440499", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-staticfile v0.9.6 [INFO] [stderr] Checking glowdoc v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result) -> impl futures_util::Future, Infallible>> {GlowDocBuilder::handle_http_request}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:655:58 [INFO] [stdout] | [INFO] [stdout] 655 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 656 | | Ok::<_, Infallible>(service_fn(Self::handle_http_request)) [INFO] [stdout] 657 | | }); [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) -> impl futures_util::Future, Infallible>> {GlowDocBuilder::handle_http_request}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 656 | Ok::<_, Infallible>(service_fn(Self::handle_http_request)) [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:92 [INFO] [stdout] | [INFO] [stdout] 784 | async fn handle_http_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 785 | | let path = req.uri().path(); [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [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:92 [INFO] [stdout] | [INFO] [stdout] 784 | async fn handle_http_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 785 | | let path = req.uri().path(); [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [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:20 [INFO] [stdout] | [INFO] [stdout] 789 | return Self::serve_static_file(path).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:789:50 [INFO] [stdout] | [INFO] [stdout] 789 | return Self::serve_static_file(path).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:789:20 [INFO] [stdout] | [INFO] [stdout] 789 | return Self::serve_static_file(path).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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | / match fs::read_to_string("index.html") { [INFO] [stdout] 794 | | Ok(content) => { [INFO] [stdout] 795 | | Ok(Response::builder() [INFO] [stdout] 796 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] ... | [INFO] [stdout] 837 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:794:28 [INFO] [stdout] | [INFO] [stdout] 794 | Ok(content) => { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 795 | | Ok(Response::builder() [INFO] [stdout] 796 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 797 | | .header("cache-control", "no-cache, no-store, must-revalidate") [INFO] [stdout] ... | [INFO] [stdout] 801 | | .unwrap()) [INFO] [stdout] 802 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | / Ok(Response::builder() [INFO] [stdout] 796 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 797 | | .header("cache-control", "no-cache, no-store, must-revalidate") [INFO] [stdout] 798 | | .header("pragma", "no-cache") [INFO] [stdout] 799 | | .header("expires", "0") [INFO] [stdout] 800 | | .body(Body::from(content)) [INFO] [stdout] 801 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:803:23 [INFO] [stdout] | [INFO] [stdout] 803 | Err(_) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 804 | | let error_html = r#" [INFO] [stdout] 805 | | [INFO] [stdout] 806 | | [INFO] [stdout] ... | [INFO] [stdout] 835 | | .unwrap()) [INFO] [stdout] 836 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:831:17 [INFO] [stdout] | [INFO] [stdout] 831 | / Ok(Response::builder() [INFO] [stdout] 832 | | .status(404) [INFO] [stdout] 833 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 834 | | .body(Body::from(error_html)) [INFO] [stdout] 835 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:840:82 [INFO] [stdout] | [INFO] [stdout] 840 | async fn serve_static_file(path: &str) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 841 | | // Clean up the path and resolve to file system [INFO] [stdout] 842 | | let clean_path = path.trim_start_matches('/'); [INFO] [stdout] 843 | | let file_path = if clean_path.starts_with("docs/") { [INFO] [stdout] ... | [INFO] [stdout] 890 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:840:82 [INFO] [stdout] | [INFO] [stdout] 840 | async fn serve_static_file(path: &str) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 841 | | // Clean up the path and resolve to file system [INFO] [stdout] 842 | | let clean_path = path.trim_start_matches('/'); [INFO] [stdout] 843 | | let file_path = if clean_path.starts_with("docs/") { [INFO] [stdout] ... | [INFO] [stdout] 890 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | / match fs::read(&file_path) { [INFO] [stdout] 853 | | Ok(content) => { [INFO] [stdout] 854 | | let content_type = Self::get_content_type(&file_path); [INFO] [stdout] ... | [INFO] [stdout] 889 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:853:28 [INFO] [stdout] | [INFO] [stdout] 853 | Ok(content) => { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 854 | | let content_type = Self::get_content_type(&file_path); [INFO] [stdout] 855 | | [INFO] [stdout] 856 | | Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 862 | | .unwrap()) [INFO] [stdout] 863 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:856:17 [INFO] [stdout] | [INFO] [stdout] 856 | / Ok(Response::builder() [INFO] [stdout] 857 | | .header("content-type", content_type) [INFO] [stdout] 858 | | .header("cache-control", "no-cache, no-store, must-revalidate") [INFO] [stdout] 859 | | .header("pragma", "no-cache") [INFO] [stdout] 860 | | .header("expires", "0") [INFO] [stdout] 861 | | .body(Body::from(content)) [INFO] [stdout] 862 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:864:23 [INFO] [stdout] | [INFO] [stdout] 864 | Err(_) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 865 | | let not_found_html = format!(r#" [INFO] [stdout] 866 | | [INFO] [stdout] 867 | | [INFO] [stdout] ... | [INFO] [stdout] 887 | | .unwrap()) [INFO] [stdout] 888 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:883:17 [INFO] [stdout] | [INFO] [stdout] 883 | / Ok(Response::builder() [INFO] [stdout] 884 | | .status(404) [INFO] [stdout] 885 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 886 | | .body(Body::from(not_found_html)) [INFO] [stdout] 887 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glowdoc` (bin "glowdoc") due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result) -> impl futures_util::Future, Infallible>> {GlowDocBuilder::handle_http_request}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:655:58 [INFO] [stdout] | [INFO] [stdout] 655 | let make_svc = make_service_fn(|_conn| async { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 656 | | Ok::<_, Infallible>(service_fn(Self::handle_http_request)) [INFO] [stdout] 657 | | }); [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) -> impl futures_util::Future, Infallible>> {GlowDocBuilder::handle_http_request}, Body>, Infallible> [INFO] [stdout] --> src/main.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 656 | Ok::<_, Infallible>(service_fn(Self::handle_http_request)) [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:92 [INFO] [stdout] | [INFO] [stdout] 784 | async fn handle_http_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 785 | | let path = req.uri().path(); [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [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:92 [INFO] [stdout] | [INFO] [stdout] 784 | async fn handle_http_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 785 | | let path = req.uri().path(); [INFO] [stdout] ... | [INFO] [stdout] 838 | | } [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:20 [INFO] [stdout] | [INFO] [stdout] 789 | return Self::serve_static_file(path).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:789:50 [INFO] [stdout] | [INFO] [stdout] 789 | return Self::serve_static_file(path).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:789:20 [INFO] [stdout] | [INFO] [stdout] 789 | return Self::serve_static_file(path).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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | / match fs::read_to_string("index.html") { [INFO] [stdout] 794 | | Ok(content) => { [INFO] [stdout] 795 | | Ok(Response::builder() [INFO] [stdout] 796 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] ... | [INFO] [stdout] 837 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:794:28 [INFO] [stdout] | [INFO] [stdout] 794 | Ok(content) => { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 795 | | Ok(Response::builder() [INFO] [stdout] 796 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 797 | | .header("cache-control", "no-cache, no-store, must-revalidate") [INFO] [stdout] ... | [INFO] [stdout] 801 | | .unwrap()) [INFO] [stdout] 802 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:795:17 [INFO] [stdout] | [INFO] [stdout] 795 | / Ok(Response::builder() [INFO] [stdout] 796 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 797 | | .header("cache-control", "no-cache, no-store, must-revalidate") [INFO] [stdout] 798 | | .header("pragma", "no-cache") [INFO] [stdout] 799 | | .header("expires", "0") [INFO] [stdout] 800 | | .body(Body::from(content)) [INFO] [stdout] 801 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:803:23 [INFO] [stdout] | [INFO] [stdout] 803 | Err(_) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 804 | | let error_html = r#" [INFO] [stdout] 805 | | [INFO] [stdout] 806 | | [INFO] [stdout] ... | [INFO] [stdout] 835 | | .unwrap()) [INFO] [stdout] 836 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:831:17 [INFO] [stdout] | [INFO] [stdout] 831 | / Ok(Response::builder() [INFO] [stdout] 832 | | .status(404) [INFO] [stdout] 833 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 834 | | .body(Body::from(error_html)) [INFO] [stdout] 835 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:840:82 [INFO] [stdout] | [INFO] [stdout] 840 | async fn serve_static_file(path: &str) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 841 | | // Clean up the path and resolve to file system [INFO] [stdout] 842 | | let clean_path = path.trim_start_matches('/'); [INFO] [stdout] 843 | | let file_path = if clean_path.starts_with("docs/") { [INFO] [stdout] ... | [INFO] [stdout] 890 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:840:82 [INFO] [stdout] | [INFO] [stdout] 840 | async fn serve_static_file(path: &str) -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 841 | | // Clean up the path and resolve to file system [INFO] [stdout] 842 | | let clean_path = path.trim_start_matches('/'); [INFO] [stdout] 843 | | let file_path = if clean_path.starts_with("docs/") { [INFO] [stdout] ... | [INFO] [stdout] 890 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | / match fs::read(&file_path) { [INFO] [stdout] 853 | | Ok(content) => { [INFO] [stdout] 854 | | let content_type = Self::get_content_type(&file_path); [INFO] [stdout] ... | [INFO] [stdout] 889 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:853:28 [INFO] [stdout] | [INFO] [stdout] 853 | Ok(content) => { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 854 | | let content_type = Self::get_content_type(&file_path); [INFO] [stdout] 855 | | [INFO] [stdout] 856 | | Ok(Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 862 | | .unwrap()) [INFO] [stdout] 863 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:856:17 [INFO] [stdout] | [INFO] [stdout] 856 | / Ok(Response::builder() [INFO] [stdout] 857 | | .header("content-type", content_type) [INFO] [stdout] 858 | | .header("cache-control", "no-cache, no-store, must-revalidate") [INFO] [stdout] 859 | | .header("pragma", "no-cache") [INFO] [stdout] 860 | | .header("expires", "0") [INFO] [stdout] 861 | | .body(Body::from(content)) [INFO] [stdout] 862 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:864:23 [INFO] [stdout] | [INFO] [stdout] 864 | Err(_) => { [INFO] [stdout] | _______________________^ [INFO] [stdout] 865 | | let not_found_html = format!(r#" [INFO] [stdout] 866 | | [INFO] [stdout] 867 | | [INFO] [stdout] ... | [INFO] [stdout] 887 | | .unwrap()) [INFO] [stdout] 888 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:883:17 [INFO] [stdout] | [INFO] [stdout] 883 | / Ok(Response::builder() [INFO] [stdout] 884 | | .status(404) [INFO] [stdout] 885 | | .header("content-type", "text/html; charset=utf-8") [INFO] [stdout] 886 | | .body(Body::from(not_found_html)) [INFO] [stdout] 887 | | .unwrap()) [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `glowdoc` (bin "glowdoc" test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "8b839e1c728b4b691014a057c3bcab0ff816ec6e0ffe45f30ea9312576440499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b839e1c728b4b691014a057c3bcab0ff816ec6e0ffe45f30ea9312576440499", kill_on_drop: false }` [INFO] [stdout] 8b839e1c728b4b691014a057c3bcab0ff816ec6e0ffe45f30ea9312576440499