[INFO] fetching crate ckb-cli 1.4.0... [INFO] testing ckb-cli-1.4.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-3 [INFO] extracting crate ckb-cli 1.4.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate ckb-cli 1.4.0 [INFO] finished tweaking crates.io crate ckb-cli 1.4.0 [INFO] tweaked toml for crates.io crate ckb-cli 1.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ckb-cli 1.4.0 on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate crates.io crate ckb-cli 1.4.0 already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46 [INFO] running `"docker" "start" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46"` [INFO] running `"docker" "inspect" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46"` [INFO] running `"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" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46"` [INFO] running `"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" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling proc-macro2 v1.0.49 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling faster-hex v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling blake2b-rs v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling includedir_codegen v0.6.0 [INFO] [stderr] Compiling ckb-channel v0.106.0 [INFO] [stderr] Compiling ckb-hash v0.106.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling ckb-merkle-mountain-range v0.5.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ckb-system-scripts v0.5.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling includedir v0.6.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling numext-constructor v0.1.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling secp256k1 v0.24.2 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling ckb-fixed-hash-core v0.106.0 [INFO] [stderr] Compiling ckb-occupied-capacity-core v0.106.0 [INFO] [stderr] Compiling numext-fixed-uint-core v0.1.6 [INFO] [stderr] Compiling ckb-occupied-capacity-macros v0.106.0 [INFO] [stderr] Compiling ckb-fixed-hash-macros v0.106.0 [INFO] [stderr] Compiling ckb-occupied-capacity v0.106.0 [INFO] [stderr] Compiling ckb-error v0.106.0 [INFO] [stderr] Compiling molecule v0.7.3 [INFO] [stderr] Compiling ckb-fixed-hash v0.106.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling keccak v0.1.3 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling ckb-vm v0.22.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling eaglesong v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling ckb-util v0.106.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling goblin v0.2.3 [INFO] [stderr] Compiling goblin v0.4.0 [INFO] [stderr] Compiling ckb-crypto v0.106.0 [INFO] [stderr] Compiling numext-fixed-uint-hack v0.1.6 [INFO] [stderr] Compiling toml v0.5.10 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling numext-fixed-uint v0.1.6 [INFO] [stderr] Compiling ckb-rational v0.106.0 [INFO] [stderr] Compiling ckb-types v0.106.0 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling sparse-merkle-tree v0.5.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ckb-script v0.106.0 [INFO] [stderr] Compiling ckb-vm-definitions v0.22.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ckb-constant v0.106.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling ckb-logger v0.106.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ckb-jsonrpc-types v0.106.0 [INFO] [stderr] Compiling ckb-traits v0.106.0 [INFO] [stderr] Compiling ckb-dao-utils v0.106.0 [INFO] [stderr] Compiling ckb-resource v0.106.0 [INFO] [stderr] Compiling ckb-pow v0.106.0 [INFO] [stderr] Compiling ipnet v2.7.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ckb-chain-spec v0.106.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling sha3 v0.10.6 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling jsonrpc-pubsub v18.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling enum-repr-derive v0.2.0 [INFO] [stderr] Compiling dashmap v5.4.0 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling unsigned-varint v0.2.3 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling ckb-build-info v0.105.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling ckb-cli v1.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling nix v0.26.1 [INFO] [stderr] Compiling ckb-sdk v2.4.0 [INFO] [stderr] Compiling parity-multihash v0.1.3 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling scrypt v0.2.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling jsonrpc-server-utils v18.0.0 [INFO] [stderr] Compiling jsonrpc-client-transports v18.0.0 [INFO] [stderr] Compiling aes-ctr v0.6.0 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling data-encoding v2.3.3 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling bs58 v0.2.5 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling parity-multiaddr v0.4.1 [INFO] [stderr] Compiling rustyline v8.0.0 [INFO] [stderr] Compiling tui v0.6.2 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling ckb-signer v0.4.0 [INFO] [stderr] Compiling jsonrpc-http-server v18.0.0 [INFO] [stderr] Compiling jsonrpc-core-client v18.0.0 [INFO] [stderr] Compiling jsonrpc-derive v18.0.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clap_generate v3.0.0-beta.1 [INFO] [stderr] Compiling ctrlc v3.2.4 [INFO] [stderr] Compiling ckb-cli-plugin-protocol v1.3.0 [INFO] [stderr] Compiling ckb-mock-tx-types v0.106.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling console v0.15.3 [INFO] [stderr] Compiling ipnetwork v0.14.0 [INFO] [stderr] Compiling rustyline-derive v0.4.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rpassword v3.0.2 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling ckb-build-info v0.106.0 [INFO] [stderr] Compiling ckb-vm-definitions v0.21.3 [INFO] [stdout] warning: unused import: `IndexerHandler` [INFO] [stdout] --> src/plugin/mod.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub use manager::{IndexerHandler, KeyStoreHandler, PluginManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Capacity`, `EpochNumberWithFraction`, and `Since` [INFO] [stdout] --> src/utils/rpc/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use primitive::{Capacity, EpochNumberWithFraction, Since, Timestamp}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alert`, `BlockIssuance`, `Block`, `Byte32`, `CellDep`, `CellInput`, `CellOutput`, `DepType`, `Header`, `LocalNode`, `MerkleProof`, `MinerReward`, `NodeAddress`, `OutPoint`, `ProposalShortId`, `ScriptHashType`, `Script`, `TransactionView`, `TransactionWithStatusResponse`, `Transaction`, `TxPoolInfo`, `TxStatus`, `Uint128`, `UncleBlockView`, and `UncleBlock` [INFO] [stdout] --> src/utils/rpc/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Alert, AlertMessage, BannedAddr, Block, BlockEconomicState, BlockIssuance, BlockView, Byte32, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 9 | CellDep, CellInput, CellOutput, ChainInfo, DepType, EpochView, Header, HeaderView, JsonBytes, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | LocalNode, MerkleProof, MinerReward, NodeAddress, OutPoint, ProposalShortId, RemoteNode, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Script, ScriptHashType, Transaction, TransactionProof, TransactionView, TransactionWithStatus, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | TransactionWithStatusResponse, TxPoolInfo, TxStatus, Uint128, UncleBlock, UncleBlockView, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docker` [INFO] [stdout] --> src/main.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(docker)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docker)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docker)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/dao/mod.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 200 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/mock_tx.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | helper.verify(u64::max_value(), loader)? [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/sudt.rs:496:41 [INFO] [stdout] | [INFO] [stdout] 496 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/sudt.rs:675:48 [INFO] [stdout] | [INFO] [stdout] 675 | cheque_query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/sudt.rs:805:48 [INFO] [stdout] | [INFO] [stdout] 805 | cheque_query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/wallet.rs:480:45 [INFO] [stdout] | [INFO] [stdout] 480 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/wallet.rs:516:41 [INFO] [stdout] | [INFO] [stdout] 516 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/wallet.rs:640:50 [INFO] [stdout] | [INFO] [stdout] 640 | to_number_opt.unwrap_or(u64::max_value()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | if v <= i64::max_value() as i128 && v >= i64::min_value() as i128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::min_value`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:434:59 [INFO] [stdout] | [INFO] [stdout] 434 | if v <= i64::max_value() as i128 && v >= i64::min_value() as i128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | if v <= i64::max_value() as u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:464:26 [INFO] [stdout] | [INFO] [stdout] 464 | if v <= i64::max_value() as u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_from_plugin` and `plugin_name` are never read [INFO] [stdout] --> src/plugin/manager.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 539 | Request { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 540 | // The request is from plugin or ckb-cli [INFO] [stdout] 541 | is_from_plugin: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 542 | plugin_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugin/manager.rs:555:11 [INFO] [stdout] | [INFO] [stdout] 555 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 555 - Error(String), [INFO] [stdout] 555 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptIdParser` is never constructed [INFO] [stdout] --> src/utils/arg_parser.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct ScriptIdParser; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `genesis_header` is never read [INFO] [stdout] --> src/utils/genesis_info.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GenesisInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | pub cell_dep_resolver: DefaultCellDepResolver, [INFO] [stdout] 10 | pub genesis_header: HeaderView, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenesisInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> src/utils/rpc/types.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseFormat` is never constructed [INFO] [stdout] --> src/utils/rpc/types.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct ResponseFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionWithStatusResponse` is never constructed [INFO] [stdout] --> src/utils/rpc/types.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub struct TransactionWithStatusResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/subcommands/plugin.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(plugin_mgr: &'a mut PluginManager) -> PluginSubCommand { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(plugin_mgr: &'a mut PluginManager) -> PluginSubCommand<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/config.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, key: Option<&str>) -> KV { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, key: Option<&str>) -> KV<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utils/yaml_ser.rs:124:64 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(writer: &'a mut dyn fmt::Write, color: bool) -> YamlEmitter { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(writer: &'a mut dyn fmt::Write, color: bool) -> YamlEmitter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `ckb-vm-definitions` [INFO] [stderr] --> Cargo.toml:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | [dependencies.ckb-vm-definitions] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `ckb-vm-definitions` [INFO] [stderr] warning: unused dependency `console` [INFO] [stderr] --> Cargo.toml:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | [dependencies.console] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `console` [INFO] [stderr] warning: unused dependency `ctrlc` [INFO] [stderr] --> Cargo.toml:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | [dependencies.ctrlc] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `ctrlc` [INFO] [stderr] warning: unused dependency `tui` [INFO] [stderr] --> Cargo.toml:187:34 [INFO] [stderr] | [INFO] [stderr] 187 | [target."cfg(unix)".dependencies.tui] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tui` [INFO] [stderr] warning: `ckb-cli` (manifest) generated 4 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45, rand_core v0.4.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `"docker" "inspect" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46"` [INFO] running `"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" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling ckb-cli v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IndexerHandler` [INFO] [stdout] --> src/plugin/mod.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub use manager::{IndexerHandler, KeyStoreHandler, PluginManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/utils/arg_parser.rs:568:69 [INFO] [stdout] | [INFO] [stdout] 568 | use ckb_types::{bytes::Bytes, core::ScriptHashType, h160, h256, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Capacity`, `EpochNumberWithFraction`, and `Since` [INFO] [stdout] --> src/utils/rpc/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use primitive::{Capacity, EpochNumberWithFraction, Since, Timestamp}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alert`, `BlockIssuance`, `Block`, `Byte32`, `CellDep`, `CellInput`, `CellOutput`, `DepType`, `Header`, `LocalNode`, `MerkleProof`, `MinerReward`, `NodeAddress`, `OutPoint`, `ProposalShortId`, `ScriptHashType`, `Script`, `TransactionView`, `TransactionWithStatusResponse`, `Transaction`, `TxPoolInfo`, `TxStatus`, `Uint128`, `UncleBlockView`, and `UncleBlock` [INFO] [stdout] --> src/utils/rpc/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Alert, AlertMessage, BannedAddr, Block, BlockEconomicState, BlockIssuance, BlockView, Byte32, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 9 | CellDep, CellInput, CellOutput, ChainInfo, DepType, EpochView, Header, HeaderView, JsonBytes, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | LocalNode, MerkleProof, MinerReward, NodeAddress, OutPoint, ProposalShortId, RemoteNode, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Script, ScriptHashType, Transaction, TransactionProof, TransactionView, TransactionWithStatus, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | TransactionWithStatusResponse, TxPoolInfo, TxStatus, Uint128, UncleBlock, UncleBlockView, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `docker` [INFO] [stdout] --> src/main.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(docker)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docker)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docker)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/dao/mod.rs:200:41 [INFO] [stdout] | [INFO] [stdout] 200 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/mock_tx.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | helper.verify(u64::max_value(), loader)? [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/sudt.rs:496:41 [INFO] [stdout] | [INFO] [stdout] 496 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/sudt.rs:675:48 [INFO] [stdout] | [INFO] [stdout] 675 | cheque_query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/sudt.rs:805:48 [INFO] [stdout] | [INFO] [stdout] 805 | cheque_query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/wallet.rs:480:45 [INFO] [stdout] | [INFO] [stdout] 480 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/wallet.rs:516:41 [INFO] [stdout] | [INFO] [stdout] 516 | query.min_total_capacity = u64::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/subcommands/wallet.rs:640:50 [INFO] [stdout] | [INFO] [stdout] 640 | to_number_opt.unwrap_or(u64::max_value()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils/mock_tx_helper.rs:482:26 [INFO] [stdout] | [INFO] [stdout] 482 | .verify(u64::max_value(), Loader) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:434:26 [INFO] [stdout] | [INFO] [stdout] 434 | if v <= i64::max_value() as i128 && v >= i64::min_value() as i128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::min_value`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:434:59 [INFO] [stdout] | [INFO] [stdout] 434 | if v <= i64::max_value() as i128 && v >= i64::min_value() as i128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | if v <= i64::max_value() as u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils/yaml_ser.rs:464:26 [INFO] [stdout] | [INFO] [stdout] 464 | if v <= i64::max_value() as u128 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_from_plugin` and `plugin_name` are never read [INFO] [stdout] --> src/plugin/manager.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 539 | Request { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 540 | // The request is from plugin or ckb-cli [INFO] [stdout] 541 | is_from_plugin: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 542 | plugin_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/plugin/manager.rs:555:11 [INFO] [stdout] | [INFO] [stdout] 555 | Error(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 555 - Error(String), [INFO] [stdout] 555 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptIdParser` is never constructed [INFO] [stdout] --> src/utils/arg_parser.rs:507:12 [INFO] [stdout] | [INFO] [stdout] 507 | pub struct ScriptIdParser; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `genesis_header` is never read [INFO] [stdout] --> src/utils/genesis_info.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GenesisInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | pub cell_dep_resolver: DefaultCellDepResolver, [INFO] [stdout] 10 | pub genesis_header: HeaderView, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GenesisInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> src/utils/rpc/types.rs:337:10 [INFO] [stdout] | [INFO] [stdout] 337 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseFormat` is never constructed [INFO] [stdout] --> src/utils/rpc/types.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub struct ResponseFormat { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionWithStatusResponse` is never constructed [INFO] [stdout] --> src/utils/rpc/types.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub struct TransactionWithStatusResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/subcommands/plugin.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(plugin_mgr: &'a mut PluginManager) -> PluginSubCommand { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(plugin_mgr: &'a mut PluginManager) -> PluginSubCommand<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/config.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, key: Option<&str>) -> KV { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get(&self, key: Option<&str>) -> KV<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utils/yaml_ser.rs:124:64 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(writer: &'a mut dyn fmt::Write, color: bool) -> YamlEmitter { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(writer: &'a mut dyn fmt::Write, color: bool) -> YamlEmitter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `ckb-vm-definitions` [INFO] [stderr] --> Cargo.toml:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | [dependencies.ckb-vm-definitions] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `ckb-vm-definitions` [INFO] [stderr] warning: unused dependency `console` [INFO] [stderr] --> Cargo.toml:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | [dependencies.console] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `console` [INFO] [stderr] warning: unused dependency `ctrlc` [INFO] [stderr] --> Cargo.toml:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | [dependencies.ctrlc] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `ctrlc` [INFO] [stderr] warning: unused dependency `tui` [INFO] [stderr] --> Cargo.toml:187:34 [INFO] [stderr] | [INFO] [stderr] 187 | [target."cfg(unix)".dependencies.tui] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tui` [INFO] [stderr] warning: `ckb-cli` (manifest) generated 4 warnings [INFO] [stderr] Finished `release` profile [optimized] target(s) in 6.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45, rand_core v0.4.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `"docker" "inspect" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46"` [INFO] running `"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" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] warning: unused import: `IndexerHandler` [INFO] [stderr] --> src/plugin/mod.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | pub use manager::{IndexerHandler, KeyStoreHandler, PluginManager}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `prelude::*` [INFO] [stderr] --> src/utils/arg_parser.rs:568:69 [INFO] [stderr] | [INFO] [stderr] 568 | use ckb_types::{bytes::Bytes, core::ScriptHashType, h160, h256, prelude::*}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Capacity`, `EpochNumberWithFraction`, and `Since` [INFO] [stderr] --> src/utils/rpc/mod.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | pub use primitive::{Capacity, EpochNumberWithFraction, Since, Timestamp}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Alert`, `BlockIssuance`, `Block`, `Byte32`, `CellDep`, `CellInput`, `CellOutput`, `DepType`, `Header`, `LocalNode`, `MerkleProof`, `MinerReward`, `NodeAddress`, `OutPoint`, `ProposalShortId`, `ScriptHashType`, `Script`, `TransactionView`, `TransactionWithStatusResponse`, `Transaction`, `TxPoolInfo`, `TxStatus`, `Uint128`, `UncleBlockView`, and `UncleBlock` [INFO] [stderr] --> src/utils/rpc/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Alert, AlertMessage, BannedAddr, Block, BlockEconomicState, BlockIssuance, BlockView, Byte32, [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] 9 | CellDep, CellInput, CellOutput, ChainInfo, DepType, EpochView, Header, HeaderView, JsonBytes, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] 10 | LocalNode, MerkleProof, MinerReward, NodeAddress, OutPoint, ProposalShortId, RemoteNode, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | Script, ScriptHashType, Transaction, TransactionProof, TransactionView, TransactionWithStatus, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | TransactionWithStatusResponse, TxPoolInfo, TxStatus, Uint128, UncleBlock, UncleBlockView, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `docker` [INFO] [stderr] --> src/main.rs:216:11 [INFO] [stderr] | [INFO] [stderr] 216 | #[cfg(docker)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docker)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docker)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/dao/mod.rs:200:41 [INFO] [stderr] | [INFO] [stderr] 200 | query.min_total_capacity = u64::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/mock_tx.rs:151:40 [INFO] [stderr] | [INFO] [stderr] 151 | helper.verify(u64::max_value(), loader)? [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/sudt.rs:496:41 [INFO] [stderr] | [INFO] [stderr] 496 | query.min_total_capacity = u64::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/sudt.rs:675:48 [INFO] [stderr] | [INFO] [stderr] 675 | cheque_query.min_total_capacity = u64::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/sudt.rs:805:48 [INFO] [stderr] | [INFO] [stderr] 805 | cheque_query.min_total_capacity = u64::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/wallet.rs:480:45 [INFO] [stderr] | [INFO] [stderr] 480 | query.min_total_capacity = u64::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/wallet.rs:516:41 [INFO] [stderr] | [INFO] [stderr] 516 | query.min_total_capacity = u64::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/subcommands/wallet.rs:640:50 [INFO] [stderr] | [INFO] [stderr] 640 | to_number_opt.unwrap_or(u64::max_value()), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/utils/mock_tx_helper.rs:482:26 [INFO] [stderr] | [INFO] [stderr] 482 | .verify(u64::max_value(), Loader) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/utils/yaml_ser.rs:434:26 [INFO] [stderr] | [INFO] [stderr] 434 | if v <= i64::max_value() as i128 && v >= i64::min_value() as i128 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::min_value`: replaced by the `MIN` associated constant on this type [INFO] [stderr] --> src/utils/yaml_ser.rs:434:59 [INFO] [stderr] | [INFO] [stderr] 434 | if v <= i64::max_value() as i128 && v >= i64::min_value() as i128 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/utils/yaml_ser.rs:455:22 [INFO] [stderr] | [INFO] [stderr] 455 | if v <= i64::max_value() as u64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `bitcoin::bitcoin_hashes::_export::_core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/utils/yaml_ser.rs:464:26 [INFO] [stderr] | [INFO] [stderr] 464 | if v <= i64::max_value() as u128 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `is_from_plugin` and `plugin_name` are never read [INFO] [stderr] --> src/plugin/manager.rs:541:9 [INFO] [stderr] | [INFO] [stderr] 539 | Request { [INFO] [stderr] | ------- fields in this variant [INFO] [stderr] 540 | // The request is from plugin or ckb-cli [INFO] [stderr] 541 | is_from_plugin: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 542 | plugin_name: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServiceRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/plugin/manager.rs:555:11 [INFO] [stderr] | [INFO] [stderr] 555 | Error(String), [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 555 - Error(String), [INFO] [stderr] 555 + Error(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `ScriptIdParser` is never constructed [INFO] [stderr] --> src/utils/arg_parser.rs:507:12 [INFO] [stderr] | [INFO] [stderr] 507 | pub struct ScriptIdParser; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `genesis_header` is never read [INFO] [stderr] --> src/utils/genesis_info.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct GenesisInfo { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 9 | pub cell_dep_resolver: DefaultCellDepResolver, [INFO] [stderr] 10 | pub genesis_header: HeaderView, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GenesisInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `Either` is never used [INFO] [stderr] --> src/utils/rpc/types.rs:337:10 [INFO] [stderr] | [INFO] [stderr] 337 | pub enum Either { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ResponseFormat` is never constructed [INFO] [stderr] --> src/utils/rpc/types.rs:352:12 [INFO] [stderr] | [INFO] [stderr] 352 | pub struct ResponseFormat { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TransactionWithStatusResponse` is never constructed [INFO] [stderr] --> src/utils/rpc/types.rs:396:12 [INFO] [stderr] | [INFO] [stderr] 396 | pub struct TransactionWithStatusResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/subcommands/plugin.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(plugin_mgr: &'a mut PluginManager) -> PluginSubCommand { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(plugin_mgr: &'a mut PluginManager) -> PluginSubCommand<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils/config.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn get(&self, key: Option<&str>) -> KV { [INFO] [stderr] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 51 | pub fn get(&self, key: Option<&str>) -> KV<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/utils/yaml_ser.rs:124:64 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn new(writer: &'a mut dyn fmt::Write, color: bool) -> YamlEmitter { [INFO] [stderr] | -- the lifetime is named here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 124 | pub fn new(writer: &'a mut dyn fmt::Write, color: bool) -> YamlEmitter<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ckb-cli` (bin "ckb-cli" test) generated 28 warnings (run `cargo fix --bin "ckb-cli" -p ckb-cli --tests` to apply 7 suggestions) [INFO] [stderr] warning: unused dependency `ckb-vm-definitions` [INFO] [stderr] --> Cargo.toml:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | [dependencies.ckb-vm-definitions] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `ckb-vm-definitions` [INFO] [stderr] warning: unused dependency `console` [INFO] [stderr] --> Cargo.toml:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | [dependencies.console] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `console` [INFO] [stderr] warning: unused dependency `ctrlc` [INFO] [stderr] --> Cargo.toml:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | [dependencies.ctrlc] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `ctrlc` [INFO] [stderr] warning: unused dependency `tui` [INFO] [stderr] --> Cargo.toml:187:34 [INFO] [stderr] | [INFO] [stderr] 187 | [target."cfg(unix)".dependencies.tui] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `tui` [INFO] [stderr] warning: `ckb-cli` (manifest) generated 4 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: openssl v0.10.45, rand_core v0.4.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/ckb-cli/7368aa146ea01b6a/out/ckb_cli-7368aa146ea01b6a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test subcommands::util::test::test_gen_multisig_addr ... ok [INFO] [stdout] test utils::arg_parser::tests::test_address ... ok [INFO] [stdout] test utils::arg_parser::tests::test_fixed_hash ... ok [INFO] [stdout] test utils::arg_parser::tests::test_from_str ... ok [INFO] [stdout] test utils::arg_parser::tests::test_hex ... ok [INFO] [stdout] test utils::tx_helper::tests::test_check_lock_script ... ok [INFO] [stdout] test utils::mock_tx_helper::test::test_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `"docker" "inspect" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46"` [INFO] running `"docker" "rm" "-f" "471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46"` [INFO] [stdout] 471f5128746055aac3f35e711d23b95d0e43f60d150e4f47c3195417a668dc46