[INFO] cloning repository https://github.com/nyavro/rproxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nyavro/rproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyavro%2Frproxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnyavro%2Frproxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5589f0e764bbebc389c14726223d46a9bb5764fc [INFO] checking nyavro/rproxy 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%2Fnyavro%2Frproxy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nyavro/rproxy [INFO] finished tweaking git repo https://github.com/nyavro/rproxy [INFO] tweaked toml for git repo https://github.com/nyavro/rproxy written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nyavro/rproxy 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/nyavro/rproxy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb4fb3a2158f8acfd0ca2c7862a2b20d8036b61aef3f268140edb33c513fcd36 [INFO] running `Command { std: "docker" "start" "-a" "eb4fb3a2158f8acfd0ca2c7862a2b20d8036b61aef3f268140edb33c513fcd36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb4fb3a2158f8acfd0ca2c7862a2b20d8036b61aef3f268140edb33c513fcd36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4fb3a2158f8acfd0ca2c7862a2b20d8036b61aef3f268140edb33c513fcd36", kill_on_drop: false }` [INFO] [stdout] eb4fb3a2158f8acfd0ca2c7862a2b20d8036b61aef3f268140edb33c513fcd36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36aab14fd67c68a77f798260f6b57e5515dccbb8a8579c0780bc0ea9ac2cc56c [INFO] running `Command { std: "docker" "start" "-a" "36aab14fd67c68a77f798260f6b57e5515dccbb8a8579c0780bc0ea9ac2cc56c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking option-filter v1.0.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.23.2 [INFO] [stderr] Checking rproxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [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 Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | async fn handle_request(_: Request) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 20 | | Ok( [INFO] [stdout] 21 | | Response::builder() [INFO] [stdout] 22 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | async fn handle_request(_: Request) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 20 | | Ok( [INFO] [stdout] 21 | | Response::builder() [INFO] [stdout] 22 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / Ok( [INFO] [stdout] 21 | | Response::builder() [INFO] [stdout] 22 | | .status(200) [INFO] [stdout] 23 | | .body(Body::from("{\"access_token\": \"acc_tok_123\", \"expires_in\": 1234}")) [INFO] [stdout] 24 | | .unwrap() [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/emulator/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [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 Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/emulator/main.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/emulator/main.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 31 | async fn handle_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 32 | | let auth_header = get_authorization_template(&req.headers()); [INFO] [stdout] 33 | | Ok( [INFO] [stdout] 34 | | Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/emulator/main.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 31 | async fn handle_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 32 | | let auth_header = get_authorization_template(&req.headers()); [INFO] [stdout] 33 | | Ok( [INFO] [stdout] 34 | | Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/emulator/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / Ok( [INFO] [stdout] 34 | | Response::builder() [INFO] [stdout] 35 | | .status(200) [INFO] [stdout] 36 | | .body(Body::from(req.uri().to_string() + "::::" + &auth_header.unwrap_or("none".to_string()))) [INFO] [stdout] 37 | | .unwrap() [INFO] [stdout] 38 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rproxy` (bin "auth_emulator" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rproxy` (bin "emulator") due to 5 previous errors [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [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 Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | async fn handle_request(_: Request) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 20 | | Ok( [INFO] [stdout] 21 | | Response::builder() [INFO] [stdout] 22 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | async fn handle_request(_: Request) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________^ [INFO] [stdout] 20 | | Ok( [INFO] [stdout] 21 | | Response::builder() [INFO] [stdout] 22 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/auth_emulator/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / Ok( [INFO] [stdout] 21 | | Response::builder() [INFO] [stdout] 22 | | .status(200) [INFO] [stdout] 23 | | .body(Body::from("{\"access_token\": \"acc_tok_123\", \"expires_in\": 1234}")) [INFO] [stdout] 24 | | .unwrap() [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rproxy` (bin "auth_emulator") due to 5 previous errors [INFO] [stdout] error: this type will no longer be must used: Result) -> impl Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/emulator/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [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 Future, Infallible>> {handle_request}, Body>, Infallible> [INFO] [stdout] --> src/emulator/main.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | make_service_fn(|_conn| async {Ok::<_, Infallible>(service_fn(handle_request))}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/emulator/main.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 31 | async fn handle_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 32 | | let auth_header = get_authorization_template(&req.headers()); [INFO] [stdout] 33 | | Ok( [INFO] [stdout] 34 | | Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/emulator/main.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 31 | async fn handle_request(req: Request) -> Result, Infallible> { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 32 | | let auth_header = get_authorization_template(&req.headers()); [INFO] [stdout] 33 | | Ok( [INFO] [stdout] 34 | | Response::builder() [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/emulator/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / Ok( [INFO] [stdout] 34 | | Response::builder() [INFO] [stdout] 35 | | .status(200) [INFO] [stdout] 36 | | .body(Body::from(req.uri().to_string() + "::::" + &auth_header.unwrap_or("none".to_string()))) [INFO] [stdout] 37 | | .unwrap() [INFO] [stdout] 38 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rproxy` (bin "emulator" test) due to 5 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | async move { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 24 | | Ok::<_, Infallible>( [INFO] [stdout] 25 | | service_fn( [INFO] [stdout] 26 | | move |req| handle_request(req, config.clone(), cache.clone()) [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [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:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | / Ok::<_, Infallible>( [INFO] [stdout] 25 | | service_fn( [INFO] [stdout] 26 | | move |req| handle_request(req, config.clone(), cache.clone()) [INFO] [stdout] 27 | | ) [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:38:181 [INFO] [stdout] | [INFO] [stdout] 38 | async fn handle_request(req: Request, config: Arc, token_cache: Arc>>) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 39 | | let client = client::init_client(); [INFO] [stdout] 40 | | let uri_str = config.redirect_url.clone() + req.uri().path_and_query().map_or("/", |pq| pq.as_str()); [INFO] [stdout] 41 | | let backend_uri: Uri = uri_str.parse().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:38:181 [INFO] [stdout] | [INFO] [stdout] 38 | async fn handle_request(req: Request, config: Arc, token_cache: Arc>>) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 39 | | let client = client::init_client(); [INFO] [stdout] 40 | | let uri_str = config.redirect_url.clone() + req.uri().path_and_query().map_or("/", |pq| pq.as_str()); [INFO] [stdout] 41 | | let backend_uri: Uri = uri_str.parse().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / match client.request(proxy_req).await { [INFO] [stdout] 50 | | Ok(res) => Ok(res), [INFO] [stdout] 51 | | Err(_) => Ok(Response::builder().status(500).body(Body::from("Internal Server Error")).unwrap()) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(res) => Ok(res), [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:19 [INFO] [stdout] | [INFO] [stdout] 51 | Err(_) => Ok(Response::builder().status(500).body(Body::from("Internal Server Error")).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rproxy` (bin "rproxy") due to 7 previous errors [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | async move { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 24 | | Ok::<_, Infallible>( [INFO] [stdout] 25 | | service_fn( [INFO] [stdout] 26 | | move |req| handle_request(req, config.clone(), cache.clone()) [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [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:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | / Ok::<_, Infallible>( [INFO] [stdout] 25 | | service_fn( [INFO] [stdout] 26 | | move |req| handle_request(req, config.clone(), cache.clone()) [INFO] [stdout] 27 | | ) [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:38:181 [INFO] [stdout] | [INFO] [stdout] 38 | async fn handle_request(req: Request, config: Arc, token_cache: Arc>>) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 39 | | let client = client::init_client(); [INFO] [stdout] 40 | | let uri_str = config.redirect_url.clone() + req.uri().path_and_query().map_or("/", |pq| pq.as_str()); [INFO] [stdout] 41 | | let backend_uri: Uri = uri_str.parse().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:38:181 [INFO] [stdout] | [INFO] [stdout] 38 | async fn handle_request(req: Request, config: Arc, token_cache: Arc>>) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] 39 | | let client = client::init_client(); [INFO] [stdout] 40 | | let uri_str = config.redirect_url.clone() + req.uri().path_and_query().map_or("/", |pq| pq.as_str()); [INFO] [stdout] 41 | | let backend_uri: Uri = uri_str.parse().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / match client.request(proxy_req).await { [INFO] [stdout] 50 | | Ok(res) => Ok(res), [INFO] [stdout] 51 | | Err(_) => Ok(Response::builder().status(500).body(Body::from("Internal Server Error")).unwrap()) [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(res) => Ok(res), [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:19 [INFO] [stdout] | [INFO] [stdout] 51 | Err(_) => Ok(Response::builder().status(500).body(Body::from("Internal Server Error")).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rproxy` (bin "rproxy" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "36aab14fd67c68a77f798260f6b57e5515dccbb8a8579c0780bc0ea9ac2cc56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36aab14fd67c68a77f798260f6b57e5515dccbb8a8579c0780bc0ea9ac2cc56c", kill_on_drop: false }` [INFO] [stdout] 36aab14fd67c68a77f798260f6b57e5515dccbb8a8579c0780bc0ea9ac2cc56c