[INFO] fetching crate spacegate-kernel 0.2.0-alpha.4... [INFO] checking spacegate-kernel-0.2.0-alpha.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate spacegate-kernel 0.2.0-alpha.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate spacegate-kernel 0.2.0-alpha.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate spacegate-kernel 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate spacegate-kernel 0.2.0-alpha.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spacegate-kernel 0.2.0-alpha.4 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 crates.io crate spacegate-kernel 0.2.0-alpha.4 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] 9f1d487df63414def29887a4833376cac4393511767ac762bb1f9e79169e0110 [INFO] running `Command { std: "docker" "start" "-a" "9f1d487df63414def29887a4833376cac4393511767ac762bb1f9e79169e0110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f1d487df63414def29887a4833376cac4393511767ac762bb1f9e79169e0110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1d487df63414def29887a4833376cac4393511767ac762bb1f9e79169e0110", kill_on_drop: false }` [INFO] [stdout] 9f1d487df63414def29887a4833376cac4393511767ac762bb1f9e79169e0110 [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] ea2e311ef705c9818d30c6290ef12867c9ae20106ec9992684e249e6f19aeccc [INFO] running `Command { std: "docker" "start" "-a" "ea2e311ef705c9818d30c6290ef12867c9ae20106ec9992684e249e6f19aeccc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling fs-err v3.1.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling aws-lc-sys v0.28.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking rustls-webpki v0.103.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.3 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.5 [INFO] [stderr] Checking axum-server v0.7.2 [INFO] [stderr] Checking spacegate-kernel v0.2.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helper_layers/map_request/add_extension.rs:6:94 [INFO] [stdout] | [INFO] [stdout] 6 | ...tatic>(extension: E, reflect: bool) -> (impl (Fn(Request) -> Request) + Clone) { [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] 6 - pub fn add_extension(extension: E, reflect: bool) -> (impl (Fn(Request) -> Request) + Clone) { [INFO] [stdout] 6 + pub fn add_extension(extension: E, reflect: bool) -> impl (Fn(Request) -> Request) + Clone { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/helper_layers/map_request/add_extension.rs:6:94 [INFO] [stdout] | [INFO] [stdout] 6 | ...tatic>(extension: E, reflect: bool) -> (impl (Fn(Request) -> Request) + Clone) { [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] 6 - pub fn add_extension(extension: E, reflect: bool) -> (impl (Fn(Request) -> Request) + Clone) { [INFO] [stdout] 6 + pub fn add_extension(extension: E, reflect: bool) -> impl (Fn(Request) -> Request) + Clone { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn path_iter(&self) -> PathIter; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 71 | fn path_iter(&self) -> PathIter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn query_kv_iter(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn query_kv_iter(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | fn path_iter(&self) -> PathIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | fn path_iter(&self) -> PathIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn query_kv_iter(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn query_kv_iter(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [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/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (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/backend_service.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn http_backend_service(req: Request) -> Result, Infallible> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:122:97 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn http_backend_service(req: Request) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 123 | | match http_backend_service_inner(req).await { [INFO] [stdout] 124 | | Ok(resp) => Ok(resp), [INFO] [stdout] 125 | | Err(err) => Ok(Response::with_code_message(StatusCode::BAD_GATEWAY, format!("[Sg.Client] Client error: {err}"))), [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / match http_backend_service_inner(req).await { [INFO] [stdout] 124 | | Ok(resp) => Ok(resp), [INFO] [stdout] 125 | | Err(err) => Ok(Response::with_code_message(StatusCode::BAD_GATEWAY, format!("[Sg.Client] Client error: {err}"))), [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | Err(err) => Ok(Response::with_code_message(StatusCode::BAD_GATEWAY, format!("[Sg.Client] Client error: {err}"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (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/backend_service/echo.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn echo(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:12:85 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn echo(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 13 | | let reflect = req.extensions_mut().remove::(); [INFO] [stdout] 14 | | let body = req.into_body(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | Ok(resp) [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/backend_service/http_client_service.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | GLOBAL.get_or_init(Default::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/backend_service/http_client_service.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | GLOBAL.get_mut().expect("global not set").set_default(client); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | Box::pin(async move { Ok(method.call(req, next).await) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | Box::pin(async move { Ok(method.call(req, next).await) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { self.inner.call(req).await.unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:231:39 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { self.inner.call(req).await.unwrap_unchecked() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { self.inner.call(req).await.unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/timeout.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | return std::task::Poll::Ready(Ok(response)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 157 | | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] ... | [INFO] [stdout] 170 | | Ok(resp) [INFO] [stdout] 171 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 230 | | unsafe { [INFO] [stdout] 231 | | let mut response = match backend.as_ref() { [INFO] [stdout] 232 | | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] ... | [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/service/http_route.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | / unsafe { [INFO] [stdout] 231 | | let mut response = match backend.as_ref() { [INFO] [stdout] 232 | | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] 233 | | Backend::File { path } => static_file_service(req, path).await, [INFO] [stdout] ... | [INFO] [stdout] 237 | | Ok(response) [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:232:71 [INFO] [stdout] | [INFO] [stdout] 232 | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service/http_route/match_hostname.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter(&self) -> HostnameTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter(&self) -> HostnameTreeIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service/http_route/match_hostname.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> HostnameTreeIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> HostnameTreeIterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_gateway/builder.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | ArcHyperService::new(service_fn(|_| async { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 27 | | Ok(Response::builder().status(hyper::StatusCode::NOT_FOUND).body(SgBody::empty()).expect("bad response")) [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/service/http_gateway/builder.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(Response::builder().status(hyper::StatusCode::NOT_FOUND).body(SgBody::empty()).expect("bad response")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/auth/basic.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 95 | | Ok(Basic::infallible_parse(s)) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/auth/basic.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(Basic::infallible_parse(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spacegate-kernel` (lib) due to 41 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | fn path_iter(&self) -> PathIter; [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 71 | fn path_iter(&self) -> PathIter<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | fn query_kv_iter(&self) -> Option; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn query_kv_iter(&self) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | fn path_iter(&self) -> PathIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 129 | fn path_iter(&self) -> PathIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | fn query_kv_iter(&self) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | fn query_kv_iter(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [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/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (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/backend_service.rs:122:60 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn http_backend_service(req: Request) -> Result, Infallible> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:122:97 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn http_backend_service(req: Request) -> Result, Infallible> { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 123 | | match http_backend_service_inner(req).await { [INFO] [stdout] 124 | | Ok(resp) => Ok(resp), [INFO] [stdout] 125 | | Err(err) => Ok(Response::with_code_message(StatusCode::BAD_GATEWAY, format!("[Sg.Client] Client error: {err}"))), [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / match http_backend_service_inner(req).await { [INFO] [stdout] 124 | | Ok(resp) => Ok(resp), [INFO] [stdout] 125 | | Err(err) => Ok(Response::with_code_message(StatusCode::BAD_GATEWAY, format!("[Sg.Client] Client error: {err}"))), [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(resp) => Ok(resp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | Err(err) => Ok(Response::with_code_message(StatusCode::BAD_GATEWAY, format!("[Sg.Client] Client error: {err}"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `instrument` (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/backend_service/echo.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn echo(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:12:85 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn echo(mut req: Request) -> Result, Infallible> { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 13 | | let reflect = req.extensions_mut().remove::(); [INFO] [stdout] 14 | | let body = req.into_body(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | Ok(resp) [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/backend_service/echo.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[instrument] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/backend_service/http_client_service.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | GLOBAL.get_or_init(Default::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/backend_service/http_client_service.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | GLOBAL.get_mut().expect("global not set").set_default(client); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | Box::pin(async move { Ok(method.call(req, next).await) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:211:31 [INFO] [stdout] | [INFO] [stdout] 211 | Box::pin(async move { Ok(method.call(req, next).await) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { self.inner.call(req).await.unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:231:39 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { self.inner.call(req).await.unwrap_unchecked() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/function.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe { self.inner.call(req).await.unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/helper_layers/timeout.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | return std::task::Poll::Ready(Ok(response)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 157 | | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] ... | [INFO] [stdout] 170 | | Ok(resp) [INFO] [stdout] 171 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let resp = service.call(req).await.expect("infallible"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | Ok(resp) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | Box::pin(async move { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 230 | | unsafe { [INFO] [stdout] 231 | | let mut response = match backend.as_ref() { [INFO] [stdout] 232 | | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] ... | [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/service/http_route.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | / unsafe { [INFO] [stdout] 231 | | let mut response = match backend.as_ref() { [INFO] [stdout] 232 | | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] 233 | | Backend::File { path } => static_file_service(req, path).await, [INFO] [stdout] ... | [INFO] [stdout] 237 | | Ok(response) [INFO] [stdout] 238 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:232:71 [INFO] [stdout] | [INFO] [stdout] 232 | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:232:45 [INFO] [stdout] | [INFO] [stdout] 232 | Backend::Http { .. } => http_backend_service(req).await.unwrap_unchecked(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_route.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | Ok(response) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service/http_route/match_hostname.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter(&self) -> HostnameTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn iter(&self) -> HostnameTreeIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/service/http_route/match_hostname.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> HostnameTreeIterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | pub fn iter_mut(&mut self) -> HostnameTreeIterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/service/http_gateway/builder.rs:26:47 [INFO] [stdout] | [INFO] [stdout] 26 | ArcHyperService::new(service_fn(|_| async { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 27 | | Ok(Response::builder().status(hyper::StatusCode::NOT_FOUND).body(SgBody::empty()).expect("bad response")) [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/service/http_gateway/builder.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(Response::builder().status(hyper::StatusCode::NOT_FOUND).body(SgBody::empty()).expect("bad response")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/auth/basic.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 95 | | Ok(Basic::infallible_parse(s)) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/auth/basic.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(Basic::infallible_parse(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spacegate-kernel` (lib test) due to 41 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea2e311ef705c9818d30c6290ef12867c9ae20106ec9992684e249e6f19aeccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2e311ef705c9818d30c6290ef12867c9ae20106ec9992684e249e6f19aeccc", kill_on_drop: false }` [INFO] [stdout] ea2e311ef705c9818d30c6290ef12867c9ae20106ec9992684e249e6f19aeccc