[INFO] cloning repository https://github.com/riaronc/ktvr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riaronc/ktvr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friaronc%2Fktvr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friaronc%2Fktvr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c8e5207561402e41c83f0f98e72865ba7766766 [INFO] building riaronc/ktvr against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friaronc%2Fktvr" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/riaronc/ktvr [INFO] finished tweaking git repo https://github.com/riaronc/ktvr [INFO] tweaked toml for git repo https://github.com/riaronc/ktvr written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/riaronc/ktvr on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/riaronc/ktvr 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rend v0.4.2 [INFO] [stderr] Downloaded env_logger v0.11.5 [INFO] [stderr] Downloaded parse-size v1.1.0 [INFO] [stderr] Downloaded apistos-plugins v0.3.6 [INFO] [stderr] Downloaded unicode-properties v0.1.2 [INFO] [stderr] Downloaded actix-multipart-derive v0.6.1 [INFO] [stderr] Downloaded actix-multipart v0.6.2 [INFO] [stderr] Downloaded serde_qs v0.13.0 [INFO] [stderr] Downloaded apistos-schemars v0.8.21 [INFO] [stderr] Downloaded rust_decimal v1.36.0 [INFO] [stderr] Downloaded rkyv v0.7.45 [INFO] [stderr] Downloaded redis v0.21.7 [INFO] [stderr] Downloaded garde_derive v0.20.0 [INFO] [stderr] Downloaded garde v0.20.0 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded apistos-schemars_derive v0.8.21 [INFO] [stderr] Downloaded bytecheck v0.6.12 [INFO] [stderr] Downloaded env_filter v0.1.2 [INFO] [stderr] Downloaded garde-actix-web v0.9.0 [INFO] [stderr] Downloaded apistos-core v0.3.6 [INFO] [stderr] Downloaded apistos-gen v0.3.6 [INFO] [stderr] Downloaded apistos-models v0.3.6 [INFO] [stderr] Downloaded bytestring v1.3.1 [INFO] [stderr] Downloaded apistos v0.3.6 [INFO] [stderr] Downloaded rkyv_derive v0.7.45 [INFO] [stderr] Downloaded apistos-swagger-ui v0.3.6 [INFO] [stderr] Downloaded bytecheck_derive v0.6.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 668713aa37d5b690b087a67d025665e406d4951144f7983279e2ab513a6fa413 [INFO] running `Command { std: "docker" "start" "-a" "668713aa37d5b690b087a67d025665e406d4951144f7983279e2ab513a6fa413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "668713aa37d5b690b087a67d025665e406d4951144f7983279e2ab513a6fa413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "668713aa37d5b690b087a67d025665e406d4951144f7983279e2ab513a6fa413", kill_on_drop: false }` [INFO] [stdout] 668713aa37d5b690b087a67d025665e406d4951144f7983279e2ab513a6fa413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbbb038667e8c56c9ec014a3730158c93247f59614fa0916a7087390984d3811 [INFO] running `Command { std: "docker" "start" "-a" "cbbb038667e8c56c9ec014a3730158c93247f59614fa0916a7087390984d3811", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling cc v1.1.19 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling apistos-schemars v0.8.21 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling apistos-schemars_derive v0.8.21 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling apistos-models v0.3.6 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling redis v0.21.7 [INFO] [stderr] Compiling apistos-plugins v0.3.6 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling actix-multipart v0.6.2 [INFO] [stderr] Compiling apistos-swagger-ui v0.3.6 [INFO] [stderr] Compiling apistos-core v0.3.6 [INFO] [stderr] Compiling apistos-gen v0.3.6 [INFO] [stderr] Compiling apistos v0.3.6 [INFO] [stderr] Compiling url_shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/routes/link.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | let existing = sqlx::query!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 37 | | "SELECT id FROM links WHERE short_code = $1", [INFO] [stdout] 38 | | alias [INFO] [stdout] 39 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> src/routes/link.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | let exists = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 116 | | "SELECT id FROM links WHERE short_code = $1", [INFO] [stdout] 117 | | code [INFO] [stdout] 118 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse` and `Responder` [INFO] [stdout] --> src/handlers/shorten.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpResponse, Responder, Error}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::ServiceError` [INFO] [stdout] --> src/handlers/shorten.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::errors::ServiceError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/handlers/redirect.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpResponse, Responder, Error as ActixError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::ServiceError` [INFO] [stdout] --> src/handlers/redirect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::errors::ServiceError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::error::Error as ActixError` [INFO] [stdout] --> src/routes/link.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::error::Error as ActixError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/routes/link.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/routes/link.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug` and `info` [INFO] [stdout] --> src/routes/link.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `json` and `to_string` [INFO] [stdout] --> src/routes/link.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::{json, to_string}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/routes/link.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::{Error, PgPool, Row}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/routes/link.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/routes/link.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/routes/mod.rs:6:48 [INFO] [stdout] | [INFO] [stdout] 6 | use apistos::web::{get, post, resource, scope, Scope}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/errors.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fmt, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apistos::ApiErrorComponent` [INFO] [stdout] --> src/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use apistos::ApiErrorComponent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/services/url_service.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn shorten_url(&self, original_url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/services/url_service.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | conn.set_ex(key, original_url, self.expiration_seconds) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 63 | conn.set_ex::<_, _, ()>(key, original_url, self.expiration_seconds) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/link.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to execute query"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/link.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let exists = sqlx::query!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | if exists.is_none() { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `exists` an explicit type [INFO] [stdout] | [INFO] [stdout] 115 | let exists: /* Type */ = sqlx::query!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiComponent` [INFO] [stdout] --> src/handlers/shorten.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | use apistos::{api_operation, ApiComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiComponent` [INFO] [stdout] --> src/handlers/redirect.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use apistos::{api_operation, ApiComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ApiComponent` [INFO] [stdout] --> src/handlers/health_check.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use apistos::{api_operation, ApiComponent}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url_shortener` (lib) due to 4 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cbbb038667e8c56c9ec014a3730158c93247f59614fa0916a7087390984d3811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbb038667e8c56c9ec014a3730158c93247f59614fa0916a7087390984d3811", kill_on_drop: false }` [INFO] [stdout] cbbb038667e8c56c9ec014a3730158c93247f59614fa0916a7087390984d3811