[INFO] cloning repository https://github.com/MaratGin/PoAVoteProject
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaratGin/PoAVoteProject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaratGin%2FPoAVoteProject", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaratGin%2FPoAVoteProject'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 86064924b9041a598589e8d5a4bcd367ca9031dc
[INFO] checking MaratGin/PoAVoteProject against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaratGin%2FPoAVoteProject" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MaratGin/PoAVoteProject
[INFO] finished tweaking git repo https://github.com/MaratGin/PoAVoteProject
[INFO] tweaked toml for git repo https://github.com/MaratGin/PoAVoteProject written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MaratGin/PoAVoteProject on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MaratGin/PoAVoteProject 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d
[INFO] running `Command { std: "docker" "start" "f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking crypto-bigint v0.2.11
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking const-oid v0.6.2
[INFO] [stderr]    Compiling winnow v0.6.13
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking miniz_oxide v0.7.3
[INFO] [stderr]     Checking der v0.4.5
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking brotli-decompressor v4.0.1
[INFO] [stderr]     Checking bytestring v1.3.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking base64ct v1.1.1
[INFO] [stderr]     Checking pem-rfc7468 v0.2.4
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling num-bigint-dig v0.7.1
[INFO] [stderr]    Compiling regex-lite v0.1.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking r2d2 v0.8.10
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking spki v0.4.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking impl-more v0.1.6
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking actix-rt v2.9.0
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking actix-tls v3.4.0
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.199
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking zeroize v1.4.3
[INFO] [stderr]     Checking pkcs1 v0.2.4
[INFO] [stderr]     Checking pkcs8 v0.7.6
[INFO] [stderr]     Checking zstd v0.13.1
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling dsl_auto_type v0.1.0
[INFO] [stderr]     Checking rsa v0.5.0
[INFO] [stderr]    Compiling diesel_derives v2.2.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking actix-server v2.3.0
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking toml_datetime v0.6.6
[INFO] [stderr]     Checking serde_spanned v0.6.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking toml_edit v0.22.14
[INFO] [stderr]    Compiling actix-web-codegen v4.2.2
[INFO] [stderr]     Checking diesel v2.2.0
[INFO] [stderr]     Checking toml v0.8.14
[INFO] [stderr]     Checking migrations_internals v2.2.0
[INFO] [stderr]    Compiling migrations_macros v2.2.0
[INFO] [stderr]     Checking actix-http v3.7.0
[INFO] [stderr]     Checking hyper v0.14.29
[INFO] [stderr]     Checking actix-web v4.6.0
[INFO] [stderr]     Checking awc v3.5.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking diesel_migrations v2.2.0
[INFO] [stderr]     Checking PoAVoteProject v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = votes)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = votes)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = votes)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = vote_validators)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = vote_validators)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = users)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = votes)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = votes)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = votes)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = vote_validators)]` instead
[INFO] [stderr] 
[INFO] [stderr] warning: #[table_name] attribute form is deprecated
[INFO] [stderr]   = help: use `#[diesel(table_name = vote_validators)]` instead
[INFO] [stderr] 
[INFO] [stdout] warning: unused import: `diesel::dsl::select`
[INFO] [stdout]  --> src/handlers/handlers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::dsl::select;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `id` and `name`
[INFO] [stdout]   --> src/handlers/handlers.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::models::schema::users::{id, name};
[INFO] [stdout]    |                                    ^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::Identifiable`
[INFO] [stdout]   --> src/handlers/handlers.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use diesel::Identifiable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]   --> src/handlers/handlers.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::models::user::{User,NewUser, NewUserRequest};
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::associations::HasTable`
[INFO] [stdout]  --> src/models/vote.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::associations::HasTable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `key_manager::ServerState`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use key_manager::ServerState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::sync::{Arc, Mutex};
[INFO] [stdout]    |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pkcs1::ToRsaPublicKey`
[INFO] [stdout]   --> src/main.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::{pkcs1::ToRsaPublicKey};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use diesel::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MigrationHarness`
[INFO] [stdout]   --> src/main.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 | use diesel_migrations::{MigrationHarness};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::dsl::select`
[INFO] [stdout]  --> src/handlers/handlers.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::dsl::select;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `id` and `name`
[INFO] [stdout]   --> src/handlers/handlers.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::models::schema::users::{id, name};
[INFO] [stdout]    |                                    ^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::Identifiable`
[INFO] [stdout]   --> src/handlers/handlers.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use diesel::Identifiable;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `User`
[INFO] [stdout]   --> src/handlers/handlers.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::models::user::{User,NewUser, NewUserRequest};
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::associations::HasTable`
[INFO] [stdout]  --> src/models/vote.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::associations::HasTable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `key_manager::ServerState`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use key_manager::ServerState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::sync::{Arc, Mutex};
[INFO] [stdout]    |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pkcs1::ToRsaPublicKey`
[INFO] [stdout]   --> src/main.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rsa::{pkcs1::ToRsaPublicKey};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use diesel::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MigrationHarness`
[INFO] [stdout]   --> src/main.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 | use diesel_migrations::{MigrationHarness};
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::App::<T>::data`: Use `.app_data(Data::new(val))` instead.
[INFO] [stdout]   --> src/main.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .data(pool.clone())
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `actix_web::App::<T>::data`: Use `.app_data(Data::new(val))` instead.
[INFO] [stdout]   --> src/main.rs:48:14
[INFO] [stdout]    |
[INFO] [stdout] 48 |             .data(pool.clone())
[INFO] [stdout]    |              ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/genesis_block.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         index: u64,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/genesis_block.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         hash: String,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/genesis_block.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         index: u64,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hash`
[INFO] [stdout]   --> src/genesis_block.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         hash: String,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteResponse` is never constructed
[INFO] [stdout]   --> src/handlers/handlers.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct VoteResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_get` is never used
[INFO] [stdout]   --> src/handlers/handlers.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn test_get()-> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startVoting` is never used
[INFO] [stdout]   --> src/handlers/handlers.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub async fn startVoting(data: web::Data<Mutex<Arc<ServerState>>>) -> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockHeader` is never constructed
[INFO] [stdout]  --> src/block.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct BlockHeader {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/block.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Block {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private_key` is never read
[INFO] [stdout]   --> src/key_manager.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ServerState {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 14 |    pub private_key: RsaPrivateKey,
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/key_manager.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl ServerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/genesis_block.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl GenesisBlock {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 31 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteValidator` is never constructed
[INFO] [stdout]   --> src/models/vote.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct VoteValidator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]  --> src/transaction.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Transaction {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startVoting` should have a snake case name
[INFO] [stdout]   --> src/handlers/handlers.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub async fn startVoting(data: web::Data<Mutex<Arc<ServerState>>>) -> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^^^^ help: convert the identifier to snake case: `start_voting`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:1:8
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[warn(non_snake_case)]
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ownerName` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub ownerName: String,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `owner_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `userNames` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub userNames: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `user_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `validatorNames` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub validatorNames: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isOpen` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub isOpen: bool,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `is_open`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isMulti` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub isMulti: bool,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `is_multi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteResponse` is never constructed
[INFO] [stdout]   --> src/handlers/handlers.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct VoteResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_get` is never used
[INFO] [stdout]   --> src/handlers/handlers.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn test_get()-> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startVoting` is never used
[INFO] [stdout]   --> src/handlers/handlers.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub async fn startVoting(data: web::Data<Mutex<Arc<ServerState>>>) -> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BlockHeader` is never constructed
[INFO] [stdout]  --> src/block.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct BlockHeader {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Block` is never constructed
[INFO] [stdout]   --> src/block.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Block {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private_key` is never read
[INFO] [stdout]   --> src/key_manager.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ServerState {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 14 |    pub private_key: RsaPrivateKey,
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/key_manager.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl ServerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/genesis_block.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl GenesisBlock {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] 31 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VoteValidator` is never constructed
[INFO] [stdout]   --> src/models/vote.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct VoteValidator {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Transaction` is never constructed
[INFO] [stdout]  --> src/transaction.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Transaction {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `startVoting` should have a snake case name
[INFO] [stdout]   --> src/handlers/handlers.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub async fn startVoting(data: web::Data<Mutex<Arc<ServerState>>>) -> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^^^^ help: convert the identifier to snake case: `start_voting`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:1:8
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[warn(non_snake_case)]
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `ownerName` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub ownerName: String,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `owner_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `userNames` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub userNames: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `user_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `validatorNames` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub validatorNames: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validator_names`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isOpen` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub isOpen: bool,
[INFO] [stdout]    |         ^^^^^^ help: convert the identifier to snake case: `is_open`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `isMulti` should have a snake case name
[INFO] [stdout]   --> src/models/vote.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub isMulti: bool,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `is_multi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s
[INFO] running `Command { std: "docker" "inspect" "f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d", kill_on_drop: false }`
[INFO] [stdout] f7a5b193ebbeb2e4ffc0c1caf958591d26381ca22b117fa70e664c544a02264d
