[INFO] cloning repository https://github.com/Durfsurn/sc4d-lex-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Durfsurn/sc4d-lex-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDurfsurn%2Fsc4d-lex-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDurfsurn%2Fsc4d-lex-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0332047fd999b320934081983b06224c925feb7a [INFO] checking Durfsurn/sc4d-lex-api against master#180dffba142c47240ca0d93096ce90b9fd97c8d7 for pr-114716 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDurfsurn%2Fsc4d-lex-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Durfsurn/sc4d-lex-api on toolchain 180dffba142c47240ca0d93096ce90b9fd97c8d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+180dffba142c47240ca0d93096ce90b9fd97c8d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Durfsurn/sc4d-lex-api [INFO] finished tweaking git repo https://github.com/Durfsurn/sc4d-lex-api [INFO] tweaked toml for git repo https://github.com/Durfsurn/sc4d-lex-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Durfsurn/sc4d-lex-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" "+180dffba142c47240ca0d93096ce90b9fd97c8d7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mysql-common-derive v0.30.2 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Downloaded frunk_derives v0.4.2 [INFO] [stderr] Downloaded frunk_core v0.4.2 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.2 [INFO] [stderr] Downloaded frunk v0.4.2 [INFO] [stderr] Downloaded mysql_async v0.32.2 [INFO] [stderr] Downloaded mysql_common v0.30.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+180dffba142c47240ca0d93096ce90b9fd97c8d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9041c09130b4f54d1fae58a7953661dc27f12bc4ec0bf5eb7132ac48ff8a1616 [INFO] running `Command { std: "docker" "start" "-a" "9041c09130b4f54d1fae58a7953661dc27f12bc4ec0bf5eb7132ac48ff8a1616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9041c09130b4f54d1fae58a7953661dc27f12bc4ec0bf5eb7132ac48ff8a1616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9041c09130b4f54d1fae58a7953661dc27f12bc4ec0bf5eb7132ac48ff8a1616", kill_on_drop: false }` [INFO] [stdout] 9041c09130b4f54d1fae58a7953661dc27f12bc4ec0bf5eb7132ac48ff8a1616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+180dffba142c47240ca0d93096ce90b9fd97c8d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 825b6eb5f0de1fde9029459adf4a356996ece576ba9f9d17f9a94908ef4bf292 [INFO] running `Command { std: "docker" "start" "-a" "825b6eb5f0de1fde9029459adf4a356996ece576ba9f9d17f9a94908ef4bf292", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling darling_core v0.20.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling bitflags v2.3.2 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling darling_macro v0.20.1 [INFO] [stderr] Compiling toml_edit v0.19.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.30.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling darling v0.20.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Checking tungstenite v0.18.0 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking uuid v1.3.4 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking lru v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-tungstenite v0.18.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking email-encoding v0.2.0 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking quoted_printable v0.4.8 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking email_address v0.2.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking lettre v0.10.4 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking mysql_async v0.32.2 [INFO] [stderr] Checking warp v0.3.5 [INFO] [stderr] Checking sc4d-lex-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lot::*` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use {base::*, user::*, lot::*, search::*, category::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lot::*` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use {base::*, user::*, lot::*, search::*, category::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/routes.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | headers: warp::hyper::HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/email.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let send = mailer.send(email).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/routes.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | headers: warp::hyper::HeaderMap, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) async fn get_lot_http(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:168:34 [INFO] [stdout] | [INFO] [stdout] 168 | pub(crate) async fn get_download(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) async fn do_download_list(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:174:35 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) async fn bulk_download(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) async fn delete_download_list(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send` [INFO] [stdout] --> src/email.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let send = mailer.send(email).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) async fn get_comment_http(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) async fn post_comment(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) async fn get_vote_http(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) async fn get_lot_dependency(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:192:43 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) async fn get_dependency_string(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:195:46 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) async fn update_dependency_string(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) async fn get_lot_http(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:168:34 [INFO] [stdout] | [INFO] [stdout] 168 | pub(crate) async fn get_download(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | pub(crate) async fn do_download_list(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:174:35 [INFO] [stdout] | [INFO] [stdout] 174 | pub(crate) async fn bulk_download(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) async fn delete_download_list(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:180:38 [INFO] [stdout] | [INFO] [stdout] 180 | pub(crate) async fn get_comment_http(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) async fn post_comment(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | pub(crate) async fn get_vote_http(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:189:40 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) async fn get_lot_dependency(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:192:43 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) async fn get_dependency_string(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/lot.rs:291:44 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) async fn get_human_filesize(bytes: String) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/routes.rs:195:46 [INFO] [stdout] | [INFO] [stdout] 195 | pub(crate) async fn update_dependency_string(lot: String) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) async fn get_comment(lotid: isize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/lot.rs:282:42 [INFO] [stdout] | [INFO] [stdout] 282 | pub(crate) async fn get_dependencies(deps: String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/lot.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | pub(crate) async fn get_categories(lot: Self) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:285:40 [INFO] [stdout] | [INFO] [stdout] 285 | pub(crate) async fn get_dependents(lotid: isize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/lot.rs:291:44 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) async fn get_human_filesize(bytes: String) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) async fn get_comment(lotid: isize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/lot.rs:282:42 [INFO] [stdout] | [INFO] [stdout] 282 | pub(crate) async fn get_dependencies(deps: String) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/lot.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | pub(crate) async fn get_categories(lot: Self) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:285:40 [INFO] [stdout] | [INFO] [stdout] 285 | pub(crate) async fn get_dependents(lotid: isize) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_routes` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let all_routes = warp::any() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_routes` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let all_routes = warp::any() [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_routes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usr` [INFO] [stdout] --> src/lot.rs:214:47 [INFO] [stdout] | [INFO] [stdout] 214 | pub(crate) async fn check_download_limits(usr: String, lot: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_usr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/lot.rs:214:60 [INFO] [stdout] | [INFO] [stdout] 214 | pub(crate) async fn check_download_limits(usr: String, lot: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usrid` [INFO] [stdout] --> src/lot.rs:217:49 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) async fn update_download_tracker(usrid: String, lot: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usrid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/lot.rs:217:64 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) async fn update_download_tracker(usrid: String, lot: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:220:38 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) async fn get_download(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:223:42 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) async fn do_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:226:46 [INFO] [stdout] | [INFO] [stdout] 226 | pub(crate) async fn delete_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:232:42 [INFO] [stdout] | [INFO] [stdout] 232 | pub(crate) async fn get_comment_http(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | pub(crate) async fn get_vote_http(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:261:38 [INFO] [stdout] | [INFO] [stdout] 261 | pub(crate) async fn post_comment(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:267:44 [INFO] [stdout] | [INFO] [stdout] 267 | pub(crate) async fn get_lot_dependency(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:270:47 [INFO] [stdout] | [INFO] [stdout] 270 | pub(crate) async fn get_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | pub(crate) async fn update_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 276 | pub(crate) async fn bulk_download(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/lot.rs:279:47 [INFO] [stdout] | [INFO] [stdout] 279 | pub(crate) async fn get_dependencies_flat(deps: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dep` [INFO] [stdout] --> src/lot.rs:288:47 [INFO] [stdout] | [INFO] [stdout] 288 | pub(crate) async fn get_dependency_status(dep: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usr` [INFO] [stdout] --> src/lot.rs:214:47 [INFO] [stdout] | [INFO] [stdout] 214 | pub(crate) async fn check_download_limits(usr: String, lot: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_usr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/lot.rs:214:60 [INFO] [stdout] | [INFO] [stdout] 214 | pub(crate) async fn check_download_limits(usr: String, lot: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usrid` [INFO] [stdout] --> src/lot.rs:217:49 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) async fn update_download_tracker(usrid: String, lot: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_usrid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lot` [INFO] [stdout] --> src/lot.rs:217:64 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) async fn update_download_tracker(usrid: String, lot: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:220:38 [INFO] [stdout] | [INFO] [stdout] 220 | pub(crate) async fn get_download(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:223:42 [INFO] [stdout] | [INFO] [stdout] 223 | pub(crate) async fn do_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:226:46 [INFO] [stdout] | [INFO] [stdout] 226 | pub(crate) async fn delete_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:232:42 [INFO] [stdout] | [INFO] [stdout] 232 | pub(crate) async fn get_comment_http(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:258:39 [INFO] [stdout] | [INFO] [stdout] 258 | pub(crate) async fn get_vote_http(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:261:38 [INFO] [stdout] | [INFO] [stdout] 261 | pub(crate) async fn post_comment(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:267:44 [INFO] [stdout] | [INFO] [stdout] 267 | pub(crate) async fn get_lot_dependency(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:270:47 [INFO] [stdout] | [INFO] [stdout] 270 | pub(crate) async fn get_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | pub(crate) async fn update_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lotid` [INFO] [stdout] --> src/lot.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 276 | pub(crate) async fn bulk_download(lotid: isize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lotid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/lot.rs:279:47 [INFO] [stdout] | [INFO] [stdout] 279 | pub(crate) async fn get_dependencies_flat(deps: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dep` [INFO] [stdout] --> src/lot.rs:288:47 [INFO] [stdout] | [INFO] [stdout] 288 | pub(crate) async fn get_dependency_status(dep: String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/base.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | pub(crate) fn get_auth_from_headers(headers: warp::hyper::HeaderMap) -> (String, md5::Digest) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers` [INFO] [stdout] --> src/base.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | pub(crate) fn get_auth_from_headers(headers: warp::hyper::HeaderMap) -> (String, md5::Digest) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_arch`, `ext_file_dir`, `cat_link`, `do_log`, and `log_file` are never read [INFO] [stdout] --> src/base.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 38 | // DB settings [INFO] [stdout] 39 | pub db_arch: String, // = 'mysql'; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub ext_file_dir: String, // = "http://mydomain.com/file_exchange/files/"; // Weburl where files will be downloaded from [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub cat_link: String, // = "http://mydomain.com/file_exchange/category_images/"; // Url to the category images for your file exch... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub do_log: bool, // = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | pub log_file: String, // = "/home/my_username/logs/file_exchange/exchange.log"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_auth` is never used [INFO] [stdout] --> src/base.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 77 | impl Base { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) async fn is_auth( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/lot.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 44 | impl Lot { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) async fn get_all(config: Arc) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub(crate) async fn get_lot_http( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) async fn check_download_limits(usr: String, lot: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub(crate) async fn update_download_tracker(usrid: String, lot: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub(crate) async fn get_download(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) async fn do_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub(crate) async fn delete_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) async fn get_comment_http(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub(crate) async fn get_vote_http(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub(crate) async fn post_comment(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub(crate) async fn get_lot_dependency(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) async fn get_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub(crate) async fn update_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub(crate) async fn bulk_download(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub(crate) async fn get_dependencies_flat(deps: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub(crate) async fn get_dependency_status(dep: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_arch`, `ext_file_dir`, `cat_link`, `do_log`, and `log_file` are never read [INFO] [stdout] --> src/base.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 38 | // DB settings [INFO] [stdout] 39 | pub db_arch: String, // = 'mysql'; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub ext_file_dir: String, // = "http://mydomain.com/file_exchange/files/"; // Weburl where files will be downloaded from [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub cat_link: String, // = "http://mydomain.com/file_exchange/category_images/"; // Url to the category images for your file exch... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub do_log: bool, // = false; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | pub log_file: String, // = "/home/my_username/logs/file_exchange/exchange.log"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_auth` is never used [INFO] [stdout] --> src/base.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 77 | impl Base { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) async fn is_auth( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/lot.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 44 | impl Lot { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) async fn get_all(config: Arc) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub(crate) async fn get_lot_http( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub(crate) async fn check_download_limits(usr: String, lot: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub(crate) async fn update_download_tracker(usrid: String, lot: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub(crate) async fn get_download(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub(crate) async fn do_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub(crate) async fn delete_download_list(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub(crate) async fn get_comment_http(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub(crate) async fn get_vote_http(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub(crate) async fn post_comment(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub(crate) async fn get_lot_dependency(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) async fn get_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub(crate) async fn update_dependency_string(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub(crate) async fn bulk_download(lotid: isize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub(crate) async fn get_dependencies_flat(deps: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub(crate) async fn get_dependency_status(dep: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.30s [INFO] running `Command { std: "docker" "inspect" "825b6eb5f0de1fde9029459adf4a356996ece576ba9f9d17f9a94908ef4bf292", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825b6eb5f0de1fde9029459adf4a356996ece576ba9f9d17f9a94908ef4bf292", kill_on_drop: false }` [INFO] [stdout] 825b6eb5f0de1fde9029459adf4a356996ece576ba9f9d17f9a94908ef4bf292