[INFO] fetching crate price-adapter-raw 0.1.0... [INFO] testing price-adapter-raw-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate price-adapter-raw 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate price-adapter-raw 0.1.0 [INFO] finished tweaking crates.io crate price-adapter-raw 0.1.0 [INFO] tweaked toml for crates.io crate price-adapter-raw 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate price-adapter-raw 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate price-adapter-raw 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.3.6 [INFO] [stderr] Downloaded tempfile v3.8.1 [INFO] [stderr] Downloaded cpufeatures v0.2.11 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded openssl-sys v0.9.95 [INFO] [stderr] Downloaded openssl v0.10.59 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.38 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded rustix v0.38.22 [INFO] [stderr] Downloaded cc v1.0.84 [INFO] [stderr] Downloaded reqwest v0.11.22 [INFO] [stderr] Downloaded web-sys v0.3.65 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77e7bce1b25e7c3ad09f3d395e987cbb223599ba17002b6a431b376ad215bfb7 [INFO] running `Command { std: "docker" "start" "-a" "77e7bce1b25e7c3ad09f3d395e987cbb223599ba17002b6a431b376ad215bfb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77e7bce1b25e7c3ad09f3d395e987cbb223599ba17002b6a431b376ad215bfb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e7bce1b25e7c3ad09f3d395e987cbb223599ba17002b6a431b376ad215bfb7", kill_on_drop: false }` [INFO] [stdout] 77e7bce1b25e7c3ad09f3d395e987cbb223599ba17002b6a431b376ad215bfb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfbc66cf8ea8f5b82605fa5911edfdbe92adf625b025d2a1c9a97a48c67033f5 [INFO] running `Command { std: "docker" "start" "-a" "bfbc66cf8ea8f5b82605fa5911edfdbe92adf625b025d2a1c9a97a48c67033f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling cc v1.0.84 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling price-adapter-raw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/binance_websocket/types.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MiniTickerResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | pub stream: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniTickerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `name` are never read [INFO] [stdout] --> src/coingecko.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CoinMarketResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 14 | pub id: String, [INFO] [stdout] 15 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoinMarketResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.49s [INFO] running `Command { std: "docker" "inspect" "bfbc66cf8ea8f5b82605fa5911edfdbe92adf625b025d2a1c9a97a48c67033f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfbc66cf8ea8f5b82605fa5911edfdbe92adf625b025d2a1c9a97a48c67033f5", kill_on_drop: false }` [INFO] [stdout] bfbc66cf8ea8f5b82605fa5911edfdbe92adf625b025d2a1c9a97a48c67033f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa6669976819a53d4bb4f9a77e0c18a6f420c7cadb19d60907091144f4c1b1b5 [INFO] running `Command { std: "docker" "start" "-a" "aa6669976819a53d4bb4f9a77e0c18a6f420c7cadb19d60907091144f4c1b1b5", kill_on_drop: false }` [INFO] [stderr] Compiling price-adapter-raw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/binance_websocket/types.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MiniTickerResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | pub stream: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniTickerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `name` are never read [INFO] [stdout] --> src/coingecko.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CoinMarketResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 14 | pub id: String, [INFO] [stdout] 15 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoinMarketResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/binance_websocket/types.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MiniTickerResponse { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | pub stream: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MiniTickerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `name` are never read [INFO] [stdout] --> src/coingecko.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CoinMarketResponse { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 14 | pub id: String, [INFO] [stdout] 15 | pub symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoinMarketResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "aa6669976819a53d4bb4f9a77e0c18a6f420c7cadb19d60907091144f4c1b1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6669976819a53d4bb4f9a77e0c18a6f420c7cadb19d60907091144f4c1b1b5", kill_on_drop: false }` [INFO] [stdout] aa6669976819a53d4bb4f9a77e0c18a6f420c7cadb19d60907091144f4c1b1b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75ede42032a955c48ebdcbfdf0c6c3775a8fe5c9b132a12943983a855caebb80 [INFO] running `Command { std: "docker" "start" "-a" "75ede42032a955c48ebdcbfdf0c6c3775a8fe5c9b132a12943983a855caebb80", kill_on_drop: false }` [INFO] [stderr] warning: field `stream` is never read [INFO] [stderr] --> src/binance_websocket/types.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct MiniTickerResponse { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 30 | pub stream: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MiniTickerResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `symbol` and `name` are never read [INFO] [stderr] --> src/coingecko.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct CoinMarketResponse { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 14 | pub id: String, [INFO] [stderr] 15 | pub symbol: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CoinMarketResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `price-adapter-raw` (lib) generated 2 warnings [INFO] [stderr] warning: `price-adapter-raw` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/price_adapter_raw-81ce8f0fe42a500c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests price_adapter_raw [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 9 | let mut binance_ws = BinanceWebsocket::new("wss://stream.binance.com:9443", &["ethbtc", "btcusdt"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------------------- unexpected argument #2 of type `&[&str; 2]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/binance_websocket/websocket.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 9 - let mut binance_ws = BinanceWebsocket::new("wss://stream.binance.com:9443", &["ethbtc", "btcusdt"]); [INFO] [stdout] 9 + let mut binance_ws = BinanceWebsocket::new("wss://stream.binance.com:9443"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: `WebsocketMessage` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 14 | println!("price: {}", price); [INFO] [stdout] | -- ^^^^^ `WebsocketMessage` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `WebsocketMessage` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 9 | let mut binance_ws = BinanceWebsocket::new("wss://stream.binance.com:9443", &["ethbtc", "btcusdt"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---------------------- unexpected argument #2 of type `&[&str; 2]` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/binance_websocket/websocket.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(url: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 9 - let mut binance_ws = BinanceWebsocket::new("wss://stream.binance.com:9443", &["ethbtc", "btcusdt"]); [INFO] [stdout] 9 + let mut binance_ws = BinanceWebsocket::new("wss://stream.binance.com:9443"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 12 | service.start().await.unwrap(); [INFO] [stdout] | ^^^^^-- argument #1 of type `&[&str]` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/binance_websocket/service.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn start(&mut self, ids: &[&str]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | service.start(/* &[&str] */).await.unwrap(); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "75ede42032a955c48ebdcbfdf0c6c3775a8fe5c9b132a12943983a855caebb80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ede42032a955c48ebdcbfdf0c6c3775a8fe5c9b132a12943983a855caebb80", kill_on_drop: false }` [INFO] [stdout] 75ede42032a955c48ebdcbfdf0c6c3775a8fe5c9b132a12943983a855caebb80