[INFO] fetching crate bitcoinleveldb-test 0.1.16-alpha.0... [INFO] checking bitcoinleveldb-test-0.1.16-alpha.0 against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] extracting crate bitcoinleveldb-test 0.1.16-alpha.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8cedb976130e172a328f97dd0f7a5d27c94a20bafe81bda799dadf8473dc8f7 [INFO] running `Command { std: "docker" "start" "-a" "a8cedb976130e172a328f97dd0f7a5d27c94a20bafe81bda799dadf8473dc8f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8cedb976130e172a328f97dd0f7a5d27c94a20bafe81bda799dadf8473dc8f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8cedb976130e172a328f97dd0f7a5d27c94a20bafe81bda799dadf8473dc8f7", kill_on_drop: false }` [INFO] [stdout] a8cedb976130e172a328f97dd0f7a5d27c94a20bafe81bda799dadf8473dc8f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfc95f563b924a1e90f170879905f1920a1934c57d9724a7f2e9bd2a49bf3d06 [INFO] running `Command { std: "docker" "start" "-a" "bfc95f563b924a1e90f170879905f1920a1934c57d9724a7f2e9bd2a49bf3d06", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking sqlite v0.25.3 [INFO] [stderr] Checking sqlite3 v0.24.0 [INFO] [stderr] Checking quanta v0.9.3 [INFO] [stderr] Checking pnet_sys v0.31.0 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking libc-stdhandle v0.1.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking comparator v0.3.0 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking bitset v0.1.2 [INFO] [stderr] Checking atomic-take v1.1.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking multiset v0.0.5 [INFO] [stderr] Checking time-point v0.1.1 [INFO] [stderr] Checking const-default v1.0.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking atomic_float v0.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Checking serde-big-array v0.4.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [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] Compiling libevent v0.1.0 [INFO] [stderr] error: failed to run custom build command for `qt_core v0.5.0` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/qt_core-597299355fe46763/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] Current Qt version (5.15.3) is unknown to qt_core crate. Using closest known version (5.14.0) [INFO] [stderr] -- The C compiler identification is GNU 11.4.0 [INFO] [stderr] -- The CXX compiler identification is GNU 11.4.0 [INFO] [stderr] -- Detecting C compiler ABI info [INFO] [stderr] -- Detecting C compiler ABI info - done [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc - skipped [INFO] [stderr] -- Detecting C compile features [INFO] [stderr] -- Detecting C compile features - done [INFO] [stderr] -- Detecting CXX compiler ABI info [INFO] [stderr] -- Detecting CXX compiler ABI info - done [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ - skipped [INFO] [stderr] -- Detecting CXX compile features [INFO] [stderr] -- Detecting CXX compile features - done [INFO] [stderr] -- RITUAL_INCLUDE_PATH=/usr/include/x86_64-linux-gnu/qt5;/usr/include/x86_64-linux-gnu/qt5/QtCore [INFO] [stderr] -- RITUAL_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu [INFO] [stderr] -- RITUAL_LIBRARY_TYPE=STATIC [INFO] [stderr] -- RITUAL_LINKED_LIBS=Qt5Core [INFO] [stderr] -- RITUAL_CPP_LIB_VERSION=51400 [INFO] [stderr] -- RITUAL_COMPILER_FLAGS=-std=gnu++11 -fPIC [INFO] [stderr] -- Configuring done [INFO] [stderr] -- Generating done [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/Makefile2 clean [INFO] [stderr] gmake[1]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_core_c.dir/build.make CMakeFiles/qt_core_c.dir/clean [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/cmake -P CMakeFiles/qt_core_c.dir/cmake_clean.cmake [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_core_c_autogen.dir/build.make CMakeFiles/qt_core_c_autogen.dir/clean [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/cmake -P CMakeFiles/qt_core_c_autogen.dir/cmake_clean.cmake [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] gmake[1]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/cmake -S/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib -B/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build --check-build-system CMakeFiles/Makefile.cmake 0 [INFO] [stderr] /usr/bin/cmake -E cmake_progress_start /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build/CMakeFiles /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build//CMakeFiles/progress.marks [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/Makefile2 all [INFO] [stderr] gmake[1]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_core_c_autogen.dir/build.make CMakeFiles/qt_core_c_autogen.dir/depend [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] cd /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build/CMakeFiles/qt_core_c_autogen.dir/DependInfo.cmake --color= [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_core_c_autogen.dir/build.make CMakeFiles/qt_core_c_autogen.dir/build [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] [ 25%] Automatic MOC for target qt_core_c [INFO] [stderr] /usr/bin/cmake -E cmake_autogen /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build/CMakeFiles/qt_core_c_autogen.dir/AutogenInfo.json Debug [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] [ 25%] Built target qt_core_c_autogen [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_core_c.dir/build.make CMakeFiles/qt_core_c.dir/depend [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] cd /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build/CMakeFiles/qt_core_c.dir/DependInfo.cmake --color= [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_core_c.dir/build.make CMakeFiles/qt_core_c.dir/build [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] [ 50%] Building CXX object CMakeFiles/qt_core_c.dir/qt_core_c_autogen/mocs_compilation.cpp.o [INFO] [stderr] /usr/bin/c++ -DQT_CORE_C_LIBRARY -DRITUAL_CPP_LIB_VERSION=51400 -I/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build/qt_core_c_autogen/include -I/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib -I/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Wall -Wextra -Wno-deprecated-declarations -Werror=return-type -std=gnu++11 -fPIC -g -MD -MT CMakeFiles/qt_core_c.dir/qt_core_c_autogen/mocs_compilation.cpp.o -MF CMakeFiles/qt_core_c.dir/qt_core_c_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/qt_core_c.dir/qt_core_c_autogen/mocs_compilation.cpp.o -c /opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build/qt_core_c_autogen/mocs_compilation.cpp [INFO] [stderr] [ 75%] Building CXX object CMakeFiles/qt_core_c.dir/file1.cpp.o [INFO] [stderr] /usr/bin/c++ -DQT_CORE_C_LIBRARY -DRITUAL_CPP_LIB_VERSION=51400 -I/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build/qt_core_c_autogen/include -I/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib -I/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Wall -Wextra -Wno-deprecated-declarations -Werror=return-type -std=gnu++11 -fPIC -g -MD -MT CMakeFiles/qt_core_c.dir/file1.cpp.o -MF CMakeFiles/qt_core_c.dir/file1.cpp.o.d -o CMakeFiles/qt_core_c.dir/file1.cpp.o -c /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib/file1.cpp [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] gmake[1]: Leaving directory '/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build' [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib/file1.cpp: In function 'QJsonArray::const_iterator* ctr_qt_core_ffi_QJsonArray_const_iterator_operator_6(QJsonArray::const_iterator*, const QJsonArray::const_iterator*)': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib/file1.cpp:26446:30: warning: implicitly-declared 'QJsonArray::const_iterator& QJsonArray::const_iterator::operator=(const QJsonArray::const_iterator&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] 26446 | return &this_ptr->operator=(*other); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:124, [INFO] [stderr] from /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib/qt_core_c_global.h:73, [INFO] [stderr] from /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_core-0.5.0/c_lib/file1.cpp:1: [INFO] [stderr] /usr/include/x86_64-linux-gnu/qt5/QtCore/qjsonarray.h:169:16: note: because 'QJsonArray::const_iterator' has user-provided 'QJsonArray::const_iterator::const_iterator(const QJsonArray::const_iterator&)' [INFO] [stderr] 169 | inline const_iterator(const const_iterator &o) : a(o.a), i(o.i) {} // ### Qt 6: Removed so class can be trivially-copyable [INFO] [stderr] | ^~~~~~~~~~~~~~ [INFO] [stderr] c++: fatal error: Killed signal terminated program cc1plus [INFO] [stderr] compilation terminated. [INFO] [stderr] gmake[2]: *** [CMakeFiles/qt_core_c.dir/build.make:93: CMakeFiles/qt_core_c.dir/file1.cpp.o] Error 1 [INFO] [stderr] gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/qt_core_c.dir/all] Error 2 [INFO] [stderr] gmake: *** [Makefile:139: all] Error 2 [INFO] [stderr] [2024-01-19T10:20:55Z ERROR ritual_common::errors] Error: [INFO] [stderr] [2024-01-19T10:20:55Z ERROR ritual_common::errors] command failed with exit status: 2: cd "/opt/rustwide/target/debug/build/qt_core-257f20b44871d162/out/c_lib_build" && "cmake" "--build" "." "--" "-j16" "install" [INFO] [stderr] [2024-01-19T10:20:55Z ERROR ritual_common::errors] 0: failure::backtrace::internal::InternalBacktrace::new [INFO] [stderr] 1: failure::backtrace::Backtrace::new [INFO] [stderr] 2: >::from [INFO] [stderr] 3: >::from [INFO] [stderr] 4: failure::error_message::err_msg [INFO] [stderr] 5: ritual_common::utils::run_command [INFO] [stderr] 6: ritual_common::cpp_lib_builder::CppLibBuilder::run [INFO] [stderr] 7: ritual_build::Config::try_run [INFO] [stderr] 8: qt_ritual_build::try_run [INFO] [stderr] 9: qt_ritual_build::run [INFO] [stderr] 10: build_script_build::main [INFO] [stderr] 11: core::ops::function::FnOnce::call_once [INFO] [stderr] 12: std::sys_common::backtrace::__rust_begin_short_backtrace [INFO] [stderr] 13: std::rt::lang_start::{{closure}} [INFO] [stderr] 14: core::ops::function::impls:: for &F>::call_once [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/core/src/ops/function.rs:284:13 [INFO] [stderr] std::panicking::try::do_call [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/panicking.rs:554:40 [INFO] [stderr] std::panicking::try [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/panicking.rs:518:19 [INFO] [stderr] std::panic::catch_unwind [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/panic.rs:142:14 [INFO] [stderr] std::rt::lang_start_internal::{{closure}} [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/rt.rs:148:48 [INFO] [stderr] std::panicking::try::do_call [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/panicking.rs:554:40 [INFO] [stderr] std::panicking::try [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/panicking.rs:518:19 [INFO] [stderr] std::panic::catch_unwind [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/panic.rs:142:14 [INFO] [stderr] std::rt::lang_start_internal [INFO] [stderr] at /rustc/8424f8e8cdf07010967a57584fd647b30e930d4d/library/std/src/rt.rs:148:20 [INFO] [stderr] 15: std::rt::lang_start [INFO] [stderr] 16: main [INFO] [stderr] 17: [INFO] [stderr] 18: __libc_start_main [INFO] [stderr] 19: _start [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bfc95f563b924a1e90f170879905f1920a1934c57d9724a7f2e9bd2a49bf3d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfc95f563b924a1e90f170879905f1920a1934c57d9724a7f2e9bd2a49bf3d06", kill_on_drop: false }` [INFO] [stdout] bfc95f563b924a1e90f170879905f1920a1934c57d9724a7f2e9bd2a49bf3d06 [INFO] checking bitcoinleveldb-test-0.1.16-alpha.0 against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] extracting crate bitcoinleveldb-test 0.1.16-alpha.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-test 0.1.16-alpha.0 on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 497d76bf2c30f9492cb895df1aa4ee68a773c5a2a08691caaf8683c266359508 [INFO] running `Command { std: "docker" "start" "-a" "497d76bf2c30f9492cb895df1aa4ee68a773c5a2a08691caaf8683c266359508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "497d76bf2c30f9492cb895df1aa4ee68a773c5a2a08691caaf8683c266359508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497d76bf2c30f9492cb895df1aa4ee68a773c5a2a08691caaf8683c266359508", kill_on_drop: false }` [INFO] [stdout] 497d76bf2c30f9492cb895df1aa4ee68a773c5a2a08691caaf8683c266359508 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Ddereferencing_mut_binding" "-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" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc4663a96fc37bdb857b0444c3d8ebeedb521774609d70ef1f280109e0b08a2b [INFO] running `Command { std: "docker" "start" "-a" "cc4663a96fc37bdb857b0444c3d8ebeedb521774609d70ef1f280109e0b08a2b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking priority-queue v1.3.2 [INFO] [stderr] Checking shared-mutex v0.3.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking quanta v0.9.3 [INFO] [stderr] Checking sqlite3 v0.24.0 [INFO] [stderr] Checking sqlite v0.25.3 [INFO] [stderr] Checking libc-stdhandle v0.1.0 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking pnet_sys v0.31.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking atomic_float v0.1.0 [INFO] [stderr] Checking comparator v0.3.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking time-point v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking bitset v0.1.2 [INFO] [stderr] Checking atomic-take v1.1.0 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking multiset v0.0.5 [INFO] [stderr] Checking integer-encoding v3.0.4 [INFO] [stderr] Checking const-default v1.0.0 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde-big-array v0.4.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] 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-filter v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-comparator v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-rand v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-file v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-log v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-env v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-cache v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-snapshot v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-options v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-table v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-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-memtable v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-meta v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-version v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-batch 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 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 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: `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 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: `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: 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` [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: 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: `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: 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: `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: 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: `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_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 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_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 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: `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 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: `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: `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: `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 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 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 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 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: `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 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: `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: 218 warnings emitted [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: 218 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.50s [INFO] running `Command { std: "docker" "inspect" "cc4663a96fc37bdb857b0444c3d8ebeedb521774609d70ef1f280109e0b08a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4663a96fc37bdb857b0444c3d8ebeedb521774609d70ef1f280109e0b08a2b", kill_on_drop: false }` [INFO] [stdout] cc4663a96fc37bdb857b0444c3d8ebeedb521774609d70ef1f280109e0b08a2b