[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#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDark-wiz%2Fxendfinance_rust_sdk" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Dark-wiz/xendfinance_rust_sdk on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc1/source/Cargo.toml
[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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/gakonst/ethers-rs`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded group v0.12.0
[INFO] [stderr]   Downloaded ethereum-tx-sign v4.0.0
[INFO] [stderr]   Downloaded fastrlp-derive v0.1.2
[INFO] [stderr]   Downloaded send_wrapper v0.5.0
[INFO] [stderr]   Downloaded rfc6979 v0.3.0
[INFO] [stderr]   Downloaded futures-locks v0.7.0
[INFO] [stderr]   Downloaded ws_stream_wasm v0.7.3
[INFO] [stderr]   Downloaded ff v0.12.0
[INFO] [stderr]   Downloaded bigdecimal v0.0.14
[INFO] [stderr]   Downloaded serde-aux v3.1.0
[INFO] [stderr]   Downloaded scrypt v0.8.1
[INFO] [stderr]   Downloaded eth-keystore v0.4.2
[INFO] [stderr]   Downloaded ethabi v17.1.0
[INFO] [stderr]   Downloaded auto_impl v1.0.1
[INFO] [stderr]   Downloaded fastrlp v0.1.3
[INFO] [stderr]   Downloaded sha3 v0.10.2
[INFO] [stderr]   Downloaded ecdsa v0.14.3
[INFO] [stderr]   Downloaded crypto-bigint v0.4.8
[INFO] [stderr]   Downloaded const-oid v0.9.0
[INFO] [stderr]   Downloaded der v0.6.0
[INFO] [stderr]   Downloaded k256 v0.11.3
[INFO] [stderr]   Downloaded rust_decimal v1.26.1
[INFO] [stderr]   Downloaded ether-converter v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 265364c609c5e6034825456087229f9bd951df1fd0888d56093ab19734b5d618
[INFO] running `Command { std: "docker" "start" "-a" "265364c609c5e6034825456087229f9bd951df1fd0888d56093ab19734b5d618", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "265364c609c5e6034825456087229f9bd951df1fd0888d56093ab19734b5d618", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "265364c609c5e6034825456087229f9bd951df1fd0888d56093ab19734b5d618", kill_on_drop: false }`
[INFO] [stdout] 265364c609c5e6034825456087229f9bd951df1fd0888d56093ab19734b5d618
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26e27ff40e0c9087a36e6ad1f1c38527a3c7134a860d855d8e5a8c85dfdfa64e
[INFO] running `Command { std: "docker" "start" "-a" "26e27ff40e0c9087a36e6ad1f1c38527a3c7134a860d855d8e5a8c85dfdfa64e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.127
[INFO] [stderr]    Compiling version_check v0.9.4
[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 cc v1.0.73
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling base64ct v1.0.1
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling const-oid v0.9.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling smallvec v1.9.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 wyz v0.5.0
[INFO] [stderr]    Compiling keccak v0.1.2
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling mio v0.8.4
[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 rand_core v0.6.3
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling ff v0.12.0
[INFO] [stderr]    Compiling byte-slice-cast v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling group v0.12.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-bigint v0.4.8
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling uint v0.9.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling sha3 v0.10.2
[INFO] [stderr]    Compiling fixed-hash v0.7.0
[INFO] [stderr]    Compiling signature v1.5.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling rfc6979 v0.3.0
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling ecdsa v0.14.3
[INFO] [stderr]    Compiling rust_decimal v1.26.1
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling k256 v0.11.3
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling chrono v0.4.20
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling convert_case v0.5.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling base58 v0.1.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.21
[INFO] [stderr]    Compiling rustls-pemfile v1.0.1
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling ripemd v0.1.1
[INFO] [stderr]    Compiling base58check v0.1.0
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling bech32 v0.7.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling base64 v0.12.3
[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 secp256k1-sys v0.4.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling semver v1.0.13
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling radium v0.3.0
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling webpki-roots v0.22.4
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling scrypt v0.8.1
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[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 indenter v0.3.3
[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 secp256k1 v0.20.3
[INFO] [stderr]    Compiling bigdecimal v0.0.14
[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 strum_macros v0.24.3
[INFO] [stderr]    Compiling auto_impl v1.0.1
[INFO] [stderr]    Compiling fastrlp-derive v0.1.2
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling ether-converter v0.1.3
[INFO] [stderr]    Compiling pin-project v1.0.11
[INFO] [stderr]    Compiling thiserror v1.0.32
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling strum v0.24.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 coins-bip32 v0.7.0
[INFO] [stderr]    Compiling rlp v0.5.1
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling impl-codec v0.6.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 primitive-types v0.11.1
[INFO] [stderr]    Compiling coins-bip39 v0.7.0
[INFO] [stderr]    Compiling serde-aux v3.1.0
[INFO] [stderr]    Compiling eth-keystore v0.4.2
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling ethereum-types v0.13.1
[INFO] [stderr]    Compiling ethabi v17.1.0
[INFO] [stderr]    Compiling fastrlp v0.1.3
[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-rustls v0.23.0
[INFO] [stderr]    Compiling hyper-tls v0.5.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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.17s
[INFO] running `Command { std: "docker" "inspect" "26e27ff40e0c9087a36e6ad1f1c38527a3c7134a860d855d8e5a8c85dfdfa64e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26e27ff40e0c9087a36e6ad1f1c38527a3c7134a860d855d8e5a8c85dfdfa64e", kill_on_drop: false }`
[INFO] [stdout] 26e27ff40e0c9087a36e6ad1f1c38527a3c7134a860d855d8e5a8c85dfdfa64e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c86e1d2797e9ece24bddb419075c28accfa79db5d0316bebd2b168c298a2a202
[INFO] running `Command { std: "docker" "start" "-a" "c86e1d2797e9ece24bddb419075c28accfa79db5d0316bebd2b168c298a2a202", 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.05s
[INFO] running `Command { std: "docker" "inspect" "c86e1d2797e9ece24bddb419075c28accfa79db5d0316bebd2b168c298a2a202", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c86e1d2797e9ece24bddb419075c28accfa79db5d0316bebd2b168c298a2a202", kill_on_drop: false }`
[INFO] [stdout] c86e1d2797e9ece24bddb419075c28accfa79db5d0316bebd2b168c298a2a202
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 012b3689943fd1518661941d5bacbcde6f7ad360f83bddc992d03ae9da6508d6
[INFO] running `Command { std: "docker" "start" "-a" "012b3689943fd1518661941d5bacbcde6f7ad360f83bddc992d03ae9da6508d6", 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)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` 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 14 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.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xendfinance_rust_sdk-eefd2005f8829797)
[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] thread 'tests::account_test::account_test::get_contract_price_per_full_share' 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:     0x5606b3288095 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x5606b3288095 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x5606b3288095 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x5606b3288095 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x5606b32b226b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x5606b32b226b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x5606b3284d6f - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x5606b3287e6e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x5606b3287e6e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x5606b3289899 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x5606b328955e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x5606b2bb4ffa - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x5606b2bb4ffa - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x5606b3289e9b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x5606b3289e9b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x5606b3289c14 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x5606b3288559 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x5606b3289947 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x5606b2b2d0e3 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x5606b2b2d656 - core::result::unwrap_failed::h382691b96ca8c13a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x5606b2b790af - core::result::Result<T,E>::unwrap::h3542a04332976ec3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x5606b2b790af - xendfinance_rust_sdk::utilities::get_addresses::get_bsc_mainnet_addresses::{{closure}}::h9bf71c92c53d6565
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utilities/get_addresses.rs:74:15
[INFO] [stdout]   22:     0x5606b2b79785 - xendfinance_rust_sdk::utilities::get_addresses::get_mainnet_protocols::{{closure}}::h64c789204ab99082
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utilities/get_addresses.rs:90:44
[INFO] [stdout]   23:     0x5606b2b63eae - xendfinance_rust_sdk::sdk::Options::new::{{closure}}::hf62cf6ea42be5794
[INFO] [stdout]                                at /opt/rustwide/workdir/src/sdk.rs:57:48
[INFO] [stdout]   24:     0x5606b2b67152 - xendfinance_rust_sdk::tests::account_test::account_test::get_contract_price_per_full_share::{{closure}}::h90a6a70a4e8392f9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:26:47
[INFO] [stdout]   25:     0x5606b2b4a7bd - <core::pin::Pin<P> as core::future::future::Future>::poll::hce9073be1496c617
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/future/future.rs:123:9
[INFO] [stdout]   26:     0x5606b2b49fcf - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h6acc1c30110b590a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:543:48
[INFO] [stdout]   27:     0x5606b2b47bd3 - tokio::coop::with_budget::{{closure}}::hc59fd062324a9c6e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/coop.rs:102:9
[INFO] [stdout]   28:     0x5606b2b46950 - std::thread::local::LocalKey<T>::try_with::hea92ffb589787c18
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/local.rs:286:12
[INFO] [stdout]   29:     0x5606b2b4642a - std::thread::local::LocalKey<T>::with::h603fec7e853596e0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/local.rs:262:9
[INFO] [stdout]   30:     0x5606b2b49f49 - tokio::coop::with_budget::h5d65f38f3c5a77af
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/coop.rs:95:5
[INFO] [stdout]   31:     0x5606b2b49f49 - tokio::coop::budget::h59c8fc2fc33457e7
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/coop.rs:72:5
[INFO] [stdout]   32:     0x5606b2b49f49 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::h86fbbf289920eb47
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:543:25
[INFO] [stdout]   33:     0x5606b2b48ee0 - tokio::runtime::basic_scheduler::Context::enter::h9322858a36986c73
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:367:19
[INFO] [stdout]   34:     0x5606b2b4986f - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::h1104d02cf6dcc062
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:542:36
[INFO] [stdout]   35:     0x5606b2b495f4 - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::h92b37253e1ac180e
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:613:57
[INFO] [stdout]   36:     0x5606b2b62cd3 - tokio::macros::scoped_tls::ScopedKey<T>::set::h93b2033877067b0f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/macros/scoped_tls.rs:61:9
[INFO] [stdout]   37:     0x5606b2b4939f - tokio::runtime::basic_scheduler::CoreGuard::enter::hcc50fe84cf44fab4
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:613:27
[INFO] [stdout]   38:     0x5606b2b49612 - tokio::runtime::basic_scheduler::CoreGuard::block_on::hc910f8d61507c8c1
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:533:19
[INFO] [stdout]   39:     0x5606b2b48674 - tokio::runtime::basic_scheduler::BasicScheduler::block_on::hae54733118cf361b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:179:24
[INFO] [stdout]   40:     0x5606b2b53558 - tokio::runtime::Runtime::block_on::h86e280920a5e991d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/mod.rs:482:46
[INFO] [stdout]   41:     0x5606b2b66ef6 - xendfinance_rust_sdk::tests::account_test::account_test::get_contract_price_per_full_share::h5a3fe83ecb1d1418
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:30:9
[INFO] [stdout]   42:     0x5606b2b66da7 - xendfinance_rust_sdk::tests::account_test::account_test::get_contract_price_per_full_share::{{closure}}::h111f020b86f05998
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:25:49
[INFO] [stdout]   43:     0x5606b2b3e486 - core::ops::function::FnOnce::call_once::h4b9841793c5cd900
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x5606b2bb99db - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5606b2bb99db - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   46:     0x5606b2bb90e1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   47:     0x5606b2bb90e1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   48:     0x5606b2bb90e1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   49:     0x5606b2bb90e1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   50:     0x5606b2bb90e1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   51:     0x5606b2bb90e1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   52:     0x5606b2bb90e1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   53:     0x5606b2b81aa4 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   54:     0x5606b2b81aa4 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   55:     0x5606b2b864d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   56:     0x5606b2b864d2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   57:     0x5606b2b864d2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   58:     0x5606b2b864d2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   59:     0x5606b2b864d2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   60:     0x5606b2b864d2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   61:     0x5606b2b864d2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   62:     0x5606b328e49b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   63:     0x5606b328e49b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   64:     0x5606b328e49b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   65:     0x7fd4a7d59ac3 - <unknown>
[INFO] [stdout]   66:     0x7fd4a7deaa04 - __clone
[INFO] [stdout]   67:                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.10s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "012b3689943fd1518661941d5bacbcde6f7ad360f83bddc992d03ae9da6508d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "012b3689943fd1518661941d5bacbcde6f7ad360f83bddc992d03ae9da6508d6", kill_on_drop: false }`
[INFO] [stdout] 012b3689943fd1518661941d5bacbcde6f7ad360f83bddc992d03ae9da6508d6
[INFO] testing Dark-wiz/xendfinance_rust_sdk against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDark-wiz%2Fxendfinance_rust_sdk" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Dark-wiz/xendfinance_rust_sdk on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-6-tc2/source/Cargo.toml
[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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 344338184b1868339fcc7f94cfeab9b68b90e87eb18758244209ba1eeb7bd28b
[INFO] running `Command { std: "docker" "start" "-a" "344338184b1868339fcc7f94cfeab9b68b90e87eb18758244209ba1eeb7bd28b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "344338184b1868339fcc7f94cfeab9b68b90e87eb18758244209ba1eeb7bd28b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "344338184b1868339fcc7f94cfeab9b68b90e87eb18758244209ba1eeb7bd28b", kill_on_drop: false }`
[INFO] [stdout] 344338184b1868339fcc7f94cfeab9b68b90e87eb18758244209ba1eeb7bd28b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 76edecc06ca2ed9a8b2e853a47c119031f00d5501fc7fe56236d8dd749f1a1d9
[INFO] running `Command { std: "docker" "start" "-a" "76edecc06ca2ed9a8b2e853a47c119031f00d5501fc7fe56236d8dd749f1a1d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.127
[INFO] [stderr]    Compiling version_check v0.9.4
[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 cc v1.0.73
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling base64ct v1.0.1
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling zeroize v1.5.7
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[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 rustc-hex v2.1.0
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling const-oid v0.9.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling der v0.6.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling wyz v0.5.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling keccak v0.1.2
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ff v0.12.0
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling spki v0.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pkcs8 v0.9.0
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling base16ct v0.1.1
[INFO] [stderr]    Compiling byte-slice-cast v1.2.1
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling group v0.12.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-bigint v0.4.8
[INFO] [stderr]    Compiling sec1 v0.3.0
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling uint v0.9.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indexmap v1.9.1
[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 fixed-hash v0.7.0
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling rfc6979 v0.3.0
[INFO] [stderr]    Compiling elliptic-curve v0.12.3
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling ecdsa v0.14.3
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rust_decimal v1.26.1
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling k256 v0.11.3
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[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 form_urlencoded v1.0.1
[INFO] [stderr]    Compiling chrono v0.4.20
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling convert_case v0.5.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling base58 v0.1.0
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling blake2 v0.10.4
[INFO] [stderr]    Compiling ripemd v0.1.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.21
[INFO] [stderr]    Compiling base58check v0.1.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.1
[INFO] [stderr]    Compiling password-hash v0.4.2
[INFO] [stderr]    Compiling bech32 v0.7.3
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling idna v0.2.3
[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 secp256k1-sys v0.4.2
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling radium v0.3.0
[INFO] [stderr]    Compiling semver v1.0.13
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling scrypt v0.8.1
[INFO] [stderr]    Compiling hashers v1.0.1
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling webpki-roots v0.22.4
[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 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 secp256k1 v0.21.3
[INFO] [stderr]    Compiling indenter v0.3.3
[INFO] [stderr]    Compiling tiny-keccak v1.5.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling secp256k1 v0.20.3
[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 strum_macros v0.24.3
[INFO] [stderr]    Compiling auto_impl v1.0.1
[INFO] [stderr]    Compiling fastrlp-derive v0.1.2
[INFO] [stderr]    Compiling rlp-derive v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling bigdecimal v0.0.14
[INFO] [stderr]    Compiling ether-converter v0.1.3
[INFO] [stderr]    Compiling tracing v0.1.36
[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 strum v0.24.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 ethabi v17.1.0
[INFO] [stderr]    Compiling fastrlp v0.1.3
[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-rustls v0.23.0
[INFO] [stderr]    Compiling hyper-tls v0.5.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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.12s
[INFO] running `Command { std: "docker" "inspect" "76edecc06ca2ed9a8b2e853a47c119031f00d5501fc7fe56236d8dd749f1a1d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76edecc06ca2ed9a8b2e853a47c119031f00d5501fc7fe56236d8dd749f1a1d9", kill_on_drop: false }`
[INFO] [stdout] 76edecc06ca2ed9a8b2e853a47c119031f00d5501fc7fe56236d8dd749f1a1d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24bb2d0ffc4f633c60eec41db7aba623b266ec37f10075a0daa770bb2bb129cd
[INFO] running `Command { std: "docker" "start" "-a" "24bb2d0ffc4f633c60eec41db7aba623b266ec37f10075a0daa770bb2bb129cd", 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling xendfinance_rust_sdk v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 23 warnings emitted
[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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.55s
[INFO] running `Command { std: "docker" "inspect" "24bb2d0ffc4f633c60eec41db7aba623b266ec37f10075a0daa770bb2bb129cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24bb2d0ffc4f633c60eec41db7aba623b266ec37f10075a0daa770bb2bb129cd", kill_on_drop: false }`
[INFO] [stdout] 24bb2d0ffc4f633c60eec41db7aba623b266ec37f10075a0daa770bb2bb129cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2083c7943163fc850a4eb16505e66ad0f1c623d70a2d8d14acd95517d07f7c20
[INFO] running `Command { std: "docker" "start" "-a" "2083c7943163fc850a4eb16505e66ad0f1c623d70a2d8d14acd95517d07f7c20", 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)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `PathBuf`, `Path`, `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`, `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)]` 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:13
[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)]` 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)]` 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)]` 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 14 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.22s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xendfinance_rust_sdk-eefd2005f8829797)
[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] thread 'tests::account_test::account_test::get_contract_price_per_full_share' 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:     0x55a7c6aa7595 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55a7c6aa7595 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a7c6aa7595 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55a7c6aa7595 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55a7c6ad170b - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55a7c6ad170b - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55a7c6aa431f - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55a7c6aa736e - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55a7c6aa736e - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55a7c6aa8cd9 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55a7c6aa8a2c - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55a7c63d4f6f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55a7c63d4f6f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55a7c6aa92db - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55a7c6aa92db - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55a7c6aa9054 - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x55a7c6aa7a59 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55a7c6aa8d87 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55a7c634d0c3 - core::panicking::panic_fmt::h2ba8af99174d83ea
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55a7c634d636 - core::result::unwrap_failed::h52f3bbb78b59f71d
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/result.rs:1654:5
[INFO] [stdout]   20:     0x55a7c6398f2f - core::result::Result<T,E>::unwrap::h9c980e176cee1c9c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/result.rs:1077:23
[INFO] [stdout]   21:     0x55a7c6398f2f - xendfinance_rust_sdk::utilities::get_addresses::get_bsc_mainnet_addresses::{{closure}}::hd89585c9eed74e71
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utilities/get_addresses.rs:74:15
[INFO] [stdout]   22:     0x55a7c6399605 - xendfinance_rust_sdk::utilities::get_addresses::get_mainnet_protocols::{{closure}}::h9d682f7098d2a8b4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utilities/get_addresses.rs:90:44
[INFO] [stdout]   23:     0x55a7c637a8ee - xendfinance_rust_sdk::sdk::Options::new::{{closure}}::hcf008648f9b30eef
[INFO] [stdout]                                at /opt/rustwide/workdir/src/sdk.rs:57:48
[INFO] [stdout]   24:     0x55a7c637f132 - xendfinance_rust_sdk::tests::account_test::account_test::get_contract_price_per_full_share::{{closure}}::h799ecfc1fab42cca
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:26:47
[INFO] [stdout]   25:     0x55a7c6384b0d - <core::pin::Pin<P> as core::future::future::Future>::poll::h59184eca128f82ec
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/future/future.rs:123:9
[INFO] [stdout]   26:     0x55a7c6372c5f - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h2a6b924b4cb03ce5
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:543:48
[INFO] [stdout]   27:     0x55a7c63840b3 - tokio::coop::with_budget::{{closure}}::h36799f2b3acec6b9
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/coop.rs:102:9
[INFO] [stdout]   28:     0x55a7c63913a0 - std::thread::local::LocalKey<T>::try_with::hf2ae0c47b69b379e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/local.rs:286:12
[INFO] [stdout]   29:     0x55a7c6390e3a - std::thread::local::LocalKey<T>::with::h75d61f6488c4e29c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/local.rs:262:9
[INFO] [stdout]   30:     0x55a7c6372bc9 - tokio::coop::with_budget::h72a473d16d3d8012
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/coop.rs:95:5
[INFO] [stdout]   31:     0x55a7c6372bc9 - tokio::coop::budget::hbca3f306e1698413
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/coop.rs:72:5
[INFO] [stdout]   32:     0x55a7c6372bc9 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::h3bd3cea8b14c0789
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:543:25
[INFO] [stdout]   33:     0x55a7c6371b70 - tokio::runtime::basic_scheduler::Context::enter::hf5dda90bf460e93f
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:367:19
[INFO] [stdout]   34:     0x55a7c63724ff - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::h35d2837e7a3bd28d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:542:36
[INFO] [stdout]   35:     0x55a7c6372284 - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::hb9f94bf4a64e6988
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:613:57
[INFO] [stdout]   36:     0x55a7c6371253 - tokio::macros::scoped_tls::ScopedKey<T>::set::h06238d80741ba11a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/macros/scoped_tls.rs:61:9
[INFO] [stdout]   37:     0x55a7c637202f - tokio::runtime::basic_scheduler::CoreGuard::enter::h632a3eaec8ae9e48
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:613:27
[INFO] [stdout]   38:     0x55a7c63722a2 - tokio::runtime::basic_scheduler::CoreGuard::block_on::h78540fbc37b59591
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:533:19
[INFO] [stdout]   39:     0x55a7c6371444 - tokio::runtime::basic_scheduler::BasicScheduler::block_on::h8354972c48de45e6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/basic_scheduler.rs:179:24
[INFO] [stdout]   40:     0x55a7c638c028 - tokio::runtime::Runtime::block_on::h3c4a8c407420c596
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.20.1/src/runtime/mod.rs:482:46
[INFO] [stdout]   41:     0x55a7c637eed6 - xendfinance_rust_sdk::tests::account_test::account_test::get_contract_price_per_full_share::hc47a7b95128578ce
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:30:9
[INFO] [stdout]   42:     0x55a7c637ed87 - xendfinance_rust_sdk::tests::account_test::account_test::get_contract_price_per_full_share::{{closure}}::hbe3585b6ef6397c0
[INFO] [stdout]                                at /opt/rustwide/workdir/src/tests/account_test.rs:25:49
[INFO] [stdout]   43:     0x55a7c6391806 - core::ops::function::FnOnce::call_once::h84da2e01e7d77fc2
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   44:     0x55a7c63d988b - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55a7c63d988b - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   46:     0x55a7c63d8f51 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   47:     0x55a7c63d8f51 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   48:     0x55a7c63d8f51 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   49:     0x55a7c63d8f51 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   50:     0x55a7c63d8f51 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   51:     0x55a7c63d8f51 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   52:     0x55a7c63d8f51 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   53:     0x55a7c63a1924 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   54:     0x55a7c63a1924 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   55:     0x55a7c63a63f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   56:     0x55a7c63a63f2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   57:     0x55a7c63a63f2 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   58:     0x55a7c63a63f2 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   59:     0x55a7c63a63f2 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   60:     0x55a7c63a63f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   61:     0x55a7c63a63f2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   62:     0x55a7c6aad8cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   63:     0x55a7c6aad8cb - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   64:     0x55a7c6aad8cb - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   65:     0x7efec20c5ac3 - <unknown>
[INFO] [stdout]   66:     0x7efec2156a04 - __clone
[INFO] [stdout]   67:                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.13s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "2083c7943163fc850a4eb16505e66ad0f1c623d70a2d8d14acd95517d07f7c20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2083c7943163fc850a4eb16505e66ad0f1c623d70a2d8d14acd95517d07f7c20", kill_on_drop: false }`
[INFO] [stdout] 2083c7943163fc850a4eb16505e66ad0f1c623d70a2d8d14acd95517d07f7c20
