[INFO] fetching crate evm-sdk 0.6.0...
[INFO] testing evm-sdk-0.6.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate evm-sdk 0.6.0 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate evm-sdk 0.6.0
[INFO] finished tweaking crates.io crate evm-sdk 0.6.0
[INFO] tweaked toml for crates.io crate evm-sdk 0.6.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate evm-sdk 0.6.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate evm-sdk 0.6.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9e91547a9f41398805c2946b4de4c161e290870fffd75345b34f8e2d1d4ccd13
[INFO] running `Command { std: "docker" "start" "-a" "9e91547a9f41398805c2946b4de4c161e290870fffd75345b34f8e2d1d4ccd13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e91547a9f41398805c2946b4de4c161e290870fffd75345b34f8e2d1d4ccd13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e91547a9f41398805c2946b4de4c161e290870fffd75345b34f8e2d1d4ccd13", kill_on_drop: false }`
[INFO] [stdout] 9e91547a9f41398805c2946b4de4c161e290870fffd75345b34f8e2d1d4ccd13
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 2a12ea991c64b97a6ee5df817ace803089f4b235b13b87e196863ddabd9028dd
[INFO] running `Command { std: "docker" "start" "-a" "2a12ea991c64b97a6ee5df817ace803089f4b235b13b87e196863ddabd9028dd", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling camino v1.2.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.104
[INFO] [stderr]    Compiling const_format v0.2.35
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]    Compiling const-hex v1.17.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling bumpalo v3.19.0
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling tempfile v3.23.0
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling wasm-bindgen v0.2.104
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling fixed-hash v0.8.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.104
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling indenter v0.3.4
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling bech32 v0.9.1
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling pem v1.1.1
[INFO] [stderr]    Compiling salsa20 v0.10.2
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling send_wrapper v0.4.0
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling scrypt v0.10.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.104
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling futures-locks v0.7.1
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling scale-info-derive v2.11.6
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling num_enum_derive v0.7.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling derive_more v1.0.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.104
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling env_filter v0.1.4
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling num_enum v0.7.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling jiff v0.2.16
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling js-sys v0.3.81
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling impl-serde v0.4.0
[INFO] [stderr]    Compiling cargo-platform v0.1.9
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling coins-core v0.8.7
[INFO] [stderr]    Compiling jsonwebtoken v8.3.0
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling cargo_metadata v0.18.1
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling coins-bip32 v0.8.7
[INFO] [stderr]    Compiling eth-keystore v0.5.0
[INFO] [stderr]    Compiling scale-info v2.11.6
[INFO] [stderr]    Compiling impl-codec v0.6.0
[INFO] [stderr]    Compiling rlp v0.5.2
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling open-fastrlp-derive v0.1.1
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling enr v0.10.0
[INFO] [stderr]    Compiling coins-bip39 v0.8.7
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling primitive-types v0.12.2
[INFO] [stderr]    Compiling ethbloom v0.13.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling ethereum-types v0.14.1
[INFO] [stderr]    Compiling gloo-timers v0.2.6
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling ethabi v18.0.0
[INFO] [stderr]    Compiling open-fastrlp v0.1.4
[INFO] [stderr]    Compiling tungstenite v0.20.1
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling ethers-core v2.0.14
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.20.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling ethers-contract-abigen v2.0.14
[INFO] [stderr]    Compiling ethers-signers v2.0.14
[INFO] [stderr]    Compiling ethers-addressbook v2.0.14
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling ethers-contract-derive v2.0.14
[INFO] [stderr]    Compiling ethers-providers v2.0.14
[INFO] [stderr]    Compiling ethers-etherscan v2.0.14
[INFO] [stderr]    Compiling ethers-contract v2.0.14
[INFO] [stderr]    Compiling ethers-middleware v2.0.14
[INFO] [stderr]    Compiling ethers v2.0.14
[INFO] [stderr]    Compiling evm-client v0.1.6
[INFO] [stderr]    Compiling evm-sdk v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `EvmClient`
[INFO] [stdout]  --> src/erc/erc20.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Evm, EvmClient, EvmError};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/trade.rs:1259:12
[INFO] [stdout]      |
[INFO] [stdout] 1259 |         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stdout]      |            ^                                                                  ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1259 -         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stdout] 1259 +         if is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/contract.rs:157:20
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 if let transactions = block.transactions {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:397:13
[INFO] [stdout]     |
[INFO] [stdout] 397 |         let mut incoming_txs = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:398:13
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let mut outgoing_txs = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_txs` is never read
[INFO] [stdout]    --> src/contract.rs:396:29
[INFO] [stdout]     |
[INFO] [stdout] 396 |         let mut total_txs = 0;
[INFO] [stdout]     |                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sender`
[INFO] [stdout]    --> src/mempool.rs:534:14
[INFO] [stdout]     |
[INFO] [stdout] 534 |         for (sender, txs) in by_sender {
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/mempool.rs:565:14
[INFO] [stdout]     |
[INFO] [stdout] 565 |         for (contract, txs) in by_contract {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:645:28
[INFO] [stdout]     |
[INFO] [stdout] 645 |                 if let Err(e) =
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:741:28
[INFO] [stdout]     |
[INFO] [stdout] 741 |                 if let Err(e) = Self::poll_large_transfers(
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:870:28
[INFO] [stdout]     |
[INFO] [stdout] 870 |                 if let Err(e) = Self::poll_events(&evm, &last_block, address_parsed, &tx).await {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `known_vulnerabilities` are never read
[INFO] [stdout]   --> src/safe.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct SecurityChecker {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 54 |     client: Arc<EvmClient>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 55 |     known_vulnerabilities: HashSet<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/tool.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 78 -         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stdout] 78 +         fn get_price(&self, token_address: Address) -> impl std::future::Future<Output = Result<f64, EvmError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/tool.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         async fn get_prices(
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 79 ~         fn get_prices(
[INFO] [stdout] 80 |             &self,
[INFO] [stdout] 81 |             token_addresses: Vec<Address>,
[INFO] [stdout] 82 ~         ) -> impl std::future::Future<Output = Result<HashMap<Address, f64>, EvmError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getDirection` should have a snake case name
[INFO] [stdout]     --> src/trade.rs:1258:12
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     pub fn getDirection(&self) -> Direction {
[INFO] [stdout]      |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_direction`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 17s
[INFO] running `Command { std: "docker" "inspect" "2a12ea991c64b97a6ee5df817ace803089f4b235b13b87e196863ddabd9028dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a12ea991c64b97a6ee5df817ace803089f4b235b13b87e196863ddabd9028dd", kill_on_drop: false }`
[INFO] [stdout] 2a12ea991c64b97a6ee5df817ace803089f4b235b13b87e196863ddabd9028dd
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 47ea79373ed240b69c6a04ef2802e734a6008bbf4801d22d522b724d676b577b
[INFO] running `Command { std: "docker" "start" "-a" "47ea79373ed240b69c6a04ef2802e734a6008bbf4801d22d522b724d676b577b", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `EvmClient`
[INFO] [stdout]  --> src/erc/erc20.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Evm, EvmClient, EvmError};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/trade.rs:1259:12
[INFO] [stdout]      |
[INFO] [stdout] 1259 |         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stdout]      |            ^                                                                  ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1259 -         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stdout] 1259 +         if is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/contract.rs:157:20
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 if let transactions = block.transactions {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:397:13
[INFO] [stdout]     |
[INFO] [stdout] 397 |         let mut incoming_txs = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:398:13
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let mut outgoing_txs = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_txs` is never read
[INFO] [stdout]    --> src/contract.rs:396:29
[INFO] [stdout]     |
[INFO] [stdout] 396 |         let mut total_txs = 0;
[INFO] [stdout]     |                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling evm-sdk v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `sender`
[INFO] [stdout]    --> src/mempool.rs:534:14
[INFO] [stdout]     |
[INFO] [stdout] 534 |         for (sender, txs) in by_sender {
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/mempool.rs:565:14
[INFO] [stdout]     |
[INFO] [stdout] 565 |         for (contract, txs) in by_contract {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:645:28
[INFO] [stdout]     |
[INFO] [stdout] 645 |                 if let Err(e) =
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:741:28
[INFO] [stdout]     |
[INFO] [stdout] 741 |                 if let Err(e) = Self::poll_large_transfers(
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:870:28
[INFO] [stdout]     |
[INFO] [stdout] 870 |                 if let Err(e) = Self::poll_events(&evm, &last_block, address_parsed, &tx).await {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `known_vulnerabilities` are never read
[INFO] [stdout]   --> src/safe.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct SecurityChecker {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 54 |     client: Arc<EvmClient>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 55 |     known_vulnerabilities: HashSet<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/tool.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 78 -         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stdout] 78 +         fn get_price(&self, token_address: Address) -> impl std::future::Future<Output = Result<f64, EvmError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/tool.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         async fn get_prices(
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 79 ~         fn get_prices(
[INFO] [stdout] 80 |             &self,
[INFO] [stdout] 81 |             token_addresses: Vec<Address>,
[INFO] [stdout] 82 ~         ) -> impl std::future::Future<Output = Result<HashMap<Address, f64>, EvmError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getDirection` should have a snake case name
[INFO] [stdout]     --> src/trade.rs:1258:12
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     pub fn getDirection(&self) -> Direction {
[INFO] [stdout]      |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_direction`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]    --> src/block.rs:249:24
[INFO] [stdout]     |
[INFO] [stdout] 249 |     use crate::trade::{self, Trade};
[INFO] [stdout]     |                        ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EvmClient`
[INFO] [stdout]  --> src/erc/erc20.rs:1:18
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{Evm, EvmClient, EvmError};
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/trade.rs:1259:12
[INFO] [stdout]      |
[INFO] [stdout] 1259 |         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stdout]      |            ^                                                                  ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1259 -         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stdout] 1259 +         if is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `evm_client::EvmType`
[INFO] [stdout]     --> src/trade.rs:1377:9
[INFO] [stdout]      |
[INFO] [stdout] 1377 |     use evm_client::EvmType;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `time::Duration`
[INFO] [stdout]     --> src/trade.rs:1380:26
[INFO] [stdout]      |
[INFO] [stdout] 1380 |     use std::{sync::Arc, time::Duration};
[INFO] [stdout]      |                          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/contract.rs:157:20
[INFO] [stdout]     |
[INFO] [stdout] 157 |                 if let transactions = block.transactions {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:397:13
[INFO] [stdout]     |
[INFO] [stdout] 397 |         let mut incoming_txs = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/contract.rs:398:13
[INFO] [stdout]     |
[INFO] [stdout] 398 |         let mut outgoing_txs = 0;
[INFO] [stdout]     |             ----^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_txs` is never read
[INFO] [stdout]    --> src/contract.rs:396:29
[INFO] [stdout]     |
[INFO] [stdout] 396 |         let mut total_txs = 0;
[INFO] [stdout]     |                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sender`
[INFO] [stdout]    --> src/mempool.rs:534:14
[INFO] [stdout]     |
[INFO] [stdout] 534 |         for (sender, txs) in by_sender {
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/mempool.rs:565:14
[INFO] [stdout]     |
[INFO] [stdout] 565 |         for (contract, txs) in by_contract {
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:237:9
[INFO] [stdout]     |
[INFO] [stdout] 237 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:250:9
[INFO] [stdout]     |
[INFO] [stdout] 250 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/safe.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |         contract_address: Address,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/safe.rs:265:9
[INFO] [stdout]     |
[INFO] [stdout] 265 |         source_code: Option<&str>,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:645:28
[INFO] [stdout]     |
[INFO] [stdout] 645 |                 if let Err(e) =
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:741:28
[INFO] [stdout]     |
[INFO] [stdout] 741 |                 if let Err(e) = Self::poll_large_transfers(
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/trade.rs:870:28
[INFO] [stdout]     |
[INFO] [stdout] 870 |                 if let Err(e) = Self::poll_events(&evm, &last_block, address_parsed, &tx).await {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `known_vulnerabilities` are never read
[INFO] [stdout]   --> src/safe.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct SecurityChecker {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 54 |     client: Arc<EvmClient>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 55 |     known_vulnerabilities: HashSet<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/tool.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 78 -         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stdout] 78 +         fn get_price(&self, token_address: Address) -> impl std::future::Future<Output = Result<f64, EvmError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/tool.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         async fn get_prices(
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 79 ~         fn get_prices(
[INFO] [stdout] 80 |             &self,
[INFO] [stdout] 81 |             token_addresses: Vec<Address>,
[INFO] [stdout] 82 ~         ) -> impl std::future::Future<Output = Result<HashMap<Address, f64>, EvmError>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getDirection` should have a snake case name
[INFO] [stdout]     --> src/trade.rs:1258:12
[INFO] [stdout]      |
[INFO] [stdout] 1258 |     pub fn getDirection(&self) -> Direction {
[INFO] [stdout]      |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_direction`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.41s
[INFO] running `Command { std: "docker" "inspect" "47ea79373ed240b69c6a04ef2802e734a6008bbf4801d22d522b724d676b577b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47ea79373ed240b69c6a04ef2802e734a6008bbf4801d22d522b724d676b577b", kill_on_drop: false }`
[INFO] [stdout] 47ea79373ed240b69c6a04ef2802e734a6008bbf4801d22d522b724d676b577b
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b88d2baae0bbca01532724f8a943b49b8fb81f3b8b31b28d4aaab5668ae531e2
[INFO] running `Command { std: "docker" "start" "-a" "b88d2baae0bbca01532724f8a943b49b8fb81f3b8b31b28d4aaab5668ae531e2", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `EvmClient`
[INFO] [stderr]  --> src/erc/erc20.rs:1:18
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{Evm, EvmClient, EvmError};
[INFO] [stderr]   |                  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]     --> src/trade.rs:1259:12
[INFO] [stderr]      |
[INFO] [stderr] 1259 |         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stderr]      |            ^                                                                  ^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]      |
[INFO] [stderr] 1259 -         if (is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))) {
[INFO] [stderr] 1259 +         if is_quote(&format!("{:?}", &self.get_spent_token_eth().unwrap().0))  {
[INFO] [stderr]      |
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]    --> src/contract.rs:157:20
[INFO] [stderr]     |
[INFO] [stderr] 157 |                 if let transactions = block.transactions {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]     = help: consider replacing the `if let` with a `let`
[INFO] [stderr]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/contract.rs:397:13
[INFO] [stderr]     |
[INFO] [stderr] 397 |         let mut incoming_txs = 0;
[INFO] [stderr]     |             ----^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/contract.rs:398:13
[INFO] [stderr]     |
[INFO] [stderr] 398 |         let mut outgoing_txs = 0;
[INFO] [stderr]     |             ----^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `total_txs` is never read
[INFO] [stderr]    --> src/contract.rs:396:29
[INFO] [stderr]     |
[INFO] [stderr] 396 |         let mut total_txs = 0;
[INFO] [stderr]     |                             ^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sender`
[INFO] [stderr]    --> src/mempool.rs:534:14
[INFO] [stderr]     |
[INFO] [stderr] 534 |         for (sender, txs) in by_sender {
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract`
[INFO] [stderr]    --> src/mempool.rs:565:14
[INFO] [stderr]     |
[INFO] [stderr] 565 |         for (contract, txs) in by_contract {
[INFO] [stderr]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:130:9
[INFO] [stderr]     |
[INFO] [stderr] 130 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:143:9
[INFO] [stderr]     |
[INFO] [stderr] 143 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:169:9
[INFO] [stderr]     |
[INFO] [stderr] 169 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source_code`
[INFO] [stderr]    --> src/safe.rs:170:9
[INFO] [stderr]     |
[INFO] [stderr] 170 |         source_code: Option<&str>,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:183:9
[INFO] [stderr]     |
[INFO] [stderr] 183 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:196:9
[INFO] [stderr]     |
[INFO] [stderr] 196 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:209:9
[INFO] [stderr]     |
[INFO] [stderr] 209 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:222:9
[INFO] [stderr]     |
[INFO] [stderr] 222 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source_code`
[INFO] [stderr]    --> src/safe.rs:223:9
[INFO] [stderr]     |
[INFO] [stderr] 223 |         source_code: Option<&str>,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:236:9
[INFO] [stderr]     |
[INFO] [stderr] 236 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source_code`
[INFO] [stderr]    --> src/safe.rs:237:9
[INFO] [stderr]     |
[INFO] [stderr] 237 |         source_code: Option<&str>,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:250:9
[INFO] [stderr]     |
[INFO] [stderr] 250 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source_code`
[INFO] [stderr]    --> src/safe.rs:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |         source_code: Option<&str>,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/safe.rs:264:9
[INFO] [stderr]     |
[INFO] [stderr] 264 |         contract_address: Address,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source_code`
[INFO] [stderr]    --> src/safe.rs:265:9
[INFO] [stderr]     |
[INFO] [stderr] 265 |         source_code: Option<&str>,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/trade.rs:136:21
[INFO] [stderr]     |
[INFO] [stderr] 136 |                 Err(e) => {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/trade.rs:645:28
[INFO] [stderr]     |
[INFO] [stderr] 645 |                 if let Err(e) =
[INFO] [stderr]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/trade.rs:741:28
[INFO] [stderr]     |
[INFO] [stderr] 741 |                 if let Err(e) = Self::poll_large_transfers(
[INFO] [stderr]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/trade.rs:870:28
[INFO] [stderr]     |
[INFO] [stderr] 870 |                 if let Err(e) = Self::poll_events(&evm, &last_block, address_parsed, &tx).await {
[INFO] [stderr]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `client` and `known_vulnerabilities` are never read
[INFO] [stderr]   --> src/safe.rs:54:5
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub struct SecurityChecker {
[INFO] [stderr]    |            --------------- fields in this struct
[INFO] [stderr] 54 |     client: Arc<EvmClient>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 55 |     known_vulnerabilities: HashSet<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/tool.rs:78:9
[INFO] [stderr]    |
[INFO] [stderr] 78 |         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 78 -         async fn get_price(&self, token_address: Address) -> Result<f64, EvmError>;
[INFO] [stderr] 78 +         fn get_price(&self, token_address: Address) -> impl std::future::Future<Output = Result<f64, EvmError>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/tool.rs:79:9
[INFO] [stderr]    |
[INFO] [stderr] 79 |         async fn get_prices(
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 79 ~         fn get_prices(
[INFO] [stderr] 80 |             &self,
[INFO] [stderr] 81 |             token_addresses: Vec<Address>,
[INFO] [stderr] 82 ~         ) -> impl std::future::Future<Output = Result<HashMap<Address, f64>, EvmError>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: method `getDirection` should have a snake case name
[INFO] [stderr]     --> src/trade.rs:1258:12
[INFO] [stderr]      |
[INFO] [stderr] 1258 |     pub fn getDirection(&self) -> Direction {
[INFO] [stderr]      |            ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_direction`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]    --> src/block.rs:249:24
[INFO] [stderr]     |
[INFO] [stderr] 249 |     use crate::trade::{self, Trade};
[INFO] [stderr]     |                        ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `EvmClient`
[INFO] [stderr]  --> src/erc/erc20.rs:1:18
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::{Evm, EvmClient, EvmError};
[INFO] [stderr]   |                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `evm_client::EvmType`
[INFO] [stderr]     --> src/trade.rs:1377:9
[INFO] [stderr]      |
[INFO] [stderr] 1377 |     use evm_client::EvmType;
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `time::Duration`
[INFO] [stderr]     --> src/trade.rs:1380:26
[INFO] [stderr]      |
[INFO] [stderr] 1380 |     use std::{sync::Arc, time::Duration};
[INFO] [stderr]      |                          ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/trade.rs:136:21
[INFO] [stderr]     |
[INFO] [stderr] 136 |                 Err(e) => {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sender`
[INFO] [stderr]    --> src/mempool.rs:534:14
[INFO] [stderr]     |
[INFO] [stderr] 534 |         for (sender, txs) in by_sender {
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender`
[INFO] [stderr] 
[INFO] [stderr] warning: `evm-sdk` (lib) generated 31 warnings (run `cargo fix --lib -p evm-sdk` to apply 25 suggestions)
[INFO] [stderr] warning: `evm-sdk` (lib test) generated 34 warnings (28 duplicates) (run `cargo fix --lib -p evm-sdk --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/evm-sdk/55118f581379f0d1/deps/evm_sdk-55118f581379f0d1)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test block::tests::test_get_block_by_hash_and_compare ... ok
[INFO] [stdout] test block::tests::test_get_blocks_in_range ... ok
[INFO] [stdout] test trade::test::test_get_transaction_by_tx ... FAILED
[INFO] [stdout] test block::tests::test_get_block_by_number_success ... FAILED
[INFO] [stdout] test block::tests::lisent_liquidity_last_transaction has been running for over 60 seconds
[INFO] [stdout] test block::tests::test_poll_latest_block_per_second has been running for over 60 seconds
[INFO] [stdout] test block::tests::test_poll_latest_block_per_second ... ok
[ERROR] error running command: no output for 300 seconds
[INFO] running `Command { std: "docker" "inspect" "b88d2baae0bbca01532724f8a943b49b8fb81f3b8b31b28d4aaab5668ae531e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b88d2baae0bbca01532724f8a943b49b8fb81f3b8b31b28d4aaab5668ae531e2", kill_on_drop: false }`
[INFO] [stdout] b88d2baae0bbca01532724f8a943b49b8fb81f3b8b31b28d4aaab5668ae531e2
