[INFO] cloning repository https://github.com/Antifrajz/sniper_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Antifrajz/sniper_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntifrajz%2Fsniper_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntifrajz%2Fsniper_algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7824f89d38072b8abc8064c0b73cbf307753223 [INFO] checking Antifrajz/sniper_algorithm against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntifrajz%2Fsniper_algorithm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Antifrajz/sniper_algorithm [INFO] finished tweaking git repo https://github.com/Antifrajz/sniper_algorithm [INFO] tweaked toml for git repo https://github.com/Antifrajz/sniper_algorithm written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Antifrajz/sniper_algorithm on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 364 packages to highest compatible versions [INFO] [stderr] Adding flexi_logger v0.22.6 (available: v0.31.10) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding printpdf v0.3.4 (available: v0.12.8) [INFO] [stderr] Adding time v0.3.9 (available: v0.3.55) [INFO] [stderr] Adding time-macros v0.2.4 (available: v0.2.32) [INFO] [stderr] Adding toml v0.5.11 (available: v1.1.8+spec-1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3 [INFO] running `Command { std: "docker" "start" "4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling unicode-ident v1.0.27 [INFO] [stderr] Checking cfg-if v1.0.5 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.15 [INFO] [stderr] Checking futures-core v0.3.34 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Checking futures-sink v0.3.34 [INFO] [stderr] Compiling pkg-config v0.3.34 [INFO] [stderr] Checking smallvec v1.16.3 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Checking futures-task v0.3.34 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking litemap v0.8.3 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.4 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Checking writeable v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling cc v1.9.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling openssl v0.10.81 [INFO] [stderr] Checking bitflags v2.13.2 [INFO] [stderr] Checking equivalent v1.0.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking rustls-pki-types v1.15.1 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Checking want v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.63 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.154 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v3.0.9 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking ipnet v2.12.2 [INFO] [stderr] Checking http v1.5.0 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling crc32fast v1.5.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking core_detect v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling multiversion_no_op v1.0.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Compiling encoding_rs v0.8.42 [INFO] [stderr] Checking data-encoding v2.11.1 [INFO] [stderr] Compiling const_fn v0.4.12 [INFO] [stderr] Compiling rust_decimal v1.43.0 [INFO] [stderr] Checking base64 v0.23.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking webpki-roots v1.0.9 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.5 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking miniz_oxide v0.9.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking clap_lex v1.1.1 [INFO] [stderr] Checking sha1 v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking either v1.19.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking clap_builder v4.6.7 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking num-iter v0.1.46 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking num_threads v0.1.8 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking uuid v1.28.0 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling barter-macro v0.1.1 [INFO] [stderr] Checking smol_str v0.3.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lazy_static v1.5.1 [INFO] [stderr] Checking vecmap-rs v0.2.5 [INFO] [stderr] Checking ta v0.5.0 [INFO] [stderr] Checking glob v0.3.4 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking probe v0.5.2 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking clap v4.6.7 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking printpdf v0.3.4 [INFO] [stderr] Compiling synstructure v0.14.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling zerofrom-derive v0.1.8 [INFO] [stderr] Compiling yoke-derive v0.8.4 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Checking rand v0.8.8 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking tokio v1.53.3 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking pin-project v1.1.13 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking flexi_logger v0.22.6 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.8 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking futures-executor v0.3.34 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking futures v0.3.34 [INFO] [stderr] Checking barter-instrument-copy v0.1.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-util v0.7.20 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tokio-stream v0.1.19 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking h2 v0.4.20 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.12.0 [INFO] [stderr] Checking hyper-util v0.1.21 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking binance v0.21.2 [INFO] [stderr] Checking barter-integration-copy v0.7.5 [INFO] [stderr] Checking barter-data-sniper v0.9.2 [INFO] [stderr] Checking sniper_algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/common_types/algo_type.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AlgoType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn from_string(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/common_types/order_types.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl OrderType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn from_int(value: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `subscribe_to_l2` and `unsubscribe_from_l2` are never used [INFO] [stdout] --> src/feed/feed_handle.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl FeedHandle { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn subscribe_to_l2( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn unsubscribe_from_l2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `subscribe_to_l2` and `unsubscribe_from_l2` are never used [INFO] [stdout] --> src/feed/feed_service.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FeedService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn subscribe_to_l2(&self, base: Symbol, quote: Symbol) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn unsubscribe_from_l2(&self, base: Symbol, quote: Symbol) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SubscribeToL2` and `UnsubscribeFromL2` are never constructed [INFO] [stdout] --> src/feed/messages/messages.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum FeedMessages { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | SubscribeToL2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | UnsubscribeFromL2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | price.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 41 - price.into(), [INFO] [stdout] 41 + price, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 41 - price.into(), [INFO] [stdout] 41 + >::into(price), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | quantity.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 42 - quantity.into(), [INFO] [stdout] 42 + quantity, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 42 - quantity.into(), [INFO] [stdout] 42 + >::into(quantity), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | price.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 64 - price.into(), [INFO] [stdout] 64 + price, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 64 - price.into(), [INFO] [stdout] 64 + >::into(price), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | quantity.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 65 - quantity.into(), [INFO] [stdout] 65 + quantity, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 65 - quantity.into(), [INFO] [stdout] 65 + >::into(quantity), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_string` is never used [INFO] [stdout] --> src/common_types/algo_type.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AlgoType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | pub fn from_string(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_int` is never used [INFO] [stdout] --> src/common_types/order_types.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl OrderType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn from_int(value: i32) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `subscribe_to_l2` and `unsubscribe_from_l2` are never used [INFO] [stdout] --> src/feed/feed_handle.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl FeedHandle { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn subscribe_to_l2( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn unsubscribe_from_l2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `subscribe_to_l2` and `unsubscribe_from_l2` are never used [INFO] [stdout] --> src/feed/feed_service.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FeedService { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn subscribe_to_l2(&self, base: Symbol, quote: Symbol) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn unsubscribe_from_l2(&self, base: Symbol, quote: Symbol) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SubscribeToL2` and `UnsubscribeFromL2` are never constructed [INFO] [stdout] --> src/feed/messages/messages.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum FeedMessages { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | SubscribeToL2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | UnsubscribeFromL2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | price.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 41 - price.into(), [INFO] [stdout] 41 + price, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 41 - price.into(), [INFO] [stdout] 41 + >::into(price), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | quantity.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 42 - quantity.into(), [INFO] [stdout] 42 + quantity, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 42 - quantity.into(), [INFO] [stdout] 42 + >::into(quantity), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | price.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 64 - price.into(), [INFO] [stdout] 64 + price, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 64 - price.into(), [INFO] [stdout] 64 + >::into(price), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Decimal` [INFO] [stdout] --> src/market/market_service.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | quantity.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 65 - quantity.into(), [INFO] [stdout] 65 + quantity, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 65 - quantity.into(), [INFO] [stdout] 65 + >::into(quantity), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sniper_algorithm` (bin "sniper_algorithm") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sniper_algorithm` (bin "sniper_algorithm" test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: unused dependency `rusttype` [INFO] [stderr] --> Cargo.toml:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | rusttype = "0.9" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rusttype` [INFO] [stderr] warning: `sniper_algorithm` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3", kill_on_drop: false }` [INFO] [stdout] 4ab1e7ee1f74b74492d48eb82fc247393733e249a49bf38477589038e34028b3