[INFO] cloning repository https://github.com/newrps/crawler_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/newrps/crawler_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnewrps%2Fcrawler_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnewrps%2Fcrawler_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75736298aad3d300fca5cc2ba140f6f65a207e1f [INFO] building newrps/crawler_rust against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnewrps%2Fcrawler_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/newrps/crawler_rust [INFO] finished tweaking git repo https://github.com/newrps/crawler_rust [INFO] tweaked toml for git repo https://github.com/newrps/crawler_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/newrps/crawler_rust on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/newrps/crawler_rust 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scraper v0.18.1 [INFO] [stderr] Downloaded ego-tree v0.6.3 [INFO] [stderr] Downloaded cookie_store v0.21.1 [INFO] [stderr] Downloaded selectors v0.25.0 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded servo_arc v0.3.0 [INFO] [stderr] Downloaded getopts v0.2.23 [INFO] [stderr] Downloaded cssparser v0.31.2 [INFO] [stderr] Downloaded compression-codecs v0.4.29 [INFO] [stderr] Downloaded clap v4.5.46 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded async-compression v0.4.29 [INFO] [stderr] Downloaded clap_builder v4.5.46 [INFO] [stderr] Downloaded brotli-decompressor v5.0.0 [INFO] [stderr] Downloaded brotli v8.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 473e833d13736a85f0314c96708d212121d1e1f22370a0483d2993d2036d8148 [INFO] running `Command { std: "docker" "start" "-a" "473e833d13736a85f0314c96708d212121d1e1f22370a0483d2993d2036d8148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "473e833d13736a85f0314c96708d212121d1e1f22370a0483d2993d2036d8148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "473e833d13736a85f0314c96708d212121d1e1f22370a0483d2993d2036d8148", kill_on_drop: false }` [INFO] [stdout] 473e833d13736a85f0314c96708d212121d1e1f22370a0483d2993d2036d8148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e69d832a854be18ff3af10ffb8d3783ae57106b19da27caa45e0168c02723bd [INFO] running `Command { std: "docker" "start" "-a" "5e69d832a854be18ff3af10ffb8d3783ae57106b19da27caa45e0168c02723bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling compression-codecs v0.4.29 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling async-compression v0.4.29 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling scraper v0.18.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling web-crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/database.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{PgPool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stdout] --> src/crawler.rs:545:28 [INFO] [stdout] | [INFO] [stdout] 545 | return Ok(dest.into_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stdout] --> src/crawler.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | Ok(resolved.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/crawler.rs:665:39 [INFO] [stdout] | [INFO] [stdout] 665 | return Some(DateTime::from_utc(naive, Utc)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/crawler.rs:673:43 [INFO] [stdout] | [INFO] [stdout] 673 | return Some(DateTime::from_utc(naive, Utc)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlLog` is never constructed [INFO] [stdout] --> src/models.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct CrawlLog { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_articles_by_site` and `get_recent_crawl_logs` are never used [INFO] [stdout] --> src/database.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn get_articles_by_site(&self, site_id: Uuid, limit: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn get_recent_crawl_logs(&self, site_id: Option, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_agent` and `max_retries` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub database_url: String, [INFO] [stdout] 7 | pub user_agent: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub crawl_delay_ms: u64, [INFO] [stdout] 9 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [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 3` [INFO] running `Command { std: "docker" "inspect" "5e69d832a854be18ff3af10ffb8d3783ae57106b19da27caa45e0168c02723bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e69d832a854be18ff3af10ffb8d3783ae57106b19da27caa45e0168c02723bd", kill_on_drop: false }` [INFO] [stdout] 5e69d832a854be18ff3af10ffb8d3783ae57106b19da27caa45e0168c02723bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f90723a67c840b2930c5203b0f49484ce713ca21da3c7c068fc3b6fd0e7eb11a [INFO] running `Command { std: "docker" "start" "-a" "f90723a67c840b2930c5203b0f49484ce713ca21da3c7c068fc3b6fd0e7eb11a", kill_on_drop: false }` [INFO] [stderr] Compiling web-crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/database.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{PgPool, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stdout] --> src/crawler.rs:545:28 [INFO] [stdout] | [INFO] [stdout] 545 | return Ok(dest.into_string()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into [INFO] [stdout] --> src/crawler.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | Ok(resolved.into_string()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/crawler.rs:665:39 [INFO] [stdout] | [INFO] [stdout] 665 | return Some(DateTime::from_utc(naive, Utc)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/crawler.rs:673:43 [INFO] [stdout] | [INFO] [stdout] 673 | return Some(DateTime::from_utc(naive, Utc)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrawlLog` is never constructed [INFO] [stdout] --> src/models.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct CrawlLog { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_articles_by_site` and `get_recent_crawl_logs` are never used [INFO] [stdout] --> src/database.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn get_articles_by_site(&self, site_id: Uuid, limit: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub async fn get_recent_crawl_logs(&self, site_id: Option, limit: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_agent` and `max_retries` are never read [INFO] [stdout] --> src/config.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub database_url: String, [INFO] [stdout] 7 | pub user_agent: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub crawl_delay_ms: u64, [INFO] [stdout] 9 | pub max_retries: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [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 3` [INFO] running `Command { std: "docker" "inspect" "f90723a67c840b2930c5203b0f49484ce713ca21da3c7c068fc3b6fd0e7eb11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90723a67c840b2930c5203b0f49484ce713ca21da3c7c068fc3b6fd0e7eb11a", kill_on_drop: false }` [INFO] [stdout] f90723a67c840b2930c5203b0f49484ce713ca21da3c7c068fc3b6fd0e7eb11a