[INFO] cloning repository https://github.com/provable-things/ptokens-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/provable-things/ptokens-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprovable-things%2Fptokens-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprovable-things%2Fptokens-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 317661ff18d90af37f3abbf79601df448dd5e0ae [INFO] checking provable-things/ptokens-core against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprovable-things%2Fptokens-core" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/provable-things/ptokens-core on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/provable-things/ptokens-core [INFO] finished tweaking git repo https://github.com/provable-things/ptokens-core [INFO] tweaked toml for git repo https://github.com/provable-things/ptokens-core written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/provable-things/ptokens-core 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/bifrost-finance/rust-eos` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/bifrost-finance/rust-secp256k1` [INFO] [stderr] Updating git repository `https://github.com/bifrost-finance/libsecp256k1.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.20.1 [INFO] [stderr] Downloaded rlp v0.5.0 [INFO] [stderr] Downloaded simplelog v0.10.0 [INFO] [stderr] Downloaded triehash v0.8.4 [INFO] [stderr] Downloaded simple_logger v1.11.0 [INFO] [stderr] Downloaded strum v0.20.0 [INFO] [stderr] Downloaded byte-slice-cast v1.0.0 [INFO] [stderr] Downloaded keccak-hasher v0.15.3 [INFO] [stderr] Downloaded ethbloom v0.11.0 [INFO] [stderr] Downloaded ethereum-types v0.11.0 [INFO] [stderr] Downloaded primitive-types v0.9.1 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.2.0 [INFO] [stderr] Downloaded hmac-drbg v0.2.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.26 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.1 [INFO] [stderr] Downloaded thiserror v1.0.26 [INFO] [stderr] Downloaded bitcoin_hashes v0.9.7 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded secp256k1-sys v0.4.1 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] [stderr] Downloaded bitcoin v0.26.2 [INFO] [stderr] Downloaded secp256k1 v0.20.3 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded ethabi v14.1.0 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded parity-scale-codec v2.2.0 [INFO] [stderr] Downloaded impl-serde v0.3.1 [INFO] [stderr] Downloaded uint v0.9.1 [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1007d6a757df2551c2246e3ccc3af1d8903fc258fbe3a37c782a06d788c7da6 [INFO] running `Command { std: "docker" "start" "-a" "e1007d6a757df2551c2246e3ccc3af1d8903fc258fbe3a37c782a06d788c7da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1007d6a757df2551c2246e3ccc3af1d8903fc258fbe3a37c782a06d788c7da6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1007d6a757df2551c2246e3ccc3af1d8903fc258fbe3a37c782a06d788c7da6", kill_on_drop: false }` [INFO] [stdout] e1007d6a757df2551c2246e3ccc3af1d8903fc258fbe3a37c782a06d788c7da6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29d27f70f74789606678e5c9395ca16f007f119a2c8be17477ddb5625aa09172 [INFO] running `Command { std: "docker" "start" "-a" "29d27f70f74789606678e5c9395ca16f007f119a2c8be17477ddb5625aa09172", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rlp v0.5.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking uint v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling secp256k1 v0.15.3 (https://github.com/bifrost-finance/rust-secp256k1#9c756f7e) [INFO] [stderr] Checking keccak-hasher v0.15.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking triehash v0.8.4 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking libsecp256k1 v0.3.5 (https://github.com/bifrost-finance/libsecp256k1.git#62ee7e4e) [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking simplelog v0.10.0 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling eosio-core-derive v0.2.1 (https://github.com/bifrost-finance/rust-eos#8e57843f) [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking eos-keys v0.1.0 (https://github.com/bifrost-finance/rust-eos#8e57843f) [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking bitcoin_hashes v0.9.7 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Checking parity-scale-codec v2.2.0 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking eos-chain v0.1.0 (https://github.com/bifrost-finance/rust-eos#8e57843f) [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking bitcoin v0.26.2 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi v14.1.0 [INFO] [stderr] Checking ptokens_core v4.50.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/btc_on_eos/debug_functions/block_reprocessors.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `serialize as btc_serialize`, `sha256d`, `transaction::Transaction as BtcTransaction`, `util::address::Address as BtcAddress` [INFO] [stdout] --> src/chains/btc/btc_block.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | transaction::Transaction as BtcTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | consensus::encode::{deserialize as btc_deserialize, serialize as btc_serialize}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | hash_types::{BlockHash, TxMerkleNode}, [INFO] [stdout] 10 | hashes::{sha256d, Hash}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | util::address::Address as BtcAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockHeader as BtcBlockHeader`, `hashes::sha256d`, `util::address::Address as BtcAddress` [INFO] [stdout] --> src/chains/btc/btc_submission_material.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | block::{Block as BtcBlock, BlockHeader as BtcBlockHeader}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | hashes::sha256d, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | util::address::Address as BtcAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block as BtcBlock`, `BlockHeader as BtcBlockHeader`, `consensus::encode::deserialize as btc_deserialize` [INFO] [stdout] --> src/chains/btc/btc_types.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | block::{Block as BtcBlock, BlockHeader as BtcBlockHeader}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | consensus::encode::deserialize as btc_deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `secp256k1` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_crypto/eos_public_key.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use secp256k1::{self, key::PublicKey, Error::InvalidPublicKey, Secp256k1}; [INFO] [stdout] | ^^^^ the item `secp256k1` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value as JsonValue`, `json` [INFO] [stdout] --> src/dictionaries/dictionary_constants.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | pub use serde_json::{json, Value as JsonValue}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/btc_on_eos/debug_functions/block_reprocessors.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FeeDatabaseUtils` is imported redundantly [INFO] [stdout] --> src/btc_on_eth/btc/account_for_fees.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 72 | use super::*; [INFO] [stdout] | -------- the item `FeeDatabaseUtils` is already imported here [INFO] [stdout] ... [INFO] [stdout] 76 | fees::fee_database_utils::FeeDatabaseUtils, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/btc_on_eth/btc/minting_params.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BtcOnEthMintingParamStruct` is imported redundantly [INFO] [stdout] --> src/btc_on_eth/btc/sign_any_sender_transactions.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 74 | use super::*; [INFO] [stdout] | -------- the item `BtcOnEthMintingParamStruct` is already imported here [INFO] [stdout] 75 | use crate::{ [INFO] [stdout] 76 | btc_on_eth::{btc::minting_params::BtcOnEthMintingParamStruct, utils::convert_satoshis_to_wei}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BtcOnEthRedeemInfo` is imported redundantly [INFO] [stdout] --> src/btc_on_eth/eth/filter_redeem_infos_in_state.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 35 | use super::*; [INFO] [stdout] | -------- the item `BtcOnEthRedeemInfo` is already imported here [INFO] [stdout] 36 | use crate::{ [INFO] [stdout] 37 | btc_on_eth::eth::redeem_info::BtcOnEthRedeemInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EthSubmissionMaterial` is imported redundantly [INFO] [stdout] --> src/btc_on_eth/eth/redeem_info.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 173 | use super::*; [INFO] [stdout] | -------- the item `EthSubmissionMaterial` is already imported here [INFO] [stdout] ... [INFO] [stdout] 177 | eth_submission_material::EthSubmissionMaterial, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sha256d` is imported redundantly [INFO] [stdout] --> src/chains/btc/btc_utils.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | hashes::{sha256d, Hash}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | use super::*; [INFO] [stdout] | -------- the item `sha256d` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Hash` is imported redundantly [INFO] [stdout] --> src/chains/btc/btc_utils.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | hashes::{sha256d, Hash}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | use super::*; [INFO] [stdout] | -------- the item `Hash` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `save_utxos_to_db` is imported redundantly [INFO] [stdout] --> src/chains/btc/utxo_manager/debug_utxo_utils.rs:163:71 [INFO] [stdout] | [INFO] [stdout] 158 | use super::*; [INFO] [stdout] | -------- the item `save_utxos_to_db` is already imported here [INFO] [stdout] ... [INFO] [stdout] 163 | utxo_database_utils::{get_total_utxo_balance_from_db, save_utxos_to_db}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AppError` is imported redundantly [INFO] [stdout] --> src/chains/btc/utxo_manager/utxo_database_utils.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 316 | use super::*; [INFO] [stdout] | -------- the item `AppError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 322 | errors::AppError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `serialize as btc_serialize`, `sha256d`, `transaction::Transaction as BtcTransaction`, `util::address::Address as BtcAddress` [INFO] [stdout] --> src/chains/btc/btc_block.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | transaction::Transaction as BtcTransaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | consensus::encode::{deserialize as btc_deserialize, serialize as btc_serialize}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | hash_types::{BlockHash, TxMerkleNode}, [INFO] [stdout] 10 | hashes::{sha256d, Hash}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | util::address::Address as BtcAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockHeader as BtcBlockHeader`, `hashes::sha256d`, `util::address::Address as BtcAddress` [INFO] [stdout] --> src/chains/btc/btc_submission_material.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | block::{Block as BtcBlock, BlockHeader as BtcBlockHeader}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | hashes::sha256d, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | util::address::Address as BtcAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block as BtcBlock`, `BlockHeader as BtcBlockHeader`, `consensus::encode::deserialize as btc_deserialize` [INFO] [stdout] --> src/chains/btc/btc_types.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | block::{Block as BtcBlock, BlockHeader as BtcBlockHeader}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | consensus::encode::deserialize as btc_deserialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `create_unsigned_utxo_from_tx` is imported redundantly [INFO] [stdout] --> src/chains/btc/extract_utxos_from_p2pkh_txs.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 57 | use super::*; [INFO] [stdout] | -------- the item `create_unsigned_utxo_from_tx` is already imported here [INFO] [stdout] ... [INFO] [stdout] 67 | btc_utils::create_unsigned_utxo_from_tx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BtcUtxosAndValues` is imported redundantly [INFO] [stdout] --> src/chains/btc/extract_utxos_from_p2pkh_txs.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 57 | use super::*; [INFO] [stdout] | -------- the item `BtcUtxosAndValues` is already imported here [INFO] [stdout] ... [INFO] [stdout] 68 | utxo_manager::utxo_types::BtcUtxosAndValues, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BtcBlockAndId` is imported redundantly [INFO] [stdout] --> src/chains/btc/validate_btc_block_header.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | -------- the item `BtcBlockAndId` is already imported here [INFO] [stdout] ... [INFO] [stdout] 43 | btc_block::BtcBlockAndId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_action_proofs.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | [INFO] [stdout] 169 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sha256` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_crypto/eos_private_key.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | use bitcoin::hashes::{sha256, Hash as HashTrait}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 144 | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `sha256` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EosPrivateKey` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_crypto/eos_private_key.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 145 | use super::*; [INFO] [stdout] | -------- the item `EosPrivateKey` is already imported here [INFO] [stdout] ... [INFO] [stdout] 148 | eos_crypto::eos_private_key::EosPrivateKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_crypto/eos_public_key.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EosSignature` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_crypto/eos_public_key.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 99 | use super::*; [INFO] [stdout] | -------- the item `EosSignature` is already imported here [INFO] [stdout] ... [INFO] [stdout] 102 | eos_crypto::eos_signature::EosSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromStr` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_crypto/eos_signature.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | [INFO] [stdout] 63 | use super::*; [INFO] [stdout] | -------- the item `FromStr` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `EOS_ACCOUNT_PERMISSION_LEVEL` is imported redundantly [INFO] [stdout] --> src/chains/eos/eos_crypto/eos_transaction.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [INFO] [stdout] | -------- the item `EOS_ACCOUNT_PERMISSION_LEVEL` is already imported here [INFO] [stdout] ... [INFO] [stdout] 147 | eos_constants::{EOS_ACCOUNT_PERMISSION_LEVEL, EOS_MAX_EXPIRATION_SECS}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Bytes` is imported redundantly [INFO] [stdout] --> src/chains/eth/eth_receipt_type.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | use super::*; [INFO] [stdout] | -------- the item `Bytes` is already imported here [INFO] [stdout] 54 | use crate::types::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `get_nibbles_from_bytes` is imported redundantly [INFO] [stdout] --> src/chains/evm/path_codec.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 92 | use super::*; [INFO] [stdout] | -------- the item `get_nibbles_from_bytes` is already imported here [INFO] [stdout] 93 | use crate::{ [INFO] [stdout] 94 | chains::evm::nibble_utils::{get_nibbles_from_bytes, get_nibbles_from_offset_bytes}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `get_nibbles_from_offset_bytes` is imported redundantly [INFO] [stdout] --> src/chains/evm/path_codec.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 92 | use super::*; [INFO] [stdout] | -------- the item `get_nibbles_from_offset_bytes` is already imported here [INFO] [stdout] 93 | use crate::{ [INFO] [stdout] 94 | chains::evm::nibble_utils::{get_nibbles_from_bytes, get_nibbles_from_offset_bytes}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value as JsonValue`, `json` [INFO] [stdout] --> src/dictionaries/dictionary_constants.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | pub use serde_json::{json, Value as JsonValue}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MAX_FEE_BASIS_POINTS` is imported redundantly [INFO] [stdout] --> src/fees/fee_utils.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 25 | use super::*; [INFO] [stdout] | -------- the item `MAX_FEE_BASIS_POINTS` is already imported here [INFO] [stdout] 26 | use crate::{errors::AppError, fees::fee_constants::MAX_FEE_BASIS_POINTS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EosRawTxData` is never constructed [INFO] [stdout] --> src/chains/eos/eos_types.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct EosRawTxData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EosRawTxData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_any_sender`, `any_sender_tx`, `eth_tx_hex`, and `get_tx_hash` are never used [INFO] [stdout] --> src/chains/evm/eth_traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait EthTxInfoCompatible { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 8 | fn is_any_sender(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn any_sender_tx(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn eth_tx_hex(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn get_tx_hash(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EthAddress` is never used [INFO] [stdout] --> src/chains/evm/eth_types.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type EthAddress = Address; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EthSigningParams` is never constructed [INFO] [stdout] --> src/chains/evm/eth_types.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct EthSigningParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthSigningParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnySenderSigningParams` is never constructed [INFO] [stdout] --> src/chains/evm/eth_types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AnySenderSigningParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnySenderSigningParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EosRawTxData` is never constructed [INFO] [stdout] --> src/chains/eos/eos_types.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct EosRawTxData { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EosRawTxData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_h256_to_prefixed_hex` is never used [INFO] [stdout] --> src/chains/eth/eth_test_utils/mod.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn convert_h256_to_prefixed_hex(hash: EthHash) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_expected_key_of_thing_in_trie_hash_map` is never used [INFO] [stdout] --> src/chains/eth/eth_test_utils/mod.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn get_expected_key_of_thing_in_trie_hash_map() -> EthHash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_any_sender`, `any_sender_tx`, `eth_tx_hex`, and `get_tx_hash` are never used [INFO] [stdout] --> src/chains/evm/eth_traits.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait EthTxInfoCompatible { [INFO] [stdout] | ------------------- methods in this trait [INFO] [stdout] 8 | fn is_any_sender(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn any_sender_tx(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn eth_tx_hex(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn get_tx_hash(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `EthAddress` is never used [INFO] [stdout] --> src/chains/evm/eth_types.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type EthAddress = Address; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EthSigningParams` is never constructed [INFO] [stdout] --> src/chains/evm/eth_types.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct EthSigningParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EthSigningParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnySenderSigningParams` is never constructed [INFO] [stdout] --> src/chains/evm/eth_types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AnySenderSigningParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnySenderSigningParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> src/chains/eos/eos_producer_schedule.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | EosProducerScheduleV2::from(v1_schedule); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 240 | let _ = EosProducerScheduleV2::from(v1_schedule); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.56s [INFO] running `Command { std: "docker" "inspect" "29d27f70f74789606678e5c9395ca16f007f119a2c8be17477ddb5625aa09172", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d27f70f74789606678e5c9395ca16f007f119a2c8be17477ddb5625aa09172", kill_on_drop: false }` [INFO] [stdout] 29d27f70f74789606678e5c9395ca16f007f119a2c8be17477ddb5625aa09172