[INFO] cloning repository https://github.com/FilippoPiazza/badge-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FilippoPiazza/badge-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilippoPiazza%2Fbadge-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilippoPiazza%2Fbadge-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b065c12f0a22ff73083276423675271708fb55f [INFO] checking FilippoPiazza/badge-proxy 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%2FFilippoPiazza%2Fbadge-proxy" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FilippoPiazza/badge-proxy [INFO] finished tweaking git repo https://github.com/FilippoPiazza/badge-proxy [INFO] tweaked toml for git repo https://github.com/FilippoPiazza/badge-proxy written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FilippoPiazza/badge-proxy 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/FilippoPiazza/badge-proxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 69ba45db0bf079d2cb467942c2f6d525c8b24a06a015a1ddb2a328b68dd89f40 [INFO] running `Command { std: "docker" "start" "-a" "69ba45db0bf079d2cb467942c2f6d525c8b24a06a015a1ddb2a328b68dd89f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69ba45db0bf079d2cb467942c2f6d525c8b24a06a015a1ddb2a328b68dd89f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69ba45db0bf079d2cb467942c2f6d525c8b24a06a015a1ddb2a328b68dd89f40", kill_on_drop: false }` [INFO] [stdout] 69ba45db0bf079d2cb467942c2f6d525c8b24a06a015a1ddb2a328b68dd89f40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 464bee64adf4996d4b645736911d15c50eefdddaadb8c46a08c1081d7db61783 [INFO] running `Command { std: "docker" "start" "-a" "464bee64adf4996d4b645736911d15c50eefdddaadb8c46a08c1081d7db61783", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [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 icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [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 tokio-util v0.7.15 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking badge-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | match (req.method(), req.uri().path()) { [INFO] [stdout] 49 | | // GET / - Proxy to the URL if set, otherwise return an error [INFO] [stdout] 50 | | (&Method::GET, "/") => { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [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:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | match (req.method(), req.uri().path()) { [INFO] [stdout] 49 | | // GET / - Proxy to the URL if set, otherwise return an error [INFO] [stdout] 50 | | (&Method::GET, "/") => { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | match (req.method(), req.uri().path()) { [INFO] [stdout] 49 | | // GET / - Proxy to the URL if set, otherwise return an error [INFO] [stdout] 50 | | (&Method::GET, "/") => { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [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:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / match (req.method(), req.uri().path()) { [INFO] [stdout] 49 | | // GET / - Proxy to the URL if set, otherwise return an error [INFO] [stdout] 50 | | (&Method::GET, "/") => { [INFO] [stdout] 51 | | match read_url(shared_url).await { [INFO] [stdout] ... | [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | (&Method::GET, "/") => { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 51 | | match read_url(shared_url).await { [INFO] [stdout] 52 | | Some(url) => { [INFO] [stdout] ... | [INFO] [stdout] 75 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / match read_url(shared_url).await { [INFO] [stdout] 52 | | Some(url) => { [INFO] [stdout] 53 | | // Proxy to the URL [INFO] [stdout] 54 | | match proxy_request(&url).await { [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | Some(url) => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 53 | | // Proxy to the URL [INFO] [stdout] 54 | | match proxy_request(&url).await { [INFO] [stdout] 55 | | Ok(proxy_response) => Ok(proxy_response), [INFO] [stdout] ... | [INFO] [stdout] 65 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | / match proxy_request(&url).await { [INFO] [stdout] 55 | | Ok(proxy_response) => Ok(proxy_response), [INFO] [stdout] 56 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(proxy_response) => Ok(proxy_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:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | Err(e) => { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 57 | | // Error occurred during proxying [INFO] [stdout] 58 | | let response = Response::builder() [INFO] [stdout] 59 | | .status(StatusCode::BAD_GATEWAY) [INFO] [stdout] ... | [INFO] [stdout] 62 | | Ok(response) [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | ... 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:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result>, Infallible> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 48 | | match (req.method(), req.uri().path()) { [INFO] [stdout] 49 | | // GET / - Proxy to the URL if set, otherwise return an error [INFO] [stdout] 50 | | (&Method::GET, "/") => { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | None => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 67 | | // No URL is set, return an error [INFO] [stdout] 68 | | let response = Response::builder() [INFO] [stdout] 69 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(response) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | 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:78:59 [INFO] [stdout] | [INFO] [stdout] 78 | (&Method::POST, "/url") | (&Method::POST, "/") => { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 79 | | // Check if update password is set [INFO] [stdout] 80 | | if let Some(required_password) = update_password.as_ref() { [INFO] [stdout] ... | [INFO] [stdout] 141 | | Ok(response) [INFO] [stdout] 142 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 103 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 104 | | .header(header::WWW_AUTHENTICATE, "Bearer") [INFO] [stdout] 105 | | .body(full("Unauthorized: Valid password required to update URL")) [INFO] [stdout] 106 | | .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:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 116 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 117 | | .body(full("Failed to read request body")) [INFO] [stdout] 118 | | .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:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / match (req.method(), req.uri().path()) { [INFO] [stdout] 49 | | // GET / - Proxy to the URL if set, otherwise return an error [INFO] [stdout] 50 | | (&Method::GET, "/") => { [INFO] [stdout] 51 | | match read_url(shared_url).await { [INFO] [stdout] ... | [INFO] [stdout] 152 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 127 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 128 | | .body(full("Request body is not valid UTF-8")) [INFO] [stdout] 129 | | .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:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | 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:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | _ => { [INFO] [stdout] | ______________^ [INFO] [stdout] 146 | | let response = Response::builder() [INFO] [stdout] 147 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 148 | | .body(full("Not Found")) [INFO] [stdout] 149 | | .unwrap(); [INFO] [stdout] 150 | | Ok(response) [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | 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:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | (&Method::GET, "/") => { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 51 | | match read_url(shared_url).await { [INFO] [stdout] 52 | | Some(url) => { [INFO] [stdout] ... | [INFO] [stdout] 75 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / match read_url(shared_url).await { [INFO] [stdout] 52 | | Some(url) => { [INFO] [stdout] 53 | | // Proxy to the URL [INFO] [stdout] 54 | | match proxy_request(&url).await { [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | Some(url) => { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 53 | | // Proxy to the URL [INFO] [stdout] 54 | | match proxy_request(&url).await { [INFO] [stdout] 55 | | Ok(proxy_response) => Ok(proxy_response), [INFO] [stdout] ... | [INFO] [stdout] 65 | | }, [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | / match proxy_request(&url).await { [INFO] [stdout] 55 | | Ok(proxy_response) => Ok(proxy_response), [INFO] [stdout] 56 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(proxy_response) => Ok(proxy_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:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | Err(e) => { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 57 | | // Error occurred during proxying [INFO] [stdout] 58 | | let response = Response::builder() [INFO] [stdout] 59 | | .status(StatusCode::BAD_GATEWAY) [INFO] [stdout] ... | [INFO] [stdout] 62 | | Ok(response) [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | ... 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:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | None => { [INFO] [stdout] | _________________________^ [INFO] [stdout] 67 | | // No URL is set, return an error [INFO] [stdout] 68 | | let response = Response::builder() [INFO] [stdout] 69 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(response) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | 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:78:59 [INFO] [stdout] | [INFO] [stdout] 78 | (&Method::POST, "/url") | (&Method::POST, "/") => { [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 79 | | // Check if update password is set [INFO] [stdout] 80 | | if let Some(required_password) = update_password.as_ref() { [INFO] [stdout] ... | [INFO] [stdout] 141 | | Ok(response) [INFO] [stdout] 142 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 103 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 104 | | .header(header::WWW_AUTHENTICATE, "Bearer") [INFO] [stdout] 105 | | .body(full("Unauthorized: Valid password required to update URL")) [INFO] [stdout] 106 | | .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:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 116 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 117 | | .body(full("Failed to read request body")) [INFO] [stdout] 118 | | .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:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 127 | | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] 128 | | .body(full("Request body is not valid UTF-8")) [INFO] [stdout] 129 | | .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:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | 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:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | _ => { [INFO] [stdout] | ______________^ [INFO] [stdout] 146 | | let response = Response::builder() [INFO] [stdout] 147 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 148 | | .body(full("Not Found")) [INFO] [stdout] 149 | | .unwrap(); [INFO] [stdout] 150 | | Ok(response) [INFO] [stdout] 151 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/main.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `badge-proxy` (bin "badge-proxy") due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `badge-proxy` (bin "badge-proxy" test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "464bee64adf4996d4b645736911d15c50eefdddaadb8c46a08c1081d7db61783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464bee64adf4996d4b645736911d15c50eefdddaadb8c46a08c1081d7db61783", kill_on_drop: false }` [INFO] [stdout] 464bee64adf4996d4b645736911d15c50eefdddaadb8c46a08c1081d7db61783