[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 try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalka1988%2Fclient-server-exercise" "/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/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Salka1988/client-server-exercise on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Salka1988/client-server-exercise 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec9c5cf129b4771634337cac6fec98c2d6d31f0ebff8b6a6dbc1e407be6e33ab [INFO] running `Command { std: "docker" "start" "-a" "ec9c5cf129b4771634337cac6fec98c2d6d31f0ebff8b6a6dbc1e407be6e33ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec9c5cf129b4771634337cac6fec98c2d6d31f0ebff8b6a6dbc1e407be6e33ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec9c5cf129b4771634337cac6fec98c2d6d31f0ebff8b6a6dbc1e407be6e33ab", kill_on_drop: false }` [INFO] [stdout] ec9c5cf129b4771634337cac6fec98c2d6d31f0ebff8b6a6dbc1e407be6e33ab [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1d4667a38a2ec740b270cc594a92fd0e81dd807f94a7be03d07331b5c71d11fd [INFO] running `Command { std: "docker" "start" "-a" "1d4667a38a2ec740b270cc594a92fd0e81dd807f94a7be03d07331b5c71d11fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [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 standback v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling gimli v0.26.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [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 time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling actix-rt v1.1.1 [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 actix-router v0.2.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tokio-serde v0.6.1 [INFO] [stderr] Compiling cron v0.6.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling job_scheduler v1.2.1 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling hyper v0.13.10 [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` and `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: 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] 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 `#[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`, and `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`, and `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` and `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` and `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` and `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: 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: 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: `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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustceEHPim/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libenv_logger-9c4e9b78620186d1.rlib,libtermcolor-811ad993a566b17a.rlib,libatty-084e4bd16da62100.rlib,libhumantime-8d8e09eea03a30a0.rlib,libserver_client-2e9ad30fbf4dacc5.rlib,librand-561570ae33c91f21.rlib,librand_core-4a159a921d63a3e0.rlib,librand_core-5dd93ed12702f197.rlib,libjob_scheduler-9b9097c25cbea9dd.rlib,libuuid-fca34a1fb46f2d1d.rlib,libgetrandom-86db7dbe63a1d205.rlib,libcron-3671c552947acf2d.rlib,liberror_chain-b3f9a6f07358e253.rlib,libbacktrace-935dfcd4cf7bb4e9.rlib,libobject-181a3cdfa4cd2c74.rlib,libaddr2line-8127ce0a3f052470.rlib,libgimli-5a875398373b6a70.rlib,librustc_demangle-4e14502e0acf1333.rlib,libnom-cf08d83111685aef.rlib,libchrono-7a6019e02782cc10.rlib,libnum_integer-776fc74e87f61fcf.rlib,libnum_traits-e5050f906ed56291.rlib,libtime-a1a8f12f202cbed8.rlib,libactix_web-7e2aa0ecd7938279.rlib,libactix_tls-72129a3b2332e743.rlib,libawc-90707af784905dba.rlib,libactix_server-6fbf80b73c381580.rlib,libsocket2-8eb8aa8b74c089eb.rlib,libactix_router-822227bec5b90df8.rlib,libbytestring-76a56ed84785e46a.rlib,libactix_http-1c001f1f7cd23036.rlib,libbase64-1447dfff012d42f8.rlib,libhttparse-d0c202cec822a6f8.rlib,libsha1-9373cc1e908fa349.rlib,libopaque_debug-bfd86111b0908dde.rlib,libcpufeatures-03d302c468f0d4ec.rlib,libblock_buffer-25706bba038043a1.rlib,libdigest-cb6da49643218646.rlib,libgeneric_array-1f475603ae941cbb.rlib,libtypenum-c30adc9f15bf22b3.rlib,libserde_urlencoded-5da6b6ca992088c4.rlib,libserde_json-f115e36d1eff9b3e.rlib,libryu-af883cd9b444a782.rlib,libcookie-3ea990b86e3aaa0f.rlib,libserde-1bc52311cb46fd5c.rlib,libencoding_rs-e4f49bf60b84f809.rlib,libregex-61abb5ead9fe6390.rlib,libaho_corasick-c2a7e5a13a42a59f.rlib,libregex_syntax-ae12054508fb30be.rlib,liblanguage_tags-158ba6cd45e642ae.rlib,libmime-2517c84452183460.rlib,libflate2-8f25976d5d9d6dd6.rlib,libminiz_oxide-16b4b8547a6b52b2.rlib,libadler-b32dea79b2f05ffd.rlib,libcrc32fast-822cdbb51a51686f.rlib,libbrotli2-5f133bb3f7853d12.rlib,libbrotli_sys-6e91be3290fc850c.rlib,libtime-3ea155efb5e0944e.rlib,libtime_macros-2748c934a3dd8aea.rlib,libstandback-83e254465ab0b238.rlib,libfxhash-7ff7ecdcae5e497d.rlib,libbyteorder-c7092f68299ac016.rlib,libactix_utils-87ff9cd1e510b55a.rlib,libactix_connect-3d7cb26e1306e5e6.rlib,libtrust_dns_resolver-5325928c1d1b79c8.rlib,libresolv_conf-250077595ec00643.rlib,libhostname-e0c4e418aaa5bb7e.rlib,libmatch_cfg-cc93d201727836b1.rlib,libquick_error-022321fe562bcedb.rlib,libtrust_dns_proto-d32372bc2d36fbd5.rlib,librand-dd85f40b10bd78a3.rlib,librand_chacha-918a8bb7fd8ef5c6.rlib,libppv_lite86-7955ccdf208dacd3.rlib,librand_core-6ffe572ca79162f3.rlib,libgetrandom-cf884975aea780ca.rlib,liburl-4dc046bcdff1bf68.rlib,libform_urlencoded-08b32e4d9c417640.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libidna-b27d6234464fcaf9.rlib,libunicode_normalization-b999db1f4766a6ba.rlib,libtinyvec-4bc788528a02b60f.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-fb711a4a1fa89e19.rlib,libmatches-210e485a89affeee.rlib,libthiserror-182a23d8110336df.rlib,liblru_cache-b5e1da77be4ca6e0.rlib,liblinked_hash_map-606dc3728cba933f.rlib,libfutures-ee5354157f8f0f73.rlib,libfutures_executor-96fdf864386fb0e0.rlib,libactix_rt-ba3e916d94ebc6dd.rlib,libactix_threadpool-c81ea1fe37872113.rlib,libthreadpool-7df758ca4441098f.rlib,libnum_cpus-c05ffef45b647359.rlib,libparking_lot-943dc72d5a6a8147.rlib,libparking_lot_core-22d735f1a0e7d505.rlib,liblock_api-c3c95a699de46305.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-e23fa3fb52ce1101.rlib,libsmallvec-58335197664382aa.rlib,libcopyless-a262f19d9849c2e3.rlib,libeither-4c8c1e39a99655ac.rlib,libh2-7f0e2436758d2b58.rlib,libtracing_futures-a9086948b36361d0.rlib,libtracing-ff712fedd3ec9c03.rlib,libtracing_core-73c54d407336bd1e.rlib,libindexmap-ad6213f7dd2d3599.rlib,libhashbrown-f6484c11bf24e065.rlib,libhttp-90db212c53e29df1.rlib,libitoa-7c9a83f6047c872a.rlib,libbytes-37e68ee094a72681.rlib,libactix_service-a96e19ada36bba8a.rlib,libactix_codec-1b268e7be65dd9c8.rlib,libbitflags-e274cd04b58a060d.rlib,libtokio_util-9716b4caa700fdeb.rlib,libtokio-4f29739160f9ed2d.rlib,libsignal_hook_registry-1bdc3c25b8949cc1.rlib,libfnv-81596130b397d5c3.rlib,libmio_uds-ee8b1be157379086.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libmio-32bc794c8283695f.rlib,libiovec-332d31c93b78b945.rlib,libnet2-ca7dfaa090fcfd8b.rlib,libcfg_if-2d17986ae484e939.rlib,liblibc-b21f4965461f40be.rlib,libpin_project_lite-8a66df2ca27e844a.rlib,libpin_project-dd5fe4e0c4012e5b.rlib,libpin_project-4aa1be2f1c46adbe.rlib,libfutures_util-c82222bc69939767.rlib,libmemchr-81b381f232779c95.rlib,libfutures_io-9e2e646b1319d723.rlib,libslab-93074f6ff5a0b7db.rlib,libfutures_channel-139ff9d749335193.rlib,libpin_project_lite-668e52fe3a18bf8a.rlib,libfutures_sink-26e1cde46a1f65be.rlib,libfutures_task-767933cb8c25aa57.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-5d81b298188dcfe2.rlib,libbytes-3e6aab9f92fa68ff.rlib,liblog-ac2d7cc7e3389574.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustceEHPim/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/brotli-sys-0e319334102eff12/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dbdummy-632574b5a52c10ad" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-86db7dbe63a1d205.rlib(getrandom-86db7dbe63a1d205.getrandom.8b7cbea4f45d6344-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hec2bd2d66a328193E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `server_client` (bin "dbdummy") due to 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1d4667a38a2ec740b270cc594a92fd0e81dd807f94a7be03d07331b5c71d11fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4667a38a2ec740b270cc594a92fd0e81dd807f94a7be03d07331b5c71d11fd", kill_on_drop: false }` [INFO] [stdout] 1d4667a38a2ec740b270cc594a92fd0e81dd807f94a7be03d07331b5c71d11fd