[INFO] fetching crate bitcoinleveldb-key 0.1.12-alpha.0... [INFO] building bitcoinleveldb-key-0.1.12-alpha.0 against try#0179c3cb935eb588d407cb784f436ae84d99db5c for pr-107620-1 [INFO] extracting crate bitcoinleveldb-key 0.1.12-alpha.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-key 0.1.12-alpha.0 on toolchain 0179c3cb935eb588d407cb784f436ae84d99db5c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-key 0.1.12-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-key 0.1.12-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-key 0.1.12-alpha.0 written to /workspace/builds/worker-3-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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "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" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10fea153fab34bf1d6aae75526a3b4fead2bae80e5cd2e75c3e39c3e309a3b8c [INFO] running `Command { std: "docker" "start" "-a" "10fea153fab34bf1d6aae75526a3b4fead2bae80e5cd2e75c3e39c3e309a3b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10fea153fab34bf1d6aae75526a3b4fead2bae80e5cd2e75c3e39c3e309a3b8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10fea153fab34bf1d6aae75526a3b4fead2bae80e5cd2e75c3e39c3e309a3b8c", kill_on_drop: false }` [INFO] [stdout] 10fea153fab34bf1d6aae75526a3b4fead2bae80e5cd2e75c3e39c3e309a3b8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 167ac60fc834bd5256cbdfc8137b99fbb0695ae956080ed704280a31784b2702 [INFO] running `Command { std: "docker" "start" "-a" "167ac60fc834bd5256cbdfc8137b99fbb0695ae956080ed704280a31784b2702", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.27.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling cpp_common v0.5.7 [INFO] [stderr] Compiling semver v0.9.0 [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 term-painter v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling env_logger v0.7.1 [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 strsim v0.10.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling cpp_macros v0.5.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling qttypes v0.2.8 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling qmetaobject v0.2.7 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling priority-queue v1.3.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling raw-cpuid v10.6.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling qmetaobject_impl v0.2.7 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [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 toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling cpp v0.5.7 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling multiset v0.0.5 [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 libevent-sys v0.2.5 [INFO] [stderr] Compiling libevent v0.1.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-comparator v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter v0.1.12-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dbformat.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | pub const MAX_SEQUENCE_NUMBER: SequenceNumber = ((0x1 << 56) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - pub const MAX_SEQUENCE_NUMBER: SequenceNumber = ((0x1 << 56) - 1); [INFO] [stdout] 87 + pub const MAX_SEQUENCE_NUMBER: SequenceNumber = (0x1 << 56) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/dbformat.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | u: &Slice, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | seq: &SequenceNumber, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | t: ValueType) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | #[inline] pub fn internal_key_encoding_length(k: &ParsedInternalKey) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_key_` [INFO] [stdout] --> src/dbformat.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | #[inline] pub fn extract_user_key(internal_key_: &Slice) -> Slice { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/dbformat.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(c: *const dyn SliceComparator) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keys` [INFO] [stdout] --> src/dbformat.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | keys: *const Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/dbformat.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | n: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/dbformat.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | dst: *mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | k: &Slice, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/dbformat.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | f: &Slice) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/dbformat.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn new(p: *const dyn FilterPolicy) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | user_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | s: SequenceNumber, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | t: ValueType) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn decode_from(&mut self, s: &Slice) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/dbformat.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn set_from(&mut self, p: &ParsedInternalKey) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_key_` [INFO] [stdout] --> src/dbformat.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | internal_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/dbformat.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | result: *mut ParsedInternalKey) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | t: ValueType) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/dbformat.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | result: *mut String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | k: &ParsedInternalKey) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:543:36 [INFO] [stdout] | [INFO] [stdout] 543 | fn find_short_successor(&self, k: *mut String) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `akey_` [INFO] [stdout] --> src/dbformat.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | akey_: &Slice, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_akey_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bkey_` [INFO] [stdout] --> src/dbformat.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | bkey_: &Slice) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bkey_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/dbformat.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | start: *mut String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/dbformat.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | limit: &Slice) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/dbformat.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | a: &InternalKey, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/dbformat.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | b: &InternalKey) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | user_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequence` [INFO] [stdout] --> src/dbformat.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | sequence: SequenceNumber) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat_test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | user_key_: &String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat_test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/dbformat_test.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | vt: ValueType) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat_test.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | s: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/dbformat_test.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | l: &String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat_test.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn short_successor(s: &String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/dbformat_test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | key_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/dbformat_test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | vt: ValueType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/dbformat_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/dbformat_test.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_key`, `sequence`, and `ty` are never read [INFO] [stdout] --> src/dbformat.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct ParsedInternalKey { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 117 | user_key: Slice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 118 | sequence: SequenceNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | ty: ValueType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_policy` is never read [INFO] [stdout] --> src/dbformat.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct InternalFilterPolicy { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 228 | user_policy: *const dyn FilterPolicy, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rep` is never read [INFO] [stdout] --> src/dbformat.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct InternalKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 299 | rep: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `kstart`, `end`, and `space` are never read [INFO] [stdout] --> src/dbformat.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct LookupKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 419 | start: *const u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 420 | kstart: *const u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 421 | end: *const u8, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | space: [u8; 200], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key` is never used [INFO] [stdout] --> src/dbformat_test.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn key( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shorten` is never used [INFO] [stdout] --> src/dbformat_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn shorten( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `short_successor` is never used [INFO] [stdout] --> src/dbformat_test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn short_successor(s: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> src/dbformat_test.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_key( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatTest` is never constructed [INFO] [stdout] --> src/dbformat_test.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct FormatTest {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbdbformat_test_main` is never used [INFO] [stdout] --> src/dbformat_test.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn dbdbformat_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "167ac60fc834bd5256cbdfc8137b99fbb0695ae956080ed704280a31784b2702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "167ac60fc834bd5256cbdfc8137b99fbb0695ae956080ed704280a31784b2702", kill_on_drop: false }` [INFO] [stdout] 167ac60fc834bd5256cbdfc8137b99fbb0695ae956080ed704280a31784b2702 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+0179c3cb935eb588d407cb784f436ae84d99db5c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec1a9b357b0122e762e8ec1d58f30dcc4c4e555125612fff0a8a4a47cd3e9a48 [INFO] running `Command { std: "docker" "start" "-a" "ec1a9b357b0122e762e8ec1d58f30dcc4c4e555125612fff0a8a4a47cd3e9a48", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dbformat.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | pub const MAX_SEQUENCE_NUMBER: SequenceNumber = ((0x1 << 56) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - pub const MAX_SEQUENCE_NUMBER: SequenceNumber = ((0x1 << 56) - 1); [INFO] [stdout] 87 + pub const MAX_SEQUENCE_NUMBER: SequenceNumber = (0x1 << 56) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/dbformat.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | u: &Slice, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | seq: &SequenceNumber, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | t: ValueType) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | #[inline] pub fn internal_key_encoding_length(k: &ParsedInternalKey) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_key_` [INFO] [stdout] --> src/dbformat.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | #[inline] pub fn extract_user_key(internal_key_: &Slice) -> Slice { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/dbformat.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(c: *const dyn SliceComparator) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keys` [INFO] [stdout] --> src/dbformat.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | keys: *const Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/dbformat.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | n: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/dbformat.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | dst: *mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | k: &Slice, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/dbformat.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | f: &Slice) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/dbformat.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn new(p: *const dyn FilterPolicy) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | user_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | s: SequenceNumber, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | t: ValueType) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn decode_from(&mut self, s: &Slice) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/dbformat.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn set_from(&mut self, p: &ParsedInternalKey) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_key_` [INFO] [stdout] --> src/dbformat.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | internal_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/dbformat.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | result: *mut ParsedInternalKey) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | t: ValueType) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/dbformat.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | result: *mut String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | k: &ParsedInternalKey) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.12-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:543:36 [INFO] [stdout] | [INFO] [stdout] 543 | fn find_short_successor(&self, k: *mut String) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `akey_` [INFO] [stdout] --> src/dbformat.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | akey_: &Slice, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_akey_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bkey_` [INFO] [stdout] --> src/dbformat.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | bkey_: &Slice) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bkey_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/dbformat.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | start: *mut String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/dbformat.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | limit: &Slice) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/dbformat.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | a: &InternalKey, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/dbformat.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | b: &InternalKey) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | user_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequence` [INFO] [stdout] --> src/dbformat.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | sequence: SequenceNumber) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat_test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | user_key_: &String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat_test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/dbformat_test.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | vt: ValueType) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat_test.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | s: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/dbformat_test.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | l: &String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat_test.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn short_successor(s: &String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/dbformat_test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | key_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/dbformat_test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | vt: ValueType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/dbformat_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/dbformat_test.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_key`, `sequence`, and `ty` are never read [INFO] [stdout] --> src/dbformat.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct ParsedInternalKey { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 117 | user_key: Slice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 118 | sequence: SequenceNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | ty: ValueType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_policy` is never read [INFO] [stdout] --> src/dbformat.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct InternalFilterPolicy { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 228 | user_policy: *const dyn FilterPolicy, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rep` is never read [INFO] [stdout] --> src/dbformat.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct InternalKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 299 | rep: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `kstart`, `end`, and `space` are never read [INFO] [stdout] --> src/dbformat.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct LookupKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 419 | start: *const u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 420 | kstart: *const u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 421 | end: *const u8, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | space: [u8; 200], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key` is never used [INFO] [stdout] --> src/dbformat_test.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn key( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shorten` is never used [INFO] [stdout] --> src/dbformat_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn shorten( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `short_successor` is never used [INFO] [stdout] --> src/dbformat_test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn short_successor(s: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> src/dbformat_test.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_key( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatTest` is never constructed [INFO] [stdout] --> src/dbformat_test.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct FormatTest {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbdbformat_test_main` is never used [INFO] [stdout] --> src/dbformat_test.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn dbdbformat_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/dbformat.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | pub const MAX_SEQUENCE_NUMBER: SequenceNumber = ((0x1 << 56) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - pub const MAX_SEQUENCE_NUMBER: SequenceNumber = ((0x1 << 56) - 1); [INFO] [stdout] 87 + pub const MAX_SEQUENCE_NUMBER: SequenceNumber = (0x1 << 56) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/dbformat.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | u: &Slice, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | seq: &SequenceNumber, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | t: ValueType) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:157:47 [INFO] [stdout] | [INFO] [stdout] 157 | #[inline] pub fn internal_key_encoding_length(k: &ParsedInternalKey) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_key_` [INFO] [stdout] --> src/dbformat.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | #[inline] pub fn extract_user_key(internal_key_: &Slice) -> Slice { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/dbformat.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(c: *const dyn SliceComparator) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keys` [INFO] [stdout] --> src/dbformat.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | keys: *const Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/dbformat.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | n: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/dbformat.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | dst: *mut String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | k: &Slice, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/dbformat.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | f: &Slice) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/dbformat.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn new(p: *const dyn FilterPolicy) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | user_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | s: SequenceNumber, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | t: ValueType) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn decode_from(&mut self, s: &Slice) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/dbformat.rs:358:32 [INFO] [stdout] | [INFO] [stdout] 358 | pub fn set_from(&mut self, p: &ParsedInternalKey) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_key_` [INFO] [stdout] --> src/dbformat.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | internal_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/dbformat.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | result: *mut ParsedInternalKey) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/dbformat.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | t: ValueType) -> u64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/dbformat.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | result: *mut String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | k: &ParsedInternalKey) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/dbformat.rs:543:36 [INFO] [stdout] | [INFO] [stdout] 543 | fn find_short_successor(&self, k: *mut String) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `akey_` [INFO] [stdout] --> src/dbformat.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | akey_: &Slice, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_akey_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bkey_` [INFO] [stdout] --> src/dbformat.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | bkey_: &Slice) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bkey_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/dbformat.rs:603:9 [INFO] [stdout] | [INFO] [stdout] 603 | start: *mut String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> src/dbformat.rs:604:9 [INFO] [stdout] | [INFO] [stdout] 604 | limit: &Slice) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/dbformat.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | a: &InternalKey, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/dbformat.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | b: &InternalKey) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat.rs:650:9 [INFO] [stdout] | [INFO] [stdout] 650 | user_key_: &Slice, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sequence` [INFO] [stdout] --> src/dbformat.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | sequence: SequenceNumber) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_key_` [INFO] [stdout] --> src/dbformat_test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | user_key_: &String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat_test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/dbformat_test.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | vt: ValueType) -> String { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat_test.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | s: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/dbformat_test.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | l: &String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/dbformat_test.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | fn short_successor(s: &String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/dbformat_test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | key_: &String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/dbformat_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | seq: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/dbformat_test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | vt: ValueType) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/dbformat_test.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/dbformat_test.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | argv: *mut *mut u8) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_key`, `sequence`, and `ty` are never read [INFO] [stdout] --> src/dbformat.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct ParsedInternalKey { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 117 | user_key: Slice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 118 | sequence: SequenceNumber, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 119 | ty: ValueType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_policy` is never read [INFO] [stdout] --> src/dbformat.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct InternalFilterPolicy { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 228 | user_policy: *const dyn FilterPolicy, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rep` is never read [INFO] [stdout] --> src/dbformat.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct InternalKey { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 299 | rep: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `kstart`, `end`, and `space` are never read [INFO] [stdout] --> src/dbformat.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 405 | pub struct LookupKey { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 419 | start: *const u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 420 | kstart: *const u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 421 | end: *const u8, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | space: [u8; 200], [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key` is never used [INFO] [stdout] --> src/dbformat_test.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn key( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shorten` is never used [INFO] [stdout] --> src/dbformat_test.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn shorten( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `short_successor` is never used [INFO] [stdout] --> src/dbformat_test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn short_successor(s: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_key` is never used [INFO] [stdout] --> src/dbformat_test.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_key( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FormatTest` is never constructed [INFO] [stdout] --> src/dbformat_test.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct FormatTest {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbdbformat_test_main` is never used [INFO] [stdout] --> src/dbformat_test.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn dbdbformat_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.35s [INFO] running `Command { std: "docker" "inspect" "ec1a9b357b0122e762e8ec1d58f30dcc4c4e555125612fff0a8a4a47cd3e9a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1a9b357b0122e762e8ec1d58f30dcc4c4e555125612fff0a8a4a47cd3e9a48", kill_on_drop: false }` [INFO] [stdout] ec1a9b357b0122e762e8ec1d58f30dcc4c4e555125612fff0a8a4a47cd3e9a48