[INFO] cloning repository https://github.com/GoodGame563/external-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GoodGame563/external-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodGame563%2Fexternal-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodGame563%2Fexternal-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 430d098a064147eca5c89564cf1c937b3bfb8436 [INFO] checking GoodGame563/external-api against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoodGame563%2Fexternal-api" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GoodGame563/external-api 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/GoodGame563/external-api [INFO] finished tweaking git repo https://github.com/GoodGame563/external-api [INFO] tweaked toml for git repo https://github.com/GoodGame563/external-api written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/GoodGame563/external-api 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] Downloading crates ... [INFO] [stderr] Downloaded prost-types v0.13.5 [INFO] [stderr] Downloaded prost-derive v0.13.5 [INFO] [stderr] Downloaded prost-build v0.13.5 [INFO] [stderr] Downloaded deadpool v0.12.2 [INFO] [stderr] Downloaded rocket_cors v0.6.0 [INFO] [stderr] Downloaded jsonwebtoken v9.3.1 [INFO] [stderr] Downloaded tempfile v3.17.0 [INFO] [stderr] Downloaded config v0.15.8 [INFO] [stderr] Downloaded prost v0.13.5 [INFO] [stderr] Downloaded deadpool-postgres v0.14.1 [INFO] [stderr] Downloaded fern v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c0992d93aa7b6b48286eccb487c92d2d8d83f060cbe21e43d54f6ee92b329929 [INFO] running `Command { std: "docker" "start" "-a" "c0992d93aa7b6b48286eccb487c92d2d8d83f060cbe21e43d54f6ee92b329929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0992d93aa7b6b48286eccb487c92d2d8d83f060cbe21e43d54f6ee92b329929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0992d93aa7b6b48286eccb487c92d2d8d83f060cbe21e43d54f6ee92b329929", kill_on_drop: false }` [INFO] [stdout] c0992d93aa7b6b48286eccb487c92d2d8d83f060cbe21e43d54f6ee92b329929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 44ec48ad8774a271c4327891e1ba1aeaeb9ed0f4139d7a2c9e3c14cf761204b6 [INFO] running `Command { std: "docker" "start" "-a" "44ec48ad8774a271c4327891e1ba1aeaeb9ed0f4139d7a2c9e3c14cf761204b6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling zerocopy v0.8.18 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Checking is-terminal v0.4.15 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking rand_core v0.9.1 [INFO] [stderr] Checking winnow v0.7.2 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.17.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking fern v0.7.1 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Checking yaml-rust2 v0.9.0 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking deadpool v0.12.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling external-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking config v0.15.8 [INFO] [stderr] Checking deadpool-postgres v0.14.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking rocket_cors v0.6.0 [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/database_function/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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: `FxHashSet` [INFO] [stdout] --> src/work_with_wb_api.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_hash::{FxHashMap, FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::{Serialize,Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/main.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::consts::False` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use sha2::digest::consts::False; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/database_function/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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: `FxHashSet` [INFO] [stdout] --> src/work_with_wb_api.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_hash::{FxHashMap, FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use serde::{Serialize,Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> src/main.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use chrono::{Utc, Duration}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::consts::False` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use sha2::digest::consts::False; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_refresh_jwt` is never used [INFO] [stdout] --> src/jwt/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate_refresh_jwt(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `browser`, `device`, `os`, and `exp` are never read [INFO] [stdout] --> src/jwt/jwt_structure.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RefreshTokenPayload { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 4 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | browser: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | device: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | os: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exp` is never read [INFO] [stdout] --> src/jwt/jwt_structure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AccessTokenPayload { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | pub id: String, [INFO] [stdout] 15 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/database_function/connector.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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 function `delete_by_id` is never used [INFO] [stdout] --> src/database_function/connector.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn delete_by_id(pool: &Pool, id: &str) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_by_user_id` is never used [INFO] [stdout] --> src/database_function/connector.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 66 | impl UserSession { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn delete_by_user_id(pool: &Pool, id_user: &str) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/database_function/connector.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Brand { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Brand` 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 functions `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 108 | impl Brand { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Marketplace` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Marketplace { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Marketplace` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 150 | impl Marketplace { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 151 | pub async fn create(&self, pool: &Pool) -> Result<(),PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(),PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result,PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/database_function/connector.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 185 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub created_at:DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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 functions `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 197 | impl Product { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhotoAnalysis` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct PhotoAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhotoAnalysis` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 258 | impl PhotoAnalysis { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 259 | pub async fn create(&self, pool: &Pool) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReviewsAnalysis` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct ReviewsAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewsAnalysis` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:307:18 [INFO] [stdout] | [INFO] [stdout] 306 | impl ReviewsAnalysis { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 307 | pub async fn create(&self, pool: &Pool) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeoAnalysis` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct SeoAnalysis { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SeoAnalysis` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 354 | impl SeoAnalysis { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 355 | pub async fn create(&self, pool: &Pool) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/database_function/connector.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 393 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 394 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` 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 functions `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:424:18 [INFO] [stdout] | [INFO] [stdout] 403 | impl Task { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/database_function/connector.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 453 | pub struct ProductCompetitor { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 456 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductCompetitor` 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 functions `delete`, `find_by_product`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:469:18 [INFO] [stdout] | [INFO] [stdout] 459 | impl ProductCompetitor { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 469 | pub async fn delete(pool: &Pool, product_id: i32, competitor_id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | pub async fn find_by_product(pool: &Pool, product_id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/database_function/connector.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct Keyword { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 501 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` 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 function `find_by_keyword` is never used [INFO] [stdout] --> src/database_function/connector.rs:514:18 [INFO] [stdout] | [INFO] [stdout] 504 | impl Keyword { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 514 | pub async fn find_by_keyword(pool: &Pool, keyword: &str) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_task` and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:550:18 [INFO] [stdout] | [INFO] [stdout] 539 | impl TaskKeyword { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 550 | pub async fn find_by_task(pool: &Pool, task_id: i32, task_created_at: DateTime) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_10_ids` is never used [INFO] [stdout] --> src/work_with_wb_api.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_top_10_ids(roots: &[Root]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_refresh_jwt` is never used [INFO] [stdout] --> src/jwt/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn validate_refresh_jwt(token: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `browser`, `device`, `os`, and `exp` are never read [INFO] [stdout] --> src/jwt/jwt_structure.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RefreshTokenPayload { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 4 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 5 | browser: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | device: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | os: String, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exp` is never read [INFO] [stdout] --> src/jwt/jwt_structure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AccessTokenPayload { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | pub id: String, [INFO] [stdout] 15 | exp: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/database_function/connector.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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 function `delete_by_id` is never used [INFO] [stdout] --> src/database_function/connector.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn delete_by_id(pool: &Pool, id: &str) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_by_user_id` is never used [INFO] [stdout] --> src/database_function/connector.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 66 | impl UserSession { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub async fn delete_by_user_id(pool: &Pool, id_user: &str) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/database_function/connector.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Brand { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 105 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Brand` 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 functions `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 108 | impl Brand { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Marketplace` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct Marketplace { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Marketplace` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 150 | impl Marketplace { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 151 | pub async fn create(&self, pool: &Pool) -> Result<(),PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(),PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result,PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/database_function/connector.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct Product { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 185 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub created_at:DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | pub updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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 functions `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 197 | impl Product { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhotoAnalysis` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct PhotoAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhotoAnalysis` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:259:18 [INFO] [stdout] | [INFO] [stdout] 258 | impl PhotoAnalysis { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 259 | pub async fn create(&self, pool: &Pool) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReviewsAnalysis` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | pub struct ReviewsAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewsAnalysis` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:307:18 [INFO] [stdout] | [INFO] [stdout] 306 | impl ReviewsAnalysis { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 307 | pub async fn create(&self, pool: &Pool) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SeoAnalysis` is never constructed [INFO] [stdout] --> src/database_function/connector.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct SeoAnalysis { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SeoAnalysis` 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 `create`, `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 354 | impl SeoAnalysis { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 355 | pub async fn create(&self, pool: &Pool) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/database_function/connector.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 393 | pub struct Task { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 394 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` 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 functions `delete_by_id`, `find_by_id`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:424:18 [INFO] [stdout] | [INFO] [stdout] 403 | impl Task { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 424 | pub async fn delete_by_id(pool: &Pool, id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub async fn find_by_id(pool: &Pool, id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/database_function/connector.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 453 | pub struct ProductCompetitor { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 456 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProductCompetitor` 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 functions `delete`, `find_by_product`, and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:469:18 [INFO] [stdout] | [INFO] [stdout] 459 | impl ProductCompetitor { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 469 | pub async fn delete(pool: &Pool, product_id: i32, competitor_id: i32) -> Result<(), PoolError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | pub async fn find_by_product(pool: &Pool, product_id: i32) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/database_function/connector.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 498 | pub struct Keyword { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 501 | pub created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` 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 function `find_by_keyword` is never used [INFO] [stdout] --> src/database_function/connector.rs:514:18 [INFO] [stdout] | [INFO] [stdout] 504 | impl Keyword { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 514 | pub async fn find_by_keyword(pool: &Pool, keyword: &str) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_task` and `from_row` are never used [INFO] [stdout] --> src/database_function/connector.rs:550:18 [INFO] [stdout] | [INFO] [stdout] 539 | impl TaskKeyword { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 550 | pub async fn find_by_task(pool: &Pool, task_id: i32, task_created_at: DateTime) -> Result, PoolError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | fn from_row(row: Row) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_top_10_ids` is never used [INFO] [stdout] --> src/work_with_wb_api.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_top_10_ids(roots: &[Root]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "44ec48ad8774a271c4327891e1ba1aeaeb9ed0f4139d7a2c9e3c14cf761204b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ec48ad8774a271c4327891e1ba1aeaeb9ed0f4139d7a2c9e3c14cf761204b6", kill_on_drop: false }` [INFO] [stdout] 44ec48ad8774a271c4327891e1ba1aeaeb9ed0f4139d7a2c9e3c14cf761204b6