[INFO] fetching crate bitcoin-key 0.1.12-alpha.0... [INFO] testing bitcoin-key-0.1.12-alpha.0 against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] extracting crate bitcoin-key 0.1.12-alpha.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate bitcoin-key 0.1.12-alpha.0 on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-key 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoin-key 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoin-key 0.1.12-alpha.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed207bc9bd8561625f23d8d5650244c2cdc83072d16f71b198dde2e69b9b7fcd [INFO] running `Command { std: "docker" "start" "-a" "ed207bc9bd8561625f23d8d5650244c2cdc83072d16f71b198dde2e69b9b7fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed207bc9bd8561625f23d8d5650244c2cdc83072d16f71b198dde2e69b9b7fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed207bc9bd8561625f23d8d5650244c2cdc83072d16f71b198dde2e69b9b7fcd", kill_on_drop: false }` [INFO] [stdout] ed207bc9bd8561625f23d8d5650244c2cdc83072d16f71b198dde2e69b9b7fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54722f1e2a89eb7867f2430b392052683bf8a6cc41b8a1a765b1f5db94b13c98 [INFO] running `Command { std: "docker" "start" "-a" "54722f1e2a89eb7867f2430b392052683bf8a6cc41b8a1a765b1f5db94b13c98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling gimli v0.27.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling object v0.30.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling semver v1.0.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling cpp_build v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling raw-cpuid v10.6.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling indoc v1.0.8 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling atomic-take v1.0.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling libevent-sys v0.2.5 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling bitcoin-imports v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-slice v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-status v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-util v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-comparator v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-file v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-rand v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-log v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-snapshot v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-cache v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-env v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-support v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-options v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-primitives v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-table v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-univalue v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-amt v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoin-key v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_amt::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_amt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_table::*` [INFO] [stdout] --> src/imports.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use bitcoinleveldb_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pubkey.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /** [INFO] [stdout] 99 | | | see www.keylength.com script supports [INFO] [stdout] 100 | | | up to 75 for single byte push [INFO] [stdout] 101 | | | [INFO] [stdout] 102 | | | [INFO] [stdout] 103 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pubkey.rs:952:1 [INFO] [stdout] | [INFO] [stdout] 952 | / /** [INFO] [stdout] 953 | | | Global secp256k1_context object used [INFO] [stdout] 954 | | | for verification. [INFO] [stdout] 955 | | | [INFO] [stdout] 956 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/privkey.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /** [INFO] [stdout] 21 | | | see www.keylength.com script supports [INFO] [stdout] 22 | | | up to 75 for single byte push [INFO] [stdout] 23 | | | [INFO] [stdout] 24 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/keyorigin.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | #[inline] fn eq(&self, other: &KeyOriginInfo) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_code` [INFO] [stdout] --> src/pubkey.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | chain_code: &ChainCode, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/pubkey.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | header: u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/pubkey.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | data: [u8; 32], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/pubkey.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | output: [u8; 64]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/pubkey.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn from(in_: &u160) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pubkey.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | #[inline] fn index(&self, pos: u32) -> &Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] fn eq(&self, other: &PubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | #[inline] fn cmp(&self, other: &PubKey) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/pubkey.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | fn from(vch: &[u8]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch_header` [INFO] [stdout] --> src/pubkey.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_len(ch_header: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ch_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/pubkey.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn valid_size(vch: &Vec) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/pubkey.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/pubkey.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | pend: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/pubkey.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/pubkey.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | pend: T) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/pubkey.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn new(slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pubkey.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn serialize(&self, s: &mut Stream) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pubkey.rs:325:43 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn unserialize(&mut self, s: &mut Stream) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:420:34 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn check_lows(&mut self, vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/pubkey.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/pubkey.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey_child` [INFO] [stdout] --> src/pubkey.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | pubkey_child: &mut PubKey, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc_child` [INFO] [stdout] --> src/pubkey.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | cc_child: &mut ChainCode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/pubkey.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | cc: &ChainCode) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pubkey.rs:581:31 [INFO] [stdout] | [INFO] [stdout] 581 | #[inline] fn index(&self, pos: i32) -> &Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:591:28 [INFO] [stdout] | [INFO] [stdout] 591 | #[inline] fn eq(&self, other: &XOnlyPubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | #[inline] fn cmp(&self, other: &XOnlyPubKey) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/pubkey.rs:624:13 [INFO] [stdout] | [INFO] [stdout] 624 | fn from(pubkey: &PubKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/pubkey.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 640 | fn from(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/pubkey.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | msg: &u256, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sigbytes` [INFO] [stdout] --> src/pubkey.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | sigbytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sigbytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:798:42 [INFO] [stdout] | [INFO] [stdout] 798 | pub fn compute_tap_tweak_hash(&self, merkle_root: *const u256) -> u256 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal` [INFO] [stdout] --> src/pubkey.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | internal: &XOnlyPubKey, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | merkle_root: &u256, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parity` [INFO] [stdout] --> src/pubkey.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | parity: bool) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:839:36 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn create_tap_tweak(&self, merkle_root: *const u256) -> Option<(XOnlyPubKey,bool)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:871:28 [INFO] [stdout] | [INFO] [stdout] 871 | #[inline] fn eq(&self, other: &ExtPubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/pubkey.rs:887:26 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/pubkey.rs:900:30 [INFO] [stdout] | [INFO] [stdout] 900 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/pubkey.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | out: &mut ExtPubKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:915:9 [INFO] [stdout] | [INFO] [stdout] 915 | n_child: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/extkey.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] fn eq(&self, other: &ExtKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/extkey.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | out: &mut ExtKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/extkey.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | n_child: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/extkey.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | seed: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_seed_len` [INFO] [stdout] --> src/extkey.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | n_seed_len: u32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_seed_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/extkey.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/extkey.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/key.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/key.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pend: T, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_in` [INFO] [stdout] --> src/key.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | compressed_in: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/key.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn check(&mut self, vch: *const u8) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_in` [INFO] [stdout] --> src/key.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn make_new_key(&mut self, compressed_in: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grind` [INFO] [stdout] --> src/key.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let grind: bool = grind.unwrap_or(true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_case` [INFO] [stdout] --> src/key.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let test_case: u32 = test_case.unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/key.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | vch_sig: &mut Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/key.rs:247:34 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn verify_pub_key(&self, pubkey: &crate::PubKey) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/key.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | vch_sig: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/key.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | sig: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/key.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | merkle_root: *const u256, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/key.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | aux: *const u256) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_check` [INFO] [stdout] --> src/key.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let skip_check: bool = skip_check.unwrap_or(false); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seckey` [INFO] [stdout] --> src/key.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | seckey: &PrivKey, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_seckey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_pub_key` [INFO] [stdout] --> src/key.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | vch_pub_key: &crate::PubKey, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_child` [INFO] [stdout] --> src/key.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | key_child: &mut Key, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc_child` [INFO] [stdout] --> src/key.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | cc_child: &mut ChainCode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/key.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/key.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | cc: &ChainCode) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/key.rs:429:28 [INFO] [stdout] | [INFO] [stdout] 429 | #[inline] fn eq(&self, other: &Key) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keydata` is never read [INFO] [stdout] --> src/pubkey.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct XOnlyPubKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 575 | keydata: u256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `pubkey` are never read [INFO] [stdout] --> src/pubkey.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 861 | pub struct ExtPubKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 862 | n_depth: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 863 | vch_fingerprint: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 864 | n_child: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 865 | chaincode: ChainCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 866 | pubkey: PubKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `key` are never read [INFO] [stdout] --> src/extkey.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExtKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | n_depth: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | vch_fingerprint: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | n_child: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | chaincode: ChainCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `valid`, `compressed`, and `keydata` are never read [INFO] [stdout] --> src/key.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Key { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | valid: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | compressed: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | keydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 87 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12m 26s [INFO] running `Command { std: "docker" "inspect" "54722f1e2a89eb7867f2430b392052683bf8a6cc41b8a1a765b1f5db94b13c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54722f1e2a89eb7867f2430b392052683bf8a6cc41b8a1a765b1f5db94b13c98", kill_on_drop: false }` [INFO] [stdout] 54722f1e2a89eb7867f2430b392052683bf8a6cc41b8a1a765b1f5db94b13c98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00c683600a72b64f01f1893a0884568125df3004bb856f0e19efe0c35c531aaf [INFO] running `Command { std: "docker" "start" "-a" "00c683600a72b64f01f1893a0884568125df3004bb856f0e19efe0c35c531aaf", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `bitcoin_amt::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_amt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_table::*` [INFO] [stdout] --> src/imports.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use bitcoinleveldb_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pubkey.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /** [INFO] [stdout] 99 | | | see www.keylength.com script supports [INFO] [stdout] 100 | | | up to 75 for single byte push [INFO] [stdout] 101 | | | [INFO] [stdout] 102 | | | [INFO] [stdout] 103 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pubkey.rs:952:1 [INFO] [stdout] | [INFO] [stdout] 952 | / /** [INFO] [stdout] 953 | | | Global secp256k1_context object used [INFO] [stdout] 954 | | | for verification. [INFO] [stdout] 955 | | | [INFO] [stdout] 956 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/privkey.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /** [INFO] [stdout] 21 | | | see www.keylength.com script supports [INFO] [stdout] 22 | | | up to 75 for single byte push [INFO] [stdout] 23 | | | [INFO] [stdout] 24 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/keyorigin.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | #[inline] fn eq(&self, other: &KeyOriginInfo) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_code` [INFO] [stdout] --> src/pubkey.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | chain_code: &ChainCode, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/pubkey.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | header: u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/pubkey.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | data: [u8; 32], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/pubkey.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | output: [u8; 64]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/pubkey.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn from(in_: &u160) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pubkey.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | #[inline] fn index(&self, pos: u32) -> &Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] fn eq(&self, other: &PubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | #[inline] fn cmp(&self, other: &PubKey) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/pubkey.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | fn from(vch: &[u8]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch_header` [INFO] [stdout] --> src/pubkey.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_len(ch_header: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ch_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/pubkey.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn valid_size(vch: &Vec) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/pubkey.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/pubkey.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | pend: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/pubkey.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/pubkey.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | pend: T) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/pubkey.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn new(slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pubkey.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn serialize(&self, s: &mut Stream) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pubkey.rs:325:43 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn unserialize(&mut self, s: &mut Stream) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:420:34 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn check_lows(&mut self, vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/pubkey.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/pubkey.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey_child` [INFO] [stdout] --> src/pubkey.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | pubkey_child: &mut PubKey, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc_child` [INFO] [stdout] --> src/pubkey.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | cc_child: &mut ChainCode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/pubkey.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | cc: &ChainCode) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pubkey.rs:581:31 [INFO] [stdout] | [INFO] [stdout] 581 | #[inline] fn index(&self, pos: i32) -> &Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:591:28 [INFO] [stdout] | [INFO] [stdout] 591 | #[inline] fn eq(&self, other: &XOnlyPubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | #[inline] fn cmp(&self, other: &XOnlyPubKey) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/pubkey.rs:624:13 [INFO] [stdout] | [INFO] [stdout] 624 | fn from(pubkey: &PubKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/pubkey.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 640 | fn from(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/pubkey.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | msg: &u256, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sigbytes` [INFO] [stdout] --> src/pubkey.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | sigbytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sigbytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:798:42 [INFO] [stdout] | [INFO] [stdout] 798 | pub fn compute_tap_tweak_hash(&self, merkle_root: *const u256) -> u256 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal` [INFO] [stdout] --> src/pubkey.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | internal: &XOnlyPubKey, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | merkle_root: &u256, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parity` [INFO] [stdout] --> src/pubkey.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | parity: bool) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:839:36 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn create_tap_tweak(&self, merkle_root: *const u256) -> Option<(XOnlyPubKey,bool)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:871:28 [INFO] [stdout] | [INFO] [stdout] 871 | #[inline] fn eq(&self, other: &ExtPubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/pubkey.rs:887:26 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/pubkey.rs:900:30 [INFO] [stdout] | [INFO] [stdout] 900 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/pubkey.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | out: &mut ExtPubKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:915:9 [INFO] [stdout] | [INFO] [stdout] 915 | n_child: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/extkey.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] fn eq(&self, other: &ExtKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/extkey.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | out: &mut ExtKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/extkey.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | n_child: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/extkey.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | seed: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_seed_len` [INFO] [stdout] --> src/extkey.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | n_seed_len: u32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_seed_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/extkey.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/extkey.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/key.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/key.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pend: T, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_in` [INFO] [stdout] --> src/key.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | compressed_in: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/key.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn check(&mut self, vch: *const u8) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_in` [INFO] [stdout] --> src/key.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn make_new_key(&mut self, compressed_in: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grind` [INFO] [stdout] --> src/key.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let grind: bool = grind.unwrap_or(true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_case` [INFO] [stdout] --> src/key.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let test_case: u32 = test_case.unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/key.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | vch_sig: &mut Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/key.rs:247:34 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn verify_pub_key(&self, pubkey: &crate::PubKey) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/key.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | vch_sig: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/key.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | sig: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/key.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | merkle_root: *const u256, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/key.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | aux: *const u256) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_check` [INFO] [stdout] --> src/key.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let skip_check: bool = skip_check.unwrap_or(false); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seckey` [INFO] [stdout] --> src/key.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | seckey: &PrivKey, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_seckey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_pub_key` [INFO] [stdout] --> src/key.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | vch_pub_key: &crate::PubKey, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_child` [INFO] [stdout] --> src/key.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | key_child: &mut Key, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc_child` [INFO] [stdout] --> src/key.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | cc_child: &mut ChainCode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/key.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/key.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | cc: &ChainCode) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/key.rs:429:28 [INFO] [stdout] | [INFO] [stdout] 429 | #[inline] fn eq(&self, other: &Key) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keydata` is never read [INFO] [stdout] --> src/pubkey.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct XOnlyPubKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 575 | keydata: u256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `pubkey` are never read [INFO] [stdout] --> src/pubkey.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 861 | pub struct ExtPubKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 862 | n_depth: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 863 | vch_fingerprint: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 864 | n_child: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 865 | chaincode: ChainCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 866 | pubkey: PubKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `key` are never read [INFO] [stdout] --> src/extkey.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExtKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | n_depth: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | vch_fingerprint: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | n_child: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | chaincode: ChainCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `valid`, `compressed`, and `keydata` are never read [INFO] [stdout] --> src/key.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Key { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | valid: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | compressed: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | keydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 87 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-key v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_amt::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_amt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_table::*` [INFO] [stdout] --> src/imports.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) use bitcoinleveldb_table::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pubkey.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /** [INFO] [stdout] 99 | | | see www.keylength.com script supports [INFO] [stdout] 100 | | | up to 75 for single byte push [INFO] [stdout] 101 | | | [INFO] [stdout] 102 | | | [INFO] [stdout] 103 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/pubkey.rs:952:1 [INFO] [stdout] | [INFO] [stdout] 952 | / /** [INFO] [stdout] 953 | | | Global secp256k1_context object used [INFO] [stdout] 954 | | | for verification. [INFO] [stdout] 955 | | | [INFO] [stdout] 956 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/privkey.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /** [INFO] [stdout] 21 | | | see www.keylength.com script supports [INFO] [stdout] 22 | | | up to 75 for single byte push [INFO] [stdout] 23 | | | [INFO] [stdout] 24 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/keyorigin.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | #[inline] fn eq(&self, other: &KeyOriginInfo) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chain_code` [INFO] [stdout] --> src/pubkey.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | chain_code: &ChainCode, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/pubkey.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | header: u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/pubkey.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | data: [u8; 32], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/pubkey.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | output: [u8; 64]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/pubkey.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | fn from(in_: &u160) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pubkey.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | #[inline] fn index(&self, pos: u32) -> &Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | #[inline] fn eq(&self, other: &PubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | #[inline] fn cmp(&self, other: &PubKey) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/pubkey.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | fn from(vch: &[u8]) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch_header` [INFO] [stdout] --> src/pubkey.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_len(ch_header: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ch_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/pubkey.rs:215:23 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn valid_size(vch: &Vec) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/pubkey.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/pubkey.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | pend: T) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/pubkey.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/pubkey.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | pend: T) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/pubkey.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn new(slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pubkey.rs:314:37 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn serialize(&self, s: &mut Stream) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pubkey.rs:325:43 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn unserialize(&mut self, s: &mut Stream) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:420:34 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn check_lows(&mut self, vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/pubkey.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/pubkey.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/pubkey.rs:470:9 [INFO] [stdout] | [INFO] [stdout] 470 | vch_sig: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey_child` [INFO] [stdout] --> src/pubkey.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | pubkey_child: &mut PubKey, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc_child` [INFO] [stdout] --> src/pubkey.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | cc_child: &mut ChainCode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/pubkey.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | cc: &ChainCode) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/pubkey.rs:581:31 [INFO] [stdout] | [INFO] [stdout] 581 | #[inline] fn index(&self, pos: i32) -> &Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:591:28 [INFO] [stdout] | [INFO] [stdout] 591 | #[inline] fn eq(&self, other: &XOnlyPubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:603:29 [INFO] [stdout] | [INFO] [stdout] 603 | #[inline] fn cmp(&self, other: &XOnlyPubKey) -> Ordering { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/pubkey.rs:624:13 [INFO] [stdout] | [INFO] [stdout] 624 | fn from(pubkey: &PubKey) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/pubkey.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 640 | fn from(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/pubkey.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | msg: &u256, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sigbytes` [INFO] [stdout] --> src/pubkey.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | sigbytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sigbytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:798:42 [INFO] [stdout] | [INFO] [stdout] 798 | pub fn compute_tap_tweak_hash(&self, merkle_root: *const u256) -> u256 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal` [INFO] [stdout] --> src/pubkey.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | internal: &XOnlyPubKey, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:822:9 [INFO] [stdout] | [INFO] [stdout] 822 | merkle_root: &u256, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parity` [INFO] [stdout] --> src/pubkey.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | parity: bool) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/pubkey.rs:839:36 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn create_tap_tweak(&self, merkle_root: *const u256) -> Option<(XOnlyPubKey,bool)> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/pubkey.rs:871:28 [INFO] [stdout] | [INFO] [stdout] 871 | #[inline] fn eq(&self, other: &ExtPubKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/pubkey.rs:887:26 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/pubkey.rs:900:30 [INFO] [stdout] | [INFO] [stdout] 900 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/pubkey.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | out: &mut ExtPubKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/pubkey.rs:915:9 [INFO] [stdout] | [INFO] [stdout] 915 | n_child: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/extkey.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | #[inline] fn eq(&self, other: &ExtKey) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/extkey.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | out: &mut ExtKey, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/extkey.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | n_child: u32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/extkey.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | seed: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_seed_len` [INFO] [stdout] --> src/extkey.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | n_seed_len: u32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_seed_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/extkey.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/extkey.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pbegin` [INFO] [stdout] --> src/key.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pbegin: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pend` [INFO] [stdout] --> src/key.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pend: T, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_in` [INFO] [stdout] --> src/key.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | compressed_in: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch` [INFO] [stdout] --> src/key.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn check(&mut self, vch: *const u8) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_in` [INFO] [stdout] --> src/key.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn make_new_key(&mut self, compressed_in: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grind` [INFO] [stdout] --> src/key.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let grind: bool = grind.unwrap_or(true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_case` [INFO] [stdout] --> src/key.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let test_case: u32 = test_case.unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/key.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | vch_sig: &mut Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pubkey` [INFO] [stdout] --> src/key.rs:247:34 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn verify_pub_key(&self, pubkey: &crate::PubKey) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_sig` [INFO] [stdout] --> src/key.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | vch_sig: &mut Vec) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash` [INFO] [stdout] --> src/key.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | hash: &u256, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> src/key.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | sig: &[u8], [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `merkle_root` [INFO] [stdout] --> src/key.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | merkle_root: *const u256, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aux` [INFO] [stdout] --> src/key.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | aux: *const u256) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_check` [INFO] [stdout] --> src/key.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let skip_check: bool = skip_check.unwrap_or(false); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seckey` [INFO] [stdout] --> src/key.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | seckey: &PrivKey, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_seckey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vch_pub_key` [INFO] [stdout] --> src/key.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | vch_pub_key: &crate::PubKey, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_pub_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_child` [INFO] [stdout] --> src/key.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | key_child: &mut Key, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc_child` [INFO] [stdout] --> src/key.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | cc_child: &mut ChainCode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_child` [INFO] [stdout] --> src/key.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | n_child: u32, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/key.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | cc: &ChainCode) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/key.rs:429:28 [INFO] [stdout] | [INFO] [stdout] 429 | #[inline] fn eq(&self, other: &Key) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keydata` is never read [INFO] [stdout] --> src/pubkey.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct XOnlyPubKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 575 | keydata: u256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `pubkey` are never read [INFO] [stdout] --> src/pubkey.rs:862:5 [INFO] [stdout] | [INFO] [stdout] 861 | pub struct ExtPubKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 862 | n_depth: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 863 | vch_fingerprint: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 864 | n_child: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 865 | chaincode: ChainCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 866 | pubkey: PubKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `key` are never read [INFO] [stdout] --> src/extkey.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExtKey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | n_depth: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | vch_fingerprint: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | n_child: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | chaincode: ChainCode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | key: Key, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `valid`, `compressed`, and `keydata` are never read [INFO] [stdout] --> src/key.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Key { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | valid: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | compressed: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | keydata: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 87 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "00c683600a72b64f01f1893a0884568125df3004bb856f0e19efe0c35c531aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c683600a72b64f01f1893a0884568125df3004bb856f0e19efe0c35c531aaf", kill_on_drop: false }` [INFO] [stdout] 00c683600a72b64f01f1893a0884568125df3004bb856f0e19efe0c35c531aaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2231fca2d18bba6c5f76a7e4b3edbe59359e5a62f031324bcd08fed34bc2bb18 [INFO] running `Command { std: "docker" "start" "-a" "2231fca2d18bba6c5f76a7e4b3edbe59359e5a62f031324bcd08fed34bc2bb18", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `bitcoin_amt::*` [INFO] [stderr] --> src/imports.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | pub(crate) use bitcoin_amt::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoin_derive::*` [INFO] [stderr] --> src/imports.rs:2:16 [INFO] [stderr] | [INFO] [stderr] 2 | pub(crate) use bitcoin_derive::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoinleveldb_table::*` [INFO] [stderr] --> src/imports.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) use bitcoinleveldb_table::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pubkey.rs:98:1 [INFO] [stderr] | [INFO] [stderr] 98 | / /** [INFO] [stderr] 99 | | | see www.keylength.com script supports [INFO] [stderr] 100 | | | up to 75 for single byte push [INFO] [stderr] 101 | | | [INFO] [stderr] 102 | | | [INFO] [stderr] 103 | | */ [INFO] [stderr] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/pubkey.rs:952:1 [INFO] [stderr] | [INFO] [stderr] 952 | / /** [INFO] [stderr] 953 | | | Global secp256k1_context object used [INFO] [stderr] 954 | | | for verification. [INFO] [stderr] 955 | | | [INFO] [stderr] 956 | | */ [INFO] [stderr] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/privkey.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / /** [INFO] [stderr] 21 | | | see www.keylength.com script supports [INFO] [stderr] 22 | | | up to 75 for single byte push [INFO] [stderr] 23 | | | [INFO] [stderr] 24 | | */ [INFO] [stderr] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/keyorigin.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | #[inline] fn eq(&self, other: &KeyOriginInfo) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `chain_code` [INFO] [stderr] --> src/pubkey.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | chain_code: &ChainCode, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chain_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_child` [INFO] [stderr] --> src/pubkey.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | n_child: u32, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/pubkey.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | header: u8, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/pubkey.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | data: [u8; 32], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/pubkey.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | output: [u8; 64]) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `in_` [INFO] [stderr] --> src/pubkey.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | fn from(in_: &u160) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/pubkey.rs:128:31 [INFO] [stderr] | [INFO] [stderr] 128 | #[inline] fn index(&self, pos: u32) -> &Self::Output { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/pubkey.rs:141:28 [INFO] [stderr] | [INFO] [stderr] 141 | #[inline] fn eq(&self, other: &PubKey) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/pubkey.rs:154:29 [INFO] [stderr] | [INFO] [stderr] 154 | #[inline] fn cmp(&self, other: &PubKey) -> Ordering { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch` [INFO] [stderr] --> src/pubkey.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | fn from(vch: &[u8]) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ch_header` [INFO] [stderr] --> src/pubkey.rs:191:20 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn get_len(ch_header: u8) -> u32 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ch_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch` [INFO] [stderr] --> src/pubkey.rs:215:23 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn valid_size(vch: &Vec) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pbegin` [INFO] [stderr] --> src/pubkey.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | pbegin: T, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pend` [INFO] [stderr] --> src/pubkey.rs:230:9 [INFO] [stderr] | [INFO] [stderr] 230 | pend: T) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pbegin` [INFO] [stderr] --> src/pubkey.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 248 | pbegin: T, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pend` [INFO] [stderr] --> src/pubkey.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | pend: T) -> Self { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `slice` [INFO] [stderr] --> src/pubkey.rs:264:16 [INFO] [stderr] | [INFO] [stderr] 264 | pub fn new(slice: &[u8]) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/pubkey.rs:314:37 [INFO] [stderr] | [INFO] [stderr] 314 | pub fn serialize(&self, s: &mut Stream) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/pubkey.rs:325:43 [INFO] [stderr] | [INFO] [stderr] 325 | pub fn unserialize(&mut self, s: &mut Stream) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch_sig` [INFO] [stderr] --> src/pubkey.rs:420:34 [INFO] [stderr] | [INFO] [stderr] 420 | pub fn check_lows(&mut self, vch_sig: &Vec) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hash` [INFO] [stderr] --> src/pubkey.rs:441:9 [INFO] [stderr] | [INFO] [stderr] 441 | hash: &u256, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch_sig` [INFO] [stderr] --> src/pubkey.rs:442:9 [INFO] [stderr] | [INFO] [stderr] 442 | vch_sig: &Vec) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hash` [INFO] [stderr] --> src/pubkey.rs:469:9 [INFO] [stderr] | [INFO] [stderr] 469 | hash: &u256, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch_sig` [INFO] [stderr] --> src/pubkey.rs:470:9 [INFO] [stderr] | [INFO] [stderr] 470 | vch_sig: &Vec) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pubkey_child` [INFO] [stderr] --> src/pubkey.rs:541:9 [INFO] [stderr] | [INFO] [stderr] 541 | pubkey_child: &mut PubKey, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc_child` [INFO] [stderr] --> src/pubkey.rs:542:9 [INFO] [stderr] | [INFO] [stderr] 542 | cc_child: &mut ChainCode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_child` [INFO] [stderr] --> src/pubkey.rs:543:9 [INFO] [stderr] | [INFO] [stderr] 543 | n_child: u32, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc` [INFO] [stderr] --> src/pubkey.rs:544:9 [INFO] [stderr] | [INFO] [stderr] 544 | cc: &ChainCode) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/pubkey.rs:581:31 [INFO] [stderr] | [INFO] [stderr] 581 | #[inline] fn index(&self, pos: i32) -> &Self::Output { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/pubkey.rs:591:28 [INFO] [stderr] | [INFO] [stderr] 591 | #[inline] fn eq(&self, other: &XOnlyPubKey) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/pubkey.rs:603:29 [INFO] [stderr] | [INFO] [stderr] 603 | #[inline] fn cmp(&self, other: &XOnlyPubKey) -> Ordering { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pubkey` [INFO] [stderr] --> src/pubkey.rs:624:13 [INFO] [stderr] | [INFO] [stderr] 624 | fn from(pubkey: &PubKey) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/pubkey.rs:640:13 [INFO] [stderr] | [INFO] [stderr] 640 | fn from(bytes: &[u8]) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/pubkey.rs:771:9 [INFO] [stderr] | [INFO] [stderr] 771 | msg: &u256, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sigbytes` [INFO] [stderr] --> src/pubkey.rs:772:9 [INFO] [stderr] | [INFO] [stderr] 772 | sigbytes: &[u8]) -> bool { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sigbytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `merkle_root` [INFO] [stderr] --> src/pubkey.rs:798:42 [INFO] [stderr] | [INFO] [stderr] 798 | pub fn compute_tap_tweak_hash(&self, merkle_root: *const u256) -> u256 { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `internal` [INFO] [stderr] --> src/pubkey.rs:821:9 [INFO] [stderr] | [INFO] [stderr] 821 | internal: &XOnlyPubKey, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `merkle_root` [INFO] [stderr] --> src/pubkey.rs:822:9 [INFO] [stderr] | [INFO] [stderr] 822 | merkle_root: &u256, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parity` [INFO] [stderr] --> src/pubkey.rs:823:9 [INFO] [stderr] | [INFO] [stderr] 823 | parity: bool) -> bool { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `merkle_root` [INFO] [stderr] --> src/pubkey.rs:839:36 [INFO] [stderr] | [INFO] [stderr] 839 | pub fn create_tap_tweak(&self, merkle_root: *const u256) -> Option<(XOnlyPubKey,bool)> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/pubkey.rs:871:28 [INFO] [stderr] | [INFO] [stderr] 871 | #[inline] fn eq(&self, other: &ExtPubKey) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `code` [INFO] [stderr] --> src/pubkey.rs:887:26 [INFO] [stderr] | [INFO] [stderr] 887 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `code` [INFO] [stderr] --> src/pubkey.rs:900:30 [INFO] [stderr] | [INFO] [stderr] 900 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `out` [INFO] [stderr] --> src/pubkey.rs:914:9 [INFO] [stderr] | [INFO] [stderr] 914 | out: &mut ExtPubKey, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_child` [INFO] [stderr] --> src/pubkey.rs:915:9 [INFO] [stderr] | [INFO] [stderr] 915 | n_child: u32) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/extkey.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | #[inline] fn eq(&self, other: &ExtKey) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `out` [INFO] [stderr] --> src/extkey.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | out: &mut ExtKey, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_child` [INFO] [stderr] --> src/extkey.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | n_child: u32) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seed` [INFO] [stderr] --> src/extkey.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | seed: *const u8, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_seed_len` [INFO] [stderr] --> src/extkey.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | n_seed_len: u32) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_seed_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `code` [INFO] [stderr] --> src/extkey.rs:75:26 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn encode(&self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `code` [INFO] [stderr] --> src/extkey.rs:89:30 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn decode(&mut self, code: [u8; BIP32_EXTKEY_SIZE]) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pbegin` [INFO] [stderr] --> src/key.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | pbegin: T, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pbegin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pend` [INFO] [stderr] --> src/key.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | pend: T, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pend` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compressed_in` [INFO] [stderr] --> src/key.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | compressed_in: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch` [INFO] [stderr] --> src/key.rs:113:29 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn check(&mut self, vch: *const u8) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_vch` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compressed_in` [INFO] [stderr] --> src/key.rs:126:36 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn make_new_key(&mut self, compressed_in: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `grind` [INFO] [stderr] --> src/key.rs:212:13 [INFO] [stderr] | [INFO] [stderr] 212 | let grind: bool = grind.unwrap_or(true); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_grind` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `test_case` [INFO] [stderr] --> src/key.rs:213:13 [INFO] [stderr] | [INFO] [stderr] 213 | let test_case: u32 = test_case.unwrap_or(0); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_case` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hash` [INFO] [stderr] --> src/key.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | hash: &u256, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch_sig` [INFO] [stderr] --> src/key.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | vch_sig: &mut Vec, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pubkey` [INFO] [stderr] --> src/key.rs:247:34 [INFO] [stderr] | [INFO] [stderr] 247 | pub fn verify_pub_key(&self, pubkey: &crate::PubKey) -> bool { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pubkey` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hash` [INFO] [stderr] --> src/key.rs:282:9 [INFO] [stderr] | [INFO] [stderr] 282 | hash: &u256, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch_sig` [INFO] [stderr] --> src/key.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | vch_sig: &mut Vec) -> bool { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_sig` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hash` [INFO] [stderr] --> src/key.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | hash: &u256, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hash` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sig` [INFO] [stderr] --> src/key.rs:329:9 [INFO] [stderr] | [INFO] [stderr] 329 | sig: &[u8], [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `merkle_root` [INFO] [stderr] --> src/key.rs:330:9 [INFO] [stderr] | [INFO] [stderr] 330 | merkle_root: *const u256, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_merkle_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `aux` [INFO] [stderr] --> src/key.rs:331:9 [INFO] [stderr] | [INFO] [stderr] 331 | aux: *const u256) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_aux` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `skip_check` [INFO] [stderr] --> src/key.rs:361:13 [INFO] [stderr] | [INFO] [stderr] 361 | let skip_check: bool = skip_check.unwrap_or(false); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_check` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seckey` [INFO] [stderr] --> src/key.rs:358:9 [INFO] [stderr] | [INFO] [stderr] 358 | seckey: &PrivKey, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_seckey` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vch_pub_key` [INFO] [stderr] --> src/key.rs:359:9 [INFO] [stderr] | [INFO] [stderr] 359 | vch_pub_key: &crate::PubKey, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vch_pub_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key_child` [INFO] [stderr] --> src/key.rs:382:9 [INFO] [stderr] | [INFO] [stderr] 382 | key_child: &mut Key, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc_child` [INFO] [stderr] --> src/key.rs:383:9 [INFO] [stderr] | [INFO] [stderr] 383 | cc_child: &mut ChainCode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cc_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_child` [INFO] [stderr] --> src/key.rs:384:9 [INFO] [stderr] | [INFO] [stderr] 384 | n_child: u32, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_child` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc` [INFO] [stderr] --> src/key.rs:385:9 [INFO] [stderr] | [INFO] [stderr] 385 | cc: &ChainCode) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/key.rs:429:28 [INFO] [stderr] | [INFO] [stderr] 429 | #[inline] fn eq(&self, other: &Key) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: field `keydata` is never read [INFO] [stderr] --> src/pubkey.rs:575:5 [INFO] [stderr] | [INFO] [stderr] 574 | pub struct XOnlyPubKey { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 575 | keydata: u256, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `pubkey` are never read [INFO] [stderr] --> src/pubkey.rs:862:5 [INFO] [stderr] | [INFO] [stderr] 861 | pub struct ExtPubKey { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 862 | n_depth: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 863 | vch_fingerprint: [u8; 4], [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 864 | n_child: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 865 | chaincode: ChainCode, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 866 | pubkey: PubKey, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `n_depth`, `vch_fingerprint`, `n_child`, `chaincode`, and `key` are never read [INFO] [stderr] --> src/extkey.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ExtKey { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 5 | n_depth: u8, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 6 | vch_fingerprint: [u8; 4], [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | n_child: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 8 | chaincode: ChainCode, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 9 | key: Key, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `valid`, `compressed`, and `keydata` are never read [INFO] [stderr] --> src/key.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Key { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | valid: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | compressed: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | keydata: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitcoin-key` (lib) generated 87 warnings (run `cargo fix --lib -p bitcoin-key` to apply 80 suggestions) [INFO] [stderr] warning: `bitcoin-key` (lib test) generated 87 warnings (87 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoin_key-4dc08a9e23ddc794) [INFO] [stdout] [INFO] [stderr] Doc-tests bitcoin-key [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2231fca2d18bba6c5f76a7e4b3edbe59359e5a62f031324bcd08fed34bc2bb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2231fca2d18bba6c5f76a7e4b3edbe59359e5a62f031324bcd08fed34bc2bb18", kill_on_drop: false }` [INFO] [stdout] 2231fca2d18bba6c5f76a7e4b3edbe59359e5a62f031324bcd08fed34bc2bb18