[INFO] cloning repository https://github.com/Kashishkashyap/rust_assessment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kashishkashyap/rust_assessment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKashishkashyap%2Frust_assessment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKashishkashyap%2Frust_assessment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44de2c03b830db5f4fdf9e7cca01194a045607a1
[INFO] checking Kashishkashyap/rust_assessment against master#c290daa1e5274a52e54a0f49e31bd70192abc606 for pr-133502-23
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKashishkashyap%2Frust_assessment" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kashishkashyap/rust_assessment
[INFO] finished tweaking git repo https://github.com/Kashishkashyap/rust_assessment
[INFO] tweaked toml for git repo https://github.com/Kashishkashyap/rust_assessment written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kashishkashyap/rust_assessment on toolchain c290daa1e5274a52e54a0f49e31bd70192abc606
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kashishkashyap/rust_assessment 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" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redis v0.24.0
[INFO] [stderr]   Downloaded regex-lite v0.1.8
[INFO] [stderr]   Downloaded bytestring v1.5.0
[INFO] [stderr]   Downloaded actix-web v4.12.1
[INFO] [stderr]   Downloaded actix-http v3.11.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314
[INFO] running `Command { std: "docker" "start" "f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314", 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" "f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314", 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" "f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314" "/opt/rustwide/cargo-home/bin/cargo" "+c290daa1e5274a52e54a0f49e31bd70192abc606" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling find-msvc-tools v0.1.7
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling zmij v1.0.14
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling time-core v0.1.7
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling time-macros v0.2.25
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling bytestring v1.5.0
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling cc v1.2.52
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling pq-sys v0.7.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling regex-lite v0.1.8
[INFO] [stderr]    Compiling diesel_derives v2.3.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking time v0.3.45
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking flate2 v1.1.8
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking iana-time-zone v0.1.64
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking uuid v1.19.0
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking downcast-rs v2.0.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking diesel v2.3.5
[INFO] [stderr]     Checking actix-http v3.11.2
[INFO] [stderr]     Checking redis v0.24.0
[INFO] [stderr]     Checking actix-web v4.12.1
[INFO] [stderr]     Checking assignment v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `diesel::result::Error`
[INFO] [stdout]  --> src/db.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::result::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: `std::thread`
[INFO] [stdout]  --> src/db.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbPool`
[INFO] [stdout]   --> src/main.rs:13:49
[INFO] [stdout]    |
[INFO] [stdout] 13 | use db::{get_connection_pool, get_redis_client, DbPool};
[INFO] [stdout]    |                                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::Client as RedisClient`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use redis::Client as RedisClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::result::Error`
[INFO] [stdout]  --> src/db.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use diesel::result::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: `std::thread`
[INFO] [stdout]  --> src/db.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DbPool`
[INFO] [stdout]   --> src/main.rs:13:49
[INFO] [stdout]    |
[INFO] [stdout] 13 | use db::{get_connection_pool, get_redis_client, DbPool};
[INFO] [stdout]    |                                                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::Client as RedisClient`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use redis::Client as RedisClient;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]   --> src/db.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AppState {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/db.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn new(db_url: &str, redis_url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Settings` is never constructed
[INFO] [stdout]  --> src/config.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Settings{
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `invalidate_all_articles_cache` is never used
[INFO] [stdout]   --> src/handler.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 | async fn invalidate_all_articles_cache(redis_client: &RedisClient) -> Result<(), ApiError> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_articles_from_cache` is never used
[INFO] [stdout]   --> src/handler.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn get_all_articles_from_cache(redis_client: &RedisClient) -> Result<Option<Vec<Articles>>, ApiError> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_articles_from_db` is never used
[INFO] [stdout]    --> src/handler.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 | async fn get_all_articles_from_db(db_pool: &DbPool) -> Result<Vec<Articles>, ApiError> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_all_articles` is never used
[INFO] [stdout]    --> src/handler.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | async fn cache_all_articles(redis_client: &RedisClient, articles_list: &Vec<Articles>) -> Result<(), ApiError> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AppState` is never constructed
[INFO] [stdout]   --> src/db.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct AppState {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/db.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl AppState {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 30 |     pub fn new(db_url: &str, redis_url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Settings` is never constructed
[INFO] [stdout]  --> src/config.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Settings{
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `invalidate_all_articles_cache` is never used
[INFO] [stdout]   --> src/handler.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 | async fn invalidate_all_articles_cache(redis_client: &RedisClient) -> Result<(), ApiError> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_articles_from_cache` is never used
[INFO] [stdout]   --> src/handler.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | async fn get_all_articles_from_cache(redis_client: &RedisClient) -> Result<Option<Vec<Articles>>, ApiError> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_articles_from_db` is never used
[INFO] [stdout]    --> src/handler.rs:105:10
[INFO] [stdout]     |
[INFO] [stdout] 105 | async fn get_all_articles_from_db(db_pool: &DbPool) -> Result<Vec<Articles>, ApiError> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cache_all_articles` is never used
[INFO] [stdout]    --> src/handler.rs:135:10
[INFO] [stdout]     |
[INFO] [stdout] 135 | async fn cache_all_articles(redis_client: &RedisClient, articles_list: &Vec<Articles>) -> Result<(), ApiError> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314", kill_on_drop: false }`
[INFO] [stdout] f8aa877f240ffa6e27cc4a4f09e82c695a4c0a313e98e6f1f174366ac0a89314
