[INFO] cloning repository https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florenzoreyes%2FLiquidity-Maker-with-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florenzoreyes%2FLiquidity-Maker-with-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbaeca23aaebdbfe7b99178de322302618a0b31a [INFO] checking lorenzoreyes/Liquidity-Maker-with-Rust against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florenzoreyes%2FLiquidity-Maker-with-Rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust [INFO] finished tweaking git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust [INFO] tweaked toml for git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf-support v3.1.0 [INFO] [stderr] Downloaded dateparser v0.1.6 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded clearscreen v1.0.10 [INFO] [stderr] Downloaded anyhow v1.0.59 [INFO] [stderr] Downloaded protobuf v3.1.0 [INFO] [stderr] Downloaded rust_decimal v1.26.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1219d8f5bd48c6b02c1e0edbc5dd70699ffda6e4f689bac4e74d2b401318f96f [INFO] running `Command { std: "docker" "start" "-a" "1219d8f5bd48c6b02c1e0edbc5dd70699ffda6e4f689bac4e74d2b401318f96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1219d8f5bd48c6b02c1e0edbc5dd70699ffda6e4f689bac4e74d2b401318f96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1219d8f5bd48c6b02c1e0edbc5dd70699ffda6e4f689bac4e74d2b401318f96f", kill_on_drop: false }` [INFO] [stdout] 1219d8f5bd48c6b02c1e0edbc5dd70699ffda6e4f689bac4e74d2b401318f96f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f8c7433f7147a7c0f841465cd95d4e0051181177034a94d4cd0a26ae7d4d524 [INFO] running `Command { std: "docker" "start" "-a" "5f8c7433f7147a7c0f841465cd95d4e0051181177034a94d4cd0a26ae7d4d524", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling rust_decimal v1.26.0 [INFO] [stderr] Compiling protobuf v3.1.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking openssl-sys v0.9.75 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking nix v0.24.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking dateparser v0.1.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking protobuf-support v3.1.0 [INFO] [stderr] Checking clearscreen v1.0.10 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-tungstenite v0.17.2 [INFO] [stderr] Checking serde_json v1.0.82 [INFO] [stderr] Checking keyrock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/binance_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/binance_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/binance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/binance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/binance_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/binance_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/binance.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/binance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price` and `size` are never read [INFO] [stdout] --> src/binance_response.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OfferData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OfferData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_update_id`, `bids`, and `asks` are never read [INFO] [stdout] --> src/binance_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DepthStreamData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | pub last_update_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub asks: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamData` 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: fields `stream` and `data` are never read [INFO] [stdout] --> src/binance_response.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DepthStreamWrapper { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 24 | pub stream: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub data: DepthStreamData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamWrapper` 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: static `BINANCE_WS_API` is never used [INFO] [stdout] --> src/binance.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static BINANCE_WS_API: &str = "wss://stream.binance.com:9443"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binance_streams` is never used [INFO] [stdout] --> src/binance.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn binance_streams(_: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `price` and `size` are never read [INFO] [stdout] --> src/binance_response.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OfferData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | pub price: Decimal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub size: Decimal, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OfferData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_update_id`, `bids`, and `asks` are never read [INFO] [stdout] --> src/binance_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DepthStreamData { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | pub last_update_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub bids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub asks: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamData` 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: fields `stream` and `data` are never read [INFO] [stdout] --> src/binance_response.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct DepthStreamWrapper { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 24 | pub stream: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub data: DepthStreamData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamWrapper` 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: static `BINANCE_WS_API` is never used [INFO] [stdout] --> src/binance.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static BINANCE_WS_API: &str = "wss://stream.binance.com:9443"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `binance_streams` is never used [INFO] [stdout] --> src/binance.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn binance_streams(_: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/binance_isolated.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/binance_isolated.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/binance_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/binance_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/binance_isolated.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/binance_isolated.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/binance_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/binance_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derivative::Derivative` [INFO] [stdout] --> src/bitstamp_isolated.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derivative::Derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `Serialize`, `de` [INFO] [stdout] --> src/bitstamp_isolated.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{de, Deserialize, Serialize, Deserializer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/bitstamp_isolated.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/bitstamp_isolated.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/bitstamp_isolated.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dateparser::datetime::Parse` [INFO] [stdout] --> src/bitstamp_isolated.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use dateparser::datetime::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/bitstamp_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/bitstamp_response.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derivative::Derivative` [INFO] [stdout] --> src/bitstamp_isolated.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derivative::Derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Deserializer`, `Serialize`, `de` [INFO] [stdout] --> src/bitstamp_isolated.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{de, Deserialize, Serialize, Deserializer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/bitstamp_isolated.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/bitstamp_isolated.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/bitstamp_isolated.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dateparser::datetime::Parse` [INFO] [stdout] --> src/bitstamp_isolated.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use dateparser::datetime::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/bitstamp_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/bitstamp_response.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derivative::Derivative` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derivative::Derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_reader`, `json` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json,from_reader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message`, `connect` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tungstenite::{connect, Message}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/binance_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/binance_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/bitstamp_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/bitstamp_response.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/socket.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/socket.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::replace` [INFO] [stdout] --> src/socket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem::replace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_reader` [INFO] [stdout] --> src/socket.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{json,from_reader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derivative::Derivative` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derivative::Derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_reader`, `json` [INFO] [stdout] --> src/main.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::{json,from_reader}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message`, `connect` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tungstenite::{connect, Message}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Utc` is imported redundantly [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime,Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | use chrono::prelude::*; [INFO] [stdout] | ------------------ the item `Utc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/binance_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/binance_response.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> src/bitstamp_response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserializer` [INFO] [stdout] --> src/bitstamp_response.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/socket.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/socket.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::replace` [INFO] [stdout] --> src/socket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem::replace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_reader` [INFO] [stdout] --> src/socket.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{json,from_reader}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/binance_isolated.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut socket, response) = connect(Url::parse(&binance_url).unwrap()).expect("Can't connect."); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/binance_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DepthStreamData { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 14 | pub last_update_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/binance_isolated.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut socket, response) = connect(Url::parse(&binance_url).unwrap()).expect("Can't connect."); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/binance_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DepthStreamData { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 14 | pub last_update_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event` is never read [INFO] [stdout] --> src/bitstamp_response.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub channel: String, [INFO] [stdout] 8 | pub event: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `microtimestamp` are never read [INFO] [stdout] --> src/bitstamp_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub microtimestamp: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event` is never read [INFO] [stdout] --> src/bitstamp_response.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub channel: String, [INFO] [stdout] 8 | pub event: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `microtimestamp` are never read [INFO] [stdout] --> src/bitstamp_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub microtimestamp: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socket.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | let (mut socket_binance, _response) = connect(Url::parse(&binance_url).unwrap()).expect("Can't connect"); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/socket.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | let (mut socket_binance, _response) = connect(Url::parse(&binance_url).unwrap()).expect("Can't connect"); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/binance_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DepthStreamData { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 14 | pub last_update_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event` is never read [INFO] [stdout] --> src/bitstamp_response.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub channel: String, [INFO] [stdout] 8 | pub event: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `microtimestamp` are never read [INFO] [stdout] --> src/bitstamp_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub microtimestamp: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/socket.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update_id` is never read [INFO] [stdout] --> src/binance_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DepthStreamData { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 14 | pub last_update_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DepthStreamData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `event` is never read [INFO] [stdout] --> src/bitstamp_response.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub channel: String, [INFO] [stdout] 8 | pub event: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `microtimestamp` are never read [INFO] [stdout] --> src/bitstamp_response.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Data { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 14 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub microtimestamp: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `User` is never constructed [INFO] [stdout] --> src/socket.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct User { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "5f8c7433f7147a7c0f841465cd95d4e0051181177034a94d4cd0a26ae7d4d524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f8c7433f7147a7c0f841465cd95d4e0051181177034a94d4cd0a26ae7d4d524", kill_on_drop: false }` [INFO] [stdout] 5f8c7433f7147a7c0f841465cd95d4e0051181177034a94d4cd0a26ae7d4d524 [INFO] checking lorenzoreyes/Liquidity-Maker-with-Rust against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Florenzoreyes%2FLiquidity-Maker-with-Rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust [INFO] finished tweaking git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust [INFO] tweaked toml for git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lorenzoreyes/Liquidity-Maker-with-Rust 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b350c93c61d993e67a425daab3fdede173c6bd7e3f7a9b40166e8629015101ff [INFO] running `Command { std: "docker" "start" "-a" "b350c93c61d993e67a425daab3fdede173c6bd7e3f7a9b40166e8629015101ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b350c93c61d993e67a425daab3fdede173c6bd7e3f7a9b40166e8629015101ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b350c93c61d993e67a425daab3fdede173c6bd7e3f7a9b40166e8629015101ff", kill_on_drop: false }` [INFO] [stdout] b350c93c61d993e67a425daab3fdede173c6bd7e3f7a9b40166e8629015101ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8779463f519b3a1a1922a7108cb46423df10e6acaba24205dabcccfaf8fad299 [INFO] running `Command { std: "docker" "start" "-a" "8779463f519b3a1a1922a7108cb46423df10e6acaba24205dabcccfaf8fad299", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bytes v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 334 | buf_get_impl!(self, u16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 354 | buf_get_impl!(self, u16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 374 | buf_get_impl!(self, i16::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 394 | buf_get_impl!(self, i16::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 414 | buf_get_impl!(self, u32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 434 | buf_get_impl!(self, u32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 454 | buf_get_impl!(self, i32::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 474 | buf_get_impl!(self, i32::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 494 | buf_get_impl!(self, u64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 514 | buf_get_impl!(self, u64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 534 | buf_get_impl!(self, i64::from_be_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 554 | buf_get_impl!(self, i64::from_le_bytes); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 574 | buf_get_impl!(self, u128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 594 | buf_get_impl!(self, u128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 614 | buf_get_impl!(self, i128::from_be_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.2.0/src/buf/buf_impl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / if let Some(ret) = ret { [INFO] [stdout] 24 | | // if the direct conversion was possible, advance and return [INFO] [stdout] 25 | | $this.advance(SIZE); [INFO] [stdout] 26 | | return ret; [INFO] [stdout] ... | [INFO] [stdout] 31 | | return $typ::$conv(buf); [INFO] [stdout] 32 | | } [INFO] [stdout] | |_________^ cannot satisfy `_ -> _` [INFO] [stdout] ... [INFO] [stdout] 634 | buf_get_impl!(self, i128::from_le_bytes); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bytes` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8779463f519b3a1a1922a7108cb46423df10e6acaba24205dabcccfaf8fad299", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8779463f519b3a1a1922a7108cb46423df10e6acaba24205dabcccfaf8fad299", kill_on_drop: false }` [INFO] [stdout] 8779463f519b3a1a1922a7108cb46423df10e6acaba24205dabcccfaf8fad299