[INFO] cloning repository https://github.com/trxo/article_system_with_rust_learn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trxo/article_system_with_rust_learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrxo%2Farticle_system_with_rust_learn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrxo%2Farticle_system_with_rust_learn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04007d110bbba673625be0e4506216497843c434 [INFO] testing trxo/article_system_with_rust_learn against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrxo%2Farticle_system_with_rust_learn" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/trxo/article_system_with_rust_learn [INFO] finished tweaking git repo https://github.com/trxo/article_system_with_rust_learn [INFO] tweaked toml for git repo https://github.com/trxo/article_system_with_rust_learn written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/trxo/article_system_with_rust_learn on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/trxo/article_system_with_rust_learn 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel_derives v2.2.6 [INFO] [stderr] Downloaded diesel v2.2.11 [INFO] [stderr] Downloaded libsqlite3-sys v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc823a22b79e23ceb71d6253549d4c4007f2141a77239c641679f5d8112e78d [INFO] running `Command { std: "docker" "start" "-a" "2fc823a22b79e23ceb71d6253549d4c4007f2141a77239c641679f5d8112e78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc823a22b79e23ceb71d6253549d4c4007f2141a77239c641679f5d8112e78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc823a22b79e23ceb71d6253549d4c4007f2141a77239c641679f5d8112e78d", kill_on_drop: false }` [INFO] [stdout] 2fc823a22b79e23ceb71d6253549d4c4007f2141a77239c641679f5d8112e78d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 8dc5e51def08c6f74bcc3fc569fba2eb27d77ccf4fe3d2e2097f8689e37048a5 [INFO] running `Command { std: "docker" "start" "-a" "8dc5e51def08c6f74bcc3fc569fba2eb27d77ccf4fe3d2e2097f8689e37048a5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [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 derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [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 actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [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 darling v0.20.11 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling diesel_derives v2.2.6 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling diesel v2.2.11 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling articles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mongo_article_repository::*` [INFO] [stdout] --> src/repositories/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use mongo_article_repository::*; [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: `sqlite_article_repository::*` [INFO] [stdout] --> src/repositories/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use sqlite_article_repository::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InternalServerError` is never constructed [INFO] [stdout] --> src/errors/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InternalServerError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteArticleRepository` is never constructed [INFO] [stdout] --> src/repositories/sqlite_article_repository.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SqliteArticleRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repositories/sqlite_article_repository.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SqliteArticleRepository { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(pool: DbPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_timestamp` is never used [INFO] [stdout] --> src/utils/date_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn current_timestamp() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils/date_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn format_timestamp(timestamp: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "8dc5e51def08c6f74bcc3fc569fba2eb27d77ccf4fe3d2e2097f8689e37048a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dc5e51def08c6f74bcc3fc569fba2eb27d77ccf4fe3d2e2097f8689e37048a5", kill_on_drop: false }` [INFO] [stdout] 8dc5e51def08c6f74bcc3fc569fba2eb27d77ccf4fe3d2e2097f8689e37048a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 1d54be70b8b2cd386791c44456fec5ff4a2f4d344ba63162f36501dc3c217b7f [INFO] running `Command { std: "docker" "start" "-a" "1d54be70b8b2cd386791c44456fec5ff4a2f4d344ba63162f36501dc3c217b7f", kill_on_drop: false }` [INFO] [stderr] Compiling articles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mongo_article_repository::*` [INFO] [stdout] --> src/repositories/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use mongo_article_repository::*; [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: `sqlite_article_repository::*` [INFO] [stdout] --> src/repositories/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub use sqlite_article_repository::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InternalServerError` is never constructed [INFO] [stdout] --> src/errors/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | InternalServerError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SqliteArticleRepository` is never constructed [INFO] [stdout] --> src/repositories/sqlite_article_repository.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SqliteArticleRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/repositories/sqlite_article_repository.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SqliteArticleRepository { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(pool: DbPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_timestamp` is never used [INFO] [stdout] --> src/utils/date_utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn current_timestamp() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils/date_utils.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn format_timestamp(timestamp: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "1d54be70b8b2cd386791c44456fec5ff4a2f4d344ba63162f36501dc3c217b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d54be70b8b2cd386791c44456fec5ff4a2f4d344ba63162f36501dc3c217b7f", kill_on_drop: false }` [INFO] [stdout] 1d54be70b8b2cd386791c44456fec5ff4a2f4d344ba63162f36501dc3c217b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 58a73f8ea6aea09f8cc320514dcce4dc0148ea60efc1c828c3369d8c3d9e526a [INFO] running `Command { std: "docker" "start" "-a" "58a73f8ea6aea09f8cc320514dcce4dc0148ea60efc1c828c3369d8c3d9e526a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mongo_article_repository::*` [INFO] [stderr] --> src/repositories/mod.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub use mongo_article_repository::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlite_article_repository::*` [INFO] [stderr] --> src/repositories/mod.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub use sqlite_article_repository::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `InternalServerError` is never constructed [INFO] [stderr] --> src/errors/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum AppError { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 12 | InternalServerError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SqliteArticleRepository` is never constructed [INFO] [stderr] --> src/repositories/sqlite_article_repository.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct SqliteArticleRepository { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/repositories/sqlite_article_repository.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl SqliteArticleRepository { [INFO] [stderr] | ---------------------------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(pool: DbPool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `current_timestamp` is never used [INFO] [stderr] --> src/utils/date_utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn current_timestamp() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_timestamp` is never used [INFO] [stderr] --> src/utils/date_utils.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn format_timestamp(timestamp: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `articles` (bin "articles" test) generated 7 warnings (run `cargo fix --bin "articles" -p articles --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/articles/3bbd204aa0e823b8/deps/articles-3bbd204aa0e823b8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58a73f8ea6aea09f8cc320514dcce4dc0148ea60efc1c828c3369d8c3d9e526a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a73f8ea6aea09f8cc320514dcce4dc0148ea60efc1c828c3369d8c3d9e526a", kill_on_drop: false }` [INFO] [stdout] 58a73f8ea6aea09f8cc320514dcce4dc0148ea60efc1c828c3369d8c3d9e526a