[INFO] cloning repository https://github.com/pvpccheap/backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pvpccheap/backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpvpccheap%2Fbackend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpvpccheap%2Fbackend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e25f35d7b3848e6759afdf7e758b0a12554cf723 [INFO] testing pvpccheap/backend against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpvpccheap%2Fbackend" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pvpccheap/backend [INFO] finished tweaking git repo https://github.com/pvpccheap/backend [INFO] tweaked toml for git repo https://github.com/pvpccheap/backend written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pvpccheap/backend on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pvpccheap/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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb039cf8bbb773d97fd6af055d360edf17a93732720ef0820cc5bc544e775025 [INFO] running `Command { std: "docker" "start" "-a" "bb039cf8bbb773d97fd6af055d360edf17a93732720ef0820cc5bc544e775025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb039cf8bbb773d97fd6af055d360edf17a93732720ef0820cc5bc544e775025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb039cf8bbb773d97fd6af055d360edf17a93732720ef0820cc5bc544e775025", kill_on_drop: false }` [INFO] [stdout] bb039cf8bbb773d97fd6af055d360edf17a93732720ef0820cc5bc544e775025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a2f7af11eea65f28f0314aa0c81867003438ba46b08fbb262d06c68403af111 [INFO] running `Command { std: "docker" "start" "-a" "8a2f7af11eea65f28f0314aa0c81867003438ba46b08fbb262d06c68403af111", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zmij v1.0.9 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64ct v1.8.2 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling mutually_exclusive_features v0.1.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [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 parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling governor v0.8.1 [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling jsonwebtoken v10.2.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stderr] Compiling actix-web v4.12.1 [INFO] [stderr] Compiling tracing-actix-web v0.7.20 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling actix-governor v0.8.0 [INFO] [stderr] Compiling pvpccheap-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] warning: struct `PricesWithStats` is never constructed [INFO] [stdout] --> backend/src/api/prices.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PricesWithStats { [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 `PriceStats` is never constructed [INFO] [stdout] --> backend/src/api/prices.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PriceStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduledAction` is never constructed [INFO] [stdout] --> backend/src/db/models.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ScheduledAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduledActionWithDevice` is never constructed [INFO] [stdout] --> backend/src/db/models.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ScheduledActionWithDevice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Validation` and `Conflict` are never constructed [INFO] [stdout] --> backend/src/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Validation { field: String, message: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Conflict(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] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validation` and `not_found` are never used [INFO] [stdout] --> backend/src/error.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl AppError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 29 | /// Crea un error de validació per un camp específic [INFO] [stdout] 30 | pub fn validation(field: impl Into, message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn not_found(resource: impl Into, id: impl std::fmt::Display) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alg` is never read [INFO] [stdout] --> backend/src/services/google.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct GoogleJwk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | alg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleJwk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aud`, `iss`, `exp`, and `iat` are never read [INFO] [stdout] --> backend/src/services/google.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct GoogleTokenClaims { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | aud: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | iss: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | exp: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | iat: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleTokenClaims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_token` is never used [INFO] [stdout] --> backend/src/services/pvpc.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl PvpcClient { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_token(token: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 56s [INFO] running `Command { std: "docker" "inspect" "8a2f7af11eea65f28f0314aa0c81867003438ba46b08fbb262d06c68403af111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2f7af11eea65f28f0314aa0c81867003438ba46b08fbb262d06c68403af111", kill_on_drop: false }` [INFO] [stdout] 8a2f7af11eea65f28f0314aa0c81867003438ba46b08fbb262d06c68403af111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32e5b9e76e466f5abe5d50b1d965a80dac7e0c00a776c1f8b64c47a793870dda [INFO] running `Command { std: "docker" "start" "-a" "32e5b9e76e466f5abe5d50b1d965a80dac7e0c00a776c1f8b64c47a793870dda", kill_on_drop: false }` [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling pvpccheap-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] warning: struct `PricesWithStats` is never constructed [INFO] [stdout] --> backend/src/api/prices.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PricesWithStats { [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 `PriceStats` is never constructed [INFO] [stdout] --> backend/src/api/prices.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct PriceStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduledAction` is never constructed [INFO] [stdout] --> backend/src/db/models.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ScheduledAction { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScheduledActionWithDevice` is never constructed [INFO] [stdout] --> backend/src/db/models.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct ScheduledActionWithDevice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Validation` and `Conflict` are never constructed [INFO] [stdout] --> backend/src/error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AppError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Validation { field: String, message: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Conflict(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] [INFO] [stdout] [INFO] [stdout] warning: associated functions `validation` and `not_found` are never used [INFO] [stdout] --> backend/src/error.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl AppError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 29 | /// Crea un error de validació per un camp específic [INFO] [stdout] 30 | pub fn validation(field: impl Into, message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn not_found(resource: impl Into, id: impl std::fmt::Display) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alg` is never read [INFO] [stdout] --> backend/src/services/google.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct GoogleJwk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | alg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleJwk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aud`, `iss`, `exp`, and `iat` are never read [INFO] [stdout] --> backend/src/services/google.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct GoogleTokenClaims { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | aud: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | iss: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | exp: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | iat: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleTokenClaims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "32e5b9e76e466f5abe5d50b1d965a80dac7e0c00a776c1f8b64c47a793870dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e5b9e76e466f5abe5d50b1d965a80dac7e0c00a776c1f8b64c47a793870dda", kill_on_drop: false }` [INFO] [stdout] 32e5b9e76e466f5abe5d50b1d965a80dac7e0c00a776c1f8b64c47a793870dda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 909fdc2277a0df3e588141e816321705c5eeaea48bc6c9ec32a4911223af12a4 [INFO] running `Command { std: "docker" "start" "-a" "909fdc2277a0df3e588141e816321705c5eeaea48bc6c9ec32a4911223af12a4", kill_on_drop: false }` [INFO] [stderr] warning: struct `PricesWithStats` is never constructed [INFO] [stderr] --> backend/src/api/prices.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct PricesWithStats { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PriceStats` is never constructed [INFO] [stderr] --> backend/src/api/prices.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct PriceStats { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ScheduledAction` is never constructed [INFO] [stderr] --> backend/src/db/models.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct ScheduledAction { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ScheduledActionWithDevice` is never constructed [INFO] [stderr] --> backend/src/db/models.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct ScheduledActionWithDevice { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Validation` and `Conflict` are never constructed [INFO] [stderr] --> backend/src/error.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum AppError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 22 | Validation { field: String, message: String }, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | Conflict(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] [INFO] [stderr] warning: associated functions `validation` and `not_found` are never used [INFO] [stderr] --> backend/src/error.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl AppError { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 29 | /// Crea un error de validació per un camp específic [INFO] [stderr] 30 | pub fn validation(field: impl Into, message: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn not_found(resource: impl Into, id: impl std::fmt::Display) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `alg` is never read [INFO] [stderr] --> backend/src/services/google.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 23 | struct GoogleJwk { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 28 | alg: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GoogleJwk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `aud`, `iss`, `exp`, and `iat` are never read [INFO] [stderr] --> backend/src/services/google.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 33 | struct GoogleTokenClaims { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 40 | aud: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 41 | iss: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 42 | exp: i64, [INFO] [stderr] | ^^^ [INFO] [stderr] 43 | iat: i64, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GoogleTokenClaims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `pvpccheap-backend` (bin "pvpccheap-backend" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pvpccheap_backend-f9da9fdb7e426676) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test services::pvpc::tests::test_get_today_prices ... ignored [INFO] [stdout] test services::scheduler::tests::test_time_window_night ... ok [INFO] [stdout] test services::scheduler::tests::test_scattered_hours ... ok [INFO] [stdout] test services::pvpc::tests::test_extract_hour ... ok [INFO] [stdout] test services::scheduler::tests::test_continuous_blocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shared-90fac3f491e0fa9a) [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] [stderr] Doc-tests shared [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" "909fdc2277a0df3e588141e816321705c5eeaea48bc6c9ec32a4911223af12a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909fdc2277a0df3e588141e816321705c5eeaea48bc6c9ec32a4911223af12a4", kill_on_drop: false }` [INFO] [stdout] 909fdc2277a0df3e588141e816321705c5eeaea48bc6c9ec32a4911223af12a4