[INFO] fetching crate bitcoinleveldb-test 0.1.16-alpha.0... [INFO] checking bitcoinleveldb-test-0.1.16-alpha.0 against master#3f28fe133475ec5faf3413b556bf3cfb0d51336c for pr-112365-2 [INFO] extracting crate bitcoinleveldb-test 0.1.16-alpha.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 on toolchain 3f28fe133475ec5faf3413b556bf3cfb0d51336c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72d1f04e07d4f9ee70c6af72192971b721be9bc813909716b4845ad69f1e759c [INFO] running `Command { std: "docker" "start" "-a" "72d1f04e07d4f9ee70c6af72192971b721be9bc813909716b4845ad69f1e759c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72d1f04e07d4f9ee70c6af72192971b721be9bc813909716b4845ad69f1e759c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72d1f04e07d4f9ee70c6af72192971b721be9bc813909716b4845ad69f1e759c", kill_on_drop: false }` [INFO] [stdout] 72d1f04e07d4f9ee70c6af72192971b721be9bc813909716b4845ad69f1e759c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3f28fe133475ec5faf3413b556bf3cfb0d51336c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d2d1e09caf258afbe47e186665c2e1c346d0d78d32e37a8fba8df3d0dc90f1a [INFO] running `Command { std: "docker" "start" "-a" "7d2d1e09caf258afbe47e186665c2e1c346d0d78d32e37a8fba8df3d0dc90f1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling home v0.5.9 [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 num-bigint v0.4.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/3f28fe133475ec5faf3413b556bf3cfb0d51336c/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.48/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=384efa9e49b46464 -C extra-filename=-384efa9e49b46464 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-6b9bfd6e4131b578.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-7a3de28047d03fd7.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-f8d62a079c79a15a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7d2d1e09caf258afbe47e186665c2e1c346d0d78d32e37a8fba8df3d0dc90f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d2d1e09caf258afbe47e186665c2e1c346d0d78d32e37a8fba8df3d0dc90f1a", kill_on_drop: false }` [INFO] [stdout] 7d2d1e09caf258afbe47e186665c2e1c346d0d78d32e37a8fba8df3d0dc90f1a [INFO] checking bitcoinleveldb-test-0.1.16-alpha.0 against try#2eb702bf20a12c67e5629a5c82890c910c267bd9 for pr-112365-2 [INFO] extracting crate bitcoinleveldb-test 0.1.16-alpha.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 on toolchain 2eb702bf20a12c67e5629a5c82890c910c267bd9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "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" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc451d417085e084744d67e2223227201ad2e77fc8c7902fe1917f82d43b62f4 [INFO] running `Command { std: "docker" "start" "-a" "dc451d417085e084744d67e2223227201ad2e77fc8c7902fe1917f82d43b62f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc451d417085e084744d67e2223227201ad2e77fc8c7902fe1917f82d43b62f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc451d417085e084744d67e2223227201ad2e77fc8c7902fe1917f82d43b62f4", kill_on_drop: false }` [INFO] [stdout] dc451d417085e084744d67e2223227201ad2e77fc8c7902fe1917f82d43b62f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2eb702bf20a12c67e5629a5c82890c910c267bd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75c745415d106a11ea9b86f450b26213d5007d0e7d97aa059130912bd1b44fe6 [INFO] running `Command { std: "docker" "start" "-a" "75c745415d106a11ea9b86f450b26213d5007d0e7d97aa059130912bd1b44fe6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [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 cpp_core v0.6.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling poison v0.1.0 [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 pnet_sys v0.31.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking serde-big-array v0.4.1 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Checking 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-comparator v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter 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-snapshot v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-env 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-db v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-test v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `check_no_error` [INFO] [stdout] --> src/c_test.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! check_no_error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check_condition` [INFO] [stdout] --> src/c_test.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | macro_rules! check_condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VAL_EXPECT_NO_ERROR` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | VAL_EXPECT_NO_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ValExpectNoError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VAL_EXPECT_ERROR` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | VAL_EXPECT_ERROR [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ValExpectError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RESET_DROP_UNSYNCED_DATA` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:542:5 [INFO] [stdout] | [INFO] [stdout] 542 | RESET_DROP_UNSYNCED_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResetDropUnsyncedData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RESET_DELETE_UNSYNCED_FILES` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | RESET_DELETE_UNSYNCED_FILES [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResetDeleteUnsyncedFiles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_true` [INFO] [stdout] --> src/harness.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | macro_rules! assert_true { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_ok` [INFO] [stdout] --> src/harness.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | macro_rules! assert_ok { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq` [INFO] [stdout] --> src/harness.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | macro_rules! assert_eq { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_ne` [INFO] [stdout] --> src/harness.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | macro_rules! assert_ne { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_ge` [INFO] [stdout] --> src/harness.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | macro_rules! assert_ge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_gt` [INFO] [stdout] --> src/harness.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | macro_rules! assert_gt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_le` [INFO] [stdout] --> src/harness.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | macro_rules! assert_le { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_lt` [INFO] [stdout] --> src/harness.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | macro_rules! assert_lt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tconcat` [INFO] [stdout] --> src/harness.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | macro_rules! tconcat { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tconcat1` [INFO] [stdout] --> src/harness.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | macro_rules! tconcat1 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test` [INFO] [stdout] --> src/harness.rs:204:14 [INFO] [stdout] | [INFO] [stdout] 204 | macro_rules! test { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check_no_error` [INFO] [stdout] --> src/c_test.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! check_no_error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/c_test.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fn start_phase(name: *const u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `check_condition` [INFO] [stdout] --> src/c_test.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | macro_rules! check_condition { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/c_test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | expected: *const u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/c_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | v: *const u8, [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/c_test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | n: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/c_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | fn free(ptr: *mut *mut u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/c_test.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | db: *mut LevelDB, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/c_test.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | options: *const LevelDBReadOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/c_test.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | 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: `expected` [INFO] [stdout] --> src/c_test.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | expected: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/c_test.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | iter: *mut LevelDBIterator, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/c_test.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | 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: `val` [INFO] [stdout] --> src/c_test.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | val: *const u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/c_test.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | ptr: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/c_test.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klen` [INFO] [stdout] --> src/c_test.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | klen: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_klen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/c_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | v: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vlen` [INFO] [stdout] --> src/c_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | vlen: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vlen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/c_test.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | ptr: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/c_test.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klen` [INFO] [stdout] --> src/c_test.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | klen: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_klen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | fn cmp_destroy(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: `arg` [INFO] [stdout] --> src/c_test.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | 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: `a` [INFO] [stdout] --> src/c_test.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | a: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alen` [INFO] [stdout] --> src/c_test.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | alen: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_alen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/c_test.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | b: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blen` [INFO] [stdout] --> src/c_test.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | blen: usize) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | fn cmp_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn filter_destroy(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: `arg` [INFO] [stdout] --> src/c_test.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | fn filter_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | 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: `key_array` [INFO] [stdout] --> src/c_test.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | key_array: *const *const u8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_length_array` [INFO] [stdout] --> src/c_test.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | key_length_array: *const usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_length_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_keys` [INFO] [stdout] --> src/c_test.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | num_keys: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VAL_EXPECT_NO_ERROR` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | VAL_EXPECT_NO_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ValExpectNoError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_length` [INFO] [stdout] --> src/c_test.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | filter_length: *mut usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | arg: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `VAL_EXPECT_ERROR` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:538:5 [INFO] [stdout] | [INFO] [stdout] 538 | VAL_EXPECT_ERROR [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ValExpectError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/c_test.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RESET_DROP_UNSYNCED_DATA` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:542:5 [INFO] [stdout] | [INFO] [stdout] 542 | RESET_DROP_UNSYNCED_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResetDropUnsyncedData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/c_test.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | length: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RESET_DELETE_UNSYNCED_FILES` should have an upper camel case name [INFO] [stdout] --> src/fault_injection_test.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | RESET_DELETE_UNSYNCED_FILES [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ResetDeleteUnsyncedFiles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/c_test.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | filter: *const u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_true` [INFO] [stdout] --> src/harness.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | macro_rules! assert_true { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_length` [INFO] [stdout] --> src/c_test.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | filter_length: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_ok` [INFO] [stdout] --> src/harness.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | macro_rules! assert_ok { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/c_test.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_eq` [INFO] [stdout] --> src/harness.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | macro_rules! assert_eq { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_ne` [INFO] [stdout] --> src/harness.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | macro_rules! assert_ne { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/c_test.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | 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 macro definition: `assert_ge` [INFO] [stdout] --> src/harness.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | macro_rules! assert_ge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/corruption_test.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn build(&mut self, n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_gt` [INFO] [stdout] --> src/harness.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | macro_rules! assert_gt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_expected` [INFO] [stdout] --> src/corruption_test.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | min_expected: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_le` [INFO] [stdout] --> src/harness.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | macro_rules! assert_le { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_lt` [INFO] [stdout] --> src/harness.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | macro_rules! assert_lt { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_expected` [INFO] [stdout] --> src/corruption_test.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | max_expected: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tconcat` [INFO] [stdout] --> src/harness.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | macro_rules! tconcat { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filetype` [INFO] [stdout] --> src/corruption_test.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | filetype: FileType, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `tconcat1` [INFO] [stdout] --> src/harness.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | macro_rules! tconcat1 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/corruption_test.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | offset: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test` [INFO] [stdout] --> src/harness.rs:204:14 [INFO] [stdout] | [INFO] [stdout] 204 | macro_rules! test { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_to_corrupt` [INFO] [stdout] --> src/corruption_test.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | bytes_to_corrupt: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_to_corrupt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/corruption_test.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn property(&mut self, name: &String) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/corruption_test.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/corruption_test.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/corruption_test.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | k: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/corruption_test.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/corruption_test.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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/corruption_test.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | 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: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_dir_name(filename: &String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/fault_injection_test.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn sync_dir(dir: &String) -> crate::Status { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/fault_injection_test.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | length: u64) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(filename: &String) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/fault_injection_test.rs:212:45 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn set_filesystem_active(&mut self, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/fault_injection_test.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | state: &FileState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/fault_injection_test.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | f: *mut dyn WritableFile, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/fault_injection_test.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | env: *mut FaultInjectionTestEnv) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/fault_injection_test.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | fn append(&mut self, data: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/fault_injection_test.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/fault_injection_test.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/fault_injection_test.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/fault_injection_test.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:415:59 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn is_file_created_since_last_dir_sync(&mut self, filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/fault_injection_test.rs:425:36 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn untrack_file(&mut self, f: &String) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/fault_injection_test.rs:435:35 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn delete_file(&mut self, f: &String) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/fault_injection_test.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | s: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/fault_injection_test.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | t: &String) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/fault_injection_test.rs:505:44 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn writable_file_closed(&mut self, state: &FileState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reuse` [INFO] [stdout] --> src/fault_injection_test.rs:582:34 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn reuse_logs(&mut self, reuse: bool) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reuse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_idx` [INFO] [stdout] --> src/fault_injection_test.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | start_idx: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_vals` [INFO] [stdout] --> src/fault_injection_test.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | num_vals: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fault_injection_test.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/fault_injection_test.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | val: *mut String) -> crate::Status { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_idx` [INFO] [stdout] --> src/fault_injection_test.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | start_idx: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_vals` [INFO] [stdout] --> src/fault_injection_test.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | num_vals: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/fault_injection_test.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | expected: ExpectedVerifResult) -> crate::Status { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fault_injection_test.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/fault_injection_test.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/fault_injection_test.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | k: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/fault_injection_test.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_method` [INFO] [stdout] --> src/fault_injection_test.rs:716:38 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn reset_db_state(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pre_sync` [INFO] [stdout] --> src/fault_injection_test.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | num_pre_sync: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pre_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_post_sync` [INFO] [stdout] --> src/fault_injection_test.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | num_post_sync: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_post_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_method` [INFO] [stdout] --> src/fault_injection_test.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | reset_method: ResetMethod, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pre_sync` [INFO] [stdout] --> src/fault_injection_test.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | num_pre_sync: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pre_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_post_sync` [INFO] [stdout] --> src/fault_injection_test.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | num_post_sync: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_post_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_method` [INFO] [stdout] --> src/fault_injection_test.rs:765:55 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn no_write_test_reopen_with_fault(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/fault_injection_test.rs:826:9 [INFO] [stdout] | [INFO] [stdout] 826 | 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/fault_injection_test.rs:827:9 [INFO] [stdout] | [INFO] [stdout] 827 | 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: `f` [INFO] [stdout] --> src/harness.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | f: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/harness.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | l: i32) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/harness.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | b: bool, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/harness.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | msg: *const u8) -> &mut Tester { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/harness.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn is_ok(&mut self, s: &Status) -> &mut Tester { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/harness.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | #[inline] fn shl(self, rhs: &V) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/harness.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | base: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/harness.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | name: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/harness.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | func: fn() -> c_void) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/issue178_test.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | fn key1(i: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/issue178_test.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | fn key2(i: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/issue178_test.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | 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/issue178_test.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | 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: `argc` [INFO] [stdout] --> src/issue200_test.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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/issue200_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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: `max` [INFO] [stdout] --> src/issue320_test.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn generate_random_number(max: i32) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/issue320_test.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_random_string(index: i32) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/issue320_test.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/issue320_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | 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: `options` [INFO] [stdout] --> src/recovery_test.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn open_with_status(&mut self, options: Option<*mut Options>) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/recovery_test.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn open(&mut self, options: Option<*mut Options>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/recovery_test.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | k: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/recovery_test.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | v: &String) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/recovery_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | k: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snapshot` [INFO] [stdout] --> src/recovery_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | snapshot: Option<*const dyn Snapshot>) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/recovery_test.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn log_name(&mut self, number: u64) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/recovery_test.rs:187:33 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_files(&mut self, t: FileType) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/recovery_test.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn file_size(&mut self, fname: &String) -> u64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lognum` [INFO] [stdout] --> src/recovery_test.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | lognum: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lognum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/recovery_test.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | seq: SequenceNumber, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/recovery_test.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | key_: Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/recovery_test.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | val: Slice) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/recovery_test.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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/recovery_test.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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: `fname` [INFO] [stdout] --> src/util.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/util.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/util.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/util.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/util.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | rnd: *mut Random, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | len: i32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/util.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | dst: *mut String) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/util.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | rnd: *mut Random, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | len: i32) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/util.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | rnd: *mut Random, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_fraction` [INFO] [stdout] --> src/util.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | compressed_fraction: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_fraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/util.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | dst: *mut String) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `phase` is never used [INFO] [stdout] --> src/c_test.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const phase: &'static str = ""; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_phase` is never used [INFO] [stdout] --> src/c_test.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn start_phase(name: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_equal` is never used [INFO] [stdout] --> src/c_test.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn check_equal( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/c_test.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn free(ptr: *mut *mut u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_get` is never used [INFO] [stdout] --> src/c_test.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn check_get( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_iter` is never used [INFO] [stdout] --> src/c_test.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_iter( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_put` is never used [INFO] [stdout] --> src/c_test.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn check_put( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_del` is never used [INFO] [stdout] --> src/c_test.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn check_del( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_destroy` is never used [INFO] [stdout] --> src/c_test.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn cmp_destroy(arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_compare` is never used [INFO] [stdout] --> src/c_test.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn cmp_compare( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_name` is never used [INFO] [stdout] --> src/c_test.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn cmp_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_destroy` is never used [INFO] [stdout] --> src/c_test.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn filter_destroy(arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_name` is never used [INFO] [stdout] --> src/c_test.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn filter_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_create` is never used [INFO] [stdout] --> src/c_test.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn filter_create( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_key_match` is never used [INFO] [stdout] --> src/c_test.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn filter_key_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbc_test_main` is never used [INFO] [stdout] --> src/c_test.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn dbc_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> src/corruption_test.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const VALUE_SIZE: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `env`, `options`, `db`, `dbname`, and `tiny_cache` are never read [INFO] [stdout] --> src/corruption_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct CorruptionTest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | env: ErrorEnv, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | options: Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | tiny_cache: *mut Cache, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/corruption_test.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl CorruptionTest { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub fn try_reopen(&mut self) -> Status { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn repairdb(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn build(&mut self, n: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn check(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn corrupt(&mut self, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn property(&mut self, name: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn key(&mut self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn value(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbcorruption_test_main` is never used [INFO] [stdout] --> src/corruption_test.rs:472:4 [INFO] [stdout] | [INFO] [stdout] 472 | fn dbcorruption_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> src/fault_injection_test.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const VALUE_SIZE: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_NUM_VALUES` is never used [INFO] [stdout] --> src/fault_injection_test.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_NUM_VALUES: i32 = 2000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_ITERATIONS` is never used [INFO] [stdout] --> src/fault_injection_test.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const NUM_ITERATIONS: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dir_name` is never used [INFO] [stdout] --> src/fault_injection_test.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_dir_name(filename: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_dir` is never used [INFO] [stdout] --> src/fault_injection_test.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn sync_dir(dir: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/fault_injection_test.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn truncate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename`, `pos`, `pos_at_last_sync`, and `pos_at_last_flush` are never read [INFO] [stdout] --> src/fault_injection_test.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct FileState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 89 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | pos: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | pos_at_last_sync: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | pos_at_last_flush: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_fully_synced` are never used [INFO] [stdout] --> src/fault_injection_test.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl FileState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 108 | [INFO] [stdout] 109 | pub fn new(filename: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn is_fully_synced(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `target`, `writable_file_opened`, and `env` are never read [INFO] [stdout] --> src/fault_injection_test.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct TestWritableFile { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 137 | state: FileState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 138 | target: *mut dyn WritableFile, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | writable_file_opened: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | env: *mut FaultInjectionTestEnv, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base` and `mutex` are never read [INFO] [stdout] --> src/fault_injection_test.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | struct FaultInjectionTestEnv { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 160 | base: EnvWrapper, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | mutex: Mutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_filesystem_active` and `set_filesystem_active` are never used [INFO] [stdout] --> src/fault_injection_test.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl FaultInjectionTestEnv { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn is_filesystem_active(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn set_filesystem_active(&mut self, active: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fault_injection_test.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl TestWritableFile { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 235 | [INFO] [stdout] 236 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_parent` is never used [INFO] [stdout] --> src/fault_injection_test.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 322 | impl TestWritableFile { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 323 | [INFO] [stdout] 324 | fn sync_parent(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fault_injection_test.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 337 | impl FaultInjectionTestEnv { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 338 | [INFO] [stdout] 339 | pub fn new_writable_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn new_appendable_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn drop_unsynced_file_data(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn dir_was_synced(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn is_file_created_since_last_dir_sync(&mut self, filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn untrack_file(&mut self, f: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn delete_file(&mut self, f: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn rename_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn delete_files_created_after_last_dir_sync(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn writable_file_closed(&mut self, state: &FileState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drop_unsynced_data` is never used [INFO] [stdout] --> src/fault_injection_test.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 515 | impl FileState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 516 | [INFO] [stdout] 517 | pub fn drop_unsynced_data(&self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `env`, `dbname`, `tiny_cache`, `options`, and `db` are never read [INFO] [stdout] --> src/fault_injection_test.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 528 | struct FaultInjectionTest { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 529 | env: *mut FaultInjectionTestEnv, [INFO] [stdout] | ^^^ [INFO] [stdout] 530 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 531 | tiny_cache: *mut Cache, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 532 | options: Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 533 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExpectedVerifResult` is never used [INFO] [stdout] --> src/fault_injection_test.rs:536:6 [INFO] [stdout] | [INFO] [stdout] 536 | enum ExpectedVerifResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResetMethod` is never used [INFO] [stdout] --> src/fault_injection_test.rs:541:6 [INFO] [stdout] | [INFO] [stdout] 541 | enum ResetMethod { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fault_injection_test.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 580 | impl FaultInjectionTest { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 581 | [INFO] [stdout] 582 | pub fn reuse_logs(&mut self, reuse: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn build(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | pub fn read_value(&self, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pub fn verify(&self, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | pub fn key(&self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn value(&self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | pub fn opendb(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 694 | pub fn closedb(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn delete_all_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub fn reset_db_state(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn partial_compact_test_pre_fault(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | pub fn partial_compact_test_reopen_with_fault(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub fn no_write_test_pre_fault(&mut self) { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 764 | [INFO] [stdout] 765 | pub fn no_write_test_reopen_with_fault(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 775 | pub fn do_test(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbfault_injection_test_main` is never used [INFO] [stdout] --> src/fault_injection_test.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | fn dbfault_injection_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_file_state`, `new_files_since_last_dir_sync`, and `filesystem_active` are never read [INFO] [stdout] --> src/fault_injection_test.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 169 | [INFO] [stdout] 170 | db_file_state: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 171 | new_files_since_last_dir_sync: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | filesystem_active: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ok`, `fname`, `line`, and `ss` are never read [INFO] [stdout] --> src/harness.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tester { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | ok: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | fname: *const u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | line: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | ss: Box, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `name`, and `func` are never read [INFO] [stdout] --> src/harness.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct Test { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 224 | base: *const u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | name: *const u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 226 | func: fn() -> c_void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_KEYS` is never used [INFO] [stdout] --> src/issue178_test.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const NUM_KEYS: i32 = 1100000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key1` is never used [INFO] [stdout] --> src/issue178_test.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn key1(i: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key2` is never used [INFO] [stdout] --> src/issue178_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn key2(i: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Issue178` is never constructed [INFO] [stdout] --> src/issue178_test.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Issue178 {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issuesissue178_test_main` is never used [INFO] [stdout] --> src/issue178_test.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn issuesissue178_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Issue200` is never constructed [INFO] [stdout] --> src/issue200_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Issue200 {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issuesissue200_test_main` is never used [INFO] [stdout] --> src/issue200_test.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn issuesissue200_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_number` is never used [INFO] [stdout] --> src/issue320_test.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn generate_random_number(max: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_random_string` is never used [INFO] [stdout] --> src/issue320_test.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_random_string(index: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Issue320` is never constructed [INFO] [stdout] --> src/issue320_test.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Issue320 {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issuesissue320_test_main` is never used [INFO] [stdout] --> src/issue320_test.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn issuesissue320_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dbname`, `env`, and `db` are never read [INFO] [stdout] --> src/recovery_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct RecoveryTest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | env: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/recovery_test.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl RecoveryTest { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 38 | [INFO] [stdout] 39 | pub fn dbfull(&self) -> *mut DBImpl { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn env(&self) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn can_append(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn open_with_status(&mut self, options: Option<*mut Options>) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn open(&mut self, options: Option<*mut Options>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn put(&mut self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get(&mut self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn manifest_file_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn log_name(&mut self, number: u64) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn delete_log_files(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn delete_manifest_file(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn first_log_file(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_files(&mut self, t: FileType) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn num_logs(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn num_tables(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn file_size(&mut self, fname: &String) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn compact_mem_table(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn make_log_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbrecovery_test_main` is never used [INFO] [stdout] --> src/recovery_test.rs:471:4 [INFO] [stdout] | [INFO] [stdout] 471 | fn dbrecovery_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `writable_file_error`, and `num_writable_file_errors` are never read [INFO] [stdout] --> src/util.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ErrorEnv { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | base: EnvWrapper, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | writable_file_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | num_writable_file_errors: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `phase` should have an upper case name [INFO] [stdout] --> src/c_test.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const phase: &'static str = ""; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `PHASE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/c_test.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fn start_phase(name: *const u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/c_test.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | expected: *const u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/c_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | v: *const u8, [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/c_test.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | n: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/c_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | fn free(ptr: *mut *mut u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/c_test.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | db: *mut LevelDB, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/c_test.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | options: *const LevelDBReadOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/c_test.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | 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: `expected` [INFO] [stdout] --> src/c_test.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | expected: *const u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iter` [INFO] [stdout] --> src/c_test.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | iter: *mut LevelDBIterator, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/c_test.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | 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: `val` [INFO] [stdout] --> src/c_test.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | val: *const u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/c_test.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | ptr: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/c_test.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klen` [INFO] [stdout] --> src/c_test.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | klen: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_klen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/c_test.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | v: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vlen` [INFO] [stdout] --> src/c_test.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | vlen: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vlen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/c_test.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | ptr: *mut c_void, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/c_test.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `klen` [INFO] [stdout] --> src/c_test.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | klen: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_klen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | fn cmp_destroy(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: `arg` [INFO] [stdout] --> src/c_test.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | 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: `a` [INFO] [stdout] --> src/c_test.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | a: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alen` [INFO] [stdout] --> src/c_test.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | alen: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_alen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/c_test.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | b: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blen` [INFO] [stdout] --> src/c_test.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | blen: usize) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_blen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | fn cmp_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | fn filter_destroy(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: `arg` [INFO] [stdout] --> src/c_test.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | fn filter_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | 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: `key_array` [INFO] [stdout] --> src/c_test.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | key_array: *const *const u8, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_length_array` [INFO] [stdout] --> src/c_test.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | key_length_array: *const usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_length_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_keys` [INFO] [stdout] --> src/c_test.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | num_keys: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_length` [INFO] [stdout] --> src/c_test.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | filter_length: *mut usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/c_test.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | 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: `k` [INFO] [stdout] --> src/c_test.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | k: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/c_test.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | length: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> src/c_test.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | filter: *const u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_length` [INFO] [stdout] --> src/c_test.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | filter_length: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/c_test.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | 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/c_test.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | 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: `n` [INFO] [stdout] --> src/corruption_test.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn build(&mut self, n: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_expected` [INFO] [stdout] --> src/corruption_test.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | min_expected: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_expected` [INFO] [stdout] --> src/corruption_test.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | max_expected: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filetype` [INFO] [stdout] --> src/corruption_test.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | filetype: FileType, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/corruption_test.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | offset: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_to_corrupt` [INFO] [stdout] --> src/corruption_test.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | bytes_to_corrupt: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_to_corrupt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/corruption_test.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn property(&mut self, name: &String) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/corruption_test.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/corruption_test.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/corruption_test.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | k: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/corruption_test.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/corruption_test.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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/corruption_test.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | 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: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_dir_name(filename: &String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/fault_injection_test.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | fn sync_dir(dir: &String) -> crate::Status { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | filename: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/fault_injection_test.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | length: u64) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn new(filename: &String) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/fault_injection_test.rs:212:45 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn set_filesystem_active(&mut self, active: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/fault_injection_test.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | state: &FileState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/fault_injection_test.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | f: *mut dyn WritableFile, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/fault_injection_test.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | env: *mut FaultInjectionTestEnv) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/fault_injection_test.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | fn append(&mut self, data: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/fault_injection_test.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/fault_injection_test.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/fault_injection_test.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/fault_injection_test.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/fault_injection_test.rs:415:59 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn is_file_created_since_last_dir_sync(&mut self, filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/fault_injection_test.rs:425:36 [INFO] [stdout] | [INFO] [stdout] 425 | pub fn untrack_file(&mut self, f: &String) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/fault_injection_test.rs:435:35 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn delete_file(&mut self, f: &String) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/fault_injection_test.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | s: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/fault_injection_test.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | t: &String) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/fault_injection_test.rs:505:44 [INFO] [stdout] | [INFO] [stdout] 505 | pub fn writable_file_closed(&mut self, state: &FileState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reuse` [INFO] [stdout] --> src/fault_injection_test.rs:582:34 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn reuse_logs(&mut self, reuse: bool) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reuse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_idx` [INFO] [stdout] --> src/fault_injection_test.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | start_idx: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_vals` [INFO] [stdout] --> src/fault_injection_test.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | num_vals: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fault_injection_test.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/fault_injection_test.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | val: *mut String) -> crate::Status { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_idx` [INFO] [stdout] --> src/fault_injection_test.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | start_idx: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_vals` [INFO] [stdout] --> src/fault_injection_test.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | num_vals: i32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_vals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/fault_injection_test.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | expected: ExpectedVerifResult) -> crate::Status { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/fault_injection_test.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/fault_injection_test.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/fault_injection_test.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | k: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> src/fault_injection_test.rs:674:9 [INFO] [stdout] | [INFO] [stdout] 674 | storage: *mut String) -> Slice { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_method` [INFO] [stdout] --> src/fault_injection_test.rs:716:38 [INFO] [stdout] | [INFO] [stdout] 716 | pub fn reset_db_state(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pre_sync` [INFO] [stdout] --> src/fault_injection_test.rs:734:9 [INFO] [stdout] | [INFO] [stdout] 734 | num_pre_sync: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pre_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_post_sync` [INFO] [stdout] --> src/fault_injection_test.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | num_post_sync: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_post_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_method` [INFO] [stdout] --> src/fault_injection_test.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | reset_method: ResetMethod, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_pre_sync` [INFO] [stdout] --> src/fault_injection_test.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | num_pre_sync: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_pre_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_post_sync` [INFO] [stdout] --> src/fault_injection_test.rs:749:9 [INFO] [stdout] | [INFO] [stdout] 749 | num_post_sync: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_post_sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reset_method` [INFO] [stdout] --> src/fault_injection_test.rs:765:55 [INFO] [stdout] | [INFO] [stdout] 765 | pub fn no_write_test_reopen_with_fault(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reset_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/fault_injection_test.rs:826:9 [INFO] [stdout] | [INFO] [stdout] 826 | 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/fault_injection_test.rs:827:9 [INFO] [stdout] | [INFO] [stdout] 827 | 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: `f` [INFO] [stdout] --> src/harness.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | f: *const u8, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> src/harness.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | l: i32) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/harness.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | b: bool, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/harness.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | msg: *const u8) -> &mut Tester { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/harness.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn is_ok(&mut self, s: &Status) -> &mut Tester { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/harness.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | #[inline] fn shl(self, rhs: &V) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/harness.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | base: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/harness.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | name: *const u8, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/harness.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | func: fn() -> c_void) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/issue178_test.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | fn key1(i: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/issue178_test.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | fn key2(i: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/issue178_test.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | 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/issue178_test.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | 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: `argc` [INFO] [stdout] --> src/issue200_test.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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/issue200_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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: `max` [INFO] [stdout] --> src/issue320_test.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn generate_random_number(max: i32) -> i32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/issue320_test.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_random_string(index: i32) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/issue320_test.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | 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/issue320_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | 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: `options` [INFO] [stdout] --> src/recovery_test.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn open_with_status(&mut self, options: Option<*mut Options>) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/recovery_test.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn open(&mut self, options: Option<*mut Options>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/recovery_test.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | k: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/recovery_test.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | v: &String) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/recovery_test.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | k: &String, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `snapshot` [INFO] [stdout] --> src/recovery_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | snapshot: Option<*const dyn Snapshot>) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_snapshot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/recovery_test.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn log_name(&mut self, number: u64) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/recovery_test.rs:187:33 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_files(&mut self, t: FileType) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/recovery_test.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn file_size(&mut self, fname: &String) -> u64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lognum` [INFO] [stdout] --> src/recovery_test.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | lognum: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lognum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seq` [INFO] [stdout] --> src/recovery_test.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | seq: SequenceNumber, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/recovery_test.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | key_: Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/recovery_test.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | val: Slice) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/recovery_test.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | 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/recovery_test.rs:473:9 [INFO] [stdout] | [INFO] [stdout] 473 | 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: `fname` [INFO] [stdout] --> src/util.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/util.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/util.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | fname: &String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/util.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | result: *mut *mut dyn WritableFile) -> crate::Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/util.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | rnd: *mut Random, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | len: i32, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/util.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | dst: *mut String) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/util.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | rnd: *mut Random, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | len: i32) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/util.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | rnd: *mut Random, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compressed_fraction` [INFO] [stdout] --> src/util.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | compressed_fraction: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compressed_fraction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/util.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | dst: *mut String) -> Slice { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `phase` is never used [INFO] [stdout] --> src/c_test.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const phase: &'static str = ""; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_phase` is never used [INFO] [stdout] --> src/c_test.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn start_phase(name: *const u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_equal` is never used [INFO] [stdout] --> src/c_test.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn check_equal( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/c_test.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn free(ptr: *mut *mut u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 218 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_get` is never used [INFO] [stdout] --> src/c_test.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn check_get( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_iter` is never used [INFO] [stdout] --> src/c_test.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn check_iter( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_put` is never used [INFO] [stdout] --> src/c_test.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn check_put( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_del` is never used [INFO] [stdout] --> src/c_test.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn check_del( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_destroy` is never used [INFO] [stdout] --> src/c_test.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn cmp_destroy(arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_compare` is never used [INFO] [stdout] --> src/c_test.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn cmp_compare( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cmp_name` is never used [INFO] [stdout] --> src/c_test.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn cmp_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_destroy` is never used [INFO] [stdout] --> src/c_test.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn filter_destroy(arg: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_name` is never used [INFO] [stdout] --> src/c_test.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn filter_name(arg: *mut c_void) -> *const u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_create` is never used [INFO] [stdout] --> src/c_test.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn filter_create( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_key_match` is never used [INFO] [stdout] --> src/c_test.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | fn filter_key_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbc_test_main` is never used [INFO] [stdout] --> src/c_test.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn dbc_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> src/corruption_test.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const VALUE_SIZE: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `env`, `options`, `db`, `dbname`, and `tiny_cache` are never read [INFO] [stdout] --> src/corruption_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct CorruptionTest { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | env: ErrorEnv, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | options: Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | tiny_cache: *mut Cache, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/corruption_test.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl CorruptionTest { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub fn try_reopen(&mut self) -> Status { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn reopen(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn repairdb(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn build(&mut self, n: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn check(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn corrupt(&mut self, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn property(&mut self, name: &String) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn key(&mut self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn value(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbcorruption_test_main` is never used [INFO] [stdout] --> src/corruption_test.rs:472:4 [INFO] [stdout] | [INFO] [stdout] 472 | fn dbcorruption_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALUE_SIZE` is never used [INFO] [stdout] --> src/fault_injection_test.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const VALUE_SIZE: i32 = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_NUM_VALUES` is never used [INFO] [stdout] --> src/fault_injection_test.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const MAX_NUM_VALUES: i32 = 2000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_ITERATIONS` is never used [INFO] [stdout] --> src/fault_injection_test.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const NUM_ITERATIONS: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dir_name` is never used [INFO] [stdout] --> src/fault_injection_test.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_dir_name(filename: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sync_dir` is never used [INFO] [stdout] --> src/fault_injection_test.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn sync_dir(dir: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/fault_injection_test.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn truncate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename`, `pos`, `pos_at_last_sync`, and `pos_at_last_flush` are never read [INFO] [stdout] --> src/fault_injection_test.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | struct FileState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 89 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | pos: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 91 | pos_at_last_sync: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 92 | pos_at_last_flush: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `is_fully_synced` are never used [INFO] [stdout] --> src/fault_injection_test.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl FileState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 108 | [INFO] [stdout] 109 | pub fn new(filename: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn is_fully_synced(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `target`, `writable_file_opened`, and `env` are never read [INFO] [stdout] --> src/fault_injection_test.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | struct TestWritableFile { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 137 | state: FileState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 138 | target: *mut dyn WritableFile, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | writable_file_opened: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | env: *mut FaultInjectionTestEnv, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base` and `mutex` are never read [INFO] [stdout] --> src/fault_injection_test.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | struct FaultInjectionTestEnv { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 160 | base: EnvWrapper, [INFO] [stdout] | ^^^^ [INFO] [stdout] 161 | mutex: Mutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_filesystem_active` and `set_filesystem_active` are never used [INFO] [stdout] --> src/fault_injection_test.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 191 | impl FaultInjectionTestEnv { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn is_filesystem_active(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn set_filesystem_active(&mut self, active: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/fault_injection_test.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl TestWritableFile { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 235 | [INFO] [stdout] 236 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sync_parent` is never used [INFO] [stdout] --> src/fault_injection_test.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 322 | impl TestWritableFile { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 323 | [INFO] [stdout] 324 | fn sync_parent(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fault_injection_test.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 337 | impl FaultInjectionTestEnv { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 338 | [INFO] [stdout] 339 | pub fn new_writable_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn new_appendable_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn drop_unsynced_file_data(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn dir_was_synced(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn is_file_created_since_last_dir_sync(&mut self, filename: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn untrack_file(&mut self, f: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 435 | pub fn delete_file(&mut self, f: &String) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn rename_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn reset_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn delete_files_created_after_last_dir_sync(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 505 | pub fn writable_file_closed(&mut self, state: &FileState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drop_unsynced_data` is never used [INFO] [stdout] --> src/fault_injection_test.rs:517:12 [INFO] [stdout] | [INFO] [stdout] 515 | impl FileState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 516 | [INFO] [stdout] 517 | pub fn drop_unsynced_data(&self) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `env`, `dbname`, `tiny_cache`, `options`, and `db` are never read [INFO] [stdout] --> src/fault_injection_test.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 528 | struct FaultInjectionTest { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 529 | env: *mut FaultInjectionTestEnv, [INFO] [stdout] | ^^^ [INFO] [stdout] 530 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 531 | tiny_cache: *mut Cache, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 532 | options: Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 533 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExpectedVerifResult` is never used [INFO] [stdout] --> src/fault_injection_test.rs:536:6 [INFO] [stdout] | [INFO] [stdout] 536 | enum ExpectedVerifResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ResetMethod` is never used [INFO] [stdout] --> src/fault_injection_test.rs:541:6 [INFO] [stdout] | [INFO] [stdout] 541 | enum ResetMethod { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/fault_injection_test.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 580 | impl FaultInjectionTest { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 581 | [INFO] [stdout] 582 | pub fn reuse_logs(&mut self, reuse: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn build(&mut self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | pub fn read_value(&self, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pub fn verify(&self, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | pub fn key(&self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 672 | pub fn value(&self, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | pub fn opendb(&mut self) -> crate::Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 694 | pub fn closedb(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn delete_all_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub fn reset_db_state(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | pub fn partial_compact_test_pre_fault(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 746 | pub fn partial_compact_test_reopen_with_fault(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 763 | pub fn no_write_test_pre_fault(&mut self) { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 764 | [INFO] [stdout] 765 | pub fn no_write_test_reopen_with_fault(&mut self, reset_method: ResetMethod) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 775 | pub fn do_test(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbfault_injection_test_main` is never used [INFO] [stdout] --> src/fault_injection_test.rs:825:4 [INFO] [stdout] | [INFO] [stdout] 825 | fn dbfault_injection_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db_file_state`, `new_files_since_last_dir_sync`, and `filesystem_active` are never read [INFO] [stdout] --> src/fault_injection_test.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct Inner { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 169 | [INFO] [stdout] 170 | db_file_state: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 171 | new_files_since_last_dir_sync: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | filesystem_active: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ok`, `fname`, `line`, and `ss` are never read [INFO] [stdout] --> src/harness.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tester { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | ok: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | fname: *const u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | line: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | ss: Box, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `name`, and `func` are never read [INFO] [stdout] --> src/harness.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct Test { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 224 | base: *const u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | name: *const u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] 226 | func: fn() -> c_void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NUM_KEYS` is never used [INFO] [stdout] --> src/issue178_test.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const NUM_KEYS: i32 = 1100000; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key1` is never used [INFO] [stdout] --> src/issue178_test.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn key1(i: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key2` is never used [INFO] [stdout] --> src/issue178_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn key2(i: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Issue178` is never constructed [INFO] [stdout] --> src/issue178_test.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Issue178 {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issuesissue178_test_main` is never used [INFO] [stdout] --> src/issue178_test.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn issuesissue178_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Issue200` is never constructed [INFO] [stdout] --> src/issue200_test.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Issue200 {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issuesissue200_test_main` is never used [INFO] [stdout] --> src/issue200_test.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn issuesissue200_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_number` is never used [INFO] [stdout] --> src/issue320_test.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn generate_random_number(max: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_random_string` is never used [INFO] [stdout] --> src/issue320_test.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn create_random_string(index: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Issue320` is never constructed [INFO] [stdout] --> src/issue320_test.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Issue320 {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `issuesissue320_test_main` is never used [INFO] [stdout] --> src/issue320_test.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn issuesissue320_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dbname`, `env`, and `db` are never read [INFO] [stdout] --> src/recovery_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct RecoveryTest { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | dbname: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | env: Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | db: *mut dyn DB, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/recovery_test.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl RecoveryTest { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 38 | [INFO] [stdout] 39 | pub fn dbfull(&self) -> *mut DBImpl { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn env(&self) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn can_append(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn close(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn open_with_status(&mut self, options: Option<*mut Options>) -> crate::Status { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn open(&mut self, options: Option<*mut Options>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn put(&mut self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get(&mut self, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn manifest_file_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn log_name(&mut self, number: u64) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn delete_log_files(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn delete_manifest_file(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn first_log_file(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn get_files(&mut self, t: FileType) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn num_logs(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn num_tables(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn file_size(&mut self, fname: &String) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn compact_mem_table(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn make_log_file(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dbrecovery_test_main` is never used [INFO] [stdout] --> src/recovery_test.rs:471:4 [INFO] [stdout] | [INFO] [stdout] 471 | fn dbrecovery_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `writable_file_error`, and `num_writable_file_errors` are never read [INFO] [stdout] --> src/util.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ErrorEnv { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | base: EnvWrapper, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | writable_file_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | num_writable_file_errors: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `phase` should have an upper case name [INFO] [stdout] --> src/c_test.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const phase: &'static str = ""; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `PHASE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 218 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.70s [INFO] running `Command { std: "docker" "inspect" "75c745415d106a11ea9b86f450b26213d5007d0e7d97aa059130912bd1b44fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75c745415d106a11ea9b86f450b26213d5007d0e7d97aa059130912bd1b44fe6", kill_on_drop: false }` [INFO] [stdout] 75c745415d106a11ea9b86f450b26213d5007d0e7d97aa059130912bd1b44fe6