[INFO] cloning repository https://github.com/ericpp/rowdytime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericpp/rowdytime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericpp%2Frowdytime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericpp%2Frowdytime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af7816e13ddf6a696856b238fae715b0f0f57b22 [INFO] testing ericpp/rowdytime against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericpp%2Frowdytime" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ericpp/rowdytime [INFO] finished tweaking git repo https://github.com/ericpp/rowdytime [INFO] tweaked toml for git repo https://github.com/ericpp/rowdytime written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ericpp/rowdytime on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ericpp/rowdytime 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded yaserde_derive v0.12.0 [INFO] [stderr] Downloaded derive_utils v0.15.0 [INFO] [stderr] Downloaded btoi v0.4.3 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded io-enum v1.2.0 [INFO] [stderr] Downloaded mysql_common v0.34.1 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded cc v1.2.12 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded yaserde v0.12.0 [INFO] [stderr] Downloaded cmake v0.1.53 [INFO] [stderr] Downloaded mysql-common-derive v0.32.0 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded mysql v26.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d44074f983930393f9d33017068628cbf44f7da5c75ab80a464e78f4ff18895 [INFO] running `Command { std: "docker" "start" "-a" "8d44074f983930393f9d33017068628cbf44f7da5c75ab80a464e78f4ff18895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d44074f983930393f9d33017068628cbf44f7da5c75ab80a464e78f4ff18895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d44074f983930393f9d33017068628cbf44f7da5c75ab80a464e78f4ff18895", kill_on_drop: false }` [INFO] [stdout] 8d44074f983930393f9d33017068628cbf44f7da5c75ab80a464e78f4ff18895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54c2c6cb38e489365895aedaefebc404cfb553800e1966416c55d6bb9de5fc09 [INFO] running `Command { std: "docker" "start" "-a" "54c2c6cb38e489365895aedaefebc404cfb553800e1966416c55d6bb9de5fc09", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling cc v1.2.12 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling cmake v0.1.53 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling mysql_common v0.34.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [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 zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [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 tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling mysql-common-derive v0.32.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling sqlx-mysql v0.8.3 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling mysql v26.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling uuid v1.13.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling yaserde_derive v0.12.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling twox-hash v2.1.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling yaserde v0.12.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling rowdytime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rss.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> rss.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> main.rs:2047:5 [INFO] [stdout] | [INFO] [stdout] 2046 | return true; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 2047 | let file_path = format!("{}{}.txt", folder, feed_id); // Assuming config.folders.cg_feeds is set up [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `netcalls` [INFO] [stdout] --> main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let netcalls = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_netcalls` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dbcalls` is assigned to, but never used [INFO] [stdout] --> main.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut dbcalls = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dbcalls` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbcheck` [INFO] [stdout] --> main.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let dbcheck = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let query = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `netwait` [INFO] [stdout] --> main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let netwait = 240; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_netwait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feedcount` is assigned to, but never used [INFO] [stdout] --> main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut feedcount = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_feedcount` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `force` is assigned to, but never used [INFO] [stdout] --> main.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let mut force = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_force` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_content_length` [INFO] [stdout] --> main.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let max_content_length = 25000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_content_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `still_waiting_for_db` is assigned to, but never used [INFO] [stdout] --> main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let mut still_waiting_for_db = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_still_waiting_for_db` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feed_work_count` is assigned to, but never used [INFO] [stdout] --> main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut feed_work_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_feed_work_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_items_added` is assigned to, but never used [INFO] [stdout] --> main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut total_items_added = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_items_added` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkdead` [INFO] [stdout] --> main.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mut checkdead = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkdead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkerror` is assigned to, but never used [INFO] [stdout] --> main.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut checkerror = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_checkerror` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `checkerror` is never read [INFO] [stdout] --> main.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | checkerror = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `force` is never read [INFO] [stdout] --> main.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | force = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database` [INFO] [stdout] --> main.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | let database = config.section(Some("database")).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monthago` [INFO] [stdout] --> main.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | let monthago = (SystemTime::now() - std::time::Duration::from_secs(28 * 86400)).duration_since(UNIX_EPOCH).unwrap().as_secs(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monthago` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `still_waiting_for_db` is never read [INFO] [stdout] --> main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | still_waiting_for_db = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feed_unparseable` [INFO] [stdout] --> main.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let feed_unparseable = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feed_unparseable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subitem` [INFO] [stdout] --> main.rs:584:25 [INFO] [stdout] | [INFO] [stdout] 584 | for subitem in item.sub_category { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> main.rs:684:22 [INFO] [stdout] | [INFO] [stdout] 684 | for (index, item) in the_channel.podcast_value.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_value_block_type` [INFO] [stdout] --> main.rs:727:25 [INFO] [stdout] | [INFO] [stdout] 727 | let this_value_block_type = match model.value_type.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_value_block_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> main.rs:824:25 [INFO] [stdout] | [INFO] [stdout] 824 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> main.rs:894:33 [INFO] [stdout] | [INFO] [stdout] 894 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> main.rs:1132:26 [INFO] [stdout] | [INFO] [stdout] 1132 | for (index, item) in the_item.podcast_value.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let mut checkdead = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | let mut cfg = LoggingConfig { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:824:21 [INFO] [stdout] | [INFO] [stdout] 824 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:1417:25 [INFO] [stdout] | [INFO] [stdout] 1417 | let mut sql_item_insert = format!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:1610:21 [INFO] [stdout] | [INFO] [stdout] 1610 | let mut sql_item_update = format!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `folder` [INFO] [stdout] --> main.rs:2045:21 [INFO] [stdout] | [INFO] [stdout] 2045 | fn delete_feed_file(folder: &str, feed_id: u32) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feed_id` [INFO] [stdout] --> main.rs:2045:35 [INFO] [stdout] | [INFO] [stdout] 2045 | fn delete_feed_file(folder: &str, feed_id: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feed_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_length`, `chash`, `podcast_chapters`, and `itunes_category` are never read [INFO] [stdout] --> main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Feed { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | content_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | chash: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pubsub: Option, [INFO] [stdout] 47 | podcast_chapters: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | itunes_category: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Feed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `message` are never read [INFO] [stdout] --> main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 181 | struct PodcastFunding { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 182 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 183 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodcastFunding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> main.rs:1767:4 [INFO] [stdout] | [INFO] [stdout] 1767 | fn write_file(filename: &str, content: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_params` is never used [INFO] [stdout] --> main.rs:1776:4 [INFO] [stdout] | [INFO] [stdout] 1776 | fn get_params(input: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_translate` is never used [INFO] [stdout] --> main.rs:1789:4 [INFO] [stdout] | [INFO] [stdout] 1789 | fn maybe_translate(content: &str, charset: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_days` is never used [INFO] [stdout] --> main.rs:2063:4 [INFO] [stdout] | [INFO] [stdout] 2063 | fn calculate_days(new_item_time: i64, old_item_time: i64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_value` is never used [INFO] [stdout] --> main.rs:2301:10 [INFO] [stdout] | [INFO] [stdout] 2301 | async fn insert_value(pool: &sqlx::SqlitePool, inserts_value: &str, inserts_value_bind: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_funding` is never used [INFO] [stdout] --> main.rs:2319:10 [INFO] [stdout] | [INFO] [stdout] 2319 | async fn insert_funding(pool: &sqlx::SqlitePool, inserts_funding: &str, inserts_funding_bind: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_guid` is never used [INFO] [stdout] --> main.rs:2337:10 [INFO] [stdout] | [INFO] [stdout] 2337 | async fn insert_guid(pool: &sqlx::SqlitePool, inserts_guid: &str, inserts_guid_bind: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> rss.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct RssChannel { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssChannel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> rss.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct RssItemEnclosure { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssItemEnclosure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `xmlns` is never read [INFO] [stdout] --> rss.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct RssLink { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 225 | pub xmlns: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssLink` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `title`, `description`, `width`, and `height` are never read [INFO] [stdout] --> rss.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct RssImage { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 249 | pub url: Option, [INFO] [stdout] 250 | pub link: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 251 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 252 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 253 | pub width: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 254 | pub height: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssImage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `link_type` is never read [INFO] [stdout] --> rss.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct RssAtomLink { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | pub link_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssAtomLink` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_string` is never used [INFO] [stdout] --> rss.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn clean_string(value: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | loggit(&cfg, 3, "DEBUG: It's party time!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = loggit(&cfg, 3, "DEBUG: It's party time!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | loggit(&cfg, 3, &format!("Pulled [{}] feed bodies to parse...", rows.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = loggit(&cfg, 3, &format!("Pulled [{}] feed bodies to parse...", rows.len())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.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" "54c2c6cb38e489365895aedaefebc404cfb553800e1966416c55d6bb9de5fc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54c2c6cb38e489365895aedaefebc404cfb553800e1966416c55d6bb9de5fc09", kill_on_drop: false }` [INFO] [stdout] 54c2c6cb38e489365895aedaefebc404cfb553800e1966416c55d6bb9de5fc09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ded774b6cb25020e7efa9812564307c2ce7256de6b747e1b5eab7c54519ff3 [INFO] running `Command { std: "docker" "start" "-a" "c8ded774b6cb25020e7efa9812564307c2ce7256de6b747e1b5eab7c54519ff3", kill_on_drop: false }` [INFO] [stderr] Compiling rowdytime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rss.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> rss.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> main.rs:2047:5 [INFO] [stdout] | [INFO] [stdout] 2046 | return true; [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 2047 | let file_path = format!("{}{}.txt", folder, feed_id); // Assuming config.folders.cg_feeds is set up [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `netcalls` [INFO] [stdout] --> main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let netcalls = 0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_netcalls` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dbcalls` is assigned to, but never used [INFO] [stdout] --> main.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut dbcalls = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_dbcalls` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbcheck` [INFO] [stdout] --> main.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let dbcheck = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let query = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `netwait` [INFO] [stdout] --> main.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | let netwait = 240; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_netwait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feedcount` is assigned to, but never used [INFO] [stdout] --> main.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut feedcount = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_feedcount` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `force` is assigned to, but never used [INFO] [stdout] --> main.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let mut force = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_force` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_content_length` [INFO] [stdout] --> main.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let max_content_length = 25000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_content_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `still_waiting_for_db` is assigned to, but never used [INFO] [stdout] --> main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let mut still_waiting_for_db = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_still_waiting_for_db` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `feed_work_count` is assigned to, but never used [INFO] [stdout] --> main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut feed_work_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_feed_work_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_items_added` is assigned to, but never used [INFO] [stdout] --> main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut total_items_added = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_items_added` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkdead` [INFO] [stdout] --> main.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let mut checkdead = false; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkdead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `checkerror` is assigned to, but never used [INFO] [stdout] --> main.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let mut checkerror = false; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_checkerror` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `checkerror` is never read [INFO] [stdout] --> main.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | checkerror = true; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `force` is never read [INFO] [stdout] --> main.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | force = true; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `database` [INFO] [stdout] --> main.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | let database = config.section(Some("database")).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `monthago` [INFO] [stdout] --> main.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | let monthago = (SystemTime::now() - std::time::Duration::from_secs(28 * 86400)).duration_since(UNIX_EPOCH).unwrap().as_secs(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monthago` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `still_waiting_for_db` is never read [INFO] [stdout] --> main.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | still_waiting_for_db = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feed_unparseable` [INFO] [stdout] --> main.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | let feed_unparseable = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feed_unparseable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subitem` [INFO] [stdout] --> main.rs:584:25 [INFO] [stdout] | [INFO] [stdout] 584 | for subitem in item.sub_category { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subitem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> main.rs:684:22 [INFO] [stdout] | [INFO] [stdout] 684 | for (index, item) in the_channel.podcast_value.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_value_block_type` [INFO] [stdout] --> main.rs:727:25 [INFO] [stdout] | [INFO] [stdout] 727 | let this_value_block_type = match model.value_type.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_value_block_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> main.rs:824:25 [INFO] [stdout] | [INFO] [stdout] 824 | let mut i = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> main.rs:894:33 [INFO] [stdout] | [INFO] [stdout] 894 | ... Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> main.rs:1132:26 [INFO] [stdout] | [INFO] [stdout] 1132 | for (index, item) in the_item.podcast_value.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | let mut checkdead = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | let mut cfg = LoggingConfig { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:824:21 [INFO] [stdout] | [INFO] [stdout] 824 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:1417:25 [INFO] [stdout] | [INFO] [stdout] 1417 | let mut sql_item_insert = format!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> main.rs:1610:21 [INFO] [stdout] | [INFO] [stdout] 1610 | let mut sql_item_update = format!( [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `folder` [INFO] [stdout] --> main.rs:2045:21 [INFO] [stdout] | [INFO] [stdout] 2045 | fn delete_feed_file(folder: &str, feed_id: u32) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feed_id` [INFO] [stdout] --> main.rs:2045:35 [INFO] [stdout] | [INFO] [stdout] 2045 | fn delete_feed_file(folder: &str, feed_id: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feed_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content_length`, `chash`, `podcast_chapters`, and `itunes_category` are never read [INFO] [stdout] --> main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Feed { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | content_length: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | chash: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | pubsub: Option, [INFO] [stdout] 47 | podcast_chapters: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | itunes_category: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Feed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `message` are never read [INFO] [stdout] --> main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 181 | struct PodcastFunding { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 182 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 183 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PodcastFunding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_file` is never used [INFO] [stdout] --> main.rs:1767:4 [INFO] [stdout] | [INFO] [stdout] 1767 | fn write_file(filename: &str, content: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_params` is never used [INFO] [stdout] --> main.rs:1776:4 [INFO] [stdout] | [INFO] [stdout] 1776 | fn get_params(input: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_translate` is never used [INFO] [stdout] --> main.rs:1789:4 [INFO] [stdout] | [INFO] [stdout] 1789 | fn maybe_translate(content: &str, charset: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_days` is never used [INFO] [stdout] --> main.rs:2063:4 [INFO] [stdout] | [INFO] [stdout] 2063 | fn calculate_days(new_item_time: i64, old_item_time: i64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_value` is never used [INFO] [stdout] --> main.rs:2301:10 [INFO] [stdout] | [INFO] [stdout] 2301 | async fn insert_value(pool: &sqlx::SqlitePool, inserts_value: &str, inserts_value_bind: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_funding` is never used [INFO] [stdout] --> main.rs:2319:10 [INFO] [stdout] | [INFO] [stdout] 2319 | async fn insert_funding(pool: &sqlx::SqlitePool, inserts_funding: &str, inserts_funding_bind: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_guid` is never used [INFO] [stdout] --> main.rs:2337:10 [INFO] [stdout] | [INFO] [stdout] 2337 | async fn insert_guid(pool: &sqlx::SqlitePool, inserts_guid: &str, inserts_guid_bind: &Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> rss.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct RssChannel { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssChannel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> rss.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct RssItemEnclosure { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssItemEnclosure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `xmlns` is never read [INFO] [stdout] --> rss.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub struct RssLink { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 225 | pub xmlns: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssLink` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `link`, `title`, `description`, `width`, and `height` are never read [INFO] [stdout] --> rss.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct RssImage { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 249 | pub url: Option, [INFO] [stdout] 250 | pub link: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 251 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 252 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 253 | pub width: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 254 | pub height: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssImage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `link_type` is never read [INFO] [stdout] --> rss.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 346 | pub struct RssAtomLink { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | pub link_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RssAtomLink` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_string` is never used [INFO] [stdout] --> rss.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn clean_string(value: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | loggit(&cfg, 3, "DEBUG: It's party time!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 306 | let _ = loggit(&cfg, 3, "DEBUG: It's party time!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> main.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | loggit(&cfg, 3, &format!("Pulled [{}] feed bodies to parse...", rows.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = loggit(&cfg, 3, &format!("Pulled [{}] feed bodies to parse...", rows.len())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.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" "c8ded774b6cb25020e7efa9812564307c2ce7256de6b747e1b5eab7c54519ff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ded774b6cb25020e7efa9812564307c2ce7256de6b747e1b5eab7c54519ff3", kill_on_drop: false }` [INFO] [stdout] c8ded774b6cb25020e7efa9812564307c2ce7256de6b747e1b5eab7c54519ff3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7387abe9ca0649718c8ee65fddcc7159280326e2ff35989cb7bd2d829a30721b [INFO] running `Command { std: "docker" "start" "-a" "7387abe9ca0649718c8ee65fddcc7159280326e2ff35989cb7bd2d829a30721b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> rss.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::from_utf8` [INFO] [stderr] --> rss.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::str::from_utf8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> main.rs:2047:5 [INFO] [stderr] | [INFO] [stderr] 2046 | return true; [INFO] [stderr] | ----------- any code following this expression is unreachable [INFO] [stderr] 2047 | let file_path = format!("{}{}.txt", folder, feed_id); // Assuming config.folders.cg_feeds is set up [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `netcalls` [INFO] [stderr] --> main.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 197 | let netcalls = 0; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_netcalls` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `dbcalls` is assigned to, but never used [INFO] [stderr] --> main.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | let mut dbcalls = 0; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_dbcalls` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dbcheck` [INFO] [stderr] --> main.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | let dbcheck = 0; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbcheck` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `query` [INFO] [stderr] --> main.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | let query = 0; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `netwait` [INFO] [stderr] --> main.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | let netwait = 240; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_netwait` [INFO] [stderr] [INFO] [stderr] warning: variable `feedcount` is assigned to, but never used [INFO] [stderr] --> main.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | let mut feedcount = 0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_feedcount` instead [INFO] [stderr] [INFO] [stderr] warning: variable `force` is assigned to, but never used [INFO] [stderr] --> main.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | let mut force = false; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_force` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_content_length` [INFO] [stderr] --> main.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | let max_content_length = 25000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_content_length` [INFO] [stderr] [INFO] [stderr] warning: variable `still_waiting_for_db` is assigned to, but never used [INFO] [stderr] --> main.rs:219:13 [INFO] [stderr] | [INFO] [stderr] 219 | let mut still_waiting_for_db = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_still_waiting_for_db` instead [INFO] [stderr] [INFO] [stderr] warning: variable `feed_work_count` is assigned to, but never used [INFO] [stderr] --> main.rs:222:13 [INFO] [stderr] | [INFO] [stderr] 222 | let mut feed_work_count = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_feed_work_count` instead [INFO] [stderr] [INFO] [stderr] warning: variable `total_items_added` is assigned to, but never used [INFO] [stderr] --> main.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | let mut total_items_added = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_total_items_added` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `checkdead` [INFO] [stderr] --> main.rs:257:13 [INFO] [stderr] | [INFO] [stderr] 257 | let mut checkdead = false; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkdead` [INFO] [stderr] [INFO] [stderr] warning: variable `checkerror` is assigned to, but never used [INFO] [stderr] --> main.rs:258:13 [INFO] [stderr] | [INFO] [stderr] 258 | let mut checkerror = false; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_checkerror` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `checkerror` is never read [INFO] [stderr] --> main.rs:275:13 [INFO] [stderr] | [INFO] [stderr] 275 | checkerror = true; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `force` is never read [INFO] [stderr] --> main.rs:279:13 [INFO] [stderr] | [INFO] [stderr] 279 | force = true; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database` [INFO] [stderr] --> main.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | let database = config.section(Some("database")).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `monthago` [INFO] [stderr] --> main.rs:349:9 [INFO] [stderr] | [INFO] [stderr] 349 | let monthago = (SystemTime::now() - std::time::Duration::from_secs(28 * 86400)).duration_since(UNIX_EPOCH).unwrap().as_secs(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_monthago` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `still_waiting_for_db` is never read [INFO] [stderr] --> main.rs:409:5 [INFO] [stderr] | [INFO] [stderr] 409 | still_waiting_for_db = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `feed_unparseable` [INFO] [stderr] --> main.rs:422:13 [INFO] [stderr] | [INFO] [stderr] 422 | let feed_unparseable = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feed_unparseable` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subitem` [INFO] [stderr] --> main.rs:584:25 [INFO] [stderr] | [INFO] [stderr] 584 | for subitem in item.sub_category { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subitem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> main.rs:684:22 [INFO] [stderr] | [INFO] [stderr] 684 | for (index, item) in the_channel.podcast_value.iter().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `this_value_block_type` [INFO] [stderr] --> main.rs:727:25 [INFO] [stderr] | [INFO] [stderr] 727 | let this_value_block_type = match model.value_type.as_str() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_value_block_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> main.rs:824:25 [INFO] [stderr] | [INFO] [stderr] 824 | let mut i = 0; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> main.rs:894:33 [INFO] [stderr] | [INFO] [stderr] 894 | ... Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> main.rs:1132:26 [INFO] [stderr] | [INFO] [stderr] 1132 | for (index, item) in the_item.podcast_value.iter().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> main.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | let mut checkdead = false; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> main.rs:295:9 [INFO] [stderr] | [INFO] [stderr] 295 | let mut cfg = LoggingConfig { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> main.rs:824:21 [INFO] [stderr] | [INFO] [stderr] 824 | let mut i = 0; [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> main.rs:1417:25 [INFO] [stderr] | [INFO] [stderr] 1417 | let mut sql_item_insert = format!( [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> main.rs:1610:21 [INFO] [stderr] | [INFO] [stderr] 1610 | let mut sql_item_update = format!( [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `folder` [INFO] [stderr] --> main.rs:2045:21 [INFO] [stderr] | [INFO] [stderr] 2045 | fn delete_feed_file(folder: &str, feed_id: u32) -> bool { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_folder` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `feed_id` [INFO] [stderr] --> main.rs:2045:35 [INFO] [stderr] | [INFO] [stderr] 2045 | fn delete_feed_file(folder: &str, feed_id: u32) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feed_id` [INFO] [stderr] [INFO] [stderr] warning: fields `content_length`, `chash`, `podcast_chapters`, and `itunes_category` are never read [INFO] [stderr] --> main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 31 | struct Feed { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | content_length: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | chash: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 46 | pubsub: Option, [INFO] [stderr] 47 | podcast_chapters: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | itunes_category: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Feed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `url` and `message` are never read [INFO] [stderr] --> main.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 181 | struct PodcastFunding { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 182 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 183 | message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PodcastFunding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `write_file` is never used [INFO] [stderr] --> main.rs:1767:4 [INFO] [stderr] | [INFO] [stderr] 1767 | fn write_file(filename: &str, content: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_params` is never used [INFO] [stderr] --> main.rs:1776:4 [INFO] [stderr] | [INFO] [stderr] 1776 | fn get_params(input: &str) -> HashMap { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `maybe_translate` is never used [INFO] [stderr] --> main.rs:1789:4 [INFO] [stderr] | [INFO] [stderr] 1789 | fn maybe_translate(content: &str, charset: Option<&str>) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calculate_days` is never used [INFO] [stderr] --> main.rs:2063:4 [INFO] [stderr] | [INFO] [stderr] 2063 | fn calculate_days(new_item_time: i64, old_item_time: i64) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_value` is never used [INFO] [stderr] --> main.rs:2301:10 [INFO] [stderr] | [INFO] [stderr] 2301 | async fn insert_value(pool: &sqlx::SqlitePool, inserts_value: &str, inserts_value_bind: &Vec) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_funding` is never used [INFO] [stderr] --> main.rs:2319:10 [INFO] [stderr] | [INFO] [stderr] 2319 | async fn insert_funding(pool: &sqlx::SqlitePool, inserts_funding: &str, inserts_funding_bind: &Vec) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_guid` is never used [INFO] [stderr] --> main.rs:2337:10 [INFO] [stderr] | [INFO] [stderr] 2337 | async fn insert_guid(pool: &sqlx::SqlitePool, inserts_guid: &str, inserts_guid_bind: &Vec) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `description` is never read [INFO] [stderr] --> rss.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct RssChannel { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 66 | pub description: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RssChannel` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> rss.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 161 | pub struct RssItemEnclosure { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 172 | pub value: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RssItemEnclosure` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `xmlns` is never read [INFO] [stderr] --> rss.rs:225:9 [INFO] [stderr] | [INFO] [stderr] 222 | pub struct RssLink { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 225 | pub xmlns: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RssLink` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `link`, `title`, `description`, `width`, and `height` are never read [INFO] [stderr] --> rss.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 248 | pub struct RssImage { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 249 | pub url: Option, [INFO] [stderr] 250 | pub link: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 251 | pub title: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 252 | pub description: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 253 | pub width: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 254 | pub height: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RssImage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `link_type` is never read [INFO] [stderr] --> rss.rs:352:9 [INFO] [stderr] | [INFO] [stderr] 346 | pub struct RssAtomLink { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 352 | pub link_type: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RssAtomLink` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `clean_string` is never used [INFO] [stderr] --> rss.rs:367:4 [INFO] [stderr] | [INFO] [stderr] 367 | fn clean_string(value: Option) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> main.rs:306:5 [INFO] [stderr] | [INFO] [stderr] 306 | loggit(&cfg, 3, "DEBUG: It's party time!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 306 | let _ = loggit(&cfg, 3, "DEBUG: It's party time!"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> main.rs:411:5 [INFO] [stderr] | [INFO] [stderr] 411 | loggit(&cfg, 3, &format!("Pulled [{}] feed bodies to parse...", rows.len())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 411 | let _ = loggit(&cfg, 3, &format!("Pulled [{}] feed bodies to parse...", rows.len())); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rowdytime` (bin "rowdytime" test) generated 52 warnings (run `cargo fix --bin "rowdytime" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.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] [stderr] Running unittests main.rs (/opt/rustwide/target/debug/deps/rowdytime-d505d504ea523597) [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" "7387abe9ca0649718c8ee65fddcc7159280326e2ff35989cb7bd2d829a30721b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7387abe9ca0649718c8ee65fddcc7159280326e2ff35989cb7bd2d829a30721b", kill_on_drop: false }` [INFO] [stdout] 7387abe9ca0649718c8ee65fddcc7159280326e2ff35989cb7bd2d829a30721b