[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] 0bf16d0a46d990a1cf653c10ed6c7ca0280524dc
[INFO] testing Arnav-Bista/occupancy-backend against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnav-Bista%2Foccupancy-backend" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Arnav-Bista/occupancy-backend on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded url-escape v0.1.1
[INFO] [stderr]   Downloaded tinyvec v1.6.1
[INFO] [stderr]   Downloaded r2d2_sqlite v0.24.0
[INFO] [stderr]   Downloaded tokio-macros v2.3.0
[INFO] [stderr]   Downloaded security-framework-sys v2.11.0
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded rustls-pki-types v1.7.0
[INFO] [stderr]   Downloaded uuid v1.9.1
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded hyper-util v0.1.5
[INFO] [stderr]   Downloaded security-framework v2.11.0
[INFO] [stderr]   Downloaded serde_json v1.0.118
[INFO] [stderr]   Downloaded cc v1.0.103
[INFO] [stderr]   Downloaded h2 v0.4.5
[INFO] [stderr]   Downloaded rustls-webpki v0.102.4
[INFO] [stderr]   Downloaded reqwest v0.12.5
[INFO] [stderr]   Downloaded hyper v1.3.1
[INFO] [stderr]   Downloaded object v0.36.1
[INFO] [stderr]   Downloaded rustls v0.23.10
[INFO] [stderr]   Downloaded tokio v1.38.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 01efe107b88b129c28b8533a7efd493fd82fd3ee3769464065dd960f47a13c1f
[INFO] running `Command { std: "docker" "start" "-a" "01efe107b88b129c28b8533a7efd493fd82fd3ee3769464065dd960f47a13c1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "01efe107b88b129c28b8533a7efd493fd82fd3ee3769464065dd960f47a13c1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01efe107b88b129c28b8533a7efd493fd82fd3ee3769464065dd960f47a13c1f", kill_on_drop: false }`
[INFO] [stdout] 01efe107b88b129c28b8533a7efd493fd82fd3ee3769464065dd960f47a13c1f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 473d75d2a263c12ffab8e14c5f44808cd00eece3e0f4a241e58d22fb9c5b0c50
[INFO] running `Command { std: "docker" "start" "-a" "473d75d2a263c12ffab8e14c5f44808cd00eece3e0f4a241e58d22fb9c5b0c50", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cc v1.0.103
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling ahash v0.8.11
[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 syn v2.0.68
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling tinyvec v1.6.1
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling serde_json v1.0.118
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling hashlink v0.9.1
[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 parking_lot v0.12.3
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url-escape v0.1.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling regex v1.10.5
[INFO] [stderr]    Compiling uuid v1.9.1
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling chrono-tz-build v0.3.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling chrono-tz v0.9.0
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling rusqlite v0.31.0
[INFO] [stderr]    Compiling r2d2_sqlite v0.24.0
[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 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)]` 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:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |         target: &mut T,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `url`, `headers`, and `scrape_regex` are never read
[INFO] [stdout]  --> src/scraper/config.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     pub url: String,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 6 |     pub headers: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub scrape_regex: String,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` 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<Self, String> {
[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: fields `staff`, `other`, `student`, `total`, and `capacity` are never read
[INFO] [stdout]   --> src/scraper/sta/main_library.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct APIResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 26 |     pub staff: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 27 |     pub other: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 28 |     pub student: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 29 |     pub total: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 30 |     pub capacity: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `APIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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<String>) -> 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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 3m 22s
[INFO] running `Command { std: "docker" "inspect" "473d75d2a263c12ffab8e14c5f44808cd00eece3e0f4a241e58d22fb9c5b0c50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "473d75d2a263c12ffab8e14c5f44808cd00eece3e0f4a241e58d22fb9c5b0c50", kill_on_drop: false }`
[INFO] [stdout] 473d75d2a263c12ffab8e14c5f44808cd00eece3e0f4a241e58d22fb9c5b0c50
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb6602d9483d063b62bd54a7144a20ce992ccb5623618a9b0d421b4eb94f458e
[INFO] running `Command { std: "docker" "start" "-a" "cb6602d9483d063b62bd54a7144a20ce992ccb5623618a9b0d421b4eb94f458e", 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)]` 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:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |         target: &mut T,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `url`, `headers`, and `scrape_regex` are never read
[INFO] [stdout]  --> src/scraper/config.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Config {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     pub url: String,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 6 |     pub headers: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub scrape_regex: String,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` 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<Self, String> {
[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: fields `staff`, `other`, `student`, `total`, and `capacity` are never read
[INFO] [stdout]   --> src/scraper/sta/main_library.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct APIResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 26 |     pub staff: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 27 |     pub other: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 28 |     pub student: u32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 29 |     pub total: u32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 30 |     pub capacity: u32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `APIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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<String>) -> 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: 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.33s
[INFO] running `Command { std: "docker" "inspect" "cb6602d9483d063b62bd54a7144a20ce992ccb5623618a9b0d421b4eb94f458e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb6602d9483d063b62bd54a7144a20ce992ccb5623618a9b0d421b4eb94f458e", kill_on_drop: false }`
[INFO] [stdout] cb6602d9483d063b62bd54a7144a20ce992ccb5623618a9b0d421b4eb94f458e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0702991ba1d5d8d5a2a8df286befb777213ba0b52f42d77f4966bfff0360ed6c
[INFO] running `Command { std: "docker" "start" "-a" "0702991ba1d5d8d5a2a8df286befb777213ba0b52f42d77f4966bfff0360ed6c", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `TimeDelta`
[INFO] [stderr]  --> src/scraper/scraper.rs:1:66
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::{DateTime, Datelike, Days, NaiveDate, NaiveDateTime, TimeDelta, Timelike};
[INFO] [stderr]   |                                                                  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `GBEire`
[INFO] [stderr]  --> src/scraper/scraper.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono_tz::{GBEire, Tz};
[INFO] [stderr]   |                 ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `scraper::sta::main_library::MainLibrary`
[INFO] [stderr]   --> src/scraper/scraper.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     scraper::sta::main_library::MainLibrary,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `NaiveDateTime`
[INFO] [stderr]  --> src/scraper/sta/gym.rs:1:25
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::{NaiveDate, NaiveDateTime};
[INFO] [stderr]   |                         ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ISO_FORMAT`
[INFO] [stderr]   --> src/scraper/sta/gym.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::{ISO_FORMAT, ISO_FORMAT_DATE};
[INFO] [stderr]    |             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `NaiveDateTime`
[INFO] [stderr]  --> src/scraper/sta/main_library.rs:1:35
[INFO] [stderr]   |
[INFO] [stderr] 1 | use chrono::{DateTime, NaiveDate, NaiveDateTime};
[INFO] [stderr]   |                                   ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::Weekday`
[INFO] [stderr]  --> src/timing/schedule.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::Weekday;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/predictor/gb_regressor.rs:7:24
[INFO] [stderr]   |
[INFO] [stderr] 7 |     timing::schedule::{self, Schedule},
[INFO] [stderr]   |                        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `target`
[INFO] [stderr]    --> src/scraper/scraper.rs:370:9
[INFO] [stderr]     |
[INFO] [stderr] 370 |         target: &mut T,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `url`, `headers`, and `scrape_regex` are never read
[INFO] [stderr]  --> src/scraper/config.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Config {
[INFO] [stderr]   |            ------ fields in this struct
[INFO] [stderr] 5 |     pub url: String,
[INFO] [stderr]   |         ^^^
[INFO] [stderr] 6 |     pub headers: String,
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr] 7 |     pub scrape_regex: String,
[INFO] [stderr]   |         ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_config` is never used
[INFO] [stderr]   --> src/scraper/config.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Config {
[INFO] [stderr]    | ----------- associated function in this implementation
[INFO] [stderr] 11 |     pub fn from_config(config: String) -> Result<Self, String> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MainLibrary` is never constructed
[INFO] [stderr]   --> src/scraper/sta/main_library.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct MainLibrary {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `staff`, `other`, `student`, `total`, and `capacity` are never read
[INFO] [stderr]   --> src/scraper/sta/main_library.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 25 | struct APIResponse {
[INFO] [stderr]    |        ----------- fields in this struct
[INFO] [stderr] 26 |     pub staff: u32,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 27 |     pub other: u32,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 28 |     pub student: u32,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 29 |     pub total: u32,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 30 |     pub capacity: u32,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `APIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `parse_timings` are never used
[INFO] [stderr]   --> src/scraper/sta/main_library.rs:34:12
[INFO] [stderr]    |
[INFO] [stderr] 33 | impl MainLibrary {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 34 |     pub fn new(last_scraped: Option<String>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     fn parse_timings(&self, string: &str, ampm: &str) -> u16 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `convert_hm_to_sec` is never used
[INFO] [stderr]   --> src/timing/schedule.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | impl Schedule {
[INFO] [stderr]    | ------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 52 |     fn convert_hm_to_sec(hm: u16) -> u64 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LSTMRegressor` is never constructed
[INFO] [stderr]   --> src/predictor/lstm_regressor.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct LSTMRegressor {}
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `predict_gym` is never used
[INFO] [stderr]   --> src/predictor/lstm_regressor.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl LSTMRegressor {
[INFO] [stderr]    | ------------------ associated function in this implementation
[INFO] [stderr] 13 |     pub fn predict_gym(
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `new_naive_date`, `get_last_scraped`, and `get_last_scraped_naive_date` are never used
[INFO] [stderr]   --> src/predictor/knn_config.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 9  | impl KNNConfig {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] 10 |     pub fn new(last_scraped: String) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 14 |     pub fn new_naive_date(last_scraped: NaiveDate) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 21 |     pub fn get_last_scraped(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 25 |     pub fn get_last_scraped_naive_date(&self) -> NaiveDate {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `occupancy-backend` (bin "occupancy-backend" test) generated 18 warnings (run `cargo fix --bin "occupancy-backend" --tests` to apply 8 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/occupancy_backend-f7cdad6b5554d00f)
[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" "0702991ba1d5d8d5a2a8df286befb777213ba0b52f42d77f4966bfff0360ed6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0702991ba1d5d8d5a2a8df286befb777213ba0b52f42d77f4966bfff0360ed6c", kill_on_drop: false }`
[INFO] [stdout] 0702991ba1d5d8d5a2a8df286befb777213ba0b52f42d77f4966bfff0360ed6c
