[INFO] cloning repository https://github.com/kozabrada123/Lunars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kozabrada123/Lunars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkozabrada123%2FLunars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkozabrada123%2FLunars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c05640f00d634fb40912bdbe4d9c0377aad5a96 [INFO] checking kozabrada123/Lunars against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkozabrada123%2FLunars" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kozabrada123/Lunars on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kozabrada123/Lunars [INFO] finished tweaking git repo https://github.com/kozabrada123/Lunars [INFO] tweaked toml for git repo https://github.com/kozabrada123/Lunars written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kozabrada123/Lunars 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Kindness-Works/okapi` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded unicase_serde v0.1.0 [INFO] [stderr] Downloaded rocket_cors v0.6.0 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded rocket_db_pools v0.2.0 [INFO] [stderr] Downloaded rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Downloaded rocket v0.5.1 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b480c2129c843a5051c3d23be8acdcef56a9b4082bad1551c6680a5c24ea175 [INFO] running `Command { std: "docker" "start" "-a" "1b480c2129c843a5051c3d23be8acdcef56a9b4082bad1551c6680a5c24ea175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b480c2129c843a5051c3d23be8acdcef56a9b4082bad1551c6680a5c24ea175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b480c2129c843a5051c3d23be8acdcef56a9b4082bad1551c6680a5c24ea175", kill_on_drop: false }` [INFO] [stdout] 1b480c2129c843a5051c3d23be8acdcef56a9b4082bad1551c6680a5c24ea175 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1abcd993c4d66508009339e6dabd9f4f38477761cf07230a65f0dbf6ea3b76ed [INFO] running `Command { std: "docker" "start" "-a" "1abcd993c4d66508009339e6dabd9f4f38477761cf07230a65f0dbf6ea3b76ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking iana-time-zone v0.1.46 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking okapi v0.7.0 (https://github.com/Kindness-Works/okapi?branch=beyera%2Fupdate-rocket-0.5.1#1845156d) [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling rocket_okapi_codegen v0.8.0 (https://github.com/Kindness-Works/okapi?branch=beyera%2Fupdate-rocket-0.5.1#1845156d) [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rocket_db_pools v0.2.0 [INFO] [stderr] Checking rocket_okapi v0.8.0 (https://github.com/Kindness-Works/okapi?branch=beyera%2Fupdate-rocket-0.5.1#1845156d) [INFO] [stderr] Checking rocket_cors v0.6.0 [INFO] [stderr] Checking lunars v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/database/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/database/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `glicko` and `types::entities::season::Season` [INFO] [stdout] --> src/database/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{glicko, types::entities::season::Season, MysqlDb}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `net::IpAddr` and `str::FromStr` [INFO] [stdout] --> src/rate_limits/fairing.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::IpAddr, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/database/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/database/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `glicko` and `types::entities::season::Season` [INFO] [stdout] --> src/database/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{glicko, types::entities::season::Season, MysqlDb}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `net::IpAddr` and `str::FromStr` [INFO] [stdout] --> src/rate_limits/fairing.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::IpAddr, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `first_parameter` is never read [INFO] [stdout] --> src/database/query.rs:567:21 [INFO] [stdout] | [INFO] [stdout] 567 | first_parameter = false; [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 `first_parameter` is never read [INFO] [stdout] --> src/database/query.rs:567:21 [INFO] [stdout] | [INFO] [stdout] 567 | first_parameter = false; [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: unused import: `rocket::form::validate::Len` [INFO] [stdout] --> src/glicko.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket::form::validate::Len; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::form::validate::Len` [INFO] [stdout] --> src/glicko.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket::form::validate::Len; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_player_ability` is never used [INFO] [stdout] --> src/calculations.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn calculate_player_ability(rank: &u16, ping: &u16) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_new_rankings_with_elo` is never used [INFO] [stdout] --> src/calculations.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn calculate_new_rankings_with_elo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_player_matches` and `modify_match` are never used [INFO] [stdout] --> src/database/match.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DbConnection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn get_player_matches(&mut self, id: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn modify_match(&mut self, a_match: &Match) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `modify_player` is never used [INFO] [stdout] --> src/database/player.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DbConnection { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn modify_player( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_non_recent_requests`, `get_recent_requests_for_ip`, `get_recent_requests_for_api_key_hash`, and `add_recent_request` are never used [INFO] [stdout] --> src/database/recent_request.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl DbConnection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | /// Removes all non-recent requests (ones that are > 1 minute old) [INFO] [stdout] 13 | pub async fn remove_non_recent_requests(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get_recent_requests_for_ip(&mut self, ip: IpAddr) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn get_recent_requests_for_api_key_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn add_recent_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify_season` and `add_rating_period` are never used [INFO] [stdout] --> src/database/season.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl DbConnection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn modify_season( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn add_rating_period( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_private_rating`, `set_private_deviation`, and `reset_defaults` are never used [INFO] [stdout] --> src/glicko.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_private_rating(&mut self, new_rating: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_private_deviation(&mut self, new_deviation: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn reset_defaults(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_api_error_code` is never used [INFO] [stdout] --> src/response.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn example_api_error_code() -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_api_error_message` is never used [INFO] [stdout] --> src/response.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn example_api_error_message() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/response.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ApiError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(code: u16, message: String, status: Status) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_active`, `new`, `new_starting_now_until`, `from_duration`, and `elapsed_since_end` are never used [INFO] [stdout] --> src/types/entities/season.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Season { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 43 | /// Returns whether we are within the time bounds of the rating period [INFO] [stdout] 44 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(start: DateTime, end: DateTime) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new_starting_now_until(end: DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_duration(duration: chrono::Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn elapsed_since_end(&self) -> chrono::Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_player_ability` is never used [INFO] [stdout] --> src/calculations.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn calculate_player_ability(rank: &u16, ping: &u16) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_new_rankings_with_elo` is never used [INFO] [stdout] --> src/calculations.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn calculate_new_rankings_with_elo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_player_matches` and `modify_match` are never used [INFO] [stdout] --> src/database/match.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DbConnection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub async fn get_player_matches(&mut self, id: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub async fn modify_match(&mut self, a_match: &Match) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `modify_player` is never used [INFO] [stdout] --> src/database/player.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl DbConnection { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub async fn modify_player( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_non_recent_requests`, `get_recent_requests_for_ip`, `get_recent_requests_for_api_key_hash`, and `add_recent_request` are never used [INFO] [stdout] --> src/database/recent_request.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl DbConnection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 12 | /// Removes all non-recent requests (ones that are > 1 minute old) [INFO] [stdout] 13 | pub async fn remove_non_recent_requests(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get_recent_requests_for_ip(&mut self, ip: IpAddr) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn get_recent_requests_for_api_key_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub async fn add_recent_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify_season` and `add_rating_period` are never used [INFO] [stdout] --> src/database/season.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl DbConnection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn modify_season( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub async fn add_rating_period( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_private_rating`, `set_private_deviation`, `set_public_rating`, `set_public_deviation`, and `reset_defaults` are never used [INFO] [stdout] --> src/glicko.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn set_private_rating(&mut self, new_rating: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn set_private_deviation(&mut self, new_deviation: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_public_rating(&mut self, new_rating: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn set_public_deviation(&mut self, new_deviation: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn reset_defaults(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_api_error_code` is never used [INFO] [stdout] --> src/response.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn example_api_error_code() -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_api_error_message` is never used [INFO] [stdout] --> src/response.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn example_api_error_message() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/response.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ApiError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(code: u16, message: String, status: Status) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `is_active`, `new`, `new_starting_now_until`, `from_duration`, and `elapsed_since_end` are never used [INFO] [stdout] --> src/types/entities/season.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Season { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 43 | /// Returns whether we are within the time bounds of the rating period [INFO] [stdout] 44 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(start: DateTime, end: DateTime) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn new_starting_now_until(end: DateTime) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_duration(duration: chrono::Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn elapsed_since_end(&self) -> chrono::Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "1abcd993c4d66508009339e6dabd9f4f38477761cf07230a65f0dbf6ea3b76ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abcd993c4d66508009339e6dabd9f4f38477761cf07230a65f0dbf6ea3b76ed", kill_on_drop: false }` [INFO] [stdout] 1abcd993c4d66508009339e6dabd9f4f38477761cf07230a65f0dbf6ea3b76ed