[INFO] fetching crate stratum-server 3.0.0-beta.27... [INFO] testing stratum-server-3.0.0-beta.27 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate stratum-server 3.0.0-beta.27 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate stratum-server 3.0.0-beta.27 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 crates.io crate stratum-server 3.0.0-beta.27 [INFO] finished tweaking crates.io crate stratum-server 3.0.0-beta.27 [INFO] tweaked toml for crates.io crate stratum-server 3.0.0-beta.27 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cd0b376731fd57dca593a5ebb42f710c3d859e1dc90be87875ce19208790d215 [INFO] running `Command { std: "docker" "start" "-a" "cd0b376731fd57dca593a5ebb42f710c3d859e1dc90be87875ce19208790d215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd0b376731fd57dca593a5ebb42f710c3d859e1dc90be87875ce19208790d215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0b376731fd57dca593a5ebb42f710c3d859e1dc90be87875ce19208790d215", kill_on_drop: false }` [INFO] [stdout] cd0b376731fd57dca593a5ebb42f710c3d859e1dc90be87875ce19208790d215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85a38e65f96ca1f051734f126ea8f17e026cfee621f787707db36038c3db9f04 [INFO] running `Command { std: "docker" "start" "-a" "85a38e65f96ca1f051734f126ea8f17e026cfee621f787707db36038c3db9f04", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling encodings v0.1.0 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling extended-primitives v0.3.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_fmt v1.0.1 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling femme v2.2.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling http-client v6.5.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling async-h1 v2.3.3 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling stratum-server v3.0.0-beta.27 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/miner.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut avg = job_stats.vardiff_buf.avg(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.59s [INFO] running `Command { std: "docker" "inspect" "85a38e65f96ca1f051734f126ea8f17e026cfee621f787707db36038c3db9f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a38e65f96ca1f051734f126ea8f17e026cfee621f787707db36038c3db9f04", kill_on_drop: false }` [INFO] [stdout] 85a38e65f96ca1f051734f126ea8f17e026cfee621f787707db36038c3db9f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5049b281eeb50dec33e5994258ad67f186d8c251aa82523f440375b30efaec24 [INFO] running `Command { std: "docker" "start" "-a" "5049b281eeb50dec33e5994258ad67f186d8c251aa82523f440375b30efaec24", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling portpicker v0.1.1 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.4 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling async-std v1.11.0 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling async-h1 v2.3.3 [INFO] [stderr] Compiling http-client v6.5.1 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling stratum-server v3.0.0-beta.27 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/miner.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut avg = job_stats.vardiff_buf.avg(); [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/miner.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let mut avg = job_stats.vardiff_buf.avg(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult, StratumServer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [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:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult, StratumServer}; [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:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult, StratumServer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StratumResult` [INFO] [stdout] --> tests/common.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use stratum_server::{Connection, MinerList, StratumRequest, StratumResult, StratumServer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:72:83 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn server_with_auth(port: u16) -> StratumServer { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 73 | | let auth = AuthProvider {}; [INFO] [stdout] 74 | | let state = State { auth }; [INFO] [stdout] 75 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 84 | | server [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `common::ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:72:83 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn server_with_auth(port: u16) -> StratumServer { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 73 | | let auth = AuthProvider {}; [INFO] [stdout] 74 | | let state = State { auth }; [INFO] [stdout] 75 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 84 | | server [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `global` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/common.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] ... [INFO] [stdout] 98 | server.global(poll_global); [INFO] [stdout] | ^^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:87:85 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server_with_global(port: u16) -> StratumServer { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 88 | | let auth = AuthProvider {}; [INFO] [stdout] 89 | | let state = State { auth }; [INFO] [stdout] 90 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 100 | | server [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | let mut server = common::server_with_auth(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:72:83 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn server_with_auth(port: u16) -> StratumServer { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 73 | | let auth = AuthProvider {}; [INFO] [stdout] 74 | | let state = State { auth }; [INFO] [stdout] 75 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 84 | | server [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | let mut server = common::server_with_auth(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:131:56 [INFO] [stdout] | [INFO] [stdout] 131 | let mut server = common::server_with_auth(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:193:58 [INFO] [stdout] | [INFO] [stdout] 193 | let mut server = common::server_with_global(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:243:56 [INFO] [stdout] | [INFO] [stdout] 243 | let mut server = common::server_with_auth(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:289:56 [INFO] [stdout] | [INFO] [stdout] 289 | let mut server = common::server_with_auth(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:351:56 [INFO] [stdout] | [INFO] [stdout] 351 | let mut server = common::server_with_auth(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/signals.rs:413:58 [INFO] [stdout] | [INFO] [stdout] 413 | let mut server = common::server_with_global(port).await; [INFO] [stdout] | ^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/signals.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | server.start().await [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: tests/common.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:77:52 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `common::ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stratum-server` due to 34 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:72:83 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn server_with_auth(port: u16) -> StratumServer { [INFO] [stdout] | ___________________________________________________________________________________^ [INFO] [stdout] 73 | | let auth = AuthProvider {}; [INFO] [stdout] 74 | | let state = State { auth }; [INFO] [stdout] 75 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 84 | | server [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `global` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/common.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] ... [INFO] [stdout] 98 | server.global(poll_global); [INFO] [stdout] | ^^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:87:85 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server_with_global(port: u16) -> StratumServer { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 88 | | let auth = AuthProvider {}; [INFO] [stdout] 89 | | let state = State { auth }; [INFO] [stdout] 90 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 100 | | server [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stratum-server` due to 18 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `common::ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `global` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/common.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `common::ConnectionState: Default` [INFO] [stdout] ... [INFO] [stdout] 98 | server.global(poll_global); [INFO] [stdout] | ^^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `common::ConnectionState: Default` [INFO] [stdout] help: consider annotating `common::ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:87:85 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server_with_global(port: u16) -> StratumServer { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 88 | | let auth = AuthProvider {}; [INFO] [stdout] 89 | | let state = State { auth }; [INFO] [stdout] 90 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 100 | | server [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stratum-server` due to 18 previous errors; 8 warnings emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/common.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `common::ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `global` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/common.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `common::ConnectionState: Default` [INFO] [stdout] ... [INFO] [stdout] 98 | server.global(poll_global); [INFO] [stdout] | ^^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `common::ConnectionState: Default` [INFO] [stdout] help: consider annotating `common::ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `common::ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/common.rs:87:85 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn server_with_global(port: u16) -> StratumServer { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 88 | | let auth = AuthProvider {}; [INFO] [stdout] 89 | | let state = State { auth }; [INFO] [stdout] 90 | | let connection_state = ConnectionState {}; [INFO] [stdout] ... | [INFO] [stdout] 100 | | server [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ the trait `Default` is not implemented for `common::ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/tcp.rs:59:52 [INFO] [stdout] | [INFO] [stdout] 59 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u8`, found struct `ConnectionState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/tcp.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | .build(); [INFO] [stdout] | ^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::build` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/tcp.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | server.add("auth", handle_auth); [INFO] [stdout] | ^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::add` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/tcp.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | .with_port(port) [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_port` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/tcp.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | .with_host("0.0.0.0") [INFO] [stdout] | ^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServerBuilder::::with_host` [INFO] [stdout] --> /opt/rustwide/workdir/src/builder.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServerBuilder::::with_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/tcp.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer::::builder` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:66:52 [INFO] [stdout] | [INFO] [stdout] 66 | impl [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer::::builder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ConnectionState: Default` is not satisfied [INFO] [stdout] --> tests/tcp.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let mut server = StratumServer::builder(state, connection_state) [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConnectionState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `StratumServer` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | CState: Default + Clone + Send + Sync + 'static, [INFO] [stdout] | ^^^^^^^ required by this bound in `StratumServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `start` exists for struct `StratumServer`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/tcp.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ConnectionState {} [INFO] [stdout] | -------------------------- doesn't satisfy `ConnectionState: Default` [INFO] [stdout] ... [INFO] [stdout] 67 | server.start().await.unwrap(); [INFO] [stdout] | ^^^^^ method cannot be called on `StratumServer` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ConnectionState: Default` [INFO] [stdout] help: consider annotating `ConnectionState` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stratum-server` due to 27 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5049b281eeb50dec33e5994258ad67f186d8c251aa82523f440375b30efaec24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5049b281eeb50dec33e5994258ad67f186d8c251aa82523f440375b30efaec24", kill_on_drop: false }` [INFO] [stdout] 5049b281eeb50dec33e5994258ad67f186d8c251aa82523f440375b30efaec24