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