[INFO] cloning repository https://github.com/Salka1988/client-server-exercise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Salka1988/client-server-exercise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalka1988%2Fclient-server-exercise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalka1988%2Fclient-server-exercise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 722cc2a1f08c1539def4011783ec32d23ea17148 [INFO] testing Salka1988/client-server-exercise against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalka1988%2Fclient-server-exercise" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Salka1988/client-server-exercise on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Salka1988/client-server-exercise [INFO] finished tweaking git repo https://github.com/Salka1988/client-server-exercise [INFO] tweaked toml for git repo https://github.com/Salka1988/client-server-exercise written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Salka1988/client-server-exercise already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bed4731d7bba62a485ec71e711e777bc3255d73d09153ecee1b38f8b069d39c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4bed4731d7bba62a485ec71e711e777bc3255d73d09153ecee1b38f8b069d39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bed4731d7bba62a485ec71e711e777bc3255d73d09153ecee1b38f8b069d39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bed4731d7bba62a485ec71e711e777bc3255d73d09153ecee1b38f8b069d39c", kill_on_drop: false }` [INFO] [stdout] 4bed4731d7bba62a485ec71e711e777bc3255d73d09153ecee1b38f8b069d39c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b8931a72d130cd302ab4f63c74b8042253bf7a7c169621408ad7c025205bf94 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4b8931a72d130cd302ab4f63c74b8042253bf7a7c169621408ad7c025205bf94", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling gimli v0.26.0 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling tokio-serde v0.6.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling cron v0.6.1 [INFO] [stderr] Compiling job_scheduler v1.2.1 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling server_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AtomicU32`, `AtomicUsize` [INFO] [stdout] --> src/types/summary.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicU32, AtomicUsize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/summary.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut range = rand::thread_rng().gen_range(0.000000, 1.500000) as f32; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/summary.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut len = self.values.len(); [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/types/summary.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut currencies: Vec>> = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/bin/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/bin/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server_client::Currency` [INFO] [stdout] --> src/bin/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use server_client::Currency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/client.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 14 | / loop { [INFO] [stdout] 15 | | match TcpStream::connect("localhost:3333") { [INFO] [stdout] 16 | | Ok(mut stream) => { [INFO] [stdout] 17 | | println!("Successfully connected to server in port 3333"); [INFO] [stdout] ... | [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 53 | println!("Terminated."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/bin/server.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/bin/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server_client::Currency` [INFO] [stdout] --> src/bin/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use server_client::Currency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/bin/server.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(size) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/dbdummy.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/bin/dbdummy.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU32`, `AtomicUsize`, `Ordering` [INFO] [stdout] --> src/bin/dbdummy.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::atomic::{AtomicU32, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/bin/dbdummy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromRequest`, `HttpRequest`, `dev` [INFO] [stdout] --> src/bin/dbdummy.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::{App, HttpServer, middleware, FromRequest, HttpRequest, dev}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Json` [INFO] [stdout] --> src/bin/dbdummy.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use actix_web::web::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/bin/dbdummy.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/bin/dbdummy.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server_client::Currency` [INFO] [stdout] --> src/bin/dbdummy.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use server_client::Currency; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CurrencyEnum` [INFO] [stdout] --> src/bin/dbdummy.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | use server_client::types::summary::{CurrencyEnum, Currencies}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/bin/dbdummy.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Ready` [INFO] [stdout] --> src/bin/dbdummy.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::future::Ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorBadRequest`, `ErrorUnauthorized` [INFO] [stdout] --> src/bin/dbdummy.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | use actix_web::error::{ErrorBadRequest, ErrorUnauthorized}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::dev::Payload` [INFO] [stdout] --> src/bin/dbdummy.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use actix_web::dev::Payload; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/bin/dbdummy.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bin/dbdummy.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/dbdummy.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let mut guard = ARRAY.try_read().unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/dbdummy.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn get_currency(path: Path<(String,)>) -> HttpResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.dbdummy.64bc5b28-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678.2pgx3epg4v8w1h0h.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/brotli-sys-456d0f83525ec5d5/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-846014a737f7c921.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-b126e2ab944ff130.rlib" "/opt/rustwide/target/debug/deps/libatty-89e1febe621a610f.rlib" "/opt/rustwide/target/debug/deps/libhumantime-91ca063d910be691.rlib" "/opt/rustwide/target/debug/deps/libserver_client-a207d323d1123f21.rlib" "/opt/rustwide/target/debug/deps/librand-6fb50811c494a9e6.rlib" "/opt/rustwide/target/debug/deps/librand_core-2be1dd7fb302b8f4.rlib" "/opt/rustwide/target/debug/deps/librand_core-8951c9ba3b1758eb.rlib" "/opt/rustwide/target/debug/deps/libjob_scheduler-1f35c6d28864ff1c.rlib" "/opt/rustwide/target/debug/deps/libuuid-488016172a4dccd4.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-ae83856fd6fbc8ff.rlib" "/opt/rustwide/target/debug/deps/libcron-cd0a2397badde6af.rlib" "/opt/rustwide/target/debug/deps/liberror_chain-791ba8c42c7e6db5.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-d2c163146fa95edd.rlib" "/opt/rustwide/target/debug/deps/libobject-4112516c39b35e9b.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-5f328b3dbff4206c.rlib" "/opt/rustwide/target/debug/deps/libgimli-2f05bfde1a29415c.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-ebf1bae139d6c8cf.rlib" "/opt/rustwide/target/debug/deps/libnom-422162ae9d21e23d.rlib" "/opt/rustwide/target/debug/deps/libchrono-dd6576e18b895ffa.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-f7b6730884088ff3.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-80b3e0a44ca31d95.rlib" "/opt/rustwide/target/debug/deps/libtime-775ac55674129964.rlib" "/opt/rustwide/target/debug/deps/libactix_web-f3176045633f13a7.rlib" "/opt/rustwide/target/debug/deps/libactix_tls-22bb5101ef11a97f.rlib" "/opt/rustwide/target/debug/deps/libawc-4bb9b71d405ad111.rlib" "/opt/rustwide/target/debug/deps/libactix_server-b49abca3b62af09b.rlib" "/opt/rustwide/target/debug/deps/libsocket2-22656278c761b46a.rlib" "/opt/rustwide/target/debug/deps/libactix_router-457e269f14196574.rlib" "/opt/rustwide/target/debug/deps/libbytestring-c5aeca0c4eec74eb.rlib" "/opt/rustwide/target/debug/deps/libactix_http-44c7e4828e165523.rlib" "/opt/rustwide/target/debug/deps/libbase64-bff61f2d1660603b.rlib" "/opt/rustwide/target/debug/deps/libhttparse-5c6b7ae8933d4bd8.rlib" "/opt/rustwide/target/debug/deps/libsha1-b91f2a58a2eed325.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-ffbe13ab2928830a.rlib" "/opt/rustwide/target/debug/deps/libcpufeatures-0ab975038e942af0.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-8dc9ae8404483171.rlib" "/opt/rustwide/target/debug/deps/libdigest-6379c22cea987de3.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-f807b11edb3b3f64.rlib" "/opt/rustwide/target/debug/deps/libtypenum-c017c53f9a99f243.rlib" "/opt/rustwide/target/debug/deps/libserde_urlencoded-4f02d3b884058961.rlib" "/opt/rustwide/target/debug/deps/libserde_json-b9569e92749ad701.rlib" "/opt/rustwide/target/debug/deps/libryu-9e35d986fcbafb23.rlib" "/opt/rustwide/target/debug/deps/libcookie-cac0abdb2213240d.rlib" "/opt/rustwide/target/debug/deps/libserde-4bf4c1f8af23483c.rlib" "/opt/rustwide/target/debug/deps/libencoding_rs-8c9c2a4ce353c355.rlib" "/opt/rustwide/target/debug/deps/libregex-4efcc36bab2a8580.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-053f5b9157af7a76.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-fd0c3ba7c22fa1f4.rlib" "/opt/rustwide/target/debug/deps/liblanguage_tags-66706a840c6b3f9e.rlib" "/opt/rustwide/target/debug/deps/libmime-6adaefd5c465bdcc.rlib" "/opt/rustwide/target/debug/deps/libflate2-4897a4b83861ca9e.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-fd871e0602108602.rlib" "/opt/rustwide/target/debug/deps/libadler-92f8db84032ff960.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-583f3216af07d6a6.rlib" "/opt/rustwide/target/debug/deps/libbrotli2-a091db5f8771eefb.rlib" "/opt/rustwide/target/debug/deps/libbrotli_sys-e1c6151323378806.rlib" "/opt/rustwide/target/debug/deps/libtime-0f303a6f8d659d55.rlib" "/opt/rustwide/target/debug/deps/libtime_macros-eecdc9b076fc45c6.rlib" "/opt/rustwide/target/debug/deps/libstandback-228dd35e5244fda4.rlib" "/opt/rustwide/target/debug/deps/libfxhash-e2bbac7e1bf7d43b.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-614d7e4e7f7903e2.rlib" "/opt/rustwide/target/debug/deps/libactix_utils-45c354db2d76f267.rlib" "/opt/rustwide/target/debug/deps/libactix_connect-fdda5af9e065bdbf.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_resolver-9116156e0ecd2000.rlib" "/opt/rustwide/target/debug/deps/libresolv_conf-b0722967a10b33d2.rlib" "/opt/rustwide/target/debug/deps/libhostname-d81af4cf5bebfbd6.rlib" "/opt/rustwide/target/debug/deps/libmatch_cfg-f55f469ac74b7fae.rlib" "/opt/rustwide/target/debug/deps/libquick_error-9f037071f33ff693.rlib" "/opt/rustwide/target/debug/deps/libtrust_dns_proto-957ed27cad112426.rlib" "/opt/rustwide/target/debug/deps/librand-39eccfd975577759.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-374c8a961307ada0.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-fdccdc155075ee6f.rlib" "/opt/rustwide/target/debug/deps/librand_core-7435eb848f522839.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-84a28461feecab27.rlib" "/opt/rustwide/target/debug/deps/liburl-a02fb8fdb5737796.rlib" "/opt/rustwide/target/debug/deps/libform_urlencoded-a5e98da7c1c4a0eb.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-8c83310236959ef9.rlib" "/opt/rustwide/target/debug/deps/libidna-6f8cd264df389d63.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-78a01cc621c7dad6.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-c348951c3414c332.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-c8728763a1cfbcab.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-a69ffc9ceeb64fbb.rlib" "/opt/rustwide/target/debug/deps/libmatches-bfb4602457f1458f.rlib" "/opt/rustwide/target/debug/deps/libthiserror-19b17336fd2f0295.rlib" "/opt/rustwide/target/debug/deps/liblru_cache-c9726424f3cfa668.rlib" "/opt/rustwide/target/debug/deps/liblinked_hash_map-2d73749d53e508e5.rlib" "/opt/rustwide/target/debug/deps/libfutures-c2575ec28a0fea32.rlib" "/opt/rustwide/target/debug/deps/libfutures_executor-8c9ebed5279d43d3.rlib" "/opt/rustwide/target/debug/deps/libactix_rt-9dc04e61ea4eb38e.rlib" "/opt/rustwide/target/debug/deps/libactix_threadpool-a1d1428055972f46.rlib" "/opt/rustwide/target/debug/deps/libthreadpool-1f536a25d6a6433b.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-d802772a692b85ed.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-82648d81a340a8dd.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-50d646eb5bb3cd2a.rlib" "/opt/rustwide/target/debug/deps/liblock_api-4527f2b9e7422552.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-54ff2283d814f48f.rlib" "/opt/rustwide/target/debug/deps/libinstant-939f0c301cdc968a.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-b26eeadae8ae9a7e.rlib" "/opt/rustwide/target/debug/deps/libcopyless-8cdcbfe983327a21.rlib" "/opt/rustwide/target/debug/deps/libeither-e3062db716b81c8a.rlib" "/opt/rustwide/target/debug/deps/libh2-5be243fa208bf470.rlib" "/opt/rustwide/target/debug/deps/libtracing_futures-ea4e02b17b0088a5.rlib" "/opt/rustwide/target/debug/deps/libtracing-e64c75ffd8b23614.rlib" "/opt/rustwide/target/debug/deps/libtracing_core-2319279169dbc1df.rlib" "/opt/rustwide/target/debug/deps/libindexmap-95b29b8ff08156ec.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-743e8c262a81811e.rlib" "/opt/rustwide/target/debug/deps/libhttp-29a3f6805c4213cd.rlib" "/opt/rustwide/target/debug/deps/libitoa-d0264c8ce1ce890b.rlib" "/opt/rustwide/target/debug/deps/libbytes-44851e2768c88cca.rlib" "/opt/rustwide/target/debug/deps/libactix_service-a5e66f9eec8ce3f0.rlib" "/opt/rustwide/target/debug/deps/libactix_codec-b8a97c16bf98195e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-610a73087f46ba3b.rlib" "/opt/rustwide/target/debug/deps/libtokio_util-88b186ff14432fda.rlib" "/opt/rustwide/target/debug/deps/libtokio-fd7870f917e7bfde.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-654cbd3f9a5fbb08.rlib" "/opt/rustwide/target/debug/deps/libfnv-bb690c336855f248.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-764304384adf77ef.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/libmio-225543628bd57c49.rlib" "/opt/rustwide/target/debug/deps/libiovec-f6e51eea72b56997.rlib" "/opt/rustwide/target/debug/deps/libnet2-f6a51866647b167a.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib" "/opt/rustwide/target/debug/deps/liblibc-55e543058263475d.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-63b62835ca9808f8.rlib" "/opt/rustwide/target/debug/deps/libpin_project-feab922dc1577604.rlib" "/opt/rustwide/target/debug/deps/libpin_project-21023498574d2c1c.rlib" "/opt/rustwide/target/debug/deps/libfutures_util-79caf02d1fcc1472.rlib" "/opt/rustwide/target/debug/deps/libmemchr-2dcc6205f23bafab.rlib" "/opt/rustwide/target/debug/deps/libfutures_io-6b1fd5c1f4f92bc3.rlib" "/opt/rustwide/target/debug/deps/libslab-de4c8617047c1765.rlib" "/opt/rustwide/target/debug/deps/libfutures_channel-6a525ccf5c9571d9.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-cd107537ca905c26.rlib" "/opt/rustwide/target/debug/deps/libfutures_sink-e1e4f410a9fb8081.rlib" "/opt/rustwide/target/debug/deps/libfutures_task-3dacafcec4819c5e.rlib" "/opt/rustwide/target/debug/deps/libpin_utils-501725f4e360d46d.rlib" "/opt/rustwide/target/debug/deps/libfutures_core-afc8e1fe9314b5ba.rlib" "/opt/rustwide/target/debug/deps/libbytes-b63c3b3ea06c4474.rlib" "/opt/rustwide/target/debug/deps/liblog-ba3200a69ea295c7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/dbdummy-b39ef7d8f633f678" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: _ZN12actix_server6worker17MAX_CONNS_COUNTER7__getit5__KEY17h94f4bfaa174c2c98E: TLS definition in /opt/rustwide/target/debug/deps/libactix_server-b49abca3b62af09b.rlib(actix_server-b49abca3b62af09b.actix_server.17554abb-cgu.0.rcgu.o) section .tbss._ZN12actix_server6worker17MAX_CONNS_COUNTER7__getit5__KEY17h94f4bfaa174c2c98E mismatches non-TLS reference in /opt/rustwide/target/debug/deps/libactix_server-b49abca3b62af09b.rlib(actix_server-b49abca3b62af09b.actix_server.17554abb-cgu.8.rcgu.o) [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libactix_server-b49abca3b62af09b.rlib: error adding symbols: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `server_client` due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b8931a72d130cd302ab4f63c74b8042253bf7a7c169621408ad7c025205bf94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8931a72d130cd302ab4f63c74b8042253bf7a7c169621408ad7c025205bf94", kill_on_drop: false }` [INFO] [stdout] 4b8931a72d130cd302ab4f63c74b8042253bf7a7c169621408ad7c025205bf94