[INFO] cloning repository https://github.com/Next-Era-Myanmar/nx-health-checker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Next-Era-Myanmar/nx-health-checker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNext-Era-Myanmar%2Fnx-health-checker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNext-Era-Myanmar%2Fnx-health-checker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c04841ca1ed56e7049886a09c67ca2bcbc66bb20 [INFO] checking Next-Era-Myanmar/nx-health-checker against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNext-Era-Myanmar%2Fnx-health-checker" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Next-Era-Myanmar/nx-health-checker [INFO] finished tweaking git repo https://github.com/Next-Era-Myanmar/nx-health-checker [INFO] tweaked toml for git repo https://github.com/Next-Era-Myanmar/nx-health-checker written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Next-Era-Myanmar/nx-health-checker on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Next-Era-Myanmar/nx-health-checker 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e [INFO] running `Command { std: "docker" "start" "3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking nx_health_checker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/models.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DashboardData` is never constructed [INFO] [stdout] --> src/models.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DashboardData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 21 | | .status(StatusCode::FOUND) [INFO] [stdout] 22 | | .header("Location", "/dashboard") [INFO] [stdout] 23 | | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 24 | | .unwrap() [INFO] [stdout] 25 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 24 - .unwrap() [INFO] [stdout] 25 - .into()); [INFO] [stdout] 24 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 20 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 21 | .status(StatusCode::FOUND) [INFO] [stdout] 22 | .header("Location", "/dashboard") [INFO] [stdout] 23 | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 24 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | return Err(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | .status(StatusCode::FOUND) [INFO] [stdout] 43 | | .header("Location", "/dashboard") [INFO] [stdout] 44 | | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 45 | | .unwrap() [INFO] [stdout] 46 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 45 - .unwrap() [INFO] [stdout] 46 - .into()); [INFO] [stdout] 45 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 41 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 42 | .status(StatusCode::FOUND) [INFO] [stdout] 43 | .header("Location", "/dashboard") [INFO] [stdout] 44 | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 45 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 126 | | .status(StatusCode::FOUND) [INFO] [stdout] 127 | | .header("Location", "/login") [INFO] [stdout] 128 | | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 129 | | .unwrap() [INFO] [stdout] 130 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 129 - .unwrap() [INFO] [stdout] 130 - .into()); [INFO] [stdout] 129 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 125 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 126 | .status(StatusCode::FOUND) [INFO] [stdout] 127 | .header("Location", "/login") [INFO] [stdout] 128 | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 129 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 155 | | .status(StatusCode::FOUND) [INFO] [stdout] 156 | | .header("Location", "/login") [INFO] [stdout] 157 | | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 158 | | .unwrap() [INFO] [stdout] 159 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 158 - .unwrap() [INFO] [stdout] 159 - .into()); [INFO] [stdout] 158 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 154 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 155 | .status(StatusCode::FOUND) [INFO] [stdout] 156 | .header("Location", "/login") [INFO] [stdout] 157 | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 158 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 202 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 203 | | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 204 | | .unwrap() [INFO] [stdout] 205 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 204 - .unwrap() [INFO] [stdout] 205 - .into()), [INFO] [stdout] 204 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 201 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 202 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 203 | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 204 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________________^ [INFO] [stdout] 242 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 243 | | .body(axum::body::Body::from("Failed to get service ID")) [INFO] [stdout] 244 | | .unwrap() [INFO] [stdout] 245 | | .into()), [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 244 - .unwrap() [INFO] [stdout] 245 - .into()), [INFO] [stdout] 244 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 241 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 242 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 243 | .body(axum::body::Body::from("Failed to get service ID")) [INFO] [stdout] 244 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 249 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 250 | | .body(axum::body::Body::from("Failed to create service")) [INFO] [stdout] 251 | | .unwrap() [INFO] [stdout] 252 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 251 - .unwrap() [INFO] [stdout] 252 - .into()), [INFO] [stdout] 251 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 248 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 249 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 250 | .body(axum::body::Body::from("Failed to create service")) [INFO] [stdout] 251 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 273 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 274 | | .body(axum::body::Body::from("Failed to update service name")) [INFO] [stdout] 275 | | .unwrap() [INFO] [stdout] 276 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 275 - .unwrap() [INFO] [stdout] 276 - .into()); [INFO] [stdout] 275 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 272 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 273 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 274 | .body(axum::body::Body::from("Failed to update service name")) [INFO] [stdout] 275 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 289 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 290 | | .body(axum::body::Body::from("Failed to update service URL")) [INFO] [stdout] 291 | | .unwrap() [INFO] [stdout] 292 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 291 - .unwrap() [INFO] [stdout] 292 - .into()); [INFO] [stdout] 291 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 288 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 289 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 290 | .body(axum::body::Body::from("Failed to update service URL")) [INFO] [stdout] 291 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 305 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 306 | | .body(axum::body::Body::from("Failed to update service duration")) [INFO] [stdout] 307 | | .unwrap() [INFO] [stdout] 308 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 307 - .unwrap() [INFO] [stdout] 308 - .into()); [INFO] [stdout] 307 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 304 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 305 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 306 | .body(axum::body::Body::from("Failed to update service duration")) [INFO] [stdout] 307 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 332 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 333 | | .body(axum::body::Body::from("Failed to delete service")) [INFO] [stdout] 334 | | .unwrap() [INFO] [stdout] 335 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 334 - .unwrap() [INFO] [stdout] 335 - .into()), [INFO] [stdout] 334 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 331 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 332 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 333 | .body(axum::body::Body::from("Failed to delete service")) [INFO] [stdout] 334 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:352:24 [INFO] [stdout] | [INFO] [stdout] 352 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 353 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 354 | | .body(axum::body::Body::from("Service not found")) [INFO] [stdout] 355 | | .unwrap() [INFO] [stdout] 356 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 355 - .unwrap() [INFO] [stdout] 356 - .into()); [INFO] [stdout] 355 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 352 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 353 | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 354 | .body(axum::body::Body::from("Service not found")) [INFO] [stdout] 355 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:359:24 [INFO] [stdout] | [INFO] [stdout] 359 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 360 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 361 | | .body(axum::body::Body::from("Database error")) [INFO] [stdout] 362 | | .unwrap() [INFO] [stdout] 363 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 362 - .unwrap() [INFO] [stdout] 363 - .into()); [INFO] [stdout] 362 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 359 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 360 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 361 | .body(axum::body::Body::from("Database error")) [INFO] [stdout] 362 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:400:24 [INFO] [stdout] | [INFO] [stdout] 400 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 401 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 402 | | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 403 | | .unwrap() [INFO] [stdout] 404 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 403 - .unwrap() [INFO] [stdout] 404 - .into()); [INFO] [stdout] 403 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 400 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 401 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 402 | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 403 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:467:23 [INFO] [stdout] | [INFO] [stdout] 467 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 468 | | .status(StatusCode::SERVICE_UNAVAILABLE) [INFO] [stdout] 469 | | .body(axum::body::Body::from("Database connection failed")) [INFO] [stdout] 470 | | .unwrap() [INFO] [stdout] 471 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 470 - .unwrap() [INFO] [stdout] 471 - .into()), [INFO] [stdout] 470 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 467 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 468 | .status(StatusCode::SERVICE_UNAVAILABLE) [INFO] [stdout] 469 | .body(axum::body::Body::from("Database connection failed")) [INFO] [stdout] 470 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:496:24 [INFO] [stdout] | [INFO] [stdout] 496 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 497 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 498 | | .body(axum::body::Body::from("Unauthorized")) [INFO] [stdout] 499 | | .unwrap() [INFO] [stdout] 500 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 499 - .unwrap() [INFO] [stdout] 500 - .into()); [INFO] [stdout] 499 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 496 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 497 | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 498 | .body(axum::body::Body::from("Unauthorized")) [INFO] [stdout] 499 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/models.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DashboardData` is never constructed [INFO] [stdout] --> src/models.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DashboardData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nx_health_checker` (bin "nx_health_checker") due to 16 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 21 | | .status(StatusCode::FOUND) [INFO] [stdout] 22 | | .header("Location", "/dashboard") [INFO] [stdout] 23 | | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 24 | | .unwrap() [INFO] [stdout] 25 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 24 - .unwrap() [INFO] [stdout] 25 - .into()); [INFO] [stdout] 24 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 20 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 21 | .status(StatusCode::FOUND) [INFO] [stdout] 22 | .header("Location", "/dashboard") [INFO] [stdout] 23 | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 24 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | return Err(Response::builder() [INFO] [stdout] | ____________________^ [INFO] [stdout] 42 | | .status(StatusCode::FOUND) [INFO] [stdout] 43 | | .header("Location", "/dashboard") [INFO] [stdout] 44 | | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 45 | | .unwrap() [INFO] [stdout] 46 | | .into()); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 45 - .unwrap() [INFO] [stdout] 46 - .into()); [INFO] [stdout] 45 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 41 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 42 | .status(StatusCode::FOUND) [INFO] [stdout] 43 | .header("Location", "/dashboard") [INFO] [stdout] 44 | .body(axum::body::Body::from("Redirecting to dashboard...")) [INFO] [stdout] 45 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 126 | | .status(StatusCode::FOUND) [INFO] [stdout] 127 | | .header("Location", "/login") [INFO] [stdout] 128 | | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 129 | | .unwrap() [INFO] [stdout] 130 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 129 - .unwrap() [INFO] [stdout] 130 - .into()); [INFO] [stdout] 129 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 125 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 126 | .status(StatusCode::FOUND) [INFO] [stdout] 127 | .header("Location", "/login") [INFO] [stdout] 128 | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 129 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 155 | | .status(StatusCode::FOUND) [INFO] [stdout] 156 | | .header("Location", "/login") [INFO] [stdout] 157 | | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 158 | | .unwrap() [INFO] [stdout] 159 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 158 - .unwrap() [INFO] [stdout] 159 - .into()); [INFO] [stdout] 158 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 154 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 155 | .status(StatusCode::FOUND) [INFO] [stdout] 156 | .header("Location", "/login") [INFO] [stdout] 157 | .body(axum::body::Body::from("Redirecting to login...")) [INFO] [stdout] 158 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 202 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 203 | | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 204 | | .unwrap() [INFO] [stdout] 205 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 204 - .unwrap() [INFO] [stdout] 205 - .into()), [INFO] [stdout] 204 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 201 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 202 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 203 | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 204 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________________^ [INFO] [stdout] 242 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 243 | | .body(axum::body::Body::from("Failed to get service ID")) [INFO] [stdout] 244 | | .unwrap() [INFO] [stdout] 245 | | .into()), [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 244 - .unwrap() [INFO] [stdout] 245 - .into()), [INFO] [stdout] 244 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 241 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 242 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 243 | .body(axum::body::Body::from("Failed to get service ID")) [INFO] [stdout] 244 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:248:23 [INFO] [stdout] | [INFO] [stdout] 248 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 249 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 250 | | .body(axum::body::Body::from("Failed to create service")) [INFO] [stdout] 251 | | .unwrap() [INFO] [stdout] 252 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 251 - .unwrap() [INFO] [stdout] 252 - .into()), [INFO] [stdout] 251 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 248 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 249 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 250 | .body(axum::body::Body::from("Failed to create service")) [INFO] [stdout] 251 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:272:24 [INFO] [stdout] | [INFO] [stdout] 272 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 273 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 274 | | .body(axum::body::Body::from("Failed to update service name")) [INFO] [stdout] 275 | | .unwrap() [INFO] [stdout] 276 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 275 - .unwrap() [INFO] [stdout] 276 - .into()); [INFO] [stdout] 275 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 272 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 273 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 274 | .body(axum::body::Body::from("Failed to update service name")) [INFO] [stdout] 275 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 289 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 290 | | .body(axum::body::Body::from("Failed to update service URL")) [INFO] [stdout] 291 | | .unwrap() [INFO] [stdout] 292 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 291 - .unwrap() [INFO] [stdout] 292 - .into()); [INFO] [stdout] 291 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 288 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 289 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 290 | .body(axum::body::Body::from("Failed to update service URL")) [INFO] [stdout] 291 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:304:24 [INFO] [stdout] | [INFO] [stdout] 304 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 305 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 306 | | .body(axum::body::Body::from("Failed to update service duration")) [INFO] [stdout] 307 | | .unwrap() [INFO] [stdout] 308 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 307 - .unwrap() [INFO] [stdout] 308 - .into()); [INFO] [stdout] 307 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 304 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 305 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 306 | .body(axum::body::Body::from("Failed to update service duration")) [INFO] [stdout] 307 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 332 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 333 | | .body(axum::body::Body::from("Failed to delete service")) [INFO] [stdout] 334 | | .unwrap() [INFO] [stdout] 335 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 334 - .unwrap() [INFO] [stdout] 335 - .into()), [INFO] [stdout] 334 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 331 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 332 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 333 | .body(axum::body::Body::from("Failed to delete service")) [INFO] [stdout] 334 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:352:24 [INFO] [stdout] | [INFO] [stdout] 352 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 353 | | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 354 | | .body(axum::body::Body::from("Service not found")) [INFO] [stdout] 355 | | .unwrap() [INFO] [stdout] 356 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 355 - .unwrap() [INFO] [stdout] 356 - .into()); [INFO] [stdout] 355 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 352 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 353 | .status(StatusCode::NOT_FOUND) [INFO] [stdout] 354 | .body(axum::body::Body::from("Service not found")) [INFO] [stdout] 355 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:359:24 [INFO] [stdout] | [INFO] [stdout] 359 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 360 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 361 | | .body(axum::body::Body::from("Database error")) [INFO] [stdout] 362 | | .unwrap() [INFO] [stdout] 363 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 362 - .unwrap() [INFO] [stdout] 363 - .into()); [INFO] [stdout] 362 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 359 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 360 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 361 | .body(axum::body::Body::from("Database error")) [INFO] [stdout] 362 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:400:24 [INFO] [stdout] | [INFO] [stdout] 400 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 401 | | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 402 | | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 403 | | .unwrap() [INFO] [stdout] 404 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 403 - .unwrap() [INFO] [stdout] 404 - .into()); [INFO] [stdout] 403 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 400 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 401 | .status(StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 402 | .body(axum::body::Body::from("Failed to fetch services")) [INFO] [stdout] 403 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:467:23 [INFO] [stdout] | [INFO] [stdout] 467 | Err(_) => Err(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 468 | | .status(StatusCode::SERVICE_UNAVAILABLE) [INFO] [stdout] 469 | | .body(axum::body::Body::from("Database connection failed")) [INFO] [stdout] 470 | | .unwrap() [INFO] [stdout] 471 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 470 - .unwrap() [INFO] [stdout] 471 - .into()), [INFO] [stdout] 470 + .unwrap()), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 467 ~ Err(_) => Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 468 | .status(StatusCode::SERVICE_UNAVAILABLE) [INFO] [stdout] 469 | .body(axum::body::Body::from("Database connection failed")) [INFO] [stdout] 470 ~ .unwrap())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `axum::http::Response` [INFO] [stdout] --> src/handlers.rs:496:24 [INFO] [stdout] | [INFO] [stdout] 496 | return Err(Response::builder() [INFO] [stdout] | ________________________^ [INFO] [stdout] 497 | | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 498 | | .body(axum::body::Body::from("Unauthorized")) [INFO] [stdout] 499 | | .unwrap() [INFO] [stdout] 500 | | .into()); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 499 - .unwrap() [INFO] [stdout] 500 - .into()); [INFO] [stdout] 499 + .unwrap()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 496 ~ return Err( as Into<_>>::into(Response::builder() [INFO] [stdout] 497 | .status(StatusCode::UNAUTHORIZED) [INFO] [stdout] 498 | .body(axum::body::Body::from("Unauthorized")) [INFO] [stdout] 499 ~ .unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nx_health_checker` (bin "nx_health_checker" test) due to 16 previous errors; 2 warnings emitted [INFO] [stderr] warning: unused dependency `anyhow` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | anyhow = "1.0" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `anyhow` [INFO] [stderr] warning: unused dependency `tower` [INFO] [stderr] --> Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | tower = "0.4" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tower` [INFO] [stderr] warning: `nx_health_checker` (manifest) generated 2 warnings [INFO] running `Command { std: "docker" "inspect" "3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e", kill_on_drop: false }` [INFO] [stdout] 3cb4715a2dc14f6fbabd0d820fd26d7abd8977f308acc4578862d7040a54993e