[INFO] cloning repository https://github.com/EntropicLabs/entropy_worker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EntropicLabs/entropy_worker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEntropicLabs%2Fentropy_worker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEntropicLabs%2Fentropy_worker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f77c265eb844750cd062309895842f92f820fcbe [INFO] testing EntropicLabs/entropy_worker against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEntropicLabs%2Fentropy_worker" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EntropicLabs/entropy_worker [INFO] finished tweaking git repo https://github.com/EntropicLabs/entropy_worker [INFO] tweaked toml for git repo https://github.com/EntropicLabs/entropy_worker written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EntropicLabs/entropy_worker on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EntropicLabs/entropy_worker 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb [INFO] running `Command { std: "docker" "start" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling const-oid v0.9.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling base64ct v1.5.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Compiling serde_json v1.0.86 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.12.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling schemars v0.8.11 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling dyn-clone v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling ed25519 v1.5.2 [INFO] [stderr] Compiling flex-error v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling uint v0.9.4 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling bitcoin_hashes v0.9.7 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling idna v0.2.1 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling prost-derive v0.11.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_repr v0.1.9 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.1.5 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling schemars_derive v0.8.11 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling der v0.6.0 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling subtle-encoding v0.5.1 [INFO] [stderr] Compiling curve25519-entropic v3.2.1 [INFO] [stderr] Compiling prost v0.11.0 [INFO] [stderr] Compiling rfc6979 v0.3.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling prost-types v0.11.1 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling bip32 v0.4.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling serde_bytes v0.11.7 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bip39 v1.0.1 [INFO] [stderr] Compiling tendermint-proto v0.23.9 [INFO] [stderr] Compiling cosmwasm-crypto v1.1.5 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling cosmwasm-std v1.1.5 [INFO] [stderr] Compiling ecvrf-rs v1.0.0 [INFO] [stderr] Compiling tendermint v0.23.9 [INFO] [stderr] Compiling cosmos-sdk-proto v0.14.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling entropy_beacon_cosmos v1.1.2 [INFO] [stderr] Compiling cosmrs v0.9.0 [INFO] [stderr] Compiling entropy_worker v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `signer` is never read [INFO] [stdout] --> src/beacon.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Beacon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub network: Network, [INFO] [stdout] 7 | pub signer: Wallet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> src/cosmos/lcd.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 3 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub async fn post(&self, path: &str, body: &serde_json::Value) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `account_number_and_sequence`, `block_height`, and `wait_for_hash` are never used [INFO] [stdout] --> src/cosmos/queries.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Wallet { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 18 | pub async fn account_number_and_sequence(&self) -> Result<(u64, u64), QueryError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn block_height(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn wait_for_hash(&self, tx_hash: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `privkey`, `pubkey`, `address`, and `network` are never read [INFO] [stdout] --> src/cosmos/wallet.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Wallet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | pub privkey: bip32::XPrv, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub pubkey: cosmrs::crypto::PublicKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub address: AccountId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub (crate) network: Network, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `signing_key` is never used [INFO] [stdout] --> src/cosmos/wallet.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn signing_key(&self) -> SigningKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `default_localterra` and `default_localkujira` are never used [INFO] [stdout] --> src/cosmos/network.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Network { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 66 | pub fn default_localterra() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn default_localkujira() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gas_to_fee` is never used [INFO] [stdout] --> src/cosmos/network.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl NetworkGasInfo { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn gas_to_fee(&self, gas: impl Into + Clone) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT_TIMEOUT_INTERVAL` is never used [INFO] [stdout] --> src/cosmos/tx.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const HEIGHT_TIMEOUT_INTERVAL: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `broadcast_msg`, `single_unspecified_signer_auth`, and `estimate_gas` are never used [INFO] [stdout] --> src/cosmos/tx.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl Wallet { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 28 | pub async fn broadcast_msg(&self, msg: M) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn single_unspecified_signer_auth(&self, sequence_number: u64) -> AuthInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn estimate_gas(&self, msg: M) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_gas_float` is never used [INFO] [stdout] --> src/cosmos/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn mul_gas_float(gas: impl Into, f: f64) -> Gas { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cosmwasm-std v1.1.5, openssl v0.10.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling entropy_worker v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `signer` is never read [INFO] [stdout] --> src/beacon.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Beacon { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub network: Network, [INFO] [stdout] 7 | pub signer: Wallet, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `post` is never used [INFO] [stdout] --> src/cosmos/lcd.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 3 | impl Network { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 9 | pub async fn post(&self, path: &str, body: &serde_json::Value) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `account_number_and_sequence`, `block_height`, and `wait_for_hash` are never used [INFO] [stdout] --> src/cosmos/queries.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Wallet { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 18 | pub async fn account_number_and_sequence(&self) -> Result<(u64, u64), QueryError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub async fn block_height(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub async fn wait_for_hash(&self, tx_hash: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `privkey`, `pubkey`, and `network` are never read [INFO] [stdout] --> src/cosmos/wallet.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Wallet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | pub privkey: bip32::XPrv, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub pubkey: cosmrs::crypto::PublicKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub address: AccountId, [INFO] [stdout] 20 | pub (crate) network: Network, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Wallet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `signing_key` is never used [INFO] [stdout] --> src/cosmos/wallet.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn signing_key(&self) -> SigningKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default_localkujira` is never used [INFO] [stdout] --> src/cosmos/network.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Network { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn default_localkujira() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gas_to_fee` is never used [INFO] [stdout] --> src/cosmos/network.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl NetworkGasInfo { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn gas_to_fee(&self, gas: impl Into + Clone) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEIGHT_TIMEOUT_INTERVAL` is never used [INFO] [stdout] --> src/cosmos/tx.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const HEIGHT_TIMEOUT_INTERVAL: u32 = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `broadcast_msg`, `single_unspecified_signer_auth`, and `estimate_gas` are never used [INFO] [stdout] --> src/cosmos/tx.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl Wallet { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 28 | pub async fn broadcast_msg(&self, msg: M) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn single_unspecified_signer_auth(&self, sequence_number: u64) -> AuthInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub async fn estimate_gas(&self, msg: M) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul_gas_float` is never used [INFO] [stdout] --> src/cosmos/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn mul_gas_float(gas: impl Into, f: f64) -> Gas { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cosmwasm-std v1.1.5, openssl v0.10.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: field `signer` is never read [INFO] [stderr] --> src/beacon.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Beacon { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 6 | pub network: Network, [INFO] [stderr] 7 | pub signer: Wallet, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `post` is never used [INFO] [stderr] --> src/cosmos/lcd.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 3 | impl Network { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 9 | pub async fn post(&self, path: &str, body: &serde_json::Value) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `account_number_and_sequence`, `block_height`, and `wait_for_hash` are never used [INFO] [stderr] --> src/cosmos/queries.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 17 | impl Wallet { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] 18 | pub async fn account_number_and_sequence(&self) -> Result<(u64, u64), QueryError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub async fn block_height(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub async fn wait_for_hash(&self, tx_hash: String) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `privkey`, `pubkey`, and `network` are never read [INFO] [stderr] --> src/cosmos/wallet.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Wallet { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 17 | pub privkey: bip32::XPrv, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 18 | pub pubkey: cosmrs::crypto::PublicKey, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 19 | pub address: AccountId, [INFO] [stderr] 20 | pub (crate) network: Network, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Wallet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `signing_key` is never used [INFO] [stderr] --> src/cosmos/wallet.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl Wallet { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn signing_key(&self) -> SigningKey { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `default_localkujira` is never used [INFO] [stderr] --> src/cosmos/network.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl Network { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn default_localkujira() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `gas_to_fee` is never used [INFO] [stderr] --> src/cosmos/network.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 111 | impl NetworkGasInfo { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn gas_to_fee(&self, gas: impl Into + Clone) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HEIGHT_TIMEOUT_INTERVAL` is never used [INFO] [stderr] --> src/cosmos/tx.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | pub const HEIGHT_TIMEOUT_INTERVAL: u32 = 10; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `broadcast_msg`, `single_unspecified_signer_auth`, and `estimate_gas` are never used [INFO] [stderr] --> src/cosmos/tx.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 27 | impl Wallet { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] 28 | pub async fn broadcast_msg(&self, msg: M) -> Result [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn single_unspecified_signer_auth(&self, sequence_number: u64) -> AuthInfo { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub async fn estimate_gas(&self, msg: M) -> Result [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mul_gas_float` is never used [INFO] [stderr] --> src/cosmos/utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn mul_gas_float(gas: impl Into, f: f64) -> Gas { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `entropy_worker` (bin "entropy_worker" test) generated 10 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cosmwasm-std v1.1.5, openssl v0.10.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/entropy_worker-223f9b3309ff41cd) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cosmos::wallet::tests::errors_invalid_mnemonic ... ok [INFO] [stdout] test cosmos::wallet::tests::address_derived_properly ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb", kill_on_drop: false }` [INFO] [stdout] fd187f724bd609c2099f2d85183dff87b9caa2919fc27869dfcca90581e4edfb