[INFO] cloning repository https://github.com/Arnav-Bista/occupancy-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arnav-Bista/occupancy-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnav-Bista%2Foccupancy-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnav-Bista%2Foccupancy-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1a5428ef407db1db2074232a946a0125efd9cff [INFO] building Arnav-Bista/occupancy-backend against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnav-Bista%2Foccupancy-backend" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Arnav-Bista/occupancy-backend [INFO] finished tweaking git repo https://github.com/Arnav-Bista/occupancy-backend [INFO] tweaked toml for git repo https://github.com/Arnav-Bista/occupancy-backend written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Arnav-Bista/occupancy-backend on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Arnav-Bista/occupancy-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e741f9895e9275ced7311d6826b47cb9db5217008f9cb8e6470d4d2adc8f352 [INFO] running `Command { std: "docker" "start" "-a" "3e741f9895e9275ced7311d6826b47cb9db5217008f9cb8e6470d4d2adc8f352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e741f9895e9275ced7311d6826b47cb9db5217008f9cb8e6470d4d2adc8f352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e741f9895e9275ced7311d6826b47cb9db5217008f9cb8e6470d4d2adc8f352", kill_on_drop: false }` [INFO] [stdout] 3e741f9895e9275ced7311d6826b47cb9db5217008f9cb8e6470d4d2adc8f352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c672805516263e81dc7672d3eb7261c693dae11c149417a4aebfa7cff7f30e0b [INFO] running `Command { std: "docker" "start" "-a" "c672805516263e81dc7672d3eb7261c693dae11c149417a4aebfa7cff7f30e0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.103 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling url-escape v0.1.1 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling r2d2_sqlite v0.24.0 [INFO] [stderr] Compiling occupancy-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TimeDelta` [INFO] [stdout] --> src/scraper/scraper.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Days, NaiveDate, NaiveDateTime, TimeDelta, Timelike}; [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: `GBEire` [INFO] [stdout] --> src/scraper/scraper.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono_tz::{GBEire, Tz}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::sta::main_library::MainLibrary` [INFO] [stdout] --> src/scraper/scraper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | scraper::sta::main_library::MainLibrary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/scraper/sta/gym.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ISO_FORMAT` [INFO] [stdout] --> src/scraper/sta/gym.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{ISO_FORMAT, ISO_FORMAT_DATE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/scraper/sta/main_library.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Weekday` [INFO] [stdout] --> src/timing/schedule.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Weekday; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/predictor/gb_regressor.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | timing::schedule::{self, Schedule}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/scraper/scraper.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | target: &mut T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/scraper/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_hm_to_sec` is never used [INFO] [stdout] --> src/timing/schedule.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Schedule { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn convert_hm_to_sec(hm: u16) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LSTMRegressor` is never constructed [INFO] [stdout] --> src/predictor/lstm_regressor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LSTMRegressor {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainLibrary` is never constructed [INFO] [stdout] --> src/scraper/sta/main_library.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MainLibrary { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `APIResponse` is never constructed [INFO] [stdout] --> src/scraper/sta/main_library.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct APIResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse_timings` are never used [INFO] [stdout] --> src/scraper/sta/main_library.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl MainLibrary { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(last_scraped: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn parse_timings(&self, string: &str, ampm: &str) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_config` is never used [INFO] [stdout] --> src/scraper/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn from_config(config: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KNNConfig` is never constructed [INFO] [stdout] --> src/predictor/knn_config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct KNNConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_naive_date`, `get_last_scraped`, and `get_last_scraped_naive_date` are never used [INFO] [stdout] --> src/predictor/knn_config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl KNNConfig { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(last_scraped: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new_naive_date(last_scraped: NaiveDate) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_last_scraped(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_last_scraped_naive_date(&self) -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `predict_gym` is never used [INFO] [stdout] --> src/predictor/lstm_regressor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LSTMRegressor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 13 | pub fn predict_gym( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "c672805516263e81dc7672d3eb7261c693dae11c149417a4aebfa7cff7f30e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c672805516263e81dc7672d3eb7261c693dae11c149417a4aebfa7cff7f30e0b", kill_on_drop: false }` [INFO] [stdout] c672805516263e81dc7672d3eb7261c693dae11c149417a4aebfa7cff7f30e0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b1ed35acd6e2a0be4e594119704aeed296b0e3aa99def6bc99e7dbae660c597 [INFO] running `Command { std: "docker" "start" "-a" "3b1ed35acd6e2a0be4e594119704aeed296b0e3aa99def6bc99e7dbae660c597", kill_on_drop: false }` [INFO] [stderr] Compiling occupancy-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TimeDelta` [INFO] [stdout] --> src/scraper/scraper.rs:1:66 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Days, NaiveDate, NaiveDateTime, TimeDelta, Timelike}; [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: `GBEire` [INFO] [stdout] --> src/scraper/scraper.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono_tz::{GBEire, Tz}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::sta::main_library::MainLibrary` [INFO] [stdout] --> src/scraper/scraper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | scraper::sta::main_library::MainLibrary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/scraper/sta/gym.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ISO_FORMAT` [INFO] [stdout] --> src/scraper/sta/gym.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{ISO_FORMAT, ISO_FORMAT_DATE}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/scraper/sta/main_library.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Weekday` [INFO] [stdout] --> src/timing/schedule.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Weekday; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/predictor/gb_regressor.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | timing::schedule::{self, Schedule}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/scraper/scraper.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | target: &mut T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/scraper/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_config` is never used [INFO] [stdout] --> src/scraper/config.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn from_config(config: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainLibrary` is never constructed [INFO] [stdout] --> src/scraper/sta/main_library.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MainLibrary { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `APIResponse` is never constructed [INFO] [stdout] --> src/scraper/sta/main_library.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct APIResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `parse_timings` are never used [INFO] [stdout] --> src/scraper/sta/main_library.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl MainLibrary { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 34 | pub fn new(last_scraped: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn parse_timings(&self, string: &str, ampm: &str) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_hm_to_sec` is never used [INFO] [stdout] --> src/timing/schedule.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Schedule { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | fn convert_hm_to_sec(hm: u16) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LSTMRegressor` is never constructed [INFO] [stdout] --> src/predictor/lstm_regressor.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LSTMRegressor {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `predict_gym` is never used [INFO] [stdout] --> src/predictor/lstm_regressor.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl LSTMRegressor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 13 | pub fn predict_gym( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KNNConfig` is never constructed [INFO] [stdout] --> src/predictor/knn_config.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct KNNConfig { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_naive_date`, `get_last_scraped`, and `get_last_scraped_naive_date` are never used [INFO] [stdout] --> src/predictor/knn_config.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl KNNConfig { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(last_scraped: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn new_naive_date(last_scraped: NaiveDate) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn get_last_scraped(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_last_scraped_naive_date(&self) -> NaiveDate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "3b1ed35acd6e2a0be4e594119704aeed296b0e3aa99def6bc99e7dbae660c597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b1ed35acd6e2a0be4e594119704aeed296b0e3aa99def6bc99e7dbae660c597", kill_on_drop: false }` [INFO] [stdout] 3b1ed35acd6e2a0be4e594119704aeed296b0e3aa99def6bc99e7dbae660c597