[INFO] fetching crate kucoin_rs 0.4.4... [INFO] testing kucoin_rs-0.4.4 against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] extracting crate kucoin_rs 0.4.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate kucoin_rs 0.4.4 on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kucoin_rs 0.4.4 [INFO] finished tweaking crates.io crate kucoin_rs 0.4.4 [INFO] tweaked toml for crates.io crate kucoin_rs 0.4.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d8cf38a18465eaa3d23855d44b557b41f64a164a07a930dbb571ece6a9249b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d8cf38a18465eaa3d23855d44b557b41f64a164a07a930dbb571ece6a9249b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d8cf38a18465eaa3d23855d44b557b41f64a164a07a930dbb571ece6a9249b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8cf38a18465eaa3d23855d44b557b41f64a164a07a930dbb571ece6a9249b5", kill_on_drop: false }` [INFO] [stdout] 1d8cf38a18465eaa3d23855d44b557b41f64a164a07a930dbb571ece6a9249b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fb951da211ca806ff37373eb7b6012e1ff4d788e3c5635907e5c01ee600804f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2fb951da211ca806ff37373eb7b6012e1ff4d788e3c5635907e5c01ee600804f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rustls-pemfile v0.3.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling streamunordered v0.5.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.3 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling kucoin_rs v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `streamunordered::StreamUnordered::::push`: Prefer StreamUnordered::insert [INFO] [stdout] --> src/kucoin/websocket.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let token = self.streams.push(read); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `environment` [INFO] [stdout] --> src/kucoin/client.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | environment: KucoinEnv, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Kucoin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/kucoin/client.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 25s [INFO] running `Command { std: "docker" "inspect" "2fb951da211ca806ff37373eb7b6012e1ff4d788e3c5635907e5c01ee600804f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb951da211ca806ff37373eb7b6012e1ff4d788e3c5635907e5c01ee600804f", kill_on_drop: false }` [INFO] [stdout] 2fb951da211ca806ff37373eb7b6012e1ff4d788e3c5635907e5c01ee600804f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 960eb61622f7c01acb1d7e9681d28fb8ec75960817bbdf5d3cd129edf1adf662 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "960eb61622f7c01acb1d7e9681d28fb8ec75960817bbdf5d3cd129edf1adf662", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `streamunordered::StreamUnordered::::push`: Prefer StreamUnordered::insert [INFO] [stdout] --> src/kucoin/websocket.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let token = self.streams.push(read); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `environment` [INFO] [stdout] --> src/kucoin/client.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | environment: KucoinEnv, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Kucoin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/kucoin/client.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kucoin_rs v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `streamunordered::StreamUnordered::::push`: Prefer StreamUnordered::insert [INFO] [stdout] --> src/kucoin/websocket.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let token = self.streams.push(read); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `environment` [INFO] [stdout] --> src/kucoin/client.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | environment: KucoinEnv, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Kucoin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/kucoin/client.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.29s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/kucoin_rs-6683096f4bf0c4cd) [INFO] running `Command { std: "docker" "inspect" "960eb61622f7c01acb1d7e9681d28fb8ec75960817bbdf5d3cd129edf1adf662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960eb61622f7c01acb1d7e9681d28fb8ec75960817bbdf5d3cd129edf1adf662", kill_on_drop: false }` [INFO] [stdout] 960eb61622f7c01acb1d7e9681d28fb8ec75960817bbdf5d3cd129edf1adf662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97f8220e2f842067f6ddee6a875e988d2a9c48009b3bca81211cd0088bd575a5 [INFO] running `Command { std: "docker" "start" "-a" "97f8220e2f842067f6ddee6a875e988d2a9c48009b3bca81211cd0088bd575a5", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `streamunordered::StreamUnordered::::push`: Prefer StreamUnordered::insert [INFO] [stderr] --> src/kucoin/websocket.rs:109:34 [INFO] [stderr] | [INFO] [stderr] 109 | let token = self.streams.push(read); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `environment` [INFO] [stderr] --> src/kucoin/client.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | environment: KucoinEnv, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Kucoin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/kucoin/client.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kucoin_rs` (lib) generated 2 warnings [INFO] [stderr] warning: `kucoin_rs` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kucoin_rs-6683096f4bf0c4cd) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test kucoin::trade::test::use_build_pattern_all_fills_optionals ... ok [INFO] [stdout] test kucoin::trade::test::use_build_pattern_some_fills_optionals ... ok [INFO] [stdout] test kucoin::trade::test::use_build_pattern_some_order_info_optionals ... ok [INFO] [stdout] test kucoin::trade::test::use_build_pattern_all_order_info_optionals ... ok [INFO] [stdout] test kucoin::utils::test::format_query_test ... ok [INFO] [stdout] test kucoin::trade::test::use_build_pattern_some_order_optionals ... ok [INFO] [stdout] test kucoin::trade::test::use_build_pattern_all_order_optionals ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests kucoin_rs [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 135) ... ignored [INFO] [stdout] test src/lib.rs - (line 77) ... ignored [INFO] [stdout] test src/lib.rs - (line 98) ... ignored [INFO] [stdout] test src/kucoin/trade.rs - kucoin::trade::OrderOptionals (line 368) ... FAILED [INFO] [stdout] test src/kucoin/trade.rs - kucoin::trade::OrderInfoOptionals (line 492) ... ok [INFO] [stdout] test src/kucoin/trade.rs - kucoin::trade::FillsOptionals (line 597) ... ok [INFO] [stdout] test src/lib.rs - (line 44) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/kucoin/trade.rs - kucoin::trade::OrderOptionals (line 368) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustdoctestVm5XJF/rust_out.rust_out.89f9f26d-cgu.0.rcgu.o" "/tmp/rustdoctestVm5XJF/rust_out.23o7owdq9udccg6q.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ring-cfe4dad9e4e90f9f/out" "-L" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libkucoin_rs-0be9c62556c4a2ad.rlib" "/opt/rustwide/target/debug/deps/libstreamunordered-dcc8d83759896166.rlib" "/opt/rustwide/target/debug/deps/libsha2-4a222ece9a51bcad.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-9d535d034bf6eb7a.rlib" "/opt/rustwide/target/debug/deps/libfake_simd-1d3e8a55acfe3a5c.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-58b4d3a921135c1e.rlib" "/opt/rustwide/target/debug/deps/libblock_padding-89848139f6a54872.rlib" "/opt/rustwide/target/debug/deps/libbyte_tools-4fce43c0cf59fd8e.rlib" "/opt/rustwide/target/debug/deps/libhmac-329f03b99947605a.rlib" "/opt/rustwide/target/debug/deps/libcrypto_mac-af44205f14a1e0df.rlib" "/opt/rustwide/target/debug/deps/libsubtle-92ac3e1d61a4fa67.rlib" "/opt/rustwide/target/debug/deps/libdigest-0ad016e97e24edac.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-8fbac3c7bc0ad53e.rlib" "/opt/rustwide/target/debug/deps/libbase64-c3d2f141e9aa644a.rlib" "/opt/rustwide/target/debug/deps/libfailure-7d5f8170ab2d7e59.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-056089d25142b420.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-db1db6264f500fe6.rlib" "/opt/rustwide/target/debug/deps/libadler-3a9d1165c599cab1.rlib" "/opt/rustwide/target/debug/deps/libobject-962154bf2000a525.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-7c7a618447d0c875.rlib" "/opt/rustwide/target/debug/deps/libgimli-77d5d8fe668a6006.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-5d383c335f8e8ef8.rlib" "/opt/rustwide/target/debug/deps/libtungstenite-33e5ae8c3e761590.rlib" "/opt/rustwide/target/debug/deps/libthiserror-54565182a9947f61.rlib" "/opt/rustwide/target/debug/deps/libtokio_tungstenite-2620bd7b332614f4.rlib" "/opt/rustwide/target/debug/deps/libtungstenite-df002f357cd51fe0.rlib" "/opt/rustwide/target/debug/deps/librand-46c61b28c486e3a2.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-6e579a7c1e5a1c89.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-5e6fdfabf1edbf66.rlib" "/opt/rustwide/target/debug/deps/librand_core-04654ed6eecfafd1.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-64cf0773ed734090.rlib" "/opt/rustwide/target/debug/deps/libutf8-711588c81f4f47cd.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-4d098c56eb4115f5.rlib" "/opt/rustwide/target/debug/deps/libsha1-fbb73dce85d90c53.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-b3a531c9eb400c1f.rlib" "/opt/rustwide/target/debug/deps/libcpufeatures-a89a9bdc17782d08.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-f21488fa4ec59d88.rlib" "/opt/rustwide/target/debug/deps/libdigest-6ae876afa1ba34ff.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-b2a84fc18f8889a3.rlib" "/opt/rustwide/target/debug/deps/libtypenum-ae91be759e5f8db3.rlib" "/opt/rustwide/target/debug/deps/libinput_buffer-eccaabaf0e642055.rlib" "/opt/rustwide/target/debug/deps/libreqwest-000a351fbbf5de62.rlib" "/opt/rustwide/target/debug/deps/librustls_pemfile-7ebf4641c157b9f7.rlib" "/opt/rustwide/target/debug/deps/libhyper_rustls-6f2f429540e15c2b.rlib" "/opt/rustwide/target/debug/deps/libhyper_tls-67936aa806fed144.rlib" "/opt/rustwide/target/debug/deps/libserde_urlencoded-c28d08e479ce0c29.rlib" "/opt/rustwide/target/debug/deps/libwebpki_roots-93c3445de316d6e7.rlib" "/opt/rustwide/target/debug/deps/libipnet-c0c74975542ca8c3.rlib" "/opt/rustwide/target/debug/deps/libtokio_native_tls-628fd89afb263fba.rlib" "/opt/rustwide/target/debug/deps/libtokio_rustls-c8f85ff07aa24235.rlib" "/opt/rustwide/target/debug/deps/libmime-f9513972171bf326.rlib" "/opt/rustwide/target/debug/deps/libencoding_rs-c44de9e887279379.rlib" "/opt/rustwide/target/debug/deps/libserde_json-d3e18f6c23a89b0c.rlib" "/opt/rustwide/target/debug/deps/libryu-502943e46dd7b745.rlib" "/opt/rustwide/target/debug/deps/libserde-032f37fc0c4d866a.rlib" "/opt/rustwide/target/debug/deps/libbase64-4563507a4eb0b4b2.rlib" "/opt/rustwide/target/debug/deps/librustls-9771456020193fe9.rlib" "/opt/rustwide/target/debug/deps/libsct-37e1c4abc9386e4d.rlib" "/opt/rustwide/target/debug/deps/libwebpki-b271ecf97ce1d345.rlib" "/opt/rustwide/target/debug/deps/libring-82c867f9c96ea249.rlib" "/opt/rustwide/target/debug/deps/libspin-2c2d0e97c8363747.rlib" "/opt/rustwide/target/debug/deps/libuntrusted-bae7ad9dbbebb2b7.rlib" "/opt/rustwide/target/debug/deps/libnative_tls-8f1de8768d02279d.rlib" "/opt/rustwide/target/debug/deps/libopenssl_probe-9fb528d4b515d117.rlib" "/opt/rustwide/target/debug/deps/libopenssl-3de43b80f82945e2.rlib" "/opt/rustwide/target/debug/deps/libbitflags-05dfd5b5d1225bed.rlib" "/opt/rustwide/target/debug/deps/libforeign_types-46b9b5ebdcb273c8.rlib" "/opt/rustwide/target/debug/deps/libforeign_types_shared-ecd28e6fe5f7182e.rlib" "/opt/rustwide/target/debug/deps/libopenssl_sys-30208e88cdf279ce.rlib" "/opt/rustwide/target/debug/deps/libhyper-6c5bbc9511544860.rlib" "/opt/rustwide/target/debug/deps/libwant-10f49c0aa1e199aa.rlib" "/opt/rustwide/target/debug/deps/libtry_lock-febba4674ec63f92.rlib" "/opt/rustwide/target/debug/deps/libhttparse-64bb1a0668ca0c90.rlib" "/opt/rustwide/target/debug/deps/libh2-e1e658a86ff34619.rlib" "/opt/rustwide/target/debug/deps/libindexmap-8d1f852ee66c771f.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-238efa6a2ed05171.rlib" "/opt/rustwide/target/debug/deps/libtokio_util-09c6600a16cc5e65.rlib" "/opt/rustwide/target/debug/deps/libtower_service-a0bac867cff4e01f.rlib" "/opt/rustwide/target/debug/deps/libtracing-10d3a56ed2e63e65.rlib" "/opt/rustwide/target/debug/deps/libtracing_core-0a6f03dab2223d77.rlib" "/opt/rustwide/target/debug/deps/libtokio-09c70b155cc60952.rlib" "/opt/rustwide/target/debug/deps/libsignal_hook_registry-8ebd62ef749574ad.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-3a3104a2edd7c310.rlib" "/opt/rustwide/target/debug/deps/libsocket2-c2aac46100ffbb42.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-8701aae6e7d8d54f.rlib" "/opt/rustwide/target/debug/deps/libmio-501cc376c816aea9.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-0c7a9033b2575ccb.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-900350cf5af6055c.rlib" "/opt/rustwide/target/debug/deps/liblibc-d9254cafaae334ec.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-283f2487fcc9f0f1.rlib" "/opt/rustwide/target/debug/deps/liblock_api-5df3ec707f3ec46c.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ff2bb1f39834214d.rlib" "/opt/rustwide/target/debug/deps/libhttp_body-b3012d31e53829d4.rlib" "/opt/rustwide/target/debug/deps/liblog-4c50cc2eea2b402f.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/liburl-d12fc40f8e40722d.rlib" "/opt/rustwide/target/debug/deps/libidna-6a34d38410bd9527.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-12ccd468a33959ee.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-b9fbadb33a2ea73a.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-ef06cf556416b731.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-d0a053bbcb729d32.rlib" "/opt/rustwide/target/debug/deps/libform_urlencoded-1a48ab4b6760ee48.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-b196e1663297fef1.rlib" "/opt/rustwide/target/debug/deps/libmatches-a104dd362fa85146.rlib" "/opt/rustwide/target/debug/deps/libhttp-4da2cfc5497c929c.rlib" "/opt/rustwide/target/debug/deps/libitoa-02bdd2be5ac8e9f1.rlib" "/opt/rustwide/target/debug/deps/libbytes-5e8424a0f7103369.rlib" "/opt/rustwide/target/debug/deps/libfnv-22cd72556da4b99c.rlib" "/opt/rustwide/target/debug/deps/libpin_project-c5e26dd82245ff9c.rlib" "/opt/rustwide/target/debug/deps/libfutures-001618e0a176d18d.rlib" "/opt/rustwide/target/debug/deps/libfutures_executor-f1f0b05a1ae4c35b.rlib" "/opt/rustwide/target/debug/deps/libfutures_util-d36f34cbb6c75bf9.rlib" "/opt/rustwide/target/debug/deps/libmemchr-e6bbee201eb478c9.rlib" "/opt/rustwide/target/debug/deps/libfutures_io-cc2c366f0800939b.rlib" "/opt/rustwide/target/debug/deps/libslab-bda603b4c4e76b4a.rlib" "/opt/rustwide/target/debug/deps/libfutures_channel-82564b330993e6f3.rlib" "/opt/rustwide/target/debug/deps/libpin_project_lite-d4223cfaa04037d7.rlib" "/opt/rustwide/target/debug/deps/libfutures_sink-7d213b16a2f2adf2.rlib" "/opt/rustwide/target/debug/deps/libfutures_task-fc22affba0d30485.rlib" "/opt/rustwide/target/debug/deps/libpin_utils-b7ff504f33cec58a.rlib" "/opt/rustwide/target/debug/deps/libfutures_core-49530b2602be9735.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-443e20b28eeed844.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3e337470e099b116.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-10a87791239bd676.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-0e6cad6dd623d38e.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9d05dd05a4d51b33.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-a60ff138fe1adfad.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-0e9344458c09713e.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-939385b13e387309.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e3ce420901586b53.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-546bece8dd1bea42.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9b358af16d7d7aa1.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-554cd499fe1a3b52.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbad2f5de5fb5cb2.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8fec8a74c706e4b4.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-020914c5936c5f85.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4896c4057dc9553a.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1f103368fa522bc0.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestVm5XJF/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/kucoin/trade.rs - kucoin::trade::OrderOptionals (line 368) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 3 ignored; 0 measured; 0 filtered out; finished in 19.52s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "97f8220e2f842067f6ddee6a875e988d2a9c48009b3bca81211cd0088bd575a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f8220e2f842067f6ddee6a875e988d2a9c48009b3bca81211cd0088bd575a5", kill_on_drop: false }` [INFO] [stdout] 97f8220e2f842067f6ddee6a875e988d2a9c48009b3bca81211cd0088bd575a5