[INFO] fetching crate bitcoinleveldb-repair 0.1.16-alpha.0... [INFO] testing bitcoinleveldb-repair-0.1.16-alpha.0 against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] extracting crate bitcoinleveldb-repair 0.1.16-alpha.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-repair 0.1.16-alpha.0 on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-repair 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-repair 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-repair 0.1.16-alpha.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1aebe297415268a82f45a6b52b6aba5e25096294bba24945e490dab72a33a808 [INFO] running `Command { std: "docker" "start" "-a" "1aebe297415268a82f45a6b52b6aba5e25096294bba24945e490dab72a33a808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1aebe297415268a82f45a6b52b6aba5e25096294bba24945e490dab72a33a808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aebe297415268a82f45a6b52b6aba5e25096294bba24945e490dab72a33a808", kill_on_drop: false }` [INFO] [stdout] 1aebe297415268a82f45a6b52b6aba5e25096294bba24945e490dab72a33a808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09b37b7ceb55cfda388095e6d4a13836df434e32280b1aae9a12c493c5fe744c [INFO] running `Command { std: "docker" "start" "-a" "09b37b7ceb55cfda388095e6d4a13836df434e32280b1aae9a12c493c5fe744c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling cpp v0.5.9 [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 qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling deranged v0.3.10 [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 time v0.3.30 [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 v0.1.0 [INFO] [stderr] Compiling bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-slice v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-status v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-util v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-comparator v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-file v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-rand v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-log v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-cache v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-env v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-snapshot v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-options v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-table v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-versionedit v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-meta v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-repair v0.1.16-alpha.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_cache::*` [INFO] [stdout] --> src/imports.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) use bitcoinleveldb_cache::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_comparator::*` [INFO] [stdout] --> src/imports.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) use bitcoinleveldb_comparator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_filter::*` [INFO] [stdout] --> src/imports.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) use bitcoinleveldb_filter::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_meta::*` [INFO] [stdout] --> src/imports.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use bitcoinleveldb_meta::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/repair.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 128 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 142 | todo!(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbname` [INFO] [stdout] --> src/repair.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | dbname: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/repair.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | options: &Options) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbname` [INFO] [stdout] --> src/repair.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | dbname: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/repair.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | options: &Options) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/repair.rs:213:44 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn convert_log_to_table(&mut self, log: u64) -> crate::Status { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/repair.rs:305:42 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn new_table_iterator(&mut self, meta: &FileMetaData) -> *mut LevelDBIterator { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/repair.rs:317:34 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn scan_table(&mut self, number: u64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/repair.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | src: &String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/repair.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | t: repairer::TableInfo) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/repair.rs:503:36 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn archive_file(&mut self, fname: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/repair.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Repairer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 62 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | env: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | icmp: InternalKeyComparator, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | ipolicy: InternalFilterPolicy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | options: Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | owns_info_log: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | owns_cache: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | table_cache: *mut TableCache, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | edit: VersionEdit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | manifests: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | table_numbers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | logs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | tables: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | next_file_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `max_sequence` are never read [INFO] [stdout] --> src/repair.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct TableInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 82 | meta: FileMetaData, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | max_sequence: SequenceNumber, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "09b37b7ceb55cfda388095e6d4a13836df434e32280b1aae9a12c493c5fe744c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b37b7ceb55cfda388095e6d4a13836df434e32280b1aae9a12c493c5fe744c", kill_on_drop: false }` [INFO] [stdout] 09b37b7ceb55cfda388095e6d4a13836df434e32280b1aae9a12c493c5fe744c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e9a3280ea3b40563edcb667fbe52f8f5eb284f591d9d79ba5953d659972f5cb [INFO] running `Command { std: "docker" "start" "-a" "5e9a3280ea3b40563edcb667fbe52f8f5eb284f591d9d79ba5953d659972f5cb", kill_on_drop: false }` [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_cache::*` [INFO] [stdout] --> src/imports.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) use bitcoinleveldb_cache::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_comparator::*` [INFO] [stdout] --> src/imports.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) use bitcoinleveldb_comparator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_filter::*` [INFO] [stdout] --> src/imports.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) use bitcoinleveldb_filter::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_meta::*` [INFO] [stdout] --> src/imports.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use bitcoinleveldb_meta::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/repair.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 128 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 142 | todo!(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbname` [INFO] [stdout] --> src/repair.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | dbname: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/repair.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | options: &Options) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbname` [INFO] [stdout] --> src/repair.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | dbname: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/repair.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | options: &Options) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/repair.rs:213:44 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn convert_log_to_table(&mut self, log: u64) -> crate::Status { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoinleveldb-repair v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/repair.rs:305:42 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn new_table_iterator(&mut self, meta: &FileMetaData) -> *mut LevelDBIterator { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/repair.rs:317:34 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn scan_table(&mut self, number: u64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/repair.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | src: &String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/repair.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | t: repairer::TableInfo) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/repair.rs:503:36 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn archive_file(&mut self, fname: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/repair.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Repairer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 62 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | env: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | icmp: InternalKeyComparator, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | ipolicy: InternalFilterPolicy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | options: Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | owns_info_log: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | owns_cache: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | table_cache: *mut TableCache, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | edit: VersionEdit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | manifests: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | table_numbers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | logs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | tables: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | next_file_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `max_sequence` are never read [INFO] [stdout] --> src/repair.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct TableInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 82 | meta: FileMetaData, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | max_sequence: SequenceNumber, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_cache::*` [INFO] [stdout] --> src/imports.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) use bitcoinleveldb_cache::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_comparator::*` [INFO] [stdout] --> src/imports.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) use bitcoinleveldb_comparator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_filter::*` [INFO] [stdout] --> src/imports.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) use bitcoinleveldb_filter::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoinleveldb_meta::*` [INFO] [stdout] --> src/imports.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) use bitcoinleveldb_meta::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/repair.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 128 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 142 | todo!(); [INFO] [stdout] | ^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbname` [INFO] [stdout] --> src/repair.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | dbname: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/repair.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | options: &Options) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dbname` [INFO] [stdout] --> src/repair.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | dbname: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/repair.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | options: &Options) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log` [INFO] [stdout] --> src/repair.rs:213:44 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn convert_log_to_table(&mut self, log: u64) -> crate::Status { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meta` [INFO] [stdout] --> src/repair.rs:305:42 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn new_table_iterator(&mut self, meta: &FileMetaData) -> *mut LevelDBIterator { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/repair.rs:317:34 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn scan_table(&mut self, number: u64) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/repair.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | src: &String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/repair.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | t: repairer::TableInfo) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/repair.rs:503:36 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn archive_file(&mut self, fname: &String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/repair.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Repairer { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 62 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | env: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | icmp: InternalKeyComparator, [INFO] [stdout] | ^^^^ [INFO] [stdout] 65 | ipolicy: InternalFilterPolicy, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 66 | options: Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 67 | owns_info_log: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | owns_cache: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | table_cache: *mut TableCache, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | edit: VersionEdit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | manifests: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | table_numbers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | logs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | tables: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | next_file_number: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `meta` and `max_sequence` are never read [INFO] [stdout] --> src/repair.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct TableInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 82 | meta: FileMetaData, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | max_sequence: SequenceNumber, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.47s [INFO] running `Command { std: "docker" "inspect" "5e9a3280ea3b40563edcb667fbe52f8f5eb284f591d9d79ba5953d659972f5cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e9a3280ea3b40563edcb667fbe52f8f5eb284f591d9d79ba5953d659972f5cb", kill_on_drop: false }` [INFO] [stdout] 5e9a3280ea3b40563edcb667fbe52f8f5eb284f591d9d79ba5953d659972f5cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd45b012e66de4569986449ed9759bf21ea9e05217895b93e35c1a87a6168b3c [INFO] running `Command { std: "docker" "start" "-a" "cd45b012e66de4569986449ed9759bf21ea9e05217895b93e35c1a87a6168b3c", kill_on_drop: false }` [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoinleveldb_cache::*` [INFO] [stderr] --> src/imports.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) use bitcoinleveldb_cache::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoinleveldb_comparator::*` [INFO] [stderr] --> src/imports.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) use bitcoinleveldb_comparator::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoinleveldb_filter::*` [INFO] [stderr] --> src/imports.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) use bitcoinleveldb_filter::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bitcoinleveldb_meta::*` [INFO] [stderr] --> src/imports.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) use bitcoinleveldb_meta::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/repair.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 128 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 142 | todo!(); [INFO] [stderr] | ^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dbname` [INFO] [stderr] --> src/repair.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | dbname: &String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/repair.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | options: &Options) -> crate::Status { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dbname` [INFO] [stderr] --> src/repair.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | dbname: &String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dbname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/repair.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | options: &Options) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `log` [INFO] [stderr] --> src/repair.rs:213:44 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn convert_log_to_table(&mut self, log: u64) -> crate::Status { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_log` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `meta` [INFO] [stderr] --> src/repair.rs:305:42 [INFO] [stderr] | [INFO] [stderr] 305 | pub fn new_table_iterator(&mut self, meta: &FileMetaData) -> *mut LevelDBIterator { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_meta` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `number` [INFO] [stderr] --> src/repair.rs:317:34 [INFO] [stderr] | [INFO] [stderr] 317 | pub fn scan_table(&mut self, number: u64) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/repair.rs:381:9 [INFO] [stderr] | [INFO] [stderr] 381 | src: &String, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/repair.rs:382:9 [INFO] [stderr] | [INFO] [stderr] 382 | t: repairer::TableInfo) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fname` [INFO] [stderr] --> src/repair.rs:503:36 [INFO] [stderr] | [INFO] [stderr] 503 | pub fn archive_file(&mut self, fname: &String) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/repair.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct Repairer { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 62 | dbname: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 63 | env: Box, [INFO] [stderr] | ^^^ [INFO] [stderr] 64 | icmp: InternalKeyComparator, [INFO] [stderr] | ^^^^ [INFO] [stderr] 65 | ipolicy: InternalFilterPolicy, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 66 | options: Options, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 67 | owns_info_log: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 68 | owns_cache: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 69 | table_cache: *mut TableCache, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 70 | edit: VersionEdit, [INFO] [stderr] | ^^^^ [INFO] [stderr] 71 | manifests: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 72 | table_numbers: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 73 | logs: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 74 | tables: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 75 | next_file_number: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `meta` and `max_sequence` are never read [INFO] [stderr] --> src/repair.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 81 | pub struct TableInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 82 | meta: FileMetaData, [INFO] [stderr] | ^^^^ [INFO] [stderr] 83 | max_sequence: SequenceNumber, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bitcoinleveldb-repair` (lib) generated 18 warnings (run `cargo fix --lib -p bitcoinleveldb-repair` to apply 15 suggestions) [INFO] [stderr] warning: `bitcoinleveldb-repair` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoinleveldb_repair-dc1e9c265581c41f) [INFO] [stderr] Doc-tests bitcoinleveldb-repair [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] [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" "cd45b012e66de4569986449ed9759bf21ea9e05217895b93e35c1a87a6168b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd45b012e66de4569986449ed9759bf21ea9e05217895b93e35c1a87a6168b3c", kill_on_drop: false }` [INFO] [stdout] cd45b012e66de4569986449ed9759bf21ea9e05217895b93e35c1a87a6168b3c