[INFO] cloning repository https://github.com/thangpv23/rust_diesel_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thangpv23/rust_diesel_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthangpv23%2Frust_diesel_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthangpv23%2Frust_diesel_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 09dfed4d23a35c411955c15f83318dcafd7d2af2
[INFO] checking thangpv23/rust_diesel_api against try#c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f for pr-133502-17
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthangpv23%2Frust_diesel_api" "/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/thangpv23/rust_diesel_api
[INFO] finished tweaking git repo https://github.com/thangpv23/rust_diesel_api
[INFO] tweaked toml for git repo https://github.com/thangpv23/rust_diesel_api written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thangpv23/rust_diesel_api on toolchain c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thangpv23/rust_diesel_api 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" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b958e7b144bf0084ac9449e08a9451eb56a279f85d58f064ef7b4c7eb918a4f4
[INFO] running `Command { std: "docker" "start" "-a" "b958e7b144bf0084ac9449e08a9451eb56a279f85d58f064ef7b4c7eb918a4f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b958e7b144bf0084ac9449e08a9451eb56a279f85d58f064ef7b4c7eb918a4f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b958e7b144bf0084ac9449e08a9451eb56a279f85d58f064ef7b4c7eb918a4f4", kill_on_drop: false }`
[INFO] [stdout] b958e7b144bf0084ac9449e08a9451eb56a279f85d58f064ef7b4c7eb918a4f4
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c9557a20e5ef2e0e02c29a5fafd850d1b7cf1e4f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5140d50531550514e030d25e3247a27c4f96286e912ded9aac5bb9865c48fa68
[INFO] running `Command { std: "docker" "start" "-a" "5140d50531550514e030d25e3247a27c4f96286e912ded9aac5bb9865c48fa68", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling syn v2.0.109
[INFO] [stderr]     Checking generic-array v0.14.9
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling pq-sys v0.7.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling bigdecimal v0.4.9
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling diesel_derives v2.3.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking downcast-rs v2.0.2
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking toml_datetime v0.7.3
[INFO] [stderr]     Checking serde_spanned v1.0.3
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking env_filter v0.1.4
[INFO] [stderr]     Checking jiff v0.2.16
[INFO] [stderr]     Checking bcrypt v0.13.0
[INFO] [stderr]    Compiling toml v0.9.8
[INFO] [stderr]     Checking chrono v0.4.42
[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 serde_derive v1.0.228
[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 tokio v1.48.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking migrations_internals v2.3.0
[INFO] [stderr]     Checking jsonwebtoken v8.3.0
[INFO] [stderr]    Compiling migrations_macros v2.3.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking diesel v2.3.3
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking diesel_migrations v2.3.0
[INFO] [stderr]     Checking rust_diesel_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `encode`
[INFO] [stdout]  --> src/auth.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use jsonwebtoken::{encode, decode, EncodingKey ,DecodingKey, Validation, errors::Error as JwtError};
[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: `encode`
[INFO] [stdout]  --> src/auth.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use jsonwebtoken::{encode, decode, EncodingKey ,DecodingKey, Validation, errors::Error as JwtError};
[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: `Cart`
[INFO] [stdout]  --> src/handlers/cart.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::cart::{Cart, NewCart, CartItem, NewCartItem};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cart`
[INFO] [stdout]  --> src/handlers/cart.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::models::cart::{Cart, NewCart, CartItem, NewCartItem};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/handlers/items.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn read_item(_user_id: i32, id: i32, pool: DbPool) -> Result<impl Reply, Rejection> {
[INFO] [stdout]    |                                       ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/handlers/items.rs:47:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub async fn update_item(_user_id: i32,  id: i32, pool: DbPool, body: NewItem) -> Result<impl Reply, Rejection> {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/handlers/items.rs:64:42
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn delete_item( _user_id: i32, id: i32, pool: DbPool) -> Result<impl Reply, Rejection> {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/handlers/items.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn read_item(_user_id: i32, id: i32, pool: DbPool) -> Result<impl Reply, Rejection> {
[INFO] [stdout]    |                                       ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/handlers/items.rs:47:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub async fn update_item(_user_id: i32,  id: i32, pool: DbPool, body: NewItem) -> Result<impl Reply, Rejection> {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/handlers/items.rs:64:42
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn delete_item( _user_id: i32, id: i32, pool: DbPool) -> Result<impl Reply, Rejection> {
[INFO] [stdout]    |                                          ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cart` is never constructed
[INFO] [stdout]  --> src/models/cart.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Cart {
[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 `Cart` is never constructed
[INFO] [stdout]  --> src/models/cart.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Cart {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.18s
[INFO] running `Command { std: "docker" "inspect" "5140d50531550514e030d25e3247a27c4f96286e912ded9aac5bb9865c48fa68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5140d50531550514e030d25e3247a27c4f96286e912ded9aac5bb9865c48fa68", kill_on_drop: false }`
[INFO] [stdout] 5140d50531550514e030d25e3247a27c4f96286e912ded9aac5bb9865c48fa68
