[INFO] cloning repository https://github.com/theDewill/PayGo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theDewill/PayGo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheDewill%2FPayGo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheDewill%2FPayGo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 46a361a1d0b70ca04f1496c30dab40c5df7c4732
[INFO] checking theDewill/PayGo against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheDewill%2FPayGo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/theDewill/PayGo
[INFO] finished tweaking git repo https://github.com/theDewill/PayGo
[INFO] tweaked toml for git repo https://github.com/theDewill/PayGo written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/theDewill/PayGo on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/theDewill/PayGo 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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded actix-http v3.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3771ecfa3fc967723af1c24c458706c1d3aabc1409302e7a17b6ad22a5da8289
[INFO] running `Command { std: "docker" "start" "-a" "3771ecfa3fc967723af1c24c458706c1d3aabc1409302e7a17b6ad22a5da8289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3771ecfa3fc967723af1c24c458706c1d3aabc1409302e7a17b6ad22a5da8289", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3771ecfa3fc967723af1c24c458706c1d3aabc1409302e7a17b6ad22a5da8289", kill_on_drop: false }`
[INFO] [stdout] 3771ecfa3fc967723af1c24c458706c1d3aabc1409302e7a17b6ad22a5da8289
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1bac30acb0fea2b33e8e7059c74a8ed9a04981e6a8a91b9a04f7252628c3813
[INFO] running `Command { std: "docker" "start" "-a" "d1bac30acb0fea2b33e8e7059c74a8ed9a04981e6a8a91b9a04f7252628c3813", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking litemap v0.7.3
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]     Checking lock_api v0.4.12
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking miniz_oxide v0.7.3
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking slab v0.4.9
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking brotli-decompressor v4.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking zerocopy v0.7.34
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]    Compiling zstd-sys v2.0.11+zstd.1.5.6
[INFO] [stderr]     Checking regex v1.10.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling zerovec-derive v0.10.2
[INFO] [stderr]    Compiling displaydoc v0.2.4
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking actix-server v2.4.0
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking zerofrom v0.1.4
[INFO] [stderr]     Checking yoke v0.7.4
[INFO] [stderr]     Checking zerovec v0.10.2
[INFO] [stderr]     Checking zstd v0.13.1
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.0
[INFO] [stderr]     Checking actix-http v3.8.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna v1.0.0
[INFO] [stderr]     Checking url v2.5.1
[INFO] [stderr]     Checking actix-web v4.7.0
[INFO] [stderr]     Checking TerraPay v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `::`, found `=`
[INFO] [stdout]   --> src/main.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let server : <Server> = Server::new(HashMap::new()); // server init
[INFO] [stdout]    |                -          ^ expected `::`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                while parsing the type for `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `secrets`
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod secrets;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `secrets`, create file "src/secrets.rs" or "src/secrets/mod.rs"
[INFO] [stdout]   = note: if there is a `mod secrets` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `::`, found `=`
[INFO] [stdout]   --> src/main.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let server : <Server> = Server::new(HashMap::new()); // server init
[INFO] [stdout]    |                -          ^ expected `::`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                while parsing the type for `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `secrets`
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod secrets;
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `secrets`, create file "src/secrets.rs" or "src/secrets/mod.rs"
[INFO] [stdout]   = note: if there is a `mod secrets` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `::`
[INFO] [stdout]   --> src/main.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let server : <Server> = Server::new(HashMap::new()); // server init
[INFO] [stdout]    |                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `::`
[INFO] [stdout]   --> src/main.rs:25:27
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let server : <Server> = Server::new(HashMap::new()); // server init
[INFO] [stdout]    |                           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aes::cipher::NewCipher`
[INFO] [stdout]  --> src/security/encryptor.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use aes::cipher::{NewCipher, StreamCipher};
[INFO] [stdout]   |                   ^^^^^^^^^ no `NewCipher` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aes::ctr`
[INFO] [stdout]  --> src/security/encryptor.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | use aes::ctr::CtrStream;
[INFO] [stdout]   |          ^^^ could not find `ctr` in `aes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SourceTypes` in this scope
[INFO] [stdout]  --> src/security/decryptor.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub sources : Vec<SourceTypes>, //this is the array of items to decrypt
[INFO] [stdout]   |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]   |
[INFO] [stdout] 2 + use crate::SourceTypes;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aes::Aes256`
[INFO] [stdout]  --> src/security/encryptor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::Aes256;
[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 import: `StreamCipher`
[INFO] [stdout]  --> src/security/encryptor.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use aes::cipher::{NewCipher, StreamCipher};
[INFO] [stdout]   |                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/security/encryptor.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get`
[INFO] [stdout]  --> src/server/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     get,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Encryptor` and `SourceTypes`
[INFO] [stdout]  --> src/main.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use security::{encryptor::{Encryptor, SourceTypes}};
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpResponse`, `HttpServer`, `Responder`, `get`, `post`, and `web`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout]    |                 ^^^  ^^^^  ^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aes::cipher::NewCipher`
[INFO] [stdout]  --> src/security/encryptor.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use aes::cipher::{NewCipher, StreamCipher};
[INFO] [stdout]   |                   ^^^^^^^^^ no `NewCipher` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aes::ctr`
[INFO] [stdout]  --> src/security/encryptor.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | use aes::ctr::CtrStream;
[INFO] [stdout]   |          ^^^ could not find `ctr` in `aes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SourceTypes` in this scope
[INFO] [stdout]  --> src/security/decryptor.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub sources : Vec<SourceTypes>, //this is the array of items to decrypt
[INFO] [stdout]   |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum through its public re-export
[INFO] [stdout]   |
[INFO] [stdout] 2 + use crate::SourceTypes;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `aes::Aes256`
[INFO] [stdout]  --> src/security/encryptor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use aes::Aes256;
[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 import: `StreamCipher`
[INFO] [stdout]  --> src/security/encryptor.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use aes::cipher::{NewCipher, StreamCipher};
[INFO] [stdout]   |                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/security/encryptor.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get`
[INFO] [stdout]  --> src/server/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     get,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Encryptor` and `SourceTypes`
[INFO] [stdout]  --> src/main.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use security::{encryptor::{Encryptor, SourceTypes}};
[INFO] [stdout]   |                            ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fmt::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpResponse`, `HttpServer`, `Responder`, `get`, `post`, and `web`
[INFO] [stdout]   --> src/main.rs:11:17
[INFO] [stdout]    |
[INFO] [stdout] 11 | use actix_web::{get, post, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout]    |                 ^^^  ^^^^  ^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/server/mod.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<'a, F, I, S, B: Any> Server<'a, F, I, S, B>
[INFO] [stdout]    |          - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 73 |         let tmp_server = HttpServer::new(move || {
[INFO] [stdout]    |                                          ------- the found closure
[INFO] [stdout] ...
[INFO] [stdout] 82 |             server: tmp_server,
[INFO] [stdout]    |                     ^^^^^^^^^^ expected `HttpServer<F, I, S, B>`, found `HttpServer<{closure@...}, ..., ..., ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `HttpServer<F, I, S, B>`
[INFO] [stdout]               found struct `HttpServer<{closure@src/server/mod.rs:73:42: 73:49}, App<actix_web::app_service::AppEntry>, actix_web::app_service::AppInit<actix_web::app_service::AppEntry, BoxBody>, BoxBody>`
[INFO] [stdout]    = help: every closure has a distinct type and so could not always match the caller-chosen type of parameter `F`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/server/mod.rs:82:21
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<'a, F, I, S, B: Any> Server<'a, F, I, S, B>
[INFO] [stdout]    |          - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 73 |         let tmp_server = HttpServer::new(move || {
[INFO] [stdout]    |                                          ------- the found closure
[INFO] [stdout] ...
[INFO] [stdout] 82 |             server: tmp_server,
[INFO] [stdout]    |                     ^^^^^^^^^^ expected `HttpServer<F, I, S, B>`, found `HttpServer<{closure@...}, ..., ..., ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `HttpServer<F, I, S, B>`
[INFO] [stdout]               found struct `HttpServer<{closure@src/server/mod.rs:73:42: 73:49}, App<actix_web::app_service::AppEntry>, actix_web::app_service::AppInit<actix_web::app_service::AppEntry, BoxBody>, BoxBody>`
[INFO] [stdout]    = help: every closure has a distinct type and so could not always match the caller-chosen type of parameter `F`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/mod.rs:90:30
[INFO] [stdout]     |
[INFO] [stdout]  90 |                     .workers(t)
[INFO] [stdout]     |                      ------- ^ expected `usize`, found `u8`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.7.0/src/server.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn workers(mut self, num: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: you can convert a `u8` to a `usize`
[INFO] [stdout]     |
[INFO] [stdout]  90 |                     .workers(t.into())
[INFO] [stdout]     |                               +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/server/mod.rs:91:47
[INFO] [stdout]    |
[INFO] [stdout] 86 |       pub async fn start(&self, port: u16, threads: Option<u8>) {
[INFO] [stdout]    |  _______________________________________________________________-
[INFO] [stdout] 87 | |         match threads {
[INFO] [stdout] 88 | |             Some(t) => {
[INFO] [stdout] 89 | |                 self.server
[INFO] [stdout] 90 | |                     .workers(t)
[INFO] [stdout] 91 | |                     .bind(("127.0.0.1", port))?
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |     }
[INFO] [stdout]    | |_____- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/server/mod.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 | /                 self.server
[INFO] [stdout] 90 | |                     .workers(t)
[INFO] [stdout] 91 | |                     .bind(("127.0.0.1", port))?
[INFO] [stdout] 92 | |                     .run()
[INFO] [stdout] 93 | |                     .await
[INFO] [stdout]    | |__________________________^ expected `()`, found `Result<(), Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), std::io::Error>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), std::io::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 93 |                     .await.expect("REASON")
[INFO] [stdout]    |                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/server/mod.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 86 |       pub async fn start(&self, port: u16, threads: Option<u8>) {
[INFO] [stdout]    |  _______________________________________________________________-
[INFO] [stdout] 87 | |         match threads {
[INFO] [stdout] 88 | |             Some(t) => {
[INFO] [stdout] 89 | |                 self.server
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |             None => self.server.bind(("127.0.0.1", port))?.run().await,
[INFO] [stdout]    | |                                                          ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 97 | |         }
[INFO] [stdout] 98 | |     }
[INFO] [stdout]    | |_____- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/server/mod.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |             None => self.server.bind(("127.0.0.1", port))?.run().await,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), std::io::Error>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), std::io::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 96 |             None => self.server.bind(("127.0.0.1", port))?.run().await.expect("REASON"),
[INFO] [stdout]    |                                                                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server/mod.rs:90:30
[INFO] [stdout]     |
[INFO] [stdout]  90 |                     .workers(t)
[INFO] [stdout]     |                      ------- ^ expected `usize`, found `u8`
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.7.0/src/server.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn workers(mut self, num: usize) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] help: you can convert a `u8` to a `usize`
[INFO] [stdout]     |
[INFO] [stdout]  90 |                     .workers(t.into())
[INFO] [stdout]     |                               +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/security/encryptor.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             algo : algo
[INFO] [stdout]    |                    ^^^^ expected `String`, found `Option<String>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Option<String>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<String>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 34 |             algo : algo.expect("REASON")
[INFO] [stdout]    |                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/server/mod.rs:91:47
[INFO] [stdout]    |
[INFO] [stdout] 86 |       pub async fn start(&self, port: u16, threads: Option<u8>) {
[INFO] [stdout]    |  _______________________________________________________________-
[INFO] [stdout] 87 | |         match threads {
[INFO] [stdout] 88 | |             Some(t) => {
[INFO] [stdout] 89 | |                 self.server
[INFO] [stdout] 90 | |                     .workers(t)
[INFO] [stdout] 91 | |                     .bind(("127.0.0.1", port))?
[INFO] [stdout]    | |                                               ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 98 | |     }
[INFO] [stdout]    | |_____- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/server/mod.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 | /                 self.server
[INFO] [stdout] 90 | |                     .workers(t)
[INFO] [stdout] 91 | |                     .bind(("127.0.0.1", port))?
[INFO] [stdout] 92 | |                     .run()
[INFO] [stdout] 93 | |                     .await
[INFO] [stdout]    | |__________________________^ expected `()`, found `Result<(), Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), std::io::Error>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), std::io::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 93 |                     .await.expect("REASON")
[INFO] [stdout]    |                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/server/mod.rs:96:58
[INFO] [stdout]    |
[INFO] [stdout] 86 |       pub async fn start(&self, port: u16, threads: Option<u8>) {
[INFO] [stdout]    |  _______________________________________________________________-
[INFO] [stdout] 87 | |         match threads {
[INFO] [stdout] 88 | |             Some(t) => {
[INFO] [stdout] 89 | |                 self.server
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |             None => self.server.bind(("127.0.0.1", port))?.run().await,
[INFO] [stdout]    | |                                                          ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] 97 | |         }
[INFO] [stdout] 98 | |     }
[INFO] [stdout]    | |_____- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/server/mod.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |             None => self.server.bind(("127.0.0.1", port))?.run().await,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), std::io::Error>`
[INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), std::io::Error>` value, panicking if the value is a `Result::Err`
[INFO] [stdout]    |
[INFO] [stdout] 96 |             None => self.server.bind(("127.0.0.1", port))?.run().await.expect("REASON"),
[INFO] [stdout]    |                                                                       +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/security/encryptor.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |             algo : algo
[INFO] [stdout]    |                    ^^^^ expected `String`, found `Option<String>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `String`
[INFO] [stdout]                 found enum `Option<String>`
[INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option<String>` value, panicking if the value is an `Option::None`
[INFO] [stdout]    |
[INFO] [stdout] 34 |             algo : algo.expect("REASON")
[INFO] [stdout]    |                        +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `start` found for opaque type `impl std::future::Future<Output = server::Server<'_, _, _, _, _>>` in the current scope
[INFO] [stdout]   --> src/main.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     server.start();
[INFO] [stdout]    |            ^^^^^ method not found in `impl std::future::Future<Output = server::Server<'_, _, _, _, _>>`
[INFO] [stdout]    |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     server.await.start();
[INFO] [stdout]    |            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut gt2: Arc<GatewayState> = Arc::clone(&gt);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut data = gt2.stateData.lock().unwrap();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut gt = Arc::new(GatewayState {
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/server/mod.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut data = gt2.stateData.lock().unwrap();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t1`
[INFO] [stdout]   --> src/server/mod.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let t1 = thread::spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `start` found for opaque type `impl std::future::Future<Output = server::Server<'_, _, _, _, _>>` in the current scope
[INFO] [stdout]   --> src/main.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     server.start();
[INFO] [stdout]    |            ^^^^^ method not found in `impl std::future::Future<Output = server::Server<'_, _, _, _, _>>`
[INFO] [stdout]    |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]    |
[INFO] [stdout] 26 |     server.await.start();
[INFO] [stdout]    |            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut gt2: Arc<GatewayState> = Arc::clone(&gt);
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut data = gt2.stateData.lock().unwrap();
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server/mod.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut gt = Arc::new(GatewayState {
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/server/mod.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut data = gt2.stateData.lock().unwrap();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t1`
[INFO] [stdout]   --> src/server/mod.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let t1 = thread::spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_t1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `TerraPay` (bin "TerraPay" test) due to 14 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `TerraPay` (bin "TerraPay") due to 14 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d1bac30acb0fea2b33e8e7059c74a8ed9a04981e6a8a91b9a04f7252628c3813", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1bac30acb0fea2b33e8e7059c74a8ed9a04981e6a8a91b9a04f7252628c3813", kill_on_drop: false }`
[INFO] [stdout] d1bac30acb0fea2b33e8e7059c74a8ed9a04981e6a8a91b9a04f7252628c3813
