[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] testing Dark-wiz/xendfinance_rust_sdk against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDark-wiz%2Fxendfinance_rust_sdk" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dark-wiz/xendfinance_rust_sdk on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/gakonst/ethers-rs`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded elliptic-curve v0.12.3
[INFO] [stderr]   Downloaded eyre v0.6.8
[INFO] [stderr]   Downloaded ethereum-tx-sign v4.0.0
[INFO] [stderr]   Downloaded group v0.12.0
[INFO] [stderr]   Downloaded rustls-pemfile v1.0.1
[INFO] [stderr]   Downloaded send_wrapper v0.5.0
[INFO] [stderr]   Downloaded base58check v0.1.0
[INFO] [stderr]   Downloaded ether-converter v0.1.3
[INFO] [stderr]   Downloaded semver v1.0.13
[INFO] [stderr]   Downloaded sec1 v0.3.0
[INFO] [stderr]   Downloaded bigdecimal v0.0.14
[INFO] [stderr]   Downloaded auto_impl v1.0.1
[INFO] [stderr]   Downloaded serde v1.0.143
[INFO] [stderr]   Downloaded const-oid v0.9.0
[INFO] [stderr]   Downloaded k256 v0.11.3
[INFO] [stderr]   Downloaded serde_derive v1.0.143
[INFO] [stderr]   Downloaded async-trait v0.1.57
[INFO] [stderr]   Downloaded ethabi v17.1.0
[INFO] [stderr]   Downloaded crypto-bigint v0.4.8
[INFO] [stderr]   Downloaded ws_stream_wasm v0.7.3
[INFO] [stderr]   Downloaded coins-core v0.7.0
[INFO] [stderr]   Downloaded coins-bip32 v0.7.0
[INFO] [stderr]   Downloaded coins-bip39 v0.7.0
[INFO] [stderr]   Downloaded password-hash v0.3.2
[INFO] [stderr]   Downloaded convert_case v0.5.0
[INFO] [stderr]   Downloaded fastrlp v0.1.3
[INFO] [stderr]   Downloaded ecdsa v0.14.3
[INFO] [stderr]   Downloaded secp256k1 v0.20.3
[INFO] [stderr]   Downloaded der v0.6.0
[INFO] [stderr]   Downloaded serde-aux v3.1.0
[INFO] [stderr]   Downloaded futures-locks v0.7.0
[INFO] [stderr]   Downloaded scrypt v0.8.1
[INFO] [stderr]   Downloaded ff v0.12.0
[INFO] [stderr]   Downloaded base64ct v1.0.1
[INFO] [stderr]   Downloaded eth-keystore v0.4.2
[INFO] [stderr]   Downloaded rfc6979 v0.3.0
[INFO] [stderr]   Downloaded base58 v0.1.0
[INFO] [stderr]   Downloaded bech32 v0.7.3
[INFO] [stderr]   Downloaded pbkdf2 v0.10.1
[INFO] [stderr]   Downloaded fastrlp-derive v0.1.2
[INFO] [stderr]   Downloaded sha3 v0.10.2
[INFO] [stderr]   Downloaded zeroize v1.5.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 116050a33451d88d980fe5079383cdb2e0c6657ff9b7dd4224d920346c6d09d6
[INFO] running `Command { std: "docker" "start" "-a" "116050a33451d88d980fe5079383cdb2e0c6657ff9b7dd4224d920346c6d09d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "116050a33451d88d980fe5079383cdb2e0c6657ff9b7dd4224d920346c6d09d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "116050a33451d88d980fe5079383cdb2e0c6657ff9b7dd4224d920346c6d09d6", kill_on_drop: false }`
[INFO] [stdout] 116050a33451d88d980fe5079383cdb2e0c6657ff9b7dd4224d920346c6d09d6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 30631f375fb2cc2caa76579dd26067a8e7bf9daf8997db22c81df8130b05eec5
[INFO] running `Command { std: "docker" "start" "-a" "30631f375fb2cc2caa76579dd26067a8e7bf9daf8997db22c81df8130b05eec5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.127
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling base64ct v1.0.1
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling const-oid v0.9.0
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling der v0.6.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling wyz v0.5.0
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling keccak v0.1.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling byte-slice-cast v1.2.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crypto-bigint v0.4.8
[INFO] [stderr]    Compiling ff v0.12.0
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling group v0.12.0
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling uint v0.9.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling sha3 v0.10.2
[INFO] [stderr]    Compiling signature v1.5.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling fixed-hash v0.7.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling rfc6979 v0.3.0
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling ecdsa v0.14.3
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling rust_decimal v1.26.1
[INFO] [stderr]    Compiling k256 v0.11.3
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling chrono v0.4.20
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling convert_case v0.5.0
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling base58 v0.1.0
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.21
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling ripemd v0.1.1
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling base58check v0.1.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling bech32 v0.7.3
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling salsa20 v0.9.0
[INFO] [stderr]    Compiling pbkdf2 v0.10.1
[INFO] [stderr]    Compiling password-hash v0.3.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling secp256k1-sys v0.4.2
[INFO] [stderr]    Compiling semver v1.0.13
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling radium v0.3.0
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling scrypt v0.8.1
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling webpki-roots v0.22.4
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling eyre v0.6.8
[INFO] [stderr]    Compiling tiny-keccak v1.5.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling secp256k1 v0.21.3
[INFO] [stderr]    Compiling bigdecimal v0.0.14
[INFO] [stderr]    Compiling ether-converter v0.1.3
[INFO] [stderr]    Compiling secp256k1 v0.20.3
[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 fastrlp-derive v0.1.2
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling auto_impl v1.0.1
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]    Compiling pin-project v1.0.11
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.1.3
[INFO] [stderr]    Compiling parity-scale-codec v3.1.5
[INFO] [stderr]    Compiling impl-serde v0.3.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling coins-core v0.7.0
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling rlp v0.5.1
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling coins-bip32 v0.7.0
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling ethereum-tx-sign v4.0.0
[INFO] [stderr]    Compiling ethbloom v0.12.1
[INFO] [stderr]    Compiling impl-codec v0.6.0
[INFO] [stderr]    Compiling primitive-types v0.11.1
[INFO] [stderr]    Compiling serde-aux v3.1.0
[INFO] [stderr]    Compiling eth-keystore v0.4.2
[INFO] [stderr]    Compiling coins-bip39 v0.7.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling ethereum-types v0.13.1
[INFO] [stderr]    Compiling fastrlp v0.1.3
[INFO] [stderr]    Compiling ethabi v17.1.0
[INFO] [stderr]    Compiling ethers-core v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling futures-locks v0.7.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling ethers-signers v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling ethers-addressbook v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-rustls v0.23.0
[INFO] [stderr]    Compiling reqwest v0.11.11
[INFO] [stderr]    Compiling ethers-providers v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling ethers-etherscan v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling ethers-contract v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling ethers-middleware v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling ethers v0.17.0 (https://github.com/gakonst/ethers-rs#88844b12)
[INFO] [stderr]    Compiling 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 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: value assigned to `name` is never read
[INFO] [stdout]   --> src/utilities/protocol_selector.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut name: String = "".to_string();
[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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "30631f375fb2cc2caa76579dd26067a8e7bf9daf8997db22c81df8130b05eec5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30631f375fb2cc2caa76579dd26067a8e7bf9daf8997db22c81df8130b05eec5", kill_on_drop: false }`
[INFO] [stdout] 30631f375fb2cc2caa76579dd26067a8e7bf9daf8997db22c81df8130b05eec5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 855848ff3a77bf447dd9fbe3b860a82c3593ccad3c4ba49a7c5e9022a32d0e4a
[INFO] running `Command { std: "docker" "start" "-a" "855848ff3a77bf447dd9fbe3b860a82c3593ccad3c4ba49a7c5e9022a32d0e4a", kill_on_drop: false }`
[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 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] [stderr]    Compiling xendfinance_rust_sdk v0.1.0 (/opt/rustwide/workdir)
[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: value assigned to `name` is never read
[INFO] [stdout]   --> src/utilities/protocol_selector.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut name: String = "".to_string();
[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: 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 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: value assigned to `name` is never read
[INFO] [stdout]   --> src/utilities/protocol_selector.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut name: String = "".to_string();
[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: 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 `test` profile [unoptimized + debuginfo] target(s) in 3.92s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "855848ff3a77bf447dd9fbe3b860a82c3593ccad3c4ba49a7c5e9022a32d0e4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "855848ff3a77bf447dd9fbe3b860a82c3593ccad3c4ba49a7c5e9022a32d0e4a", kill_on_drop: false }`
[INFO] [stdout] 855848ff3a77bf447dd9fbe3b860a82c3593ccad3c4ba49a7c5e9022a32d0e4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e4e42830ab95c9398b46ecfc49d0da2858a95f2264edd4c9b9d9c788c01f764e
[INFO] running `Command { std: "docker" "start" "-a" "e4e42830ab95c9398b46ecfc49d0da2858a95f2264edd4c9b9d9c788c01f764e", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `ProtocolAddress`
[INFO] [stderr]   --> src/sdk.rs:15:55
[INFO] [stderr]    |
[INFO] [stderr] 15 |     get_addresses::{get_mainnet_protocols, Addresses, ProtocolAddress},
[INFO] [stderr]    |                                                       ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `PathBuf`, `Path`, and `self`
[INFO] [stderr]  --> src/strategies/create_contract.rs:7:22
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::{fs::{File, self}, str::FromStr, path::{Path, PathBuf}};
[INFO] [stderr]   |                      ^^^^                        ^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `U256` and `U64`
[INFO] [stderr]  --> src/utilities/helpers.rs:6:24
[INFO] [stderr]   |
[INFO] [stderr] 6 | use ethers::prelude::{ U256, U64};
[INFO] [stderr]   |                        ^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `env`
[INFO] [stderr]   --> src/sdk.rs:62:24
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stderr]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `protocols`
[INFO] [stderr]   --> src/sdk.rs:62:35
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stderr]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocols`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `protocol_name`
[INFO] [stderr]   --> src/sdk.rs:62:72
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub async fn local(env: &str, protocols: get_addresses::Protocols, protocol_name: String) {}
[INFO] [stderr]    |                                                                        ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_protocol_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rpc`
[INFO] [stderr]   --> src/strategies/xauto/index.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |         rpc: String,
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rpc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rpc`
[INFO] [stderr]   --> src/strategies/xvault/index.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |         rpc: String,
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_rpc`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `name` is never read
[INFO] [stderr]   --> src/utilities/protocol_selector.rs:24:28
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let mut name: String = "".to_string();
[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: field `assets` is never read
[INFO] [stderr]   --> src/strategies/xauto/index.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct XAuto {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     assets: [Layer2Asset; 11],
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `XAuto` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `assets` is never read
[INFO] [stderr]   --> src/strategies/xvault/index.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub struct XVault {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 22 |     assets: [Layer2Asset; 11],
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `XVault` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/sdk.rs:145:38
[INFO] [stderr]     |
[INFO] [stderr] 145 |             self.private_key.as_str().clone(),
[INFO] [stderr]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/strategies/xauto/index.rs:53:38
[INFO] [stderr]    |
[INFO] [stderr] 53 |             self.private_key.as_str().clone(),
[INFO] [stderr]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/strategies/xauto/index.rs:83:38
[INFO] [stderr]    |
[INFO] [stderr] 83 |             self.private_key.as_str().clone(),
[INFO] [stderr]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/strategies/xauto/index.rs:112:38
[INFO] [stderr]     |
[INFO] [stderr] 112 |             self.private_key.as_str().clone(),
[INFO] [stderr]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/strategies/xauto/index.rs:169:38
[INFO] [stderr]     |
[INFO] [stderr] 169 |             self.private_key.as_str().clone(),
[INFO] [stderr]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/strategies/xauto/index.rs:196:38
[INFO] [stderr]     |
[INFO] [stderr] 196 |             self.private_key.as_str().clone(),
[INFO] [stderr]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/strategies/xvault/index.rs:53:38
[INFO] [stderr]    |
[INFO] [stderr] 53 |             self.private_key.as_str().clone(),
[INFO] [stderr]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]   --> src/strategies/xvault/index.rs:83:38
[INFO] [stderr]    |
[INFO] [stderr] 83 |             self.private_key.as_str().clone(),
[INFO] [stderr]    |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]    |
[INFO] [stderr]    = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/strategies/xvault/index.rs:112:38
[INFO] [stderr]     |
[INFO] [stderr] 112 |             self.private_key.as_str().clone(),
[INFO] [stderr]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/strategies/xvault/index.rs:171:38
[INFO] [stderr]     |
[INFO] [stderr] 171 |             self.private_key.as_str().clone(),
[INFO] [stderr]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/strategies/xvault/index.rs:198:38
[INFO] [stderr]     |
[INFO] [stderr] 198 |             self.private_key.as_str().clone(),
[INFO] [stderr]     |                                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: variable `layer2Assets` should have a snake case name
[INFO] [stderr]   --> src/utilities/layer2_assets.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |     let layer2Assets = [
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: convert the identifier to snake case: `layer2_assets`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::utilities::price_per_full_share::get_price_per_full_share`
[INFO] [stderr]  --> src/tests/account_test.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     use crate::utilities::price_per_full_share::get_price_per_full_share;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ethers::prelude::k256::elliptic_curve::consts::U25`
[INFO] [stderr]  --> src/tests/account_test.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     use ethers::prelude::k256::elliptic_curve::consts::U25;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CONTRACT_ADDRESS` is never used
[INFO] [stderr]   --> src/tests/account_test.rs:14:11
[INFO] [stderr]    |
[INFO] [stderr] 14 |     const CONTRACT_ADDRESS: &str = "0x454d6F10B18f391adD499cE39aCD5bFCD424B601";
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `xendfinance_rust_sdk` (lib) generated 23 warnings (run `cargo fix --lib -p xendfinance_rust_sdk` to apply 19 suggestions)
[INFO] [stderr] warning: `xendfinance_rust_sdk` (lib test) generated 26 warnings (23 duplicates) (run `cargo fix --lib -p xendfinance_rust_sdk --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xendfinance_rust_sdk-5414c2800c3050ce)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::account_test::account_test::get_address_from_pk ... ok
[INFO] [stdout] test tests::account_test::account_test::get_contract_price_per_full_share ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::account_test::account_test::get_contract_price_per_full_share stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::account_test::account_test::get_contract_price_per_full_share' (26) panicked at src/utilities/get_addresses.rs:76:10:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.xend.finance")), port: None, path: "/xend-finance/addresses", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56c2125f7e02 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x56c2125f7e02 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x56c2125f7e02 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x56c2125f7e02 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x56c21260eb2a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x56c21260eb2a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x56c2125fd0e6 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x56c2125fd0e6 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x56c2125d531f - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x56c2125d531f - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x56c2125ef929 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x56c211f7520e - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x56c211f7520e - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x56c2125efb92 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x56c2125efb92 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x56c2125d53d8 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x56c2125ca399 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x56c2125d649d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x56c21260f26c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x56c21260efe2 - core[27de1724e4349be2]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x56c211f68628 - <core[27de1724e4349be2]::result::Result<reqwest[5739885040187ed]::async_impl::response::Response, reqwest[5739885040187ed]::error::Error>>::unwrap
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1233:23
[INFO] [stdout]   21:     0x56c211f68628 - xendfinance_rust_sdk[352e2ab76075dd13]::utilities::get_addresses::get_bsc_mainnet_addresses::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utilities/get_addresses.rs:76:10
[INFO] [stdout]   22:     0x56c211f671e2 - xendfinance_rust_sdk[352e2ab76075dd13]::utilities::get_addresses::get_mainnet_protocols::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utilities/get_addresses.rs:90:44
[INFO] [stdout]   23:     0x56c211f4b853 - <xendfinance_rust_sdk[352e2ab76075dd13]::sdk::Options>::new::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/sdk.rs:57:48
[INFO] [stdout]   24:     0x56c211f4db4e - xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:26:47
[INFO] [stdout]   25:     0x56c211f3365d - <core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}> as core[27de1724e4349be2]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/future/future.rs:133:9
[INFO] [stdout]   26:     0x56c211f5e98d - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on::<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:543:64
[INFO] [stdout]   27:     0x56c211f3e950 - tokio[8b1d3a7360b854f8]::coop::with_budget::<core[27de1724e4349be2]::task::poll::Poll<()>, <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/coop.rs:102:9
[INFO] [stdout]   28:     0x56c211f40d05 - <std[3b51380354919863]::thread::local::LocalKey<core[27de1724e4349be2]::cell::Cell<tokio[8b1d3a7360b854f8]::coop::Budget>>>::try_with::<tokio[8b1d3a7360b854f8]::coop::with_budget<core[27de1724e4349be2]::task::poll::Poll<()>, <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}::{closure#0}>::{closure#0}, core[27de1724e4349be2]::task::poll::Poll<()>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/local.rs:513:12
[INFO] [stdout]   29:     0x56c211f409ae - <std[3b51380354919863]::thread::local::LocalKey<core[27de1724e4349be2]::cell::Cell<tokio[8b1d3a7360b854f8]::coop::Budget>>>::with::<tokio[8b1d3a7360b854f8]::coop::with_budget<core[27de1724e4349be2]::task::poll::Poll<()>, <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}::{closure#0}>::{closure#0}, core[27de1724e4349be2]::task::poll::Poll<()>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/local.rs:477:20
[INFO] [stdout]   30:     0x56c211f5e84f - tokio[8b1d3a7360b854f8]::coop::with_budget::<core[27de1724e4349be2]::task::poll::Poll<()>, <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/coop.rs:95:13
[INFO] [stdout]   31:     0x56c211f5e84f - tokio[8b1d3a7360b854f8]::coop::budget::<core[27de1724e4349be2]::task::poll::Poll<()>, <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/coop.rs:72:5
[INFO] [stdout]   32:     0x56c211f5e84f - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on::<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:543:25
[INFO] [stdout]   33:     0x56c211f59510 - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::Context>::enter::<core[27de1724e4349be2]::task::poll::Poll<()>, <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:367:19
[INFO] [stdout]   34:     0x56c211f5da7f - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on::<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:542:44
[INFO] [stdout]   35:     0x56c211f5d804 - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::enter::<<tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:613:57
[INFO] [stdout]   36:     0x56c211f2c323 - <tokio[8b1d3a7360b854f8]::macros::scoped_tls::ScopedKey<tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::Context>>::set::<<tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::enter<<tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>::{closure#0}, (alloc[a57f19327c0ad893]::boxed::Box<tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::Core>, core[27de1724e4349be2]::option::Option<()>)>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/macros/scoped_tls.rs:61:9
[INFO] [stdout]   37:     0x56c211f5a3bf - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::enter::<<tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>::{closure#0}, core[27de1724e4349be2]::option::Option<()>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:613:35
[INFO] [stdout]   38:     0x56c211f5a63a - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::CoreGuard>::block_on::<core[27de1724e4349be2]::pin::Pin<&mut xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:533:24
[INFO] [stdout]   39:     0x56c211f58ea6 - <tokio[8b1d3a7360b854f8]::runtime::basic_scheduler::BasicScheduler>::block_on::<xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/basic_scheduler.rs:179:29
[INFO] [stdout]   40:     0x56c211f34189 - <tokio[8b1d3a7360b854f8]::runtime::Runtime>::block_on::<xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.20.1/src/runtime/mod.rs:482:51
[INFO] [stdout]   41:     0x56c211f4f446 - xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:30:37
[INFO] [stdout]   42:     0x56c211f4d987 - xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:25:49
[INFO] [stdout]   43:     0x56c211f46546 - <xendfinance_rust_sdk[352e2ab76075dd13]::tests::account_test::account_test::get_contract_price_per_full_share::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x56c211f695bb - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x56c211f695bb - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   46:     0x56c211f75e1a - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   47:     0x56c211f75e1a - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   48:     0x56c211f75e1a - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   49:     0x56c211f75e1a - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   50:     0x56c211f75e1a - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   51:     0x56c211f75e1a - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   52:     0x56c211f75e1a - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   53:     0x56c211f713c4 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   54:     0x56c211f713c4 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   55:     0x56c211f78912 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   56:     0x56c211f78912 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   57:     0x56c211f78912 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   58:     0x56c211f78912 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   59:     0x56c211f78912 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   60:     0x56c211f78912 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   61:     0x56c211f78912 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   62:     0x56c2125f766f - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   63:     0x56c2125f766f - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   64:     0x78569cb7caa4 - <unknown>
[INFO] [stdout]   65:     0x78569cc09a64 - clone
[INFO] [stdout]   66:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::account_test::account_test::get_contract_price_per_full_share
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "e4e42830ab95c9398b46ecfc49d0da2858a95f2264edd4c9b9d9c788c01f764e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4e42830ab95c9398b46ecfc49d0da2858a95f2264edd4c9b9d9c788c01f764e", kill_on_drop: false }`
[INFO] [stdout] e4e42830ab95c9398b46ecfc49d0da2858a95f2264edd4c9b9d9c788c01f764e
