[INFO] fetching crate bitcoinleveldb-bench 0.1.16-alpha.0... [INFO] checking bitcoinleveldb-bench-0.1.16-alpha.0 against master#bbefc9837f4157cc09ed60e6d7b21e345d582dd9 for pr-114571-3 [INFO] extracting crate bitcoinleveldb-bench 0.1.16-alpha.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-bench 0.1.16-alpha.0 on toolchain bbefc9837f4157cc09ed60e6d7b21e345d582dd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-bench 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-bench 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-bench 0.1.16-alpha.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded bitcoinleveldb-version v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-cfg v0.1.16-alpha.0 [INFO] [stderr] Downloaded rust-sqlite v0.3.0 [INFO] [stderr] Downloaded bitcoinleveldb-versionedit v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-arena v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-db v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-memtable v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-histogram v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-skiplist v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-batch v0.1.16-alpha.0 [INFO] [stderr] Downloaded bitcoinleveldb-meta v0.1.16-alpha.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c72c622bb6ab4a2c5688ccdb153051681797e525445bc3e7ba17e5a6d32ab1ef [INFO] running `Command { std: "docker" "start" "-a" "c72c622bb6ab4a2c5688ccdb153051681797e525445bc3e7ba17e5a6d32ab1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c72c622bb6ab4a2c5688ccdb153051681797e525445bc3e7ba17e5a6d32ab1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c72c622bb6ab4a2c5688ccdb153051681797e525445bc3e7ba17e5a6d32ab1ef", kill_on_drop: false }` [INFO] [stdout] c72c622bb6ab4a2c5688ccdb153051681797e525445bc3e7ba17e5a6d32ab1ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+bbefc9837f4157cc09ed60e6d7b21e345d582dd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c38c8fd74a43e324bcab9a06120799bd7baf5313bb699d17acdf0b947b4bb3db [INFO] running `Command { std: "docker" "start" "-a" "c38c8fd74a43e324bcab9a06120799bd7baf5313bb699d17acdf0b947b4bb3db", kill_on_drop: false }` [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 either v1.9.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.7.7 [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 object v0.32.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [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 env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking bitflags v0.1.1 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rust-sqlite v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [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 thiserror-impl v1.0.50 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Checking deranged v0.3.9 [INFO] [stderr] Checking serde-big-array v0.4.1 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking time v0.3.30 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build 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] Checking 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-rand v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-file v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-log 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-cache 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-arena v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-versionedit v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-skiplist v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-meta v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-memtable v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-batch v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-version v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-histogram v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-db v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-bench 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 doc comment [INFO] [stdout] --> src/db_bench.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / /** [INFO] [stdout] 51 | | | Number of key/values to place in database [INFO] [stdout] 52 | | | [INFO] [stdout] 53 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / /** [INFO] [stdout] 61 | | | Number of read operations to do. If negative, [INFO] [stdout] 62 | | | do FLAGS_num reads. [INFO] [stdout] 63 | | | [INFO] [stdout] 64 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / /** [INFO] [stdout] 72 | | Number of concurrent threads to run. [INFO] [stdout] 73 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / /** [INFO] [stdout] 81 | | Size of each value [INFO] [stdout] 82 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / /** [INFO] [stdout] 90 | | | Arrange to generate values that shrink to this [INFO] [stdout] 91 | | | fraction of their original size after [INFO] [stdout] 92 | | | compression [INFO] [stdout] 93 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / /** [INFO] [stdout] 101 | | Print histogram of operation timings [INFO] [stdout] 102 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / /** [INFO] [stdout] 110 | | | Number of bytes to buffer in memtable before [INFO] [stdout] 111 | | | compacting (initialized to default value by [INFO] [stdout] 112 | | | "main") [INFO] [stdout] 113 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / /** [INFO] [stdout] 121 | | Number of bytes written to each file. [INFO] [stdout] 122 | | (initialized to default value by "main") [INFO] [stdout] 123 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / /** [INFO] [stdout] 131 | | | Approximate size of user data packed per block [INFO] [stdout] 132 | | | (before compression. (initialized to default [INFO] [stdout] 133 | | | value by "main") [INFO] [stdout] 134 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / /** [INFO] [stdout] 142 | | | Number of bytes to use as a cache of [INFO] [stdout] 143 | | | uncompressed data. Negative means use default [INFO] [stdout] 144 | | | settings. [INFO] [stdout] 145 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / /** [INFO] [stdout] 153 | | Maximum number of files to keep open at the [INFO] [stdout] 154 | | same time (use default if == 0) [INFO] [stdout] 155 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / /** [INFO] [stdout] 163 | | Bloom filter bits per key. [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | Negative means use default settings. [INFO] [stdout] 166 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / /** [INFO] [stdout] 174 | | | If true, do not destroy the existing database. [INFO] [stdout] 175 | | | If you set this flag and also specify [INFO] [stdout] 176 | | | a benchmark that wants a fresh database, that [INFO] [stdout] 177 | | | benchmark will fail. [INFO] [stdout] 178 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / /** [INFO] [stdout] 186 | | If true, reuse existing log/MANIFEST files when [INFO] [stdout] 187 | | re-opening a database. [INFO] [stdout] 188 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / /** [INFO] [stdout] 196 | | Use the db with the following name. [INFO] [stdout] 197 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / /** [INFO] [stdout] 79 | | Number of key/values to place in database [INFO] [stdout] 80 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / /** [INFO] [stdout] 88 | | Number of read operations to do. If negative, [INFO] [stdout] 89 | | do FLAGS_num reads. [INFO] [stdout] 90 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / /** [INFO] [stdout] 98 | | Size of each value [INFO] [stdout] 99 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / /** [INFO] [stdout] 107 | | Print histogram of operation timings [INFO] [stdout] 108 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / /** [INFO] [stdout] 116 | | | Arrange to generate values that shrink to this [INFO] [stdout] 117 | | | fraction of their original size after [INFO] [stdout] 118 | | | compression [INFO] [stdout] 119 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / /** [INFO] [stdout] 127 | | Page size. Default 1 KB. [INFO] [stdout] 128 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / /** [INFO] [stdout] 136 | | | Number of pages. [INFO] [stdout] 137 | | | [INFO] [stdout] 138 | | | Default cache size = [INFO] [stdout] 139 | | | FLAGS_page_size * FLAGS_num_pages = 4 MB. [INFO] [stdout] 140 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / /** [INFO] [stdout] 148 | | | If true, do not destroy the existing database. [INFO] [stdout] 149 | | | If you set this flag and also specify [INFO] [stdout] 150 | | | a benchmark that wants a fresh database, that [INFO] [stdout] 151 | | | benchmark will fail. [INFO] [stdout] 152 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / /** [INFO] [stdout] 160 | | If true, we allow batch writes to occur [INFO] [stdout] 161 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / /** [INFO] [stdout] 169 | | If true, we enable Write-Ahead Logging [INFO] [stdout] 170 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / /** [INFO] [stdout] 178 | | Use the db with the following name. [INFO] [stdout] 179 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / /** [INFO] [stdout] 40 | | Number of key/values to place in database [INFO] [stdout] 41 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / /** [INFO] [stdout] 49 | | Number of read operations to do. If negative, [INFO] [stdout] 50 | | do FLAGS_num reads. [INFO] [stdout] 51 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /** [INFO] [stdout] 59 | | Size of each value [INFO] [stdout] 60 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / /** [INFO] [stdout] 68 | | | Arrange to generate values that shrink to this [INFO] [stdout] 69 | | | fraction of their original size after [INFO] [stdout] 70 | | | compression [INFO] [stdout] 71 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / /** [INFO] [stdout] 79 | | Print histogram of operation timings [INFO] [stdout] 80 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / /** [INFO] [stdout] 88 | | Cache size. Default 4 MB [INFO] [stdout] 89 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / /** [INFO] [stdout] 97 | | Page size. Default 1 KB [INFO] [stdout] 98 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / /** [INFO] [stdout] 106 | | | If true, do not destroy the existing database. [INFO] [stdout] 107 | | | If you set this flag and also specify [INFO] [stdout] 108 | | | a benchmark that wants a fresh database, that [INFO] [stdout] 109 | | | benchmark will fail. [INFO] [stdout] 110 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / /** [INFO] [stdout] 118 | | Compression flag. If true, compression is [INFO] [stdout] 119 | | on. If false, compression is off. [INFO] [stdout] 120 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / /** [INFO] [stdout] 128 | | Use the db with the following name. [INFO] [stdout] 129 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/db_bench.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn generate(&mut self, len: usize) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/db_bench.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | str_: *mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db_bench.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | msg: Slice) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/db_bench.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn merge(&mut self, other: &Stats) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db_bench.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn add_message(&mut self, msg: Slice) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/db_bench.rs:399:33 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn add_bytes(&mut self, n: i64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench.rs:407:30 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn report(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/db_bench.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn new(total: i32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/db_bench.rs:511:16 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn new(index: i32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/db_bench.rs:796:24 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn thread_body(v: *mut c_void) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/db_bench.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 829 | n: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | name: Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/db_bench.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | method: fn(_0: *mut ThreadState) -> c_void) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:871:31 [INFO] [stdout] | [INFO] [stdout] 871 | pub fn crc_32c(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:894:39 [INFO] [stdout] | [INFO] [stdout] 894 | pub fn snappy_compress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:923:41 [INFO] [stdout] | [INFO] [stdout] 923 | pub fn snappy_uncompress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:972:34 [INFO] [stdout] | [INFO] [stdout] 972 | pub fn open_bench(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:984:33 [INFO] [stdout] | [INFO] [stdout] 984 | pub fn write_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:992:36 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn write_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1001 | thread: *mut ThreadState, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/db_bench.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | seq: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1036:39 [INFO] [stdout] | [INFO] [stdout] 1036 | pub fn read_sequential(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1053:36 [INFO] [stdout] | [INFO] [stdout] 1053 | pub fn read_reverse(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1070:35 [INFO] [stdout] | [INFO] [stdout] 1070 | pub fn read_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1092:36 [INFO] [stdout] | [INFO] [stdout] 1092 | pub fn read_missing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1108:32 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn read_hot(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1125:35 [INFO] [stdout] | [INFO] [stdout] 1125 | pub fn seek_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | thread: *mut ThreadState, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/db_bench.rs:1149:9 [INFO] [stdout] | [INFO] [stdout] 1149 | seq: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1174:34 [INFO] [stdout] | [INFO] [stdout] 1174 | pub fn delete_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1182:37 [INFO] [stdout] | [INFO] [stdout] 1182 | pub fn delete_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1190:42 [INFO] [stdout] | [INFO] [stdout] 1190 | pub fn read_while_writing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1224:31 [INFO] [stdout] | [INFO] [stdout] 1224 | pub fn compact(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/db_bench.rs:1232:35 [INFO] [stdout] | [INFO] [stdout] 1232 | pub fn print_stats(&mut self, key_: *const u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/db_bench.rs:1245:9 [INFO] [stdout] | [INFO] [stdout] 1245 | arg: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/db_bench.rs:1246:9 [INFO] [stdout] | [INFO] [stdout] 1246 | buf: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/db_bench.rs:1247:9 [INFO] [stdout] | [INFO] [stdout] 1247 | n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/db_bench.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | 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/db_bench.rs:1279:5 [INFO] [stdout] | [INFO] [stdout] 1279 | 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: unused variable: `status` [INFO] [stdout] --> src/db_bench_sqlite3.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | status: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err_msg` [INFO] [stdout] --> src/db_bench_sqlite3.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | err_msg: *mut u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/db_bench_sqlite3.rs:200:35 [INFO] [stdout] | [INFO] [stdout] 200 | #[inline] pub fn step_error_check(status: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/db_bench_sqlite3.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | #[inline] pub fn error_check(status: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/db_bench_sqlite3.rs:222:33 [INFO] [stdout] | [INFO] [stdout] 222 | #[inline] pub fn wal_checkpoint(db: *mut sqlite3::ffi::sqlite3) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/db_bench_sqlite3.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/db_bench_sqlite3.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn trim_space(s: Slice) -> Slice { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench_sqlite3.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_sync` [INFO] [stdout] --> src/db_bench_sqlite3.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | write_sync: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/db_bench_sqlite3.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | order: benchmark::Order, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/db_bench_sqlite3.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | state: benchmark::DBState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/db_bench_sqlite3.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | num_entries: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_size` [INFO] [stdout] --> src/db_bench_sqlite3.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | value_size: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries_per_batch` [INFO] [stdout] --> src/db_bench_sqlite3.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | entries_per_batch: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_per_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/db_bench_sqlite3.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | order: benchmark::Order, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [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 variable: `entries_per_batch` [INFO] [stdout] --> src/db_bench_sqlite3.rs:790:9 [INFO] [stdout] | [INFO] [stdout] 790 | entries_per_batch: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_per_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / /** [INFO] [stdout] 51 | | | Number of key/values to place in database [INFO] [stdout] 52 | | | [INFO] [stdout] 53 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / /** [INFO] [stdout] 61 | | | Number of read operations to do. If negative, [INFO] [stdout] 62 | | | do FLAGS_num reads. [INFO] [stdout] 63 | | | [INFO] [stdout] 64 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/db_bench_sqlite3.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / /** [INFO] [stdout] 72 | | Number of concurrent threads to run. [INFO] [stdout] 73 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / /** [INFO] [stdout] 81 | | Size of each value [INFO] [stdout] 82 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/db_bench_sqlite3.rs:886:9 [INFO] [stdout] | [INFO] [stdout] 886 | 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: unused doc comment [INFO] [stdout] --> src/db_bench.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / /** [INFO] [stdout] 90 | | | Arrange to generate values that shrink to this [INFO] [stdout] 91 | | | fraction of their original size after [INFO] [stdout] 92 | | | compression [INFO] [stdout] 93 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / /** [INFO] [stdout] 101 | | Print histogram of operation timings [INFO] [stdout] 102 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/db_bench_tree_db.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / /** [INFO] [stdout] 110 | | | Number of bytes to buffer in memtable before [INFO] [stdout] 111 | | | compacting (initialized to default value by [INFO] [stdout] 112 | | | "main") [INFO] [stdout] 113 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / /** [INFO] [stdout] 121 | | Number of bytes written to each file. [INFO] [stdout] 122 | | (initialized to default value by "main") [INFO] [stdout] 123 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/db_bench_tree_db.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn trim_space(s: Slice) -> Slice { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / /** [INFO] [stdout] 131 | | | Approximate size of user data packed per block [INFO] [stdout] 132 | | | (before compression. (initialized to default [INFO] [stdout] 133 | | | value by "main") [INFO] [stdout] 134 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / /** [INFO] [stdout] 142 | | | Number of bytes to use as a cache of [INFO] [stdout] 143 | | | uncompressed data. Negative means use default [INFO] [stdout] 144 | | | settings. [INFO] [stdout] 145 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench_tree_db.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / /** [INFO] [stdout] 153 | | Maximum number of files to keep open at the [INFO] [stdout] 154 | | same time (use default if == 0) [INFO] [stdout] 155 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sync` [INFO] [stdout] --> src/db_bench_tree_db.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn open(&mut self, sync: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / /** [INFO] [stdout] 163 | | Bloom filter bits per key. [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | Negative means use default settings. [INFO] [stdout] 166 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 173 | / /** [INFO] [stdout] 174 | | | If true, do not destroy the existing database. [INFO] [stdout] 175 | | | If you set this flag and also specify [INFO] [stdout] 176 | | | a benchmark that wants a fresh database, that [INFO] [stdout] 177 | | | benchmark will fail. [INFO] [stdout] 178 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | / /** [INFO] [stdout] 186 | | If true, reuse existing log/MANIFEST files when [INFO] [stdout] 187 | | re-opening a database. [INFO] [stdout] 188 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / /** [INFO] [stdout] 196 | | Use the db with the following name. [INFO] [stdout] 197 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sync` [INFO] [stdout] --> src/db_bench_tree_db.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | sync: bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/db_bench_tree_db.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | order: benchmark::Order, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / /** [INFO] [stdout] 79 | | Number of key/values to place in database [INFO] [stdout] 80 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/db_bench_tree_db.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | state: benchmark::DBState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / /** [INFO] [stdout] 88 | | Number of read operations to do. If negative, [INFO] [stdout] 89 | | do FLAGS_num reads. [INFO] [stdout] 90 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/db_bench_tree_db.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | num_entries: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / /** [INFO] [stdout] 98 | | Size of each value [INFO] [stdout] 99 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_size` [INFO] [stdout] --> src/db_bench_tree_db.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | value_size: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries_per_batch` [INFO] [stdout] --> src/db_bench_tree_db.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | entries_per_batch: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_per_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / /** [INFO] [stdout] 107 | | Print histogram of operation timings [INFO] [stdout] 108 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/db_bench_tree_db.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | / /** [INFO] [stdout] 116 | | | Arrange to generate values that shrink to this [INFO] [stdout] 117 | | | fraction of their original size after [INFO] [stdout] 118 | | | compression [INFO] [stdout] 119 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/db_bench_tree_db.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | 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: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / /** [INFO] [stdout] 127 | | Page size. Default 1 KB. [INFO] [stdout] 128 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` is never used [INFO] [stdout] --> src/db_bench.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | / /** [INFO] [stdout] 136 | | | Number of pages. [INFO] [stdout] 137 | | | [INFO] [stdout] 138 | | | Default cache size = [INFO] [stdout] 139 | | | FLAGS_page_size * FLAGS_num_pages = 4 MB. [INFO] [stdout] 140 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `pos` are never read [INFO] [stdout] --> src/db_bench.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct RandomGenerator { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 214 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | pos: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/db_bench.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl RandomGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 242 | [INFO] [stdout] 243 | pub fn generate(&mut self, len: usize) -> Slice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / /** [INFO] [stdout] 148 | | | If true, do not destroy the existing database. [INFO] [stdout] 149 | | | If you set this flag and also specify [INFO] [stdout] 150 | | | a benchmark that wants a fresh database, that [INFO] [stdout] 151 | | | benchmark will fail. [INFO] [stdout] 152 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:159:1 [INFO] [stdout] | [INFO] [stdout] 159 | / /** [INFO] [stdout] 160 | | If true, we allow batch writes to occur [INFO] [stdout] 161 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:168:1 [INFO] [stdout] | [INFO] [stdout] 168 | / /** [INFO] [stdout] 169 | | If true, we enable Write-Ahead Logging [INFO] [stdout] 170 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_sqlite3.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / /** [INFO] [stdout] 178 | | Use the db with the following name. [INFO] [stdout] 179 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 290 | start: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 291 | finish: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 292 | seconds: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 293 | done: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 294 | next_report: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 295 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 296 | last_op_finish: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 297 | hist: Histogram, [INFO] [stdout] | ^^^^ [INFO] [stdout] 298 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / /** [INFO] [stdout] 40 | | Number of key/values to place in database [INFO] [stdout] 41 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / /** [INFO] [stdout] 49 | | Number of read operations to do. If negative, [INFO] [stdout] 50 | | do FLAGS_num reads. [INFO] [stdout] 51 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mu` is never read [INFO] [stdout] --> src/db_bench.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 441 | pub struct SharedState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 442 | [INFO] [stdout] 443 | mu: Mutex, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /** [INFO] [stdout] 59 | | Size of each value [INFO] [stdout] 60 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tid`, `rand`, `stats`, and `shared` are never read [INFO] [stdout] --> src/db_bench.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 494 | pub struct ThreadState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 499 | tid: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | rand: Random, [INFO] [stdout] | ^^^^ [INFO] [stdout] 505 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 506 | shared: *mut SharedState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / /** [INFO] [stdout] 68 | | | Arrange to generate values that shrink to this [INFO] [stdout] 69 | | | fraction of their original size after [INFO] [stdout] 70 | | | compression [INFO] [stdout] 71 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / /** [INFO] [stdout] 79 | | Print histogram of operation timings [INFO] [stdout] 80 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / /** [INFO] [stdout] 88 | | Cache size. Default 4 MB [INFO] [stdout] 89 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / /** [INFO] [stdout] 97 | | Page size. Default 1 KB [INFO] [stdout] 98 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 523 | pub struct Benchmark { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 524 | cache: *mut Cache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 525 | filter_policy: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 526 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] 527 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 528 | value_size: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 529 | entries_per_batch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 530 | write_options: WriteOptions, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 531 | reads: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 532 | heap_counter: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / /** [INFO] [stdout] 106 | | | If true, do not destroy the existing database. [INFO] [stdout] 107 | | | If you set this flag and also specify [INFO] [stdout] 108 | | | a benchmark that wants a fresh database, that [INFO] [stdout] 109 | | | benchmark will fail. [INFO] [stdout] 110 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / /** [INFO] [stdout] 118 | | Compression flag. If true, compression is [INFO] [stdout] 119 | | on. If false, compression is off. [INFO] [stdout] 120 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db_bench_tree_db.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / /** [INFO] [stdout] 128 | | Use the db with the following name. [INFO] [stdout] 129 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db_bench.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 589 | impl Benchmark { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 590 | [INFO] [stdout] 591 | pub fn print_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | pub fn print_warnings(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn print_environment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 677 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 796 | pub fn thread_body(v: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | pub fn run_benchmark(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 871 | pub fn crc_32c(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 894 | pub fn snappy_compress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 923 | pub fn snappy_uncompress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 949 | pub fn open(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 972 | pub fn open_bench(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 984 | pub fn write_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 992 | pub fn write_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1000 | pub fn do_write(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1036 | pub fn read_sequential(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1053 | pub fn read_reverse(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1070 | pub fn read_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1092 | pub fn read_missing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1108 | pub fn read_hot(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1125 | pub fn seek_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1147 | pub fn do_delete(&mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1174 | pub fn delete_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1182 | pub fn delete_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1190 | pub fn read_while_writing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1224 | pub fn compact(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1232 | pub fn print_stats(&mut self, key_: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1244 | pub fn write_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1255 | pub fn heap_profile(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cv`, `total`, `num_initialized`, `num_done`, and `start` are never read [INFO] [stdout] --> src/db_bench.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 451 | [INFO] [stdout] 452 | cv: Condvar, [INFO] [stdout] | ^^ [INFO] [stdout] 453 | total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | num_initialized: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 468 | num_done: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 469 | start: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadArg` is never constructed [INFO] [stdout] --> src/db_bench.rs:538:16 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct ThreadArg { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `pos` are never read [INFO] [stdout] --> src/db_bench_sqlite3.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct RandomGenerator { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 240 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 241 | pos: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl RandomGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 268 | [INFO] [stdout] 269 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench_sqlite3.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct Benchmark { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 301 | db: *mut sqlite3::core::DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] 302 | db_num: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 303 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 304 | reads: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 305 | start: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 306 | last_op_finish: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 307 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 308 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 309 | hist: Histogram, [INFO] [stdout] | ^^^^ [INFO] [stdout] 310 | gen: RandomGenerator, [INFO] [stdout] | ^^^ [INFO] [stdout] 311 | rand: Random, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | done: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | next_report: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 378 | impl Benchmark { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 379 | [INFO] [stdout] 380 | pub fn print_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn print_warnings(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn print_environment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn finished_single_op(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 611 | pub fn open(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn write(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn read(&mut self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 863 | pub fn read_sequential(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Order` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | pub enum Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DBState` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | pub enum DBState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `pos` are never read [INFO] [stdout] --> src/db_bench_tree_db.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct RandomGenerator { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 154 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | pos: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl RandomGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 182 | [INFO] [stdout] 183 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_space` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn trim_space(s: Slice) -> Slice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench_tree_db.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct Benchmark { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 217 | db_num: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 218 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 219 | reads: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 220 | start: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | last_op_finish: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 222 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 224 | hist: Histogram, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | gen: RandomGenerator, [INFO] [stdout] | ^^^ [INFO] [stdout] 226 | rand: Random, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | done: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | next_report: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db_bench_tree_db.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl Benchmark { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 298 | [INFO] [stdout] 299 | pub fn print_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn print_warnings(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn print_environment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn finished_single_op(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn open(&mut self, sync: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | pub fn write(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 611 | pub fn read_sequential(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn read_random(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Order` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DBState` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | pub enum DBState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` should have an upper case name [INFO] [stdout] --> src/db_bench.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FLAGS_BENCHMARKS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` should have an upper case name [INFO] [stdout] --> src/db_bench_sqlite3.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FLAGS_BENCHMARKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` should have an upper case name [INFO] [stdout] --> src/db_bench_tree_db.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FLAGS_BENCHMARKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/db_bench.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn generate(&mut self, len: usize) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/db_bench.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | str_: *mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db_bench.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | msg: Slice) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/db_bench.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | pub fn merge(&mut self, other: &Stats) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/db_bench.rs:354:35 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn add_message(&mut self, msg: Slice) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/db_bench.rs:399:33 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn add_bytes(&mut self, n: i64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench.rs:407:30 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn report(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/db_bench.rs:475:16 [INFO] [stdout] | [INFO] [stdout] 475 | pub fn new(total: i32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/db_bench.rs:511:16 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn new(index: i32) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/db_bench.rs:796:24 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn thread_body(v: *mut c_void) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/db_bench.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 829 | n: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | name: Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/db_bench.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | method: fn(_0: *mut ThreadState) -> c_void) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:871:31 [INFO] [stdout] | [INFO] [stdout] 871 | pub fn crc_32c(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:894:39 [INFO] [stdout] | [INFO] [stdout] 894 | pub fn snappy_compress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:923:41 [INFO] [stdout] | [INFO] [stdout] 923 | pub fn snappy_uncompress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:972:34 [INFO] [stdout] | [INFO] [stdout] 972 | pub fn open_bench(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:984:33 [INFO] [stdout] | [INFO] [stdout] 984 | pub fn write_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:992:36 [INFO] [stdout] | [INFO] [stdout] 992 | pub fn write_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1001 | thread: *mut ThreadState, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/db_bench.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | seq: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1036:39 [INFO] [stdout] | [INFO] [stdout] 1036 | pub fn read_sequential(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1053:36 [INFO] [stdout] | [INFO] [stdout] 1053 | pub fn read_reverse(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1070:35 [INFO] [stdout] | [INFO] [stdout] 1070 | pub fn read_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1092:36 [INFO] [stdout] | [INFO] [stdout] 1092 | pub fn read_missing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1108:32 [INFO] [stdout] | [INFO] [stdout] 1108 | pub fn read_hot(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1125:35 [INFO] [stdout] | [INFO] [stdout] 1125 | pub fn seek_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1148:9 [INFO] [stdout] | [INFO] [stdout] 1148 | thread: *mut ThreadState, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/db_bench.rs:1149:9 [INFO] [stdout] | [INFO] [stdout] 1149 | seq: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1174:34 [INFO] [stdout] | [INFO] [stdout] 1174 | pub fn delete_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1182:37 [INFO] [stdout] | [INFO] [stdout] 1182 | pub fn delete_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1190:42 [INFO] [stdout] | [INFO] [stdout] 1190 | pub fn read_while_writing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread` [INFO] [stdout] --> src/db_bench.rs:1224:31 [INFO] [stdout] | [INFO] [stdout] 1224 | pub fn compact(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/db_bench.rs:1232:35 [INFO] [stdout] | [INFO] [stdout] 1232 | pub fn print_stats(&mut self, key_: *const u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/db_bench.rs:1245:9 [INFO] [stdout] | [INFO] [stdout] 1245 | arg: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/db_bench.rs:1246:9 [INFO] [stdout] | [INFO] [stdout] 1246 | buf: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/db_bench.rs:1247:9 [INFO] [stdout] | [INFO] [stdout] 1247 | n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/db_bench.rs:1278:5 [INFO] [stdout] | [INFO] [stdout] 1278 | 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/db_bench.rs:1279:5 [INFO] [stdout] | [INFO] [stdout] 1279 | 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: unused variable: `status` [INFO] [stdout] --> src/db_bench_sqlite3.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | status: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err_msg` [INFO] [stdout] --> src/db_bench_sqlite3.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | err_msg: *mut u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_err_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/db_bench_sqlite3.rs:200:35 [INFO] [stdout] | [INFO] [stdout] 200 | #[inline] pub fn step_error_check(status: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/db_bench_sqlite3.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | #[inline] pub fn error_check(status: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/db_bench_sqlite3.rs:222:33 [INFO] [stdout] | [INFO] [stdout] 222 | #[inline] pub fn wal_checkpoint(db: *mut sqlite3::ffi::sqlite3) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/db_bench_sqlite3.rs:269:32 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/db_bench_sqlite3.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn trim_space(s: Slice) -> Slice { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench_sqlite3.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_sync` [INFO] [stdout] --> src/db_bench_sqlite3.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | write_sync: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/db_bench_sqlite3.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | order: benchmark::Order, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/db_bench_sqlite3.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | state: benchmark::DBState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/db_bench_sqlite3.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | num_entries: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_size` [INFO] [stdout] --> src/db_bench_sqlite3.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | value_size: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries_per_batch` [INFO] [stdout] --> src/db_bench_sqlite3.rs:682:9 [INFO] [stdout] | [INFO] [stdout] 682 | entries_per_batch: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_per_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/db_bench_sqlite3.rs:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | order: benchmark::Order, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries_per_batch` [INFO] [stdout] --> src/db_bench_sqlite3.rs:790:9 [INFO] [stdout] | [INFO] [stdout] 790 | entries_per_batch: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_per_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/db_bench_sqlite3.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | 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/db_bench_sqlite3.rs:886:9 [INFO] [stdout] | [INFO] [stdout] 886 | 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: unused variable: `len` [INFO] [stdout] --> src/db_bench_tree_db.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/db_bench_tree_db.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn trim_space(s: Slice) -> Slice { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db_bench_tree_db.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sync` [INFO] [stdout] --> src/db_bench_tree_db.rs:531:28 [INFO] [stdout] | [INFO] [stdout] 531 | pub fn open(&mut self, sync: bool) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sync` [INFO] [stdout] --> src/db_bench_tree_db.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | sync: bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/db_bench_tree_db.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | order: benchmark::Order, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/db_bench_tree_db.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | state: benchmark::DBState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_entries` [INFO] [stdout] --> src/db_bench_tree_db.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | num_entries: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_size` [INFO] [stdout] --> src/db_bench_tree_db.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | value_size: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries_per_batch` [INFO] [stdout] --> src/db_bench_tree_db.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | entries_per_batch: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries_per_batch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 134 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/db_bench_tree_db.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | 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/db_bench_tree_db.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | 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: constant `FLAGS_benchmarks` is never used [INFO] [stdout] --> src/db_bench.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `pos` are never read [INFO] [stdout] --> src/db_bench.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct RandomGenerator { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 214 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | pos: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/db_bench.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl RandomGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 242 | [INFO] [stdout] 243 | pub fn generate(&mut self, len: usize) -> Slice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 290 | start: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 291 | finish: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 292 | seconds: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 293 | done: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 294 | next_report: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 295 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 296 | last_op_finish: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 297 | hist: Histogram, [INFO] [stdout] | ^^^^ [INFO] [stdout] 298 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mu` is never read [INFO] [stdout] --> src/db_bench.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 441 | pub struct SharedState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 442 | [INFO] [stdout] 443 | mu: Mutex, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tid`, `rand`, `stats`, and `shared` are never read [INFO] [stdout] --> src/db_bench.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 494 | pub struct ThreadState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 499 | tid: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | rand: Random, [INFO] [stdout] | ^^^^ [INFO] [stdout] 505 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 506 | shared: *mut SharedState, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 523 | pub struct Benchmark { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 524 | cache: *mut Cache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 525 | filter_policy: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 526 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] 527 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 528 | value_size: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 529 | entries_per_batch: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 530 | write_options: WriteOptions, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 531 | reads: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 532 | heap_counter: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db_bench.rs:591:12 [INFO] [stdout] | [INFO] [stdout] 589 | impl Benchmark { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 590 | [INFO] [stdout] 591 | pub fn print_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 613 | pub fn print_warnings(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | pub fn print_environment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 677 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 796 | pub fn thread_body(v: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | pub fn run_benchmark(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 871 | pub fn crc_32c(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 894 | pub fn snappy_compress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 923 | pub fn snappy_uncompress(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 949 | pub fn open(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 972 | pub fn open_bench(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 984 | pub fn write_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 992 | pub fn write_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1000 | pub fn do_write(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1036 | pub fn read_sequential(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1053 | pub fn read_reverse(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1070 | pub fn read_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1092 | pub fn read_missing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1108 | pub fn read_hot(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1125 | pub fn seek_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1147 | pub fn do_delete(&mut self, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1174 | pub fn delete_seq(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1182 | pub fn delete_random(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1190 | pub fn read_while_writing(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1224 | pub fn compact(&mut self, thread: *mut ThreadState) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1232 | pub fn print_stats(&mut self, key_: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1244 | pub fn write_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1255 | pub fn heap_profile(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cv`, `total`, `num_initialized`, `num_done`, and `start` are never read [INFO] [stdout] --> src/db_bench.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 451 | [INFO] [stdout] 452 | cv: Condvar, [INFO] [stdout] | ^^ [INFO] [stdout] 453 | total: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | num_initialized: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 468 | num_done: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 469 | start: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadArg` is never constructed [INFO] [stdout] --> src/db_bench.rs:538:16 [INFO] [stdout] | [INFO] [stdout] 538 | pub struct ThreadArg { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `pos` are never read [INFO] [stdout] --> src/db_bench_sqlite3.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct RandomGenerator { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 240 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 241 | pos: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl RandomGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 268 | [INFO] [stdout] 269 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench_sqlite3.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct Benchmark { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 301 | db: *mut sqlite3::core::DatabaseConnection, [INFO] [stdout] | ^^ [INFO] [stdout] 302 | db_num: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 303 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 304 | reads: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 305 | start: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 306 | last_op_finish: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 307 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 308 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 309 | hist: Histogram, [INFO] [stdout] | ^^^^ [INFO] [stdout] 310 | gen: RandomGenerator, [INFO] [stdout] | ^^^ [INFO] [stdout] 311 | rand: Random, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | done: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | next_report: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 378 | impl Benchmark { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 379 | [INFO] [stdout] 380 | pub fn print_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn print_warnings(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub fn print_environment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | pub fn finished_single_op(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 533 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 611 | pub fn open(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn write(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 788 | pub fn read(&mut self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 863 | pub fn read_sequential(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Order` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | pub enum Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DBState` is never used [INFO] [stdout] --> src/db_bench_sqlite3.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | pub enum DBState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data` and `pos` are never read [INFO] [stdout] --> src/db_bench_tree_db.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct RandomGenerator { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 154 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | pos: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 181 | impl RandomGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 182 | [INFO] [stdout] 183 | pub fn generate(&mut self, len: i32) -> Slice { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trim_space` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn trim_space(s: Slice) -> Slice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/db_bench_tree_db.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct Benchmark { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 217 | db_num: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 218 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 219 | reads: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 220 | start: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | last_op_finish: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 222 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 223 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 224 | hist: Histogram, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | gen: RandomGenerator, [INFO] [stdout] | ^^^ [INFO] [stdout] 226 | rand: Random, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | done: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | next_report: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/db_bench_tree_db.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl Benchmark { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 298 | [INFO] [stdout] 299 | pub fn print_header(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn print_warnings(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn print_environment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn finished_single_op(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn stop(&mut self, name: &Slice) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | pub fn open(&mut self, sync: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | pub fn write(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 611 | pub fn read_sequential(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | pub fn read_random(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Order` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub enum Order { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DBState` is never used [INFO] [stdout] --> src/db_bench_tree_db.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | pub enum DBState { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` should have an upper case name [INFO] [stdout] --> src/db_bench.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FLAGS_BENCHMARKS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` should have an upper case name [INFO] [stdout] --> src/db_bench_sqlite3.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FLAGS_BENCHMARKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLAGS_benchmarks` should have an upper case name [INFO] [stdout] --> src/db_bench_tree_db.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const FLAGS_benchmarks: &'static str = concat!{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `FLAGS_BENCHMARKS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 134 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "c38c8fd74a43e324bcab9a06120799bd7baf5313bb699d17acdf0b947b4bb3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38c8fd74a43e324bcab9a06120799bd7baf5313bb699d17acdf0b947b4bb3db", kill_on_drop: false }` [INFO] [stdout] c38c8fd74a43e324bcab9a06120799bd7baf5313bb699d17acdf0b947b4bb3db