[INFO] cloning repository https://github.com/TomRomeo/koreader-sync-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomRomeo/koreader-sync-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomRomeo%2Fkoreader-sync-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomRomeo%2Fkoreader-sync-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9b270aa9ba17d367a20cd85eff0d85550c39257 [INFO] building TomRomeo/koreader-sync-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomRomeo%2Fkoreader-sync-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TomRomeo/koreader-sync-rs [INFO] finished tweaking git repo https://github.com/TomRomeo/koreader-sync-rs [INFO] tweaked toml for git repo https://github.com/TomRomeo/koreader-sync-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TomRomeo/koreader-sync-rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TomRomeo/koreader-sync-rs 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded poem-openapi-derive v5.1.14 [INFO] [stderr] Downloaded rfc7239 v0.1.3 [INFO] [stderr] Downloaded poem-derive v3.1.10 [INFO] [stderr] Downloaded sqlx-macros v0.8.5 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.5 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.5 [INFO] [stderr] Downloaded sqlx-mysql v0.8.5 [INFO] [stderr] Downloaded sqlx-core v0.8.5 [INFO] [stderr] Downloaded sqlx v0.8.5 [INFO] [stderr] Downloaded sqlx-postgres v0.8.5 [INFO] [stderr] Downloaded poem v3.1.10 [INFO] [stderr] Downloaded poem-openapi v5.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3c20f74c06965445240a9130ed7af86f6ae0cf3b549974d77b5ad5c2f980ad0 [INFO] running `Command { std: "docker" "start" "-a" "f3c20f74c06965445240a9130ed7af86f6ae0cf3b549974d77b5ad5c2f980ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3c20f74c06965445240a9130ed7af86f6ae0cf3b549974d77b5ad5c2f980ad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c20f74c06965445240a9130ed7af86f6ae0cf3b549974d77b5ad5c2f980ad0", kill_on_drop: false }` [INFO] [stdout] f3c20f74c06965445240a9130ed7af86f6ae0cf3b549974d77b5ad5c2f980ad0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27b0fc371321323d1c9707f109ff5aab34ad4b6af5b372c7f51cb52bdff7ac5a [INFO] running `Command { std: "docker" "start" "-a" "27b0fc371321323d1c9707f109ff5aab34ad4b6af5b372c7f51cb52bdff7ac5a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling rfc7239 v0.1.3 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [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.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling poem-derive v3.1.10 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling poem-openapi-derive v5.1.14 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.5 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling poem v3.1.10 [INFO] [stderr] Compiling poem-openapi v5.1.14 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling koreader-sync-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PlainText` [INFO] [stdout] --> src/api/syncs/get_progress.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use poem_openapi::payload::{Json, PlainText}; [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::api::syncs` [INFO] [stdout] --> src/api/syncs/update_progress.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::api::syncs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthPassword`, `AuthUser`, and `authenticate` [INFO] [stdout] --> src/api/users/create.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::api::users::auth::{authenticate, AuthPassword, AuthUser}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::users` [INFO] [stdout] --> src/api/users/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::api::users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/api/healthcheck.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HealthCheckHandler { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 7 | db: Arc, [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 `DocumentProgressResponse` is never constructed [INFO] [stdout] --> src/api/syncs/update_progress.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DocumentProgressResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_string` is never read [INFO] [stdout] --> src/db/postgres.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PostgresDB { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | connection_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `migrate` is never used [INFO] [stdout] --> src/db/postgres.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl PostgresDB { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn migrate(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / Server::new(TcpListener::bind(listen_address)) [INFO] [stdout] 49 | | .run(app) [INFO] [stdout] 50 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = Server::new(TcpListener::bind(listen_address)) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "27b0fc371321323d1c9707f109ff5aab34ad4b6af5b372c7f51cb52bdff7ac5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b0fc371321323d1c9707f109ff5aab34ad4b6af5b372c7f51cb52bdff7ac5a", kill_on_drop: false }` [INFO] [stdout] 27b0fc371321323d1c9707f109ff5aab34ad4b6af5b372c7f51cb52bdff7ac5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04807ef9a3df6a64b67d6b82fab6b8a892574269c069be229d88ef9b23dc00ce [INFO] running `Command { std: "docker" "start" "-a" "04807ef9a3df6a64b67d6b82fab6b8a892574269c069be229d88ef9b23dc00ce", kill_on_drop: false }` [INFO] [stderr] Compiling koreader-sync-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PlainText` [INFO] [stdout] --> src/api/syncs/get_progress.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use poem_openapi::payload::{Json, PlainText}; [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::api::syncs` [INFO] [stdout] --> src/api/syncs/update_progress.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::api::syncs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthPassword`, `AuthUser`, and `authenticate` [INFO] [stdout] --> src/api/users/create.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::api::users::auth::{authenticate, AuthPassword, AuthUser}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::users` [INFO] [stdout] --> src/api/users/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::api::users; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db` is never read [INFO] [stdout] --> src/api/healthcheck.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HealthCheckHandler { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 7 | db: Arc, [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 `DocumentProgressResponse` is never constructed [INFO] [stdout] --> src/api/syncs/update_progress.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct DocumentProgressResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_string` is never read [INFO] [stdout] --> src/db/postgres.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PostgresDB { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 8 | connection_string: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `migrate` is never used [INFO] [stdout] --> src/db/postgres.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl PostgresDB { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn migrate(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / Server::new(TcpListener::bind(listen_address)) [INFO] [stdout] 49 | | .run(app) [INFO] [stdout] 50 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = Server::new(TcpListener::bind(listen_address)) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "04807ef9a3df6a64b67d6b82fab6b8a892574269c069be229d88ef9b23dc00ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04807ef9a3df6a64b67d6b82fab6b8a892574269c069be229d88ef9b23dc00ce", kill_on_drop: false }` [INFO] [stdout] 04807ef9a3df6a64b67d6b82fab6b8a892574269c069be229d88ef9b23dc00ce