[INFO] cloning repository https://github.com/AOSC-Dev/pakreqWeb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AOSC-Dev/pakreqWeb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2FpakreqWeb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2FpakreqWeb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5335d4a61df888aed2d4d29b05e791e24166224f [INFO] checking AOSC-Dev/pakreqWeb against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2FpakreqWeb" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AOSC-Dev/pakreqWeb on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AOSC-Dev/pakreqWeb [INFO] finished tweaking git repo https://github.com/AOSC-Dev/pakreqWeb [INFO] tweaked toml for git repo https://github.com/AOSC-Dev/pakreqWeb written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/AOSC-Dev/pakreqWeb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/bcmyers/argonautica` [INFO] [stderr] Updating git submodule `https://github.com/P-H-C/phc-winner-argon2.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-quote v0.3.2 [INFO] [stderr] Downloaded shell-words v1.0.0 [INFO] [stderr] Downloaded kstring v0.1.2 [INFO] [stderr] Downloaded path_abs v0.5.0 [INFO] [stderr] Downloaded liquid v0.20.1 [INFO] [stderr] Downloaded content_inspector v0.2.4 [INFO] [stderr] Downloaded markup5ever v0.10.0 [INFO] [stderr] Downloaded yarte_derive v0.12.2 [INFO] [stderr] Downloaded yansi-term v0.1.2 [INFO] [stderr] Downloaded wild v2.0.4 [INFO] [stderr] Downloaded actix-identity v0.2.1 [INFO] [stderr] Downloaded annotate-snippets v0.9.0 [INFO] [stderr] Downloaded yarte_codegen v0.12.2 [INFO] [stderr] Downloaded v_eval v0.6.0 [INFO] [stderr] Downloaded bat v0.15.4 [INFO] [stderr] Downloaded liquid-core v0.20.2 [INFO] [stderr] Downloaded yarte v0.12.2 [INFO] [stderr] Downloaded ansi_colours v1.0.1 [INFO] [stderr] Downloaded yarte_helpers v0.12.2 [INFO] [stderr] Downloaded yarte_parser v0.12.2 [INFO] [stderr] Downloaded liquid-derive v0.20.1 [INFO] [stderr] Downloaded proc-quote-impl v0.3.2 [INFO] [stderr] Downloaded liquid-lib v0.20.2 [INFO] [stderr] Downloaded std_prelude v0.2.12 [INFO] [stderr] Downloaded yarte_html v0.12.2 [INFO] [stderr] Downloaded yarte_dom v0.12.2 [INFO] [stderr] Downloaded bindgen v0.50.1 [INFO] [stderr] Downloaded yarte_hir v0.12.2 [INFO] [stderr] Downloaded syntect v4.4.0 [INFO] [stderr] Downloaded toolchain_find v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7bf8db02ffd901ce9283d350b71a958c24236672379ac2db91753d98588bf5b2 [INFO] running `Command { std: "docker" "start" "-a" "7bf8db02ffd901ce9283d350b71a958c24236672379ac2db91753d98588bf5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bf8db02ffd901ce9283d350b71a958c24236672379ac2db91753d98588bf5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf8db02ffd901ce9283d350b71a958c24236672379ac2db91753d98588bf5b2", kill_on_drop: false }` [INFO] [stdout] 7bf8db02ffd901ce9283d350b71a958c24236672379ac2db91753d98588bf5b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea92a7514e36a129df1607f7f2a785f23bbb4e36535bbb1f83202ef126ac5f83 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ea92a7514e36a129df1607f7f2a785f23bbb4e36535bbb1f83202ef126ac5f83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling v_escape v0.12.1 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling v_htmlescape v0.10.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling shell-words v1.0.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling wild v2.0.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling yansi-term v0.1.2 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking buf-min v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.15 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling path_abs v0.5.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling annotate-snippets v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking toolchain_find v0.1.4 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling libz-sys v1.1.0 [INFO] [stderr] Compiling onig_sys v69.5.0 [INFO] [stderr] Compiling libgit2-sys v0.12.12+1.0.1 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling onig v6.0.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling proc-quote v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling v_eval v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling liquid-derive v0.20.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling v_escape_derive v0.8.1 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.38 [INFO] [stderr] Compiling yarte_html v0.12.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling git2 v0.13.10 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Compiling argonautica v0.2.1 (https://github.com/bcmyers/argonautica#67fc8d8d) [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Compiling kstring v0.1.2 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Compiling liquid-core v0.20.2 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking syntect v4.4.0 [INFO] [stderr] Compiling liquid-lib v0.20.2 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Compiling liquid v0.20.1 [INFO] [stderr] Compiling bat v0.15.4 [INFO] [stderr] Checking actix-identity v0.2.1 [INFO] [stderr] Checking yarte_helpers v0.12.2 [INFO] [stderr] Compiling yarte_parser v0.12.2 [INFO] [stderr] Compiling yarte_hir v0.12.2 [INFO] [stderr] Compiling yarte_dom v0.12.2 [INFO] [stderr] Compiling yarte_codegen v0.12.2 [INFO] [stderr] Compiling yarte_derive v0.12.2 [INFO] [stderr] Checking yarte v0.12.2 [INFO] [stderr] Checking pakreqWeb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Identity` [INFO] [stdout] --> src/main.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_identity::{CookieIdentityPolicy, Identity, IdentityService}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{http, http::StatusCode, middleware, web, App, Error, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `error` [INFO] [stdout] --> src/auth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, web, Error, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/auth.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{http, http::StatusCode, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::PgConnection` [INFO] [stdout] --> src/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestInput` [INFO] [stdout] --> src/db.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Oauth, Request, RequestInput, RequestStr, User}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `auth`, `db`, `models` [INFO] [stdout] --> src/oauth.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{auth, db, models, DbPool, BAD_REQUEST}; [INFO] [stdout] | ^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INTERNAL_ERR_RESPONSE`, `NOT_AUTHORIZED_RESPONSE` [INFO] [stdout] --> src/oauth.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::rest::{BAD_REQUEST_RETURN, INTERNAL_ERR_RESPONSE, NOT_AUTHORIZED_RESPONSE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `error` [INFO] [stdout] --> src/oauth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, web, Error, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/oauth.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{http, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/oauth.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey`, `EncodingKey`, `Header`, `Validation`, `decode`, `encode` [INFO] [stdout] --> src/oauth.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonwebtoken::{decode, encode, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identity` [INFO] [stdout] --> src/main.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_identity::{CookieIdentityPolicy, Identity, IdentityService}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/main.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{http, http::StatusCode, middleware, web, App, Error, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/oauth.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `error` [INFO] [stdout] --> src/auth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, web, Error, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/auth.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{http, http::StatusCode, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::PgConnection` [INFO] [stdout] --> src/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Iter`, `PathBuf` [INFO] [stdout] --> src/oauth.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Iter, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models` [INFO] [stdout] --> src/rest.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{auth, db, models, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `error` [INFO] [stdout] --> src/rest.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{error, web, Error, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/rest.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{http, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestInput` [INFO] [stdout] --> src/db.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Oauth, Request, RequestInput, RequestStr, User}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `auth`, `db`, `models` [INFO] [stdout] --> src/oauth.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{auth, db, models, DbPool, BAD_REQUEST}; [INFO] [stdout] | ^^^^ ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `INTERNAL_ERR_RESPONSE`, `NOT_AUTHORIZED_RESPONSE` [INFO] [stdout] --> src/oauth.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::rest::{BAD_REQUEST_RETURN, INTERNAL_ERR_RESPONSE, NOT_AUTHORIZED_RESPONSE}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `error` [INFO] [stdout] --> src/oauth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, web, Error, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/oauth.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{http, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/oauth.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DecodingKey`, `EncodingKey`, `Header`, `Validation`, `decode`, `encode` [INFO] [stdout] --> src/oauth.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonwebtoken::{decode, encode, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/oauth.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Iter`, `PathBuf` [INFO] [stdout] --> src/oauth.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Iter, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models` [INFO] [stdout] --> src/rest.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{auth, db, models, DbPool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `error` [INFO] [stdout] --> src/rest.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{error, web, Error, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> src/rest.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{http, http::StatusCode, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret` [INFO] [stdout] --> src/oauth.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | if let Ok(secret) = std::env::var("TG_BOT_SECRET") { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/oauth.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/oauth.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret` [INFO] [stdout] --> src/oauth.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | if let Ok(secret) = std::env::var("TG_BOT_SECRET") { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/oauth.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pool: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/oauth.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_by_oauth` [INFO] [stdout] --> src/db.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_user_by_oauth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_request_by_id` [INFO] [stdout] --> src/db.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn close_request_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_user` [INFO] [stdout] --> src/db.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn add_user(conn: &PgConnection, user_: User) -> Result<(), diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_oauth_info` [INFO] [stdout] --> src/db.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn add_oauth_info(conn: &PgConnection, info: Oauth) -> Result<(), diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `auth_date` [INFO] [stdout] --> src/oauth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | auth_date: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/oauth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hash` [INFO] [stdout] --> src/oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `photo_url` [INFO] [stdout] --> src/oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | photo_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `first_name` [INFO] [stdout] --> src/oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_name` [INFO] [stdout] --> src/oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | last_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | data: TgProfile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_jwt_token` [INFO] [stdout] --> src/rest.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | async fn validate_jwt_token(token: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_url` [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `pakreqWeb_rs` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pakreq_web_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_user_by_oauth` [INFO] [stdout] --> src/db.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_user_by_oauth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_request_by_id` [INFO] [stdout] --> src/db.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn close_request_by_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_user` [INFO] [stdout] --> src/db.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn add_user(conn: &PgConnection, user_: User) -> Result<(), diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_oauth_info` [INFO] [stdout] --> src/db.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn add_oauth_info(conn: &PgConnection, info: Oauth) -> Result<(), diesel::result::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `auth_date` [INFO] [stdout] --> src/oauth.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | auth_date: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/oauth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hash` [INFO] [stdout] --> src/oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | hash: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `photo_url` [INFO] [stdout] --> src/oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | photo_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `first_name` [INFO] [stdout] --> src/oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | first_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `last_name` [INFO] [stdout] --> src/oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | last_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | data: TgProfile, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `validate_jwt_token` [INFO] [stdout] --> src/rest.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | async fn validate_jwt_token(token: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `base_url` [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | base_url: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `pakreqWeb_rs` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `pakreq_web_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6m 48s [INFO] running `Command { std: "docker" "inspect" "ea92a7514e36a129df1607f7f2a785f23bbb4e36535bbb1f83202ef126ac5f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea92a7514e36a129df1607f7f2a785f23bbb4e36535bbb1f83202ef126ac5f83", kill_on_drop: false }` [INFO] [stdout] ea92a7514e36a129df1607f7f2a785f23bbb4e36535bbb1f83202ef126ac5f83