[INFO] cloning repository https://github.com/ocebr/yolo_enrollement [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ocebr/yolo_enrollement" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focebr%2Fyolo_enrollement", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focebr%2Fyolo_enrollement'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ab5897f59fa50665f9f08fe97b13aad80bbd91d [INFO] checking ocebr/yolo_enrollement against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focebr%2Fyolo_enrollement" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ocebr/yolo_enrollement on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ocebr/yolo_enrollement [INFO] finished tweaking git repo https://github.com/ocebr/yolo_enrollement [INFO] tweaked toml for git repo https://github.com/ocebr/yolo_enrollement written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ocebr/yolo_enrollement 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-stream v0.2.1 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded async-stream-impl v0.2.1 [INFO] [stderr] Downloaded sqlx-core v0.3.5 [INFO] [stderr] Downloaded md-5 v0.8.0 [INFO] [stderr] Downloaded validator_derive v0.14.0 [INFO] [stderr] Downloaded sqlx v0.3.5 [INFO] [stderr] Downloaded sqlx-macros v0.3.5 [INFO] [stderr] Downloaded actix-web-httpauth v0.5.1 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded bindgen v0.48.1 [INFO] [stderr] Downloaded reqwest v0.11.8 [INFO] [stderr] Downloaded argonautica v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b091822c88e456c9899f389feaa61ff8521045e045a588ac1a70dc21937d9c21 [INFO] running `Command { std: "docker" "start" "-a" "b091822c88e456c9899f389feaa61ff8521045e045a588ac1a70dc21937d9c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b091822c88e456c9899f389feaa61ff8521045e045a588ac1a70dc21937d9c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b091822c88e456c9899f389feaa61ff8521045e045a588ac1a70dc21937d9c21", kill_on_drop: false }` [INFO] [stdout] b091822c88e456c9899f389feaa61ff8521045e045a588ac1a70dc21937d9c21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23403cb870e20507e0475e8912228cedb51b77f5f94109022730c29f22a92440 [INFO] running `Command { std: "docker" "start" "-a" "23403cb870e20507e0475e8912228cedb51b77f5f94109022730c29f22a92440", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking indexmap v1.8.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling validator_types v0.14.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Compiling validator_derive v0.14.0 [INFO] [stderr] Checking validator v0.14.0 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking actix-http v2.2.1 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking actix-cors v0.5.4 [INFO] [stderr] Checking actix-web-httpauth v0.5.1 [INFO] [stderr] Checking enrolement v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Verifier` and `input::Salt` [INFO] [stdout] --> src/config/crypto.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use argonautica::{Hasher,Verifier,input::Salt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/db/user.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web::Data, FromRequest ,HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AppResponse` [INFO] [stdout] --> src/handlers/authentication.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::AppResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppErrorCode` and `Auth` [INFO] [stdout] --> src/handlers/authentication.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | config::crypto::{Auth, CryptoService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | db::user::UserRepository, [INFO] [stdout] 5 | errors::{AppErrorCode,AppError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `dev::HttpResponseBuilder`, `http::Cookie`, `web::Form`, and `web::Json` [INFO] [stdout] --> src/handlers/authentication.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{web::Data,web::Form, FromRequest, HttpResponse,http::Cookie, dev::HttpResponseBuilder,web::Json}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/handlers/authentication.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize,Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Verifier` and `input::Salt` [INFO] [stdout] --> src/config/crypto.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use argonautica::{Hasher,Verifier,input::Salt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/db/user.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{web::Data, FromRequest ,HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder` and `web` [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use actix_web::{web, App, HttpServer, Responder, middleware::Logger}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::HttpResponse` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AppResponse` [INFO] [stdout] --> src/handlers/authentication.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::AppResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppErrorCode` and `Auth` [INFO] [stdout] --> src/handlers/authentication.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | config::crypto::{Auth, CryptoService}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | db::user::UserRepository, [INFO] [stdout] 5 | errors::{AppErrorCode,AppError}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HttpResponse`, `dev::HttpResponseBuilder`, `http::Cookie`, `web::Form`, and `web::Json` [INFO] [stdout] --> src/handlers/authentication.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{web::Data,web::Form, FromRequest, HttpResponse,http::Cookie, dev::HttpResponseBuilder,web::Json}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/handlers/authentication.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize,Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder` and `web` [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use actix_web::{web, App, HttpServer, Responder, middleware::Logger}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::HttpResponse` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use actix_web::HttpResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_pass` [INFO] [stdout] --> src/db/user.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let info_pass = sqlx::query_as::<_, Userpass>( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_pass` [INFO] [stdout] --> src/db/user.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let info_pass = sqlx::query_as::<_, Userpass>( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_pass` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_to_suppr` [INFO] [stdout] --> src/db/user.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn db_suppr_account(&self,id_to_suppr : Uuid){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_to_suppr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_to_suppr` [INFO] [stdout] --> src/db/user.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn db_suppr_account(&self,id_to_suppr : Uuid){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_to_suppr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers/user.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn get_users(user: AuthenticatedUser,repository: UserRepository) -> AppResponse { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repository` [INFO] [stdout] --> src/handlers/user.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | pub async fn get_users(user: AuthenticatedUser,repository: UserRepository) -> AppResponse { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repository` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `suppr` [INFO] [stdout] --> src/handlers/user.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let suppr = repository.db_suppr_account(user.0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_suppr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `suppr` [INFO] [stdout] --> src/handlers/user.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let suppr = repository.db_suppr_account(user.0); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_suppr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer_result` [INFO] [stdout] --> src/handlers/authentication.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let bearer_result = BearerAuth::from_request(req, payload).into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/handlers/authentication.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(cookie) => ready(Ok( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/authentication.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | payload: &mut actix_web::dev::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer_result` [INFO] [stdout] --> src/handlers/authentication.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let bearer_result = BearerAuth::from_request(req, payload).into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cookie` [INFO] [stdout] --> src/handlers/authentication.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(cookie) => ready(Ok( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/handlers/authentication.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | payload: &mut actix_web::dev::Payload, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> src/models/user.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Userpass { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub password_hash : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Userpass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `password_hash` is never read [INFO] [stdout] --> src/models/user.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Userpass { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub password_hash : String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Userpass` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3, nom v5.1.2, sqlx-macros v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "23403cb870e20507e0475e8912228cedb51b77f5f94109022730c29f22a92440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23403cb870e20507e0475e8912228cedb51b77f5f94109022730c29f22a92440", kill_on_drop: false }` [INFO] [stdout] 23403cb870e20507e0475e8912228cedb51b77f5f94109022730c29f22a92440