[INFO] cloning repository https://github.com/Dark-wiz/xendfinance_rust_sdk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dark-wiz/xendfinance_rust_sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDark-wiz%2Fxendfinance_rust_sdk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDark-wiz%2Fxendfinance_rust_sdk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e91028f2f03e3d565e15a405b4d4c82d325302d2
[INFO] checking Dark-wiz/xendfinance_rust_sdk against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDark-wiz%2Fxendfinance_rust_sdk" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Dark-wiz/xendfinance_rust_sdk
[INFO] finished tweaking git repo https://github.com/Dark-wiz/xendfinance_rust_sdk
[INFO] tweaked toml for git repo https://github.com/Dark-wiz/xendfinance_rust_sdk written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dark-wiz/xendfinance_rust_sdk on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dark-wiz/xendfinance_rust_sdk 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/gakonst/ethers-rs`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rlp v0.5.1
[INFO] [stderr]   Downloaded ethereum-types v0.13.1
[INFO] [stderr]   Downloaded ethereum-tx-sign v4.0.0
[INFO] [stderr]   Downloaded fastrlp-derive v0.1.2
[INFO] [stderr]   Downloaded ethbloom v0.12.1
[INFO] [stderr]   Downloaded fastrlp v0.1.3
[INFO] [stderr]   Downloaded ecdsa v0.14.3
[INFO] [stderr]   Downloaded k256 v0.11.3
[INFO] [stderr]   Downloaded serde-aux v3.1.0
[INFO] [stderr]   Downloaded futures-locks v0.7.0
[INFO] [stderr]   Downloaded coins-bip32 v0.7.0
[INFO] [stderr]   Downloaded coins-bip39 v0.7.0
[INFO] [stderr]   Downloaded pbkdf2 v0.10.1
[INFO] [stderr]   Downloaded ethabi v17.1.0
[INFO] [stderr]   Downloaded chrono v0.4.20
[INFO] [stderr]   Downloaded auto_impl v1.0.1
[INFO] [stderr]   Downloaded parity-scale-codec v3.1.5
[INFO] [stderr]   Downloaded send_wrapper v0.5.0
[INFO] [stderr]   Downloaded ws_stream_wasm v0.7.3
[INFO] [stderr]   Downloaded base58check v0.1.0
[INFO] [stderr]   Downloaded coins-core v0.7.0
[INFO] [stderr]   Downloaded scrypt v0.8.1
[INFO] [stderr]   Downloaded eth-keystore v0.4.2
[INFO] [stderr]   Downloaded sha3 v0.10.2
[INFO] [stderr]   Downloaded bigdecimal v0.0.14
[INFO] [stderr]   Downloaded ether-converter v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a83c9f0525d414ca605d218ac7da2d0ef2cacb22a3bf173415358dcf3c987cc8
[INFO] running `Command { std: "docker" "start" "-a" "a83c9f0525d414ca605d218ac7da2d0ef2cacb22a3bf173415358dcf3c987cc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a83c9f0525d414ca605d218ac7da2d0ef2cacb22a3bf173415358dcf3c987cc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a83c9f0525d414ca605d218ac7da2d0ef2cacb22a3bf173415358dcf3c987cc8", kill_on_drop: false }`
[INFO] [stdout] a83c9f0525d414ca605d218ac7da2d0ef2cacb22a3bf173415358dcf3c987cc8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c6f13c87b6dc28622219187fa4aeb01c9ccae46b9574fcf13901fdb01d4bf2cb
[INFO] running `Command { std: "docker" "start" "-a" "c6f13c87b6dc28622219187fa4aeb01c9ccae46b9574fcf13901fdb01d4bf2cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking base64ct v1.0.1
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking const-oid v0.9.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]     Checking wyz v0.5.0
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking der v0.6.0
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking keccak v0.1.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crypto-bigint v0.4.8
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking ff v0.12.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking sha3 v0.10.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking base16ct v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking byte-slice-cast v1.2.1
[INFO] [stderr]     Checking group v0.12.0
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking signature v1.5.0
[INFO] [stderr]     Checking uint v0.9.3
[INFO] [stderr]     Checking spki v0.6.0
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking rfc6979 v0.3.0
[INFO] [stderr]     Checking pkcs8 v0.9.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking sec1 v0.3.0
[INFO] [stderr]     Checking unicode-ident v1.0.3
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking elliptic-curve v0.12.3
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]     Checking fixed-hash v0.7.0
[INFO] [stderr]    Compiling rust_decimal v1.26.1
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking chrono v0.4.20
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking convert_case v0.5.0
[INFO] [stderr]     Checking unicode-xid v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking base58 v0.1.0
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking ripemd v0.1.1
[INFO] [stderr]     Checking ecdsa v0.14.3
[INFO] [stderr]     Checking blake2 v0.10.4
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]     Checking bech32 v0.7.3
[INFO] [stderr]     Checking base58check v0.1.0
[INFO] [stderr]     Checking salsa20 v0.9.0
[INFO] [stderr]    Compiling secp256k1-sys v0.4.2
[INFO] [stderr]     Checking pbkdf2 v0.10.1
[INFO] [stderr]     Checking password-hash v0.3.2
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking fxhash v0.2.1
[INFO] [stderr]     Checking radium v0.3.0
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking k256 v0.11.3
[INFO] [stderr]     Checking hashers v1.0.1
[INFO] [stderr]    Compiling semver v1.0.13
[INFO] [stderr]     Checking ctr v0.8.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]     Checking bitvec v0.17.4
[INFO] [stderr]     Checking scrypt v0.8.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking eyre v0.6.8
[INFO] [stderr]     Checking tiny-keccak v1.5.0
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]     Checking secp256k1 v0.21.3
[INFO] [stderr]     Checking secp256k1 v0.20.3
[INFO] [stderr]     Checking bigdecimal v0.0.14
[INFO] [stderr]     Checking ether-converter v0.1.3
[INFO] [stderr]     Checking webpki v0.22.0
[INFO] [stderr]     Checking sct v0.7.0
[INFO] [stderr]     Checking webpki-roots v0.22.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling auto_impl v1.0.1
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling fastrlp-derive v0.1.2
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]     Checking pin-project v1.0.11
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.1.3
[INFO] [stderr]     Checking impl-serde v0.3.2
[INFO] [stderr]     Checking parity-scale-codec v3.1.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking coins-core v0.7.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking rlp v0.5.1
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking impl-rlp v0.3.0
[INFO] [stderr]     Checking ethereum-tx-sign v4.0.0
[INFO] [stderr]     Checking coins-bip32 v0.7.0
[INFO] [stderr]     Checking ethbloom v0.12.1
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking serde-aux v3.1.0
[INFO] [stderr]     Checking eth-keystore v0.4.2
[INFO] [stderr]     Checking primitive-types v0.11.1
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking coins-bip39 v0.7.0
[INFO] [stderr]     Checking ethereum-types v0.13.1
[INFO] [stderr]     Checking ethabi v17.1.0
[INFO] [stderr]     Checking fastrlp v0.1.3
[INFO] [stderr]     Checking ethers-core v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-rustls v0.23.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking futures-locks v0.7.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking ethers-signers v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking ethers-addressbook v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking hyper-rustls v0.23.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking ethers-providers v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking ethers-etherscan v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking ethers-contract v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking ethers-middleware v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking ethers v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]     Checking xendfinance_rust_sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ProtocolAddress`
[INFO] [stdout]   --> src/sdk.rs:15:55
[INFO] [stdout]    |
[INFO] [stdout] 15 |     get_addresses::{get_mainnet_protocols, Addresses, ProtocolAddress},
[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 imports: `PathBuf`, `Path`, and `self`
[INFO] [stdout]  --> src/strategies/create_contract.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fs::{File, self}, str::FromStr, path::{Path, PathBuf}};
[INFO] [stdout]   |                      ^^^^                        ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `U256` and `U64`
[INFO] [stdout]  --> src/utilities/helpers.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ethers::prelude::{ U256, U64};
[INFO] [stdout]   |                        ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ProtocolAddress`
[INFO] [stdout]   --> src/sdk.rs:15:55
[INFO] [stdout]    |
[INFO] [stdout] 15 |     get_addresses::{get_mainnet_protocols, Addresses, ProtocolAddress},
[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 imports: `PathBuf`, `Path`, and `self`
[INFO] [stdout]  --> src/strategies/create_contract.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{fs::{File, self}, str::FromStr, path::{Path, PathBuf}};
[INFO] [stdout]   |                      ^^^^                        ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `U256` and `U64`
[INFO] [stdout]  --> src/utilities/helpers.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ethers::prelude::{ U256, U64};
[INFO] [stdout]   |                        ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utilities::price_per_full_share::get_price_per_full_share`
[INFO] [stdout]  --> src/tests/account_test.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use crate::utilities::price_per_full_share::get_price_per_full_share;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ethers::prelude::k256::elliptic_curve::consts::U25`
[INFO] [stdout]  --> src/tests/account_test.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use ethers::prelude::k256::elliptic_curve::consts::U25;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> src/sdk.rs:62:24
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocols`
[INFO] [stdout]   --> src/sdk.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stdout]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocol_name`
[INFO] [stdout]   --> src/sdk.rs:62:72
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rpc`
[INFO] [stdout]   --> src/strategies/xauto/index.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         rpc: String,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rpc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rpc`
[INFO] [stdout]   --> src/strategies/xvault/index.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         rpc: String,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rpc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `assets` is never read
[INFO] [stdout]   --> src/strategies/xauto/index.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct XAuto {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     assets: [Layer2Asset; 11],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XAuto` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `assets` is never read
[INFO] [stdout]   --> src/strategies/xvault/index.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct XVault {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     assets: [Layer2Asset; 11],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XVault` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/sdk.rs:145:38
[INFO] [stdout]     |
[INFO] [stdout] 145 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xauto/index.rs:53:38
[INFO] [stdout]    |
[INFO] [stdout] 53 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xauto/index.rs:83:38
[INFO] [stdout]    |
[INFO] [stdout] 83 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xauto/index.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xauto/index.rs:169:38
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xauto/index.rs:196:38
[INFO] [stdout]     |
[INFO] [stdout] 196 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xvault/index.rs:53:38
[INFO] [stdout]    |
[INFO] [stdout] 53 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xvault/index.rs:83:38
[INFO] [stdout]    |
[INFO] [stdout] 83 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xvault/index.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xvault/index.rs:171:38
[INFO] [stdout]     |
[INFO] [stdout] 171 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xvault/index.rs:198:38
[INFO] [stdout]     |
[INFO] [stdout] 198 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `layer2Assets` should have a snake case name
[INFO] [stdout]   --> src/utilities/layer2_assets.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let layer2Assets = [
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `layer2_assets`
[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 variable: `env`
[INFO] [stdout]   --> src/sdk.rs:62:24
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocols`
[INFO] [stdout]   --> src/sdk.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stdout]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocols`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `protocol_name`
[INFO] [stdout]   --> src/sdk.rs:62:72
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rpc`
[INFO] [stdout]   --> src/strategies/xauto/index.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         rpc: String,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rpc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rpc`
[INFO] [stdout]   --> src/strategies/xvault/index.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         rpc: String,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rpc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `assets` is never read
[INFO] [stdout]   --> src/strategies/xauto/index.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct XAuto {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     assets: [Layer2Asset; 11],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XAuto` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `assets` is never read
[INFO] [stdout]   --> src/strategies/xvault/index.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct XVault {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     assets: [Layer2Asset; 11],
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XVault` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONTRACT_ADDRESS` is never used
[INFO] [stdout]   --> src/tests/account_test.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |     const CONTRACT_ADDRESS: &str = "0x454d6F10B18f391adD499cE39aCD5bFCD424B601";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/sdk.rs:145:38
[INFO] [stdout]     |
[INFO] [stdout] 145 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xauto/index.rs:53:38
[INFO] [stdout]    |
[INFO] [stdout] 53 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xauto/index.rs:83:38
[INFO] [stdout]    |
[INFO] [stdout] 83 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xauto/index.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xauto/index.rs:169:38
[INFO] [stdout]     |
[INFO] [stdout] 169 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xauto/index.rs:196:38
[INFO] [stdout]     |
[INFO] [stdout] 196 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xvault/index.rs:53:38
[INFO] [stdout]    |
[INFO] [stdout] 53 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/strategies/xvault/index.rs:83:38
[INFO] [stdout]    |
[INFO] [stdout] 83 |             self.private_key.as_str().clone(),
[INFO] [stdout]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xvault/index.rs:112:38
[INFO] [stdout]     |
[INFO] [stdout] 112 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xvault/index.rs:171:38
[INFO] [stdout]     |
[INFO] [stdout] 171 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/strategies/xvault/index.rs:198:38
[INFO] [stdout]     |
[INFO] [stdout] 198 |             self.private_key.as_str().clone(),
[INFO] [stdout]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `layer2Assets` should have a snake case name
[INFO] [stdout]   --> src/utilities/layer2_assets.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let layer2Assets = [
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `layer2_assets`
[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 39.85s
[INFO] running `Command { std: "docker" "inspect" "c6f13c87b6dc28622219187fa4aeb01c9ccae46b9574fcf13901fdb01d4bf2cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6f13c87b6dc28622219187fa4aeb01c9ccae46b9574fcf13901fdb01d4bf2cb", kill_on_drop: false }`
[INFO] [stdout] c6f13c87b6dc28622219187fa4aeb01c9ccae46b9574fcf13901fdb01d4bf2cb
