[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] building MaratGin/PoAVoteProject against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaratGin%2FPoAVoteProject" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MaratGin/PoAVoteProject on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded der v0.4.5 [INFO] [stderr] Downloaded pem-rfc7468 v0.2.4 [INFO] [stderr] Downloaded spki v0.4.1 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.7 [INFO] [stderr] Downloaded regex-lite v0.1.5 [INFO] [stderr] Downloaded crypto-bigint v0.2.11 [INFO] [stderr] Downloaded actix-web-codegen v4.2.2 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Downloaded actix-server v2.3.0 [INFO] [stderr] Downloaded actix-rt v2.9.0 [INFO] [stderr] Downloaded darling v0.20.9 [INFO] [stderr] Downloaded derive_more v0.99.17 [INFO] [stderr] Downloaded diesel v2.2.0 [INFO] [stderr] Downloaded darling_core v0.20.9 [INFO] [stderr] Downloaded dsl_auto_type v0.1.0 [INFO] [stderr] Downloaded migrations_macros v2.2.0 [INFO] [stderr] Downloaded num-bigint-dig v0.7.1 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded actix-http v3.7.0 [INFO] [stderr] Downloaded hyper v0.14.29 [INFO] [stderr] Downloaded r2d2 v0.8.10 [INFO] [stderr] Downloaded actix-web v4.6.0 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded digest v0.9.0 [INFO] [stderr] Downloaded base64ct v1.1.1 [INFO] [stderr] Downloaded pkcs1 v0.2.4 [INFO] [stderr] Downloaded zeroize v1.4.3 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded awc v3.5.0 [INFO] [stderr] Downloaded darling_macro v0.20.9 [INFO] [stderr] Downloaded migrations_internals v2.2.0 [INFO] [stderr] Downloaded diesel_migrations v2.2.0 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded const-oid v0.6.2 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded pkcs8 v0.7.6 [INFO] [stderr] Downloaded rsa v0.5.0 [INFO] [stderr] Downloaded diesel_derives v2.2.0 [INFO] [stderr] Downloaded zeroize_derive v1.4.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0c2874cf20d505c1df09019ee75915aa6ce5c44288c3450a40b99452d9d6b00 [INFO] running `Command { std: "docker" "start" "-a" "e0c2874cf20d505c1df09019ee75915aa6ce5c44288c3450a40b99452d9d6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0c2874cf20d505c1df09019ee75915aa6ce5c44288c3450a40b99452d9d6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c2874cf20d505c1df09019ee75915aa6ce5c44288c3450a40b99452d9d6b00", kill_on_drop: false }` [INFO] [stdout] e0c2874cf20d505c1df09019ee75915aa6ce5c44288c3450a40b99452d9d6b00 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e48957b16e32de98936c741c7900bd17bd8b7b573837c8d1610a806f3d81d9eb [INFO] running `Command { std: "docker" "start" "-a" "e48957b16e32de98936c741c7900bd17bd8b7b573837c8d1610a806f3d81d9eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling winnow v0.6.13 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling num-bigint-dig v0.7.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rsa v0.5.0 [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] Compiling diesel_derives v2.2.0 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling toml_edit v0.22.14 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling diesel v2.2.0 [INFO] [stderr] Compiling toml v0.8.14 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling actix-http v3.7.0 [INFO] [stderr] Compiling migrations_internals v2.2.0 [INFO] [stderr] Compiling migrations_macros v2.2.0 [INFO] [stderr] Compiling actix-web v4.6.0 [INFO] [stderr] Compiling awc v3.5.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling diesel_migrations v2.2.0 [INFO] [stderr] Compiling 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] [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::::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: 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>>) -> 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>>) -> 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, [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, [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 57s [INFO] running `Command { std: "docker" "inspect" "e48957b16e32de98936c741c7900bd17bd8b7b573837c8d1610a806f3d81d9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48957b16e32de98936c741c7900bd17bd8b7b573837c8d1610a806f3d81d9eb", kill_on_drop: false }` [INFO] [stdout] e48957b16e32de98936c741c7900bd17bd8b7b573837c8d1610a806f3d81d9eb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3af6ab2e54afec2ea5b520138bf0b4a3b4d64e73661a0218897d30704404ed61 [INFO] running `Command { std: "docker" "start" "-a" "3af6ab2e54afec2ea5b520138bf0b4a3b4d64e73661a0218897d30704404ed61", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [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::::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: 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>>) -> 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>>) -> 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, [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, [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 `test` profile [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "3af6ab2e54afec2ea5b520138bf0b4a3b4d64e73661a0218897d30704404ed61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af6ab2e54afec2ea5b520138bf0b4a3b4d64e73661a0218897d30704404ed61", kill_on_drop: false }` [INFO] [stdout] 3af6ab2e54afec2ea5b520138bf0b4a3b4d64e73661a0218897d30704404ed61