v_exchanges 0.5.0

Implementations of HTTP/HTTPS/WebSocket API methods for some crypto exchanges, using [crypto-botters](<https://github.com/negi-grass/crypto-botters>) framework
Build #1674365 2025-01-26T17:05:28.084655+00:00
# rustc version
rustc 1.86.0-nightly (f7cc13af8 2025-01-25)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/v_exchanges-0.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/v_exchanges-0.5.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250125-1.86.0-nightly-f7cc13af8\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu" "-Zunstable-options" "-Zrustdoc-scrape-examples", 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] b7b4bc25ae82bca007df029421e63b2fd03a372c3a49331dc31edf3e7545e5f6
[INFO] running `Command { std: "docker" "start" "-a" "b7b4bc25ae82bca007df029421e63b2fd03a372c3a49331dc31edf3e7545e5f6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking v_exchanges_adapters v0.5.0
[INFO] [stderr] error[E0437]: type `BuildError` is not a member of trait `RequestHandler`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/bitflyer.rs:124:2
[INFO] [stderr]     |
[INFO] [stderr] 124 |     type BuildError = &'static str;
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `RequestHandler`
[INFO] [stderr] 
[INFO] [stderr] error[E0437]: type `Unsuccessful` is not a member of trait `RequestHandler`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/bitflyer.rs:126:2
[INFO] [stderr]     |
[INFO] [stderr] 126 |     type Unsuccessful = BitFlyerHandlerError;
[INFO] [stderr]     |     ^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |     |    |
[INFO] [stderr]     |     |    help: there is an associated type with a similar name: `Successful`
[INFO] [stderr]     |     not a member of trait `RequestHandler`
[INFO] [stderr] 
[INFO] [stderr] error[E0437]: type `BuildError` is not a member of trait `RequestHandler`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/coincheck.rs:114:2
[INFO] [stderr]     |
[INFO] [stderr] 114 |     type BuildError = &'static str;
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `RequestHandler`
[INFO] [stderr] 
[INFO] [stderr] error[E0437]: type `Unsuccessful` is not a member of trait `RequestHandler`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/coincheck.rs:116:2
[INFO] [stderr]     |
[INFO] [stderr] 116 |     type Unsuccessful = CoincheckHandlerError;
[INFO] [stderr]     |     ^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |     |    |
[INFO] [stderr]     |     |    help: there is an associated type with a similar name: `Successful`
[INFO] [stderr]     |     not a member of trait `RequestHandler`
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `BuildError` not found for `Self`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/bitflyer.rs:132:113
[INFO] [stderr]     |
[INFO] [stderr] 132 |     fn build_request(&self, mut builder: RequestBuilder, request_body: &Option<B>, _: u8) -> Result<Request, Self::BuildError> {
[INFO] [stderr]     |                                                                                                                    ^^^^^^^^^^ help: `Self` has the following associated type: `Successful`
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `Unsuccessful` not found for `Self`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/bitflyer.rs:171:118
[INFO] [stderr]     |
[INFO] [stderr] 171 |     fn handle_response(&self, status: StatusCode, _: HeaderMap, response_body: Bytes) -> Result<Self::Successful, Self::Unsuccessful> {
[INFO] [stderr]     |                                                                                                                         ^^^^^^^^^^^^ help: there is an associated type with a similar name: `Successful`
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `BuildError` not found for `Self`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/coincheck.rs:122:113
[INFO] [stderr]     |
[INFO] [stderr] 122 |     fn build_request(&self, mut builder: RequestBuilder, request_body: &Option<B>, _: u8) -> Result<Request, Self::BuildError> {
[INFO] [stderr]     |                                                                                                                    ^^^^^^^^^^ help: `Self` has the following associated type: `Successful`
[INFO] [stderr] 
[INFO] [stderr] error[E0220]: associated type `Unsuccessful` not found for `Self`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/coincheck.rs:155:118
[INFO] [stderr]     |
[INFO] [stderr] 155 |     fn handle_response(&self, status: StatusCode, _: HeaderMap, response_body: Bytes) -> Result<Self::Successful, Self::Unsuccessful> {
[INFO] [stderr]     |                                                                                                                         ^^^^^^^^^^^^ help: there is an associated type with a similar name: `Successful`
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: enum takes 0 generic arguments but 2 generic arguments were supplied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/bitflyer.rs:21:33
[INFO] [stderr]     |
[INFO] [stderr] 21  | pub type BitFlyerRequestError = RequestError<&'static str, BitFlyerHandlerError>;
[INFO] [stderr]     |                                 ^^^^^^^^^^^^------------------------------------ help: remove the unnecessary generics
[INFO] [stderr]     |                                 |
[INFO] [stderr]     |                                 expected 0 generic arguments
[INFO] [stderr]     |
[INFO] [stderr] note: enum defined here, with 0 generic parameters
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_api_generics-0.7.0/src/http.rs:262:10
[INFO] [stderr]     |
[INFO] [stderr] 262 | pub enum RequestError {
[INFO] [stderr]     |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: enum takes 0 generic arguments but 2 generic arguments were supplied
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_adapters-0.5.0/src/exchanges/coincheck.rs:20:34
[INFO] [stderr]     |
[INFO] [stderr] 20  | pub type CoincheckRequestError = RequestError<&'static str, CoincheckHandlerError>;
[INFO] [stderr]     |                                  ^^^^^^^^^^^^------------------------------------- help: remove the unnecessary generics
[INFO] [stderr]     |                                  |
[INFO] [stderr]     |                                  expected 0 generic arguments
[INFO] [stderr]     |
[INFO] [stderr] note: enum defined here, with 0 generic parameters
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/v_exchanges_api_generics-0.7.0/src/http.rs:262:10
[INFO] [stderr]     |
[INFO] [stderr] 262 | pub enum RequestError {
[INFO] [stderr]     |          ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0220, E0437.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] error: could not compile `v_exchanges_adapters` (lib) due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "b7b4bc25ae82bca007df029421e63b2fd03a372c3a49331dc31edf3e7545e5f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7b4bc25ae82bca007df029421e63b2fd03a372c3a49331dc31edf3e7545e5f6", kill_on_drop: false }`
[INFO] [stdout] b7b4bc25ae82bca007df029421e63b2fd03a372c3a49331dc31edf3e7545e5f6