[INFO] cloning repository https://github.com/PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPSAJ-WEB%2FWEBSITE_THEYYWEARR-BACKEND", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPSAJ-WEB%2FWEBSITE_THEYYWEARR-BACKEND'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a7a8d652a8ea60bbea34e937053129d03c2d810 [INFO] testing PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPSAJ-WEB%2FWEBSITE_THEYYWEARR-BACKEND" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND [INFO] finished tweaking git repo https://github.com/PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND [INFO] tweaked toml for git repo https://github.com/PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PSAJ-WEB/WEBSITE_THEYYWEARR-BACKEND 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64eaa85ff5e68aaf901a06870275c9abddf4200a274769d58d296f559d2a3b6b [INFO] running `Command { std: "docker" "start" "-a" "64eaa85ff5e68aaf901a06870275c9abddf4200a274769d58d296f559d2a3b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64eaa85ff5e68aaf901a06870275c9abddf4200a274769d58d296f559d2a3b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64eaa85ff5e68aaf901a06870275c9abddf4200a274769d58d296f559d2a3b6b", kill_on_drop: false }` [INFO] [stdout] 64eaa85ff5e68aaf901a06870275c9abddf4200a274769d58d296f559d2a3b6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e46f5321dd846f4f9d724f13db068c9d580de9b822ddfddb893bcb627a1934 [INFO] running `Command { std: "docker" "start" "-a" "76e46f5321dd846f4f9d724f13db068c9d580de9b822ddfddb893bcb627a1934", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling time-macros v0.2.21 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling time v0.3.40 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling email-encoding v0.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling quoted_printable v0.4.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling bcrypt v0.13.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling lettre v0.10.4 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-web v4.10.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling actix-web-httpauth v0.8.2 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling actix-multipart v0.5.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling BE v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [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: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2267:10 [INFO] [stdout] | [INFO] [stdout] 2267 | let (mut client, connection) = tokio_postgres::connect( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/main.rs:2435:70 [INFO] [stdout] | [INFO] [stdout] 2435 | let filename = format!("product_{}.{}", chrono::Local::now().timestamp_nanos(), ext); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cors` [INFO] [stdout] --> src/main.rs:3165:9 [INFO] [stdout] | [INFO] [stdout] 3165 | let cors = Cors::default() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:3171:10 [INFO] [stdout] | [INFO] [stdout] 3171 | let (client, connection) = tokio_postgres::connect( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CartResponse` is never constructed [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | struct CartResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address_type` and `user_id` are never read [INFO] [stdout] --> src/main.rs:1310:5 [INFO] [stdout] | [INFO] [stdout] 1304 | struct AddressRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1310 | address_type: Option, // Make this optional if you want automatic detection [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1311 | #[serde(skip_deserializing)] [INFO] [stdout] 1312 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderResponse` is never constructed [INFO] [stdout] --> src/main.rs:1805:8 [INFO] [stdout] | [INFO] [stdout] 1805 | struct OrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PendingOrderResponse` is never constructed [INFO] [stdout] --> src/main.rs:1815:8 [INFO] [stdout] | [INFO] [stdout] 1815 | struct PendingOrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:1959:5 [INFO] [stdout] | [INFO] [stdout] 1958 | struct ParsedOrderItem { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1959 | product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1960 | product_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1961 | product_image: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1962 | color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1963 | color_code: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1964 | quantity: i32, [INFO] [stdout] 1965 | price: String, // Original string for DB [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1966 | parsed_price: f64, // Parsed value for validation [INFO] [stdout] 1967 | category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [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" "76e46f5321dd846f4f9d724f13db068c9d580de9b822ddfddb893bcb627a1934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e46f5321dd846f4f9d724f13db068c9d580de9b822ddfddb893bcb627a1934", kill_on_drop: false }` [INFO] [stdout] 76e46f5321dd846f4f9d724f13db068c9d580de9b822ddfddb893bcb627a1934 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc5fa1d0d4ae482605643067955cb5d3e28a80bd68dbbf18251bfac459e2a761 [INFO] running `Command { std: "docker" "start" "-a" "cc5fa1d0d4ae482605643067955cb5d3e28a80bd68dbbf18251bfac459e2a761", kill_on_drop: false }` [INFO] [stderr] Compiling BE v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, Utc}; [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: `dotenv::dotenv` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2267:10 [INFO] [stdout] | [INFO] [stdout] 2267 | let (mut client, connection) = tokio_postgres::connect( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/main.rs:2435:70 [INFO] [stdout] | [INFO] [stdout] 2435 | let filename = format!("product_{}.{}", chrono::Local::now().timestamp_nanos(), ext); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cors` [INFO] [stdout] --> src/main.rs:3165:9 [INFO] [stdout] | [INFO] [stdout] 3165 | let cors = Cors::default() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:3171:10 [INFO] [stdout] | [INFO] [stdout] 3171 | let (client, connection) = tokio_postgres::connect( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CartResponse` is never constructed [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | struct CartResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address_type` and `user_id` are never read [INFO] [stdout] --> src/main.rs:1310:5 [INFO] [stdout] | [INFO] [stdout] 1304 | struct AddressRequest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1310 | address_type: Option, // Make this optional if you want automatic detection [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1311 | #[serde(skip_deserializing)] [INFO] [stdout] 1312 | user_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderResponse` is never constructed [INFO] [stdout] --> src/main.rs:1805:8 [INFO] [stdout] | [INFO] [stdout] 1805 | struct OrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PendingOrderResponse` is never constructed [INFO] [stdout] --> src/main.rs:1815:8 [INFO] [stdout] | [INFO] [stdout] 1815 | struct PendingOrderResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:1959:5 [INFO] [stdout] | [INFO] [stdout] 1958 | struct ParsedOrderItem { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 1959 | product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1960 | product_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 1961 | product_image: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1962 | color: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1963 | color_code: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1964 | quantity: i32, [INFO] [stdout] 1965 | price: String, // Original string for DB [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1966 | parsed_price: f64, // Parsed value for validation [INFO] [stdout] 1967 | category: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [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" "cc5fa1d0d4ae482605643067955cb5d3e28a80bd68dbbf18251bfac459e2a761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc5fa1d0d4ae482605643067955cb5d3e28a80bd68dbbf18251bfac459e2a761", kill_on_drop: false }` [INFO] [stdout] cc5fa1d0d4ae482605643067955cb5d3e28a80bd68dbbf18251bfac459e2a761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0bbd4f5fa8572a97ea2ac1a91d96d4513389fd8fed6f92ff9540a666dcd7b297 [INFO] running `Command { std: "docker" "start" "-a" "0bbd4f5fa8572a97ea2ac1a91d96d4513389fd8fed6f92ff9540a666dcd7b297", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `DateTime` [INFO] [stderr] --> src/main.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::{DateTime, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `dotenv::dotenv` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use dotenv::dotenv; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:2267:10 [INFO] [stderr] | [INFO] [stderr] 2267 | let (mut client, connection) = tokio_postgres::connect( [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stderr] --> src/main.rs:2435:70 [INFO] [stderr] | [INFO] [stderr] 2435 | let filename = format!("product_{}.{}", chrono::Local::now().timestamp_nanos(), ext); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cors` [INFO] [stderr] --> src/main.rs:3165:9 [INFO] [stderr] | [INFO] [stderr] 3165 | let cors = Cors::default() [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cors` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/main.rs:3171:10 [INFO] [stderr] | [INFO] [stderr] 3171 | let (client, connection) = tokio_postgres::connect( [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: struct `CartResponse` is never constructed [INFO] [stderr] --> src/main.rs:334:8 [INFO] [stderr] | [INFO] [stderr] 334 | struct CartResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `address_type` and `user_id` are never read [INFO] [stderr] --> src/main.rs:1310:5 [INFO] [stderr] | [INFO] [stderr] 1304 | struct AddressRequest { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 1310 | address_type: Option, // Make this optional if you want automatic detection [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 1311 | #[serde(skip_deserializing)] [INFO] [stderr] 1312 | user_id: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AddressRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `OrderResponse` is never constructed [INFO] [stderr] --> src/main.rs:1805:8 [INFO] [stderr] | [INFO] [stderr] 1805 | struct OrderResponse { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PendingOrderResponse` is never constructed [INFO] [stderr] --> src/main.rs:1815:8 [INFO] [stderr] | [INFO] [stderr] 1815 | struct PendingOrderResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/main.rs:1959:5 [INFO] [stderr] | [INFO] [stderr] 1958 | struct ParsedOrderItem { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 1959 | product_id: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 1960 | product_name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 1961 | product_image: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 1962 | color: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 1963 | color_code: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 1964 | quantity: i32, [INFO] [stderr] 1965 | price: String, // Original string for DB [INFO] [stderr] | ^^^^^ [INFO] [stderr] 1966 | parsed_price: f64, // Parsed value for validation [INFO] [stderr] 1967 | category: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `BE` (bin "BE" test) generated 12 warnings (run `cargo fix --bin "BE" -p BE --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/BE-0eece6e58da0625e) [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" "0bbd4f5fa8572a97ea2ac1a91d96d4513389fd8fed6f92ff9540a666dcd7b297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bbd4f5fa8572a97ea2ac1a91d96d4513389fd8fed6f92ff9540a666dcd7b297", kill_on_drop: false }` [INFO] [stdout] 0bbd4f5fa8572a97ea2ac1a91d96d4513389fd8fed6f92ff9540a666dcd7b297