[INFO] fetching crate stratum-server 3.0.0-beta.20... [INFO] testing stratum-server-3.0.0-beta.20 against 1.59.0 for beta-1.60-1 [INFO] extracting crate stratum-server 3.0.0-beta.20 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate stratum-server 3.0.0-beta.20 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stratum-server 3.0.0-beta.20 [INFO] finished tweaking crates.io crate stratum-server 3.0.0-beta.20 [INFO] tweaked toml for crates.io crate stratum-server 3.0.0-beta.20 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tide v0.16.0 [INFO] [stderr] Downloaded portpicker v0.1.1 [INFO] [stderr] Downloaded async-tungstenite v0.8.0 [INFO] [stderr] Downloaded async-sse v4.1.0 [INFO] [stderr] Downloaded femme v2.1.1 [INFO] [stderr] Downloaded stop-token v0.7.0 [INFO] [stderr] Downloaded async-session v2.0.1 [INFO] [stderr] Downloaded sval v1.0.0-alpha.5 [INFO] [stderr] Downloaded route-recognizer v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b07a89fd5c492bbdc9a0e374e86ed71ba80acd86eb5067e8b4cbd0662315f9d1 [INFO] running `Command { std: "docker" "start" "-a" "b07a89fd5c492bbdc9a0e374e86ed71ba80acd86eb5067e8b4cbd0662315f9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b07a89fd5c492bbdc9a0e374e86ed71ba80acd86eb5067e8b4cbd0662315f9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b07a89fd5c492bbdc9a0e374e86ed71ba80acd86eb5067e8b4cbd0662315f9d1", kill_on_drop: false }` [INFO] [stdout] b07a89fd5c492bbdc9a0e374e86ed71ba80acd86eb5067e8b4cbd0662315f9d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c336cd96d541582011e0b87757aaeeab862e43be17512fa10a4c07f0e1ad7d6 [INFO] running `Command { std: "docker" "start" "-a" "4c336cd96d541582011e0b87757aaeeab862e43be17512fa10a4c07f0e1ad7d6", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling sval v1.0.0-alpha.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling encodings v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling extended-primitives v0.3.5 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [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 http-client v6.5.1 [INFO] [stderr] Compiling async-h1 v2.3.3 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling stratum-server v3.0.0-beta.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/server.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | thread.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 28.19s [INFO] running `Command { std: "docker" "inspect" "4c336cd96d541582011e0b87757aaeeab862e43be17512fa10a4c07f0e1ad7d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c336cd96d541582011e0b87757aaeeab862e43be17512fa10a4c07f0e1ad7d6", kill_on_drop: false }` [INFO] [stdout] 4c336cd96d541582011e0b87757aaeeab862e43be17512fa10a4c07f0e1ad7d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73c19d5fd45ec5e638416687951818b621683c5f1b243808b7ab64ab991f9646 [INFO] running `Command { std: "docker" "start" "-a" "73c19d5fd45ec5e638416687951818b621683c5f1b243808b7ab64ab991f9646", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-process v1.3.0 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-net v1.6.1 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling smol v1.2.5 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling portpicker v0.1.1 [INFO] [stderr] Compiling criterion v0.3.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.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/server.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | thread.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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/server.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | thread.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] [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: `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[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: `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[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[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 `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[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] 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] 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 `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[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 `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 `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 `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[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[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 `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 `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[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; 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] [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; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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[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/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: 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[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: build failed [INFO] running `Command { std: "docker" "inspect" "73c19d5fd45ec5e638416687951818b621683c5f1b243808b7ab64ab991f9646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73c19d5fd45ec5e638416687951818b621683c5f1b243808b7ab64ab991f9646", kill_on_drop: false }` [INFO] [stdout] 73c19d5fd45ec5e638416687951818b621683c5f1b243808b7ab64ab991f9646