[INFO] cloning repository https://github.com/lethuzulu/price-scrapper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lethuzulu/price-scrapper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flethuzulu%2Fprice-scrapper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flethuzulu%2Fprice-scrapper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01f311b61911ee9eedf5a8cbcc15890530a8dab8 [INFO] testing lethuzulu/price-scrapper against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flethuzulu%2Fprice-scrapper" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lethuzulu/price-scrapper [INFO] finished tweaking git repo https://github.com/lethuzulu/price-scrapper [INFO] tweaked toml for git repo https://github.com/lethuzulu/price-scrapper written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lethuzulu/price-scrapper on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lethuzulu/price-scrapper 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d192789652c3c48b5e25dea4d166b5bb2f87908d8b97bd954f63d5dd7597db07 [INFO] running `Command { std: "docker" "start" "-a" "d192789652c3c48b5e25dea4d166b5bb2f87908d8b97bd954f63d5dd7597db07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d192789652c3c48b5e25dea4d166b5bb2f87908d8b97bd954f63d5dd7597db07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d192789652c3c48b5e25dea4d166b5bb2f87908d8b97bd954f63d5dd7597db07", kill_on_drop: false }` [INFO] [stdout] d192789652c3c48b5e25dea4d166b5bb2f87908d8b97bd954f63d5dd7597db07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cc4432cfc7a71969195812430eab69ec6160e88c28ab24e62b73e0e81e7c310 [INFO] running `Command { std: "docker" "start" "-a" "2cc4432cfc7a71969195812430eab69ec6160e88c28ab24e62b73e0e81e7c310", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling deranged v0.5.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa v1.0.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling servo_arc v0.4.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ego-tree v0.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [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 tokio-macros v2.6.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling cookie_store v0.22.1 [INFO] [stderr] Compiling scraper v0.21.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.20 [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 reqwest v0.13.2 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling price-scrapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PgPool` and `migrate` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{PgPool, migrate}; [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: `storage::Repository` [INFO] [stdout] --> src/main.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{scrapers::{checkers, pnp}, storage::Repository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Config { [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 `DatabaseConfig` is never constructed [INFO] [stdout] --> src/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/config.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn load() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_count` and `success` are never read [INFO] [stdout] --> src/scrapers/checkers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | struct CheckersResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 16 | pub products: Vec, [INFO] [stdout] 17 | pub total_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckersResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `store_id` are never read [INFO] [stdout] --> src/scrapers/checkers.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | struct CheckersProduct { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | pub store_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckersProduct` 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 `Repository` is never constructed [INFO] [stdout] --> src/storage/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Repository { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_product`, `get_latest_price`, and `get_price_history` are never used [INFO] [stdout] --> src/storage/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Repository { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn save_product(&self, products: &[Product]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn get_latest_price(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn get_price_history(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Repository` is never constructed [INFO] [stdout] --> src/storage/repository.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Repository { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_product`, `get_latest_price`, and `get_price_history` are never used [INFO] [stdout] --> src/storage/repository.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Repository { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub async fn save_product(&self, products: &[Product]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn get_latest_price(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn get_price_history(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasketItem` is never constructed [INFO] [stdout] --> src/basket.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BasketItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasketFile` is never constructed [INFO] [stdout] --> src/basket.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct BasketFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/basket.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn load(path: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "2cc4432cfc7a71969195812430eab69ec6160e88c28ab24e62b73e0e81e7c310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc4432cfc7a71969195812430eab69ec6160e88c28ab24e62b73e0e81e7c310", kill_on_drop: false }` [INFO] [stdout] 2cc4432cfc7a71969195812430eab69ec6160e88c28ab24e62b73e0e81e7c310 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b8a58919373bf1baa1535fd5ac9345c556a21ea3fdb0b2386060af4c900010a [INFO] running `Command { std: "docker" "start" "-a" "0b8a58919373bf1baa1535fd5ac9345c556a21ea3fdb0b2386060af4c900010a", kill_on_drop: false }` [INFO] [stderr] Compiling price-scrapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PgPool` and `migrate` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{PgPool, migrate}; [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: `storage::Repository` [INFO] [stdout] --> src/main.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{scrapers::{checkers, pnp}, storage::Repository}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Config { [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 `DatabaseConfig` is never constructed [INFO] [stdout] --> src/config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/config.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | pub fn load() {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_count` and `success` are never read [INFO] [stdout] --> src/scrapers/checkers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | struct CheckersResponse { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 16 | pub products: Vec, [INFO] [stdout] 17 | pub total_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | pub success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckersResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `store_id` are never read [INFO] [stdout] --> src/scrapers/checkers.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | struct CheckersProduct { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | pub store_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckersProduct` 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 `Repository` is never constructed [INFO] [stdout] --> src/storage/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Repository { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_product`, `get_latest_price`, and `get_price_history` are never used [INFO] [stdout] --> src/storage/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Repository { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub async fn save_product(&self, products: &[Product]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn get_latest_price(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn get_price_history(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Repository` is never constructed [INFO] [stdout] --> src/storage/repository.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Repository { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_product`, `get_latest_price`, and `get_price_history` are never used [INFO] [stdout] --> src/storage/repository.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Repository { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub async fn save_product(&self, products: &[Product]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn get_latest_price(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub async fn get_price_history(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasketItem` is never constructed [INFO] [stdout] --> src/basket.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BasketItem { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasketFile` is never constructed [INFO] [stdout] --> src/basket.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct BasketFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/basket.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn load(path: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "0b8a58919373bf1baa1535fd5ac9345c556a21ea3fdb0b2386060af4c900010a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8a58919373bf1baa1535fd5ac9345c556a21ea3fdb0b2386060af4c900010a", kill_on_drop: false }` [INFO] [stdout] 0b8a58919373bf1baa1535fd5ac9345c556a21ea3fdb0b2386060af4c900010a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff8199c9492f7e31b9d6e52261ca8d7d4a904ffcf5888f34678b42373f0f20c3 [INFO] running `Command { std: "docker" "start" "-a" "ff8199c9492f7e31b9d6e52261ca8d7d4a904ffcf5888f34678b42373f0f20c3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `PgPool` and `migrate` [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use sqlx::{PgPool, migrate}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `storage::Repository` [INFO] [stderr] --> src/main.rs:4:40 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{scrapers::{checkers, pnp}, storage::Repository}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Config` is never constructed [INFO] [stderr] --> src/config.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Config { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DatabaseConfig` is never constructed [INFO] [stderr] --> src/config.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct DatabaseConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `load` is never used [INFO] [stderr] --> src/config.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Config { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 14 | pub fn load() {} [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `total_count` and `success` are never read [INFO] [stderr] --> src/scrapers/checkers.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 15 | struct CheckersResponse { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 16 | pub products: Vec, [INFO] [stderr] 17 | pub total_count: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 18 | pub success: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CheckersResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `store_id` are never read [INFO] [stderr] --> src/scrapers/checkers.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 23 | struct CheckersProduct { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 24 | pub id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 25 | pub store_id: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CheckersProduct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Repository` is never constructed [INFO] [stderr] --> src/storage/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Repository { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `save_product`, `get_latest_price`, and `get_price_history` are never used [INFO] [stderr] --> src/storage/mod.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Repository { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(pool: PgPool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub async fn save_product(&self, products: &[Product]) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub async fn get_latest_price(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub async fn get_price_history(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Repository` is never constructed [INFO] [stderr] --> src/storage/repository.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Repository { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `save_product`, `get_latest_price`, and `get_price_history` are never used [INFO] [stderr] --> src/storage/repository.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Repository { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 11 | pub fn new(pool: PgPool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub async fn save_product(&self, products: &[Product]) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub async fn get_latest_price(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub async fn get_price_history(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BasketItem` is never constructed [INFO] [stderr] --> src/basket.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct BasketItem { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BasketFile` is never constructed [INFO] [stderr] --> src/basket.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | struct BasketFile { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load` is never used [INFO] [stderr] --> src/basket.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn load(path: &str) -> Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `price-scrapper` (bin "price-scrapper" test) generated 14 warnings (run `cargo fix --bin "price-scrapper" -p price-scrapper --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/price_scrapper-fff5441726e007c6) [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" "ff8199c9492f7e31b9d6e52261ca8d7d4a904ffcf5888f34678b42373f0f20c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8199c9492f7e31b9d6e52261ca8d7d4a904ffcf5888f34678b42373f0f20c3", kill_on_drop: false }` [INFO] [stdout] ff8199c9492f7e31b9d6e52261ca8d7d4a904ffcf5888f34678b42373f0f20c3