[INFO] cloning repository https://github.com/No3371/steam_workshop_deps_crawler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/No3371/steam_workshop_deps_crawler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNo3371%2Fsteam_workshop_deps_crawler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNo3371%2Fsteam_workshop_deps_crawler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94aa873e5bcd04de62b6ed493882485b43164947 [INFO] testing No3371/steam_workshop_deps_crawler against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNo3371%2Fsteam_workshop_deps_crawler" "/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/No3371/steam_workshop_deps_crawler [INFO] finished tweaking git repo https://github.com/No3371/steam_workshop_deps_crawler [INFO] tweaked toml for git repo https://github.com/No3371/steam_workshop_deps_crawler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/No3371/steam_workshop_deps_crawler on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/No3371/steam_workshop_deps_crawler 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c495823b487bf24514d6a32f9e9164b6e9ea8d83a5c145087bcb33f2af4260f [INFO] running `Command { std: "docker" "start" "-a" "7c495823b487bf24514d6a32f9e9164b6e9ea8d83a5c145087bcb33f2af4260f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c495823b487bf24514d6a32f9e9164b6e9ea8d83a5c145087bcb33f2af4260f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c495823b487bf24514d6a32f9e9164b6e9ea8d83a5c145087bcb33f2af4260f", kill_on_drop: false }` [INFO] [stdout] 7c495823b487bf24514d6a32f9e9164b6e9ea8d83a5c145087bcb33f2af4260f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a02ce8dab9ca2caa4b62dbf7cd3bb48763560a8960cb49aa09e4cd72b0ecde2 [INFO] running `Command { std: "docker" "start" "-a" "6a02ce8dab9ca2caa4b62dbf7cd3bb48763560a8960cb49aa09e4cd72b0ecde2", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling home v0.5.11 [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 icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [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 thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tempfile v3.19.1 [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 tendril v0.4.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling scraper v0.18.1 [INFO] [stderr] Compiling slog-term v2.9.1 [INFO] [stderr] Compiling dotenv v0.15.0 [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 steam_workshop_crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DateTime` and `Duration` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc, Duration}; [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: `reqwest::blocking::Client` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::blocking::Client; // Using blocking client for simplicity [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut query = query_builder.build(); [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: unreachable statement [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 56 | / loop { [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | for _ in 0..burst { [INFO] [stdout] 59 | | let crawl_task = fetch_and_process_item(&pool, &log); [INFO] [stdout] ... | [INFO] [stdout] 89 | | tokio::time::sleep(crawl_interval).await; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 91 | [INFO] [stdout] 92 | slog::info!(log, "Crawler service stopped."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `slog::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/main.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{postgres::PgPoolOptions, Pool, Postgres, QueryBuilder, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | struct CrawledItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 144 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CrawledItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 01s [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 1` [INFO] running `Command { std: "docker" "inspect" "6a02ce8dab9ca2caa4b62dbf7cd3bb48763560a8960cb49aa09e4cd72b0ecde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a02ce8dab9ca2caa4b62dbf7cd3bb48763560a8960cb49aa09e4cd72b0ecde2", kill_on_drop: false }` [INFO] [stdout] 6a02ce8dab9ca2caa4b62dbf7cd3bb48763560a8960cb49aa09e4cd72b0ecde2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13587c0b4baab6ad72cdf2db61b19ea5cd0d7e9eea851d74e09485e7730a686f [INFO] running `Command { std: "docker" "start" "-a" "13587c0b4baab6ad72cdf2db61b19ea5cd0d7e9eea851d74e09485e7730a686f", kill_on_drop: false }` [INFO] [stderr] Compiling steam_workshop_crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DateTime` and `Duration` [INFO] [stdout] --> src/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc, Duration}; [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: `reqwest::blocking::Client` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::blocking::Client; // Using blocking client for simplicity [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/main.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{env, thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut query = query_builder.build(); [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: unreachable statement [INFO] [stdout] --> src/main.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 56 | / loop { [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | for _ in 0..burst { [INFO] [stdout] 59 | | let crawl_task = fetch_and_process_item(&pool, &log); [INFO] [stdout] ... | [INFO] [stdout] 89 | | tokio::time::sleep(crawl_interval).await; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 91 | [INFO] [stdout] 92 | slog::info!(log, "Crawler service stopped."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `slog::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/main.rs:5:67 [INFO] [stdout] | [INFO] [stdout] 5 | use sqlx::{postgres::PgPoolOptions, Pool, Postgres, QueryBuilder, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | struct CrawledItem { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 144 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `CrawledItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [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 1` [INFO] running `Command { std: "docker" "inspect" "13587c0b4baab6ad72cdf2db61b19ea5cd0d7e9eea851d74e09485e7730a686f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13587c0b4baab6ad72cdf2db61b19ea5cd0d7e9eea851d74e09485e7730a686f", kill_on_drop: false }` [INFO] [stdout] 13587c0b4baab6ad72cdf2db61b19ea5cd0d7e9eea851d74e09485e7730a686f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6c1885ff3088fbc9668ee2b97c9297a4a4f2e14e06adcd3b23c0a56d6b0a372 [INFO] running `Command { std: "docker" "start" "-a" "f6c1885ff3088fbc9668ee2b97c9297a4a4f2e14e06adcd3b23c0a56d6b0a372", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DateTime` and `Duration` [INFO] [stderr] --> src/main.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, Utc, Duration}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::blocking::Client` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use reqwest::blocking::Client; // Using blocking client for simplicity [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `thread` [INFO] [stderr] --> src/main.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{env, thread, time}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:262:13 [INFO] [stderr] | [INFO] [stderr] 262 | let mut query = query_builder.build(); [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: unreachable statement [INFO] [stderr] --> src/main.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 56 | / loop { [INFO] [stderr] 57 | | [INFO] [stderr] 58 | | for _ in 0..burst { [INFO] [stderr] 59 | | let crawl_task = fetch_and_process_item(&pool, &log); [INFO] [stderr] ... | [INFO] [stderr] 89 | | tokio::time::sleep(crawl_interval).await; [INFO] [stderr] 90 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 91 | [INFO] [stderr] 92 | slog::info!(log, "Crawler service stopped."); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `log` which comes from the expansion of the macro `slog::info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Row` [INFO] [stderr] --> src/main.rs:5:67 [INFO] [stderr] | [INFO] [stderr] 5 | use sqlx::{postgres::PgPoolOptions, Pool, Postgres, QueryBuilder, Row}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/main.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 143 | struct CrawledItem { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 144 | id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `CrawledItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `steam_workshop_crawler` (bin "steam_workshop_crawler" test) generated 7 warnings (run `cargo fix --bin "steam_workshop_crawler" -p steam_workshop_crawler --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/steam_workshop_crawler-b4f917811007514e) [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" "f6c1885ff3088fbc9668ee2b97c9297a4a4f2e14e06adcd3b23c0a56d6b0a372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c1885ff3088fbc9668ee2b97c9297a4a4f2e14e06adcd3b23c0a56d6b0a372", kill_on_drop: false }` [INFO] [stdout] f6c1885ff3088fbc9668ee2b97c9297a4a4f2e14e06adcd3b23c0a56d6b0a372