[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] testing theDewill/PayGo against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [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 b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7716a466bded309c2f8ec7c5938c2c73d4e4e2d3de0c03ade9ae7b961a4ced3c [INFO] running `Command { std: "docker" "start" "-a" "7716a466bded309c2f8ec7c5938c2c73d4e4e2d3de0c03ade9ae7b961a4ced3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7716a466bded309c2f8ec7c5938c2c73d4e4e2d3de0c03ade9ae7b961a4ced3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7716a466bded309c2f8ec7c5938c2c73d4e4e2d3de0c03ade9ae7b961a4ced3c", kill_on_drop: false }` [INFO] [stdout] 7716a466bded309c2f8ec7c5938c2c73d4e4e2d3de0c03ade9ae7b961a4ced3c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d45aa738335c2f0824ab60d754772169d5df76a1e58343eb6ed5b47755ed5d9a [INFO] running `Command { std: "docker" "start" "-a" "d45aa738335c2f0824ab60d754772169d5df76a1e58343eb6ed5b47755ed5d9a", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling h2 v0.3.26 [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-codec v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Compiling actix-server v2.4.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling actix-http v3.8.0 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Compiling url v2.5.1 [INFO] [stderr] Compiling actix-web v4.7.0 [INFO] [stderr] Compiling 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::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::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[E0412]: cannot find type `SourceTypes` in this scope [INFO] [stdout] --> src/security/decryptor.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub sources : Vec, //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`, found `HttpServer<{closure@...}, ..., ..., ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HttpServer` [INFO] [stdout] found struct `HttpServer<{closure@src/server/mod.rs:73:42: 73:49}, App, actix_web::app_service::AppInit, 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) { [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) { [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` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` 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>` 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>` [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: 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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/server/mod.rs:53:17 [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] [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 = Arc::clone(>); [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] Some errors have detailed explanations: E0277, E0308, E0412, 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") due to 14 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d45aa738335c2f0824ab60d754772169d5df76a1e58343eb6ed5b47755ed5d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45aa738335c2f0824ab60d754772169d5df76a1e58343eb6ed5b47755ed5d9a", kill_on_drop: false }` [INFO] [stdout] d45aa738335c2f0824ab60d754772169d5df76a1e58343eb6ed5b47755ed5d9a