[INFO] fetching crate stratum-server 2.2.31... [INFO] testing stratum-server-2.2.31 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate stratum-server 2.2.31 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate stratum-server 2.2.31 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stratum-server 2.2.31 [INFO] finished tweaking crates.io crate stratum-server 2.2.31 [INFO] tweaked toml for crates.io crate stratum-server 2.2.31 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-h1 v2.3.2 [INFO] [stderr] Downloaded tungstenite v0.11.1 [INFO] [stderr] Downloaded encodings v0.1.0 [INFO] [stderr] Downloaded tide v0.16.0 [INFO] [stderr] Downloaded async-session v2.0.1 [INFO] [stderr] Downloaded async-sse v4.1.0 [INFO] [stderr] Downloaded extended-primitives v0.3.5 [INFO] [stderr] Downloaded portpicker v0.1.0 [INFO] [stderr] Downloaded byte-pool v0.2.3 [INFO] [stderr] Downloaded stop-token v0.2.0 [INFO] [stderr] Downloaded async-tungstenite v0.8.0 [INFO] [stderr] Downloaded sval v1.0.0-alpha.5 [INFO] [stderr] Downloaded femme v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 045c35b1684e61b55ec9ec2a5122f0d0e129bc40dc2ad4967bfc3adff1913d33 [INFO] running `Command { std: "docker" "start" "-a" "045c35b1684e61b55ec9ec2a5122f0d0e129bc40dc2ad4967bfc3adff1913d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "045c35b1684e61b55ec9ec2a5122f0d0e129bc40dc2ad4967bfc3adff1913d33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "045c35b1684e61b55ec9ec2a5122f0d0e129bc40dc2ad4967bfc3adff1913d33", kill_on_drop: false }` [INFO] [stdout] 045c35b1684e61b55ec9ec2a5122f0d0e129bc40dc2ad4967bfc3adff1913d33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d555f2c7037ad33ac43e9f7fbc875256f59a22300134094074ddf5a62d92dc5d [INFO] running `Command { std: "docker" "start" "-a" "d555f2c7037ad33ac43e9f7fbc875256f59a22300134094074ddf5a62d92dc5d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling encodings v0.1.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling extended-primitives v0.3.5 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling byte-pool v0.2.3 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling async-process v1.1.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-net v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling stop-token v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling femme v2.1.1 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling async-h1 v2.3.2 [INFO] [stderr] Compiling http-client v6.4.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling stratum-server v2.2.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tcp.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | ... urtx.send(values).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.17s [INFO] running `Command { std: "docker" "inspect" "d555f2c7037ad33ac43e9f7fbc875256f59a22300134094074ddf5a62d92dc5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d555f2c7037ad33ac43e9f7fbc875256f59a22300134094074ddf5a62d92dc5d", kill_on_drop: false }` [INFO] [stdout] d555f2c7037ad33ac43e9f7fbc875256f59a22300134094074ddf5a62d92dc5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c2c599d104f6a87d815e7ce6f9d18b62f7158246903b4dc3a83fa57dcfd5258 [INFO] running `Command { std: "docker" "start" "-a" "1c2c599d104f6a87d815e7ce6f9d18b62f7158246903b4dc3a83fa57dcfd5258", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tcp.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | ... urtx.send(values).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling portpicker v0.1.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling stratum-server v2.2.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> tests/basic_server_websocket_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude::FutureExt` [INFO] [stdout] --> tests/basic_server_websocket_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::prelude::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncWriteExt` [INFO] [stdout] --> tests/basic_server_websocket_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::SinkExt` [INFO] [stdout] --> tests/basic_server_websocket_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> tests/basic_server_websocket_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stratum_server::StratumServer` [INFO] [stdout] --> tests/basic_server_websocket_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use stratum_server::StratumServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StratumResult` [INFO] [stdout] --> tests/basic_server_websocket_test.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | use stratum_server::{Connection, StratumRequest, StratumResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StratumResult` [INFO] [stdout] --> tests/common.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> tests/common.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn poll_global(state: State, connection_list: Arc>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_list` [INFO] [stdout] --> tests/common.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn poll_global(state: State, connection_list: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> tests/common.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut stream = TcpStream::connect(&url).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/common.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut stream = TcpStream::connect(&url).await.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: function is never used: `find_port` [INFO] [stdout] --> tests/common.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn find_port() -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LOGGER_ENV` [INFO] [stdout] --> tests/common.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | static LOGGER_ENV: Once = Once::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `LOGGER` [INFO] [stdout] --> tests/common.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | static LOGGER: Once = Once::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init` [INFO] [stdout] --> tests/common.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_sigint` [INFO] [stdout] --> tests/common.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn call_sigint() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call_sigterm` [INFO] [stdout] --> tests/common.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn call_sigterm() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `login` [INFO] [stdout] --> tests/common.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub async fn login(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_auth` [INFO] [stdout] --> tests/common.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | pub async fn handle_auth( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `poll_global` [INFO] [stdout] --> tests/common.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn poll_global(state: State, connection_list: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `server_with_auth` [INFO] [stdout] --> tests/common.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn server_with_auth(port: u16) -> StratumServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `server_with_global` [INFO] [stdout] --> tests/common.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn server_with_global(port: u16) -> StratumServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_connections` [INFO] [stdout] --> tests/common.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn generate_connections(num: usize, url: &str, sleep_duration: u64) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StratumResult` [INFO] [stdout] --> tests/common.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> tests/signals.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude::FutureExt` [INFO] [stdout] --> tests/signals.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_std::prelude::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::sync::Arc` [INFO] [stdout] --> tests/signals.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::io::AsyncWriteExt` [INFO] [stdout] --> tests/signals.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stratum_server::StratumServer` [INFO] [stdout] --> tests/signals.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use stratum_server::StratumServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Connection`, `MinerList`, `StratumRequest`, `StratumResult` [INFO] [stdout] --> tests/signals.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StratumResult` [INFO] [stdout] --> tests/common.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jemallocator` [INFO] [stdout] --> tests/tcp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use jemallocator::Jemalloc; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `jemallocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StratumResult` [INFO] [stdout] --> tests/common.rs:8:61 [INFO] [stdout] | [INFO] [stdout] 8 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> tests/common.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn poll_global(state: State, connection_list: Arc>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_list` [INFO] [stdout] --> tests/common.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn poll_global(state: State, connection_list: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> tests/common.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut stream = TcpStream::connect(&url).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/common.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut stream = TcpStream::connect(&url).await.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: `state` [INFO] [stdout] --> tests/common.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn poll_global(state: State, connection_list: Arc>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection_list` [INFO] [stdout] --> tests/common.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | pub async fn poll_global(state: State, connection_list: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> tests/common.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let mut stream = TcpStream::connect(&url).await.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/common.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut stream = TcpStream::connect(&url).await.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] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stratum-server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/tcp.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | ... urtx.send(values).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1c2c599d104f6a87d815e7ce6f9d18b62f7158246903b4dc3a83fa57dcfd5258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2c599d104f6a87d815e7ce6f9d18b62f7158246903b4dc3a83fa57dcfd5258", kill_on_drop: false }` [INFO] [stdout] 1c2c599d104f6a87d815e7ce6f9d18b62f7158246903b4dc3a83fa57dcfd5258