[INFO] fetching crate bitcoinleveldb-log 0.1.16-alpha.0... [INFO] checking bitcoinleveldb-log-0.1.16-alpha.0 against master#46455dc65069387f2dc46612f13fd45452ab301a for pr-117433 [INFO] extracting crate bitcoinleveldb-log 0.1.16-alpha.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 on toolchain 46455dc65069387f2dc46612f13fd45452ab301a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46455dc65069387f2dc46612f13fd45452ab301a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46455dc65069387f2dc46612f13fd45452ab301a" "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" "+46455dc65069387f2dc46612f13fd45452ab301a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+46455dc65069387f2dc46612f13fd45452ab301a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16775254e9c8c89011ad0b40edfa08f9c57e5adfe074a0463698963588a9a69c [INFO] running `Command { std: "docker" "start" "-a" "16775254e9c8c89011ad0b40edfa08f9c57e5adfe074a0463698963588a9a69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16775254e9c8c89011ad0b40edfa08f9c57e5adfe074a0463698963588a9a69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16775254e9c8c89011ad0b40edfa08f9c57e5adfe074a0463698963588a9a69c", kill_on_drop: false }` [INFO] [stdout] 16775254e9c8c89011ad0b40edfa08f9c57e5adfe074a0463698963588a9a69c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+46455dc65069387f2dc46612f13fd45452ab301a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f8cbd5e733aa426600330cd34e71c26ba45ffdb2c70a635fc9be7b0d6c9f0aa [INFO] running `Command { std: "docker" "start" "-a" "1f8cbd5e733aa426600330cd34e71c26ba45ffdb2c70a635fc9be7b0d6c9f0aa", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.9 [INFO] [stderr] Compiling qmetaobject v0.2.9 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.9 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling openssl-sys v0.9.94 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling time v0.3.30 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] error: failed to run custom build command for `qt_gui 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_gui-9301e4d28825d92a/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] Current Qt version (5.15.3) is unknown to qt_gui 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/QtGui;/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=Qt5Gui;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_gui-9d4d8301bdbf46a2/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_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_gui_c.dir/build.make CMakeFiles/qt_gui_c.dir/clean [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/cmake -P CMakeFiles/qt_gui_c.dir/cmake_clean.cmake [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_gui_c_autogen.dir/build.make CMakeFiles/qt_gui_c_autogen.dir/clean [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/cmake -P CMakeFiles/qt_gui_c_autogen.dir/cmake_clean.cmake [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] gmake[1]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/cmake -S/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib -B/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/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_gui-9d4d8301bdbf46a2/out/c_lib_build/CMakeFiles /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/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_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_gui_c_autogen.dir/build.make CMakeFiles/qt_gui_c_autogen.dir/depend [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] cd /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build/CMakeFiles/qt_gui_c_autogen.dir/DependInfo.cmake --color= [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_gui_c_autogen.dir/build.make CMakeFiles/qt_gui_c_autogen.dir/build [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] [ 25%] Automatic MOC for target qt_gui_c [INFO] [stderr] /usr/bin/cmake -E cmake_autogen /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build/CMakeFiles/qt_gui_c_autogen.dir/AutogenInfo.json Debug [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] [ 25%] Built target qt_gui_c_autogen [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_gui_c.dir/build.make CMakeFiles/qt_gui_c.dir/depend [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] cd /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build/CMakeFiles/qt_gui_c.dir/DependInfo.cmake --color= [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] /usr/bin/gmake -f CMakeFiles/qt_gui_c.dir/build.make CMakeFiles/qt_gui_c.dir/build [INFO] [stderr] gmake[2]: Entering directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] [ 50%] Building CXX object CMakeFiles/qt_gui_c.dir/qt_gui_c_autogen/mocs_compilation.cpp.o [INFO] [stderr] /usr/bin/c++ -DQT_GUI_C_LIBRARY -DRITUAL_CPP_LIB_VERSION=51400 -I/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build/qt_gui_c_autogen/include -I/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib -I/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -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_gui_c.dir/qt_gui_c_autogen/mocs_compilation.cpp.o -MF CMakeFiles/qt_gui_c.dir/qt_gui_c_autogen/mocs_compilation.cpp.o.d -o CMakeFiles/qt_gui_c.dir/qt_gui_c_autogen/mocs_compilation.cpp.o -c /opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build/qt_gui_c_autogen/mocs_compilation.cpp [INFO] [stderr] [ 75%] Building CXX object CMakeFiles/qt_gui_c.dir/file1.cpp.o [INFO] [stderr] /usr/bin/c++ -DQT_GUI_C_LIBRARY -DRITUAL_CPP_LIB_VERSION=51400 -I/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build/qt_gui_c_autogen/include -I/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib -I/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -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_gui_c.dir/file1.cpp.o -MF CMakeFiles/qt_gui_c.dir/file1.cpp.o.d -o CMakeFiles/qt_gui_c.dir/file1.cpp.o -c /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib/file1.cpp [INFO] [stderr] gmake[2]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] gmake[1]: Leaving directory '/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build' [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib/file1.cpp: In function 'QInputMethodEvent* ctr_qt_gui_ffi_QInputMethodEvent_operator_(QInputMethodEvent*, const QInputMethodEvent*)': [INFO] [stderr] /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib/file1.cpp:27497:30: warning: implicitly-declared 'QInputMethodEvent& QInputMethodEvent::operator=(const QInputMethodEvent&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] 27497 | return &this_ptr->operator=(*other); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ [INFO] [stderr] In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextlayout.h:49, [INFO] [stderr] from /usr/include/x86_64-linux-gnu/qt5/QtGui/qabstracttextdocumentlayout.h:45, [INFO] [stderr] from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:5, [INFO] [stderr] from /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib/qt_gui_c_global.h:73, [INFO] [stderr] from /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/qt_gui-0.5.0/c_lib/file1.cpp:1: [INFO] [stderr] /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:609:5: note: because 'QInputMethodEvent' has user-provided 'QInputMethodEvent::QInputMethodEvent(const QInputMethodEvent&)' [INFO] [stderr] 609 | QInputMethodEvent(const QInputMethodEvent &other); [INFO] [stderr] | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] c++: fatal error: Killed signal terminated program cc1plus [INFO] [stderr] compilation terminated. [INFO] [stderr] gmake[2]: *** [CMakeFiles/qt_gui_c.dir/build.make:93: CMakeFiles/qt_gui_c.dir/file1.cpp.o] Error 1 [INFO] [stderr] gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/qt_gui_c.dir/all] Error 2 [INFO] [stderr] gmake: *** [Makefile:139: all] Error 2 [INFO] [stderr] [2023-11-02T14:38:57Z ERROR ritual_common::errors] Error: [INFO] [stderr] [2023-11-02T14:38:57Z ERROR ritual_common::errors] command failed with exit status: 2: cd "/opt/rustwide/target/debug/build/qt_gui-9d4d8301bdbf46a2/out/c_lib_build" && "cmake" "--build" "." "--" "-j8" "install" [INFO] [stderr] [2023-11-02T14:38:58Z 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/46455dc65069387f2dc46612f13fd45452ab301a/library/core/src/ops/function.rs:284:13 [INFO] [stderr] std::panicking::try::do_call [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/library/std/src/panicking.rs:552:40 [INFO] [stderr] std::panicking::try [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/library/std/src/panicking.rs:516:19 [INFO] [stderr] std::panic::catch_unwind [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/library/std/src/panic.rs:142:14 [INFO] [stderr] std::rt::lang_start_internal::{{closure}} [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/library/std/src/rt.rs:148:48 [INFO] [stderr] std::panicking::try::do_call [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/library/std/src/panicking.rs:552:40 [INFO] [stderr] std::panicking::try [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/library/std/src/panicking.rs:516:19 [INFO] [stderr] std::panic::catch_unwind [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/library/std/src/panic.rs:142:14 [INFO] [stderr] std::rt::lang_start_internal [INFO] [stderr] at /rustc/46455dc65069387f2dc46612f13fd45452ab301a/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" "1f8cbd5e733aa426600330cd34e71c26ba45ffdb2c70a635fc9be7b0d6c9f0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8cbd5e733aa426600330cd34e71c26ba45ffdb2c70a635fc9be7b0d6c9f0aa", kill_on_drop: false }` [INFO] [stdout] 1f8cbd5e733aa426600330cd34e71c26ba45ffdb2c70a635fc9be7b0d6c9f0aa [INFO] checking bitcoinleveldb-log-0.1.16-alpha.0 against try#794be3cb2f20e1fd15af31d8a42d380fc36600ed for pr-117433 [INFO] extracting crate bitcoinleveldb-log 0.1.16-alpha.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 on toolchain 794be3cb2f20e1fd15af31d8a42d380fc36600ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+794be3cb2f20e1fd15af31d8a42d380fc36600ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+794be3cb2f20e1fd15af31d8a42d380fc36600ed" "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" "+794be3cb2f20e1fd15af31d8a42d380fc36600ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+794be3cb2f20e1fd15af31d8a42d380fc36600ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eeef47950651a6a7a939b907ff21ade38d9076061a0e75a4de1538ac67a4743c [INFO] running `Command { std: "docker" "start" "-a" "eeef47950651a6a7a939b907ff21ade38d9076061a0e75a4de1538ac67a4743c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eeef47950651a6a7a939b907ff21ade38d9076061a0e75a4de1538ac67a4743c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeef47950651a6a7a939b907ff21ade38d9076061a0e75a4de1538ac67a4743c", kill_on_drop: false }` [INFO] [stdout] eeef47950651a6a7a939b907ff21ade38d9076061a0e75a4de1538ac67a4743c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+794be3cb2f20e1fd15af31d8a42d380fc36600ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a569edce280d0a116f1911b1da64f6702676db17ee9380b005a3faa3d3604a78 [INFO] running `Command { std: "docker" "start" "-a" "a569edce280d0a116f1911b1da64f6702676db17ee9380b005a3faa3d3604a78", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.9 [INFO] [stderr] Compiling qmetaobject v0.2.9 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling qmetaobject_impl v0.2.9 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling openssl-sys v0.9.94 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling deranged v0.3.9 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling time v0.3.30 [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] Compiling bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-slice v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-status v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-util v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-comparator v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-file v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-rand v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-log v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/reader.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / /** [INFO] [stdout] 22 | | | Extend record types with the following [INFO] [stdout] 23 | | | special values [INFO] [stdout] 24 | | | [INFO] [stdout] 25 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoin_derive::*` [INFO] [stdout] --> src/imports.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) use bitcoin_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/reader.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / /** [INFO] [stdout] 22 | | | Extend record types with the following [INFO] [stdout] 23 | | | special values [INFO] [stdout] 24 | | | [INFO] [stdout] 25 | | */ [INFO] [stdout] | |____^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partial_string` [INFO] [stdout] --> src/test.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | partial_string: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | n: usize) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn number_string(n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/test.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/test.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | rnd: *mut Random) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/test.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | fn append(&mut self, slice: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/test.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/test.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | fn skip(&mut self, n: u64) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/test.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/test.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | status: &Status) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/test.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn write(&mut self, msg: &String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/test.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | offset: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/test.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | delta: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/test.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | offset: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_byte` [INFO] [stdout] --> src/test.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | new_byte: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/test.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn shrink_size(&mut self, bytes: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_offset` [INFO] [stdout] --> src/test.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | header_offset: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/test.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | len: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/test.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn match_error(&self, msg: &String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_offset` [INFO] [stdout] --> src/test.rs:442:40 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn start_reading_at(&mut self, initial_offset: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_past_end` [INFO] [stdout] --> src/test.rs:451:64 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn check_offset_past_end_returns_no_records(&mut self, offset_past_end: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_past_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_offset` [INFO] [stdout] --> src/test.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | initial_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_record_offset` [INFO] [stdout] --> src/test.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | expected_record_offset: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_record_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/test.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | 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/test.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | 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: `padding` [INFO] [stdout] --> src/logging_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let padding: &str = padding.unwrap_or(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/logging_test.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | number: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_string` [INFO] [stdout] --> src/logging_test.rs:108:41 [INFO] [stdout] | [INFO] [stdout] 108 | fn consume_decimal_number_overflow_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_string` [INFO] [stdout] --> src/logging_test.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | fn consume_decimal_number_no_digits_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/logging_test.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | 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/logging_test.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | 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: `str_` [INFO] [stdout] --> src/logging.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | str_: *mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/logging.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | num: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logging.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | str_: *mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/logging.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | value: &Slice) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/logging.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn number_to_string(num: u64) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/logging.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn escape_string(value: &Slice) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/logging.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | in_: *mut Slice, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/logging.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | val: *mut u64) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `partial_string` [INFO] [stdout] --> src/test.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | partial_string: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_partial_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | n: usize) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn number_string(n: i32) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_crc` [INFO] [stdout] --> src/writer.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn init_type_crc(type_crc: *mut u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/test.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | i: i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/writer.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | dest: Rc>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rnd` [INFO] [stdout] --> src/test.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | rnd: *mut Random) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/test.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | fn append(&mut self, slice: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | n: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_length` [INFO] [stdout] --> src/writer.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | dest_length: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/test.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | result: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/writer.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn add_record(&mut self, slice: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/test.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | scratch: *mut u8) -> crate::Status { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/test.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | fn skip(&mut self, n: u64) -> crate::Status { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/writer.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | t: LogRecordType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/writer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | ptr: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/test.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/test.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | status: &Status) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/test.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn write(&mut self, msg: &String) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/writer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | length: usize) -> Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/test.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | offset: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/test.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | delta: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/posix_logger.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | format: *const u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/test.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | offset: i32, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_byte` [INFO] [stdout] --> src/test.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | new_byte: u8) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/posix_logger.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | arguments: &[&str]) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/test.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn shrink_size(&mut self, bytes: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_offset` [INFO] [stdout] --> src/test.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | header_offset: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp` [INFO] [stdout] --> src/posix_logger.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(fp: *mut libc::FILE) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/test.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | len: i32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/test.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn match_error(&self, msg: &String) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_offset` [INFO] [stdout] --> src/test.rs:442:40 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn start_reading_at(&mut self, initial_offset: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset_past_end` [INFO] [stdout] --> src/test.rs:451:64 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn check_offset_past_end_returns_no_records(&mut self, offset_past_end: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_past_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_offset` [INFO] [stdout] --> src/test.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | initial_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_record_offset` [INFO] [stdout] --> src/test.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | expected_record_offset: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_record_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/reader.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | file: Rc>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reporter` [INFO] [stdout] --> src/reader.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | reporter: Rc>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checksum` [INFO] [stdout] --> src/reader.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | checksum: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_offset` [INFO] [stdout] --> src/reader.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | initial_offset: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/reader.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | record: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/reader.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | scratch: *mut String) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/reader.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | bytes: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/reader.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | reason: *const u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/reader.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | bytes: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/reader.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | reason: &Status) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/reader.rs:369:44 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn read_physical_record(&mut self, result: *mut Slice) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `big_string` is never used [INFO] [stdout] --> src/test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn big_string( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_string` is never used [INFO] [stdout] --> src/test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn number_string(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_skewed_string` is never used [INFO] [stdout] --> src/test.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_skewed_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest`, `source`, `report`, `reading`, `writer`, and `reader` are never read [INFO] [stdout] --> src/test.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct LogTest { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 56 | dest: log_test::StringDest, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | source: log_test::StringSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | report: log_test::ReportCollector, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | reading: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | writer: *mut LogWriter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | reader: *mut LogReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/test.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 302 | impl LogTest { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 303 | [INFO] [stdout] 304 | pub fn reopen_for_append(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn write(&mut self, msg: &String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn written_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn read(&mut self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub fn increment_byte(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn set_byte(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn shrink_size(&mut self, bytes: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn fix_checksum(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn force_error(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn dropped_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn report_message(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn match_error(&self, msg: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn write_initial_offset_log(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn start_reading_at(&mut self, initial_offset: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn check_offset_past_end_returns_no_records(&mut self, offset_past_end: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn check_initial_offset_record(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logtest_main` is never used [INFO] [stdout] --> src/test.rs:986:4 [INFO] [stdout] | [INFO] [stdout] 986 | fn logtest_main ( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> src/test.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StringDest { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 70 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents`, `force_error`, and `returned_partial` are never read [INFO] [stdout] --> src/test.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct StringSource { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 135 | contents: Slice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 136 | force_error: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 137 | returned_partial: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/test.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | argc: i32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dropped_bytes` and `message` are never read [INFO] [stdout] --> src/test.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct ReportCollector { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 214 | dropped_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 215 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logging` is never constructed [INFO] [stdout] --> src/logging_test.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Logging {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_decimal_number_roundtrip_test` is never used [INFO] [stdout] --> src/logging_test.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn consume_decimal_number_roundtrip_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_decimal_number_overflow_test` is never used [INFO] [stdout] --> src/logging_test.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn consume_decimal_number_overflow_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_decimal_number_no_digits_test` is never used [INFO] [stdout] --> src/logging_test.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn consume_decimal_number_no_digits_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testlogging_test_main` is never used [INFO] [stdout] --> src/logging_test.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn testlogging_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest`, `block_offset`, and `type_crc` are never read [INFO] [stdout] --> src/writer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LogWriter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | [INFO] [stdout] 19 | dest: Rc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | block_offset: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | type_crc: [u32; LOG_MAX_RECORD_TYPE as usize + 1], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fp` is never read [INFO] [stdout] --> src/posix_logger.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PosixLogger { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | fp: *const libc::FILE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/reader.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LogReader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | [INFO] [stdout] 56 | file: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | reporter: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | checksum: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | backing_store: *const u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | buffer: Slice, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | eof: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | last_record_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | end_of_buffer_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | initial_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | resyncing: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/test.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | 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: associated constant `Eof` should have an upper case name [INFO] [stdout] --> src/reader.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | const Eof = LOG_MAX_RECORD_TYPE as i32 + 1; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `EOF` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BadRecord` should have an upper case name [INFO] [stdout] --> src/reader.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | const BadRecord = LOG_MAX_RECORD_TYPE as i32 + 2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `BAD_RECORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/logging_test.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let padding: &str = padding.unwrap_or(""); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/logging_test.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | number: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_string` [INFO] [stdout] --> src/logging_test.rs:108:41 [INFO] [stdout] | [INFO] [stdout] 108 | fn consume_decimal_number_overflow_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_string` [INFO] [stdout] --> src/logging_test.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | fn consume_decimal_number_no_digits_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argc` [INFO] [stdout] --> src/logging_test.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | 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/logging_test.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | 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: `str_` [INFO] [stdout] --> src/logging.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | str_: *mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/logging.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | num: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str_` [INFO] [stdout] --> src/logging.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | str_: *mut String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_str_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/logging.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | value: &Slice) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/logging.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn number_to_string(num: u64) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/logging.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn escape_string(value: &Slice) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_` [INFO] [stdout] --> src/logging.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | in_: *mut Slice, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_in_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/logging.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | val: *mut u64) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_crc` [INFO] [stdout] --> src/writer.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn init_type_crc(type_crc: *mut u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_crc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/writer.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | dest: Rc>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_length` [INFO] [stdout] --> src/writer.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | dest_length: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slice` [INFO] [stdout] --> src/writer.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn add_record(&mut self, slice: &Slice) -> crate::Status { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/writer.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | t: LogRecordType, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/writer.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | ptr: *const u8, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/writer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | length: usize) -> Status { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/posix_logger.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | format: *const u8, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/posix_logger.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | arguments: &[&str]) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp` [INFO] [stdout] --> src/posix_logger.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn new(fp: *mut libc::FILE) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/reader.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | file: Rc>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reporter` [INFO] [stdout] --> src/reader.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | reporter: Rc>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checksum` [INFO] [stdout] --> src/reader.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | checksum: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checksum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_offset` [INFO] [stdout] --> src/reader.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | initial_offset: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/reader.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | record: *mut Slice, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch` [INFO] [stdout] --> src/reader.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | scratch: *mut String) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/reader.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | bytes: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/reader.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | reason: *const u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/reader.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | bytes: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/reader.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | reason: &Status) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/reader.rs:369:44 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn read_physical_record(&mut self, result: *mut Slice) -> u32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `big_string` is never used [INFO] [stdout] --> src/test.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn big_string( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_string` is never used [INFO] [stdout] --> src/test.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn number_string(n: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_skewed_string` is never used [INFO] [stdout] --> src/test.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn random_skewed_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest`, `source`, `report`, `reading`, `writer`, and `reader` are never read [INFO] [stdout] --> src/test.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | struct LogTest { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 56 | dest: log_test::StringDest, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | source: log_test::StringSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | report: log_test::ReportCollector, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | reading: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 60 | writer: *mut LogWriter, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | reader: *mut LogReader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/test.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 302 | impl LogTest { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 303 | [INFO] [stdout] 304 | pub fn reopen_for_append(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn write(&mut self, msg: &String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn written_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn read(&mut self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub fn increment_byte(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn set_byte(&mut self, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn shrink_size(&mut self, bytes: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn fix_checksum(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn force_error(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn dropped_bytes(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn report_message(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn match_error(&self, msg: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn write_initial_offset_log(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn start_reading_at(&mut self, initial_offset: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 451 | pub fn check_offset_past_end_returns_no_records(&mut self, offset_past_end: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn check_initial_offset_record(&mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `logtest_main` is never used [INFO] [stdout] --> src/test.rs:986:4 [INFO] [stdout] | [INFO] [stdout] 986 | fn logtest_main ( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `contents` is never read [INFO] [stdout] --> src/test.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct StringDest { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 70 | contents: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents`, `force_error`, and `returned_partial` are never read [INFO] [stdout] --> src/test.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct StringSource { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 135 | contents: Slice, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 136 | force_error: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 137 | returned_partial: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dropped_bytes` and `message` are never read [INFO] [stdout] --> src/test.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct ReportCollector { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 214 | dropped_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 215 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logging` is never constructed [INFO] [stdout] --> src/logging_test.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Logging {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_decimal_number_roundtrip_test` is never used [INFO] [stdout] --> src/logging_test.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn consume_decimal_number_roundtrip_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_decimal_number_overflow_test` is never used [INFO] [stdout] --> src/logging_test.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn consume_decimal_number_overflow_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `consume_decimal_number_no_digits_test` is never used [INFO] [stdout] --> src/logging_test.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn consume_decimal_number_no_digits_test(input_string: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `testlogging_test_main` is never used [INFO] [stdout] --> src/logging_test.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn testlogging_test_main ( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dest`, `block_offset`, and `type_crc` are never read [INFO] [stdout] --> src/writer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct LogWriter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 18 | [INFO] [stdout] 19 | dest: Rc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | block_offset: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | type_crc: [u32; LOG_MAX_RECORD_TYPE as usize + 1], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fp` is never read [INFO] [stdout] --> src/posix_logger.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PosixLogger { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | fp: *const libc::FILE, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/reader.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct LogReader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 55 | [INFO] [stdout] 56 | file: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | reporter: Box, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | checksum: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | backing_store: *const u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 60 | buffer: Slice, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | eof: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | last_record_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | end_of_buffer_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | initial_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | resyncing: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Eof` should have an upper case name [INFO] [stdout] --> src/reader.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | const Eof = LOG_MAX_RECORD_TYPE as i32 + 1; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `EOF` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BadRecord` should have an upper case name [INFO] [stdout] --> src/reader.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | const BadRecord = LOG_MAX_RECORD_TYPE as i32 + 2; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `BAD_RECORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 83 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 83 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "a569edce280d0a116f1911b1da64f6702676db17ee9380b005a3faa3d3604a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a569edce280d0a116f1911b1da64f6702676db17ee9380b005a3faa3d3604a78", kill_on_drop: false }` [INFO] [stdout] a569edce280d0a116f1911b1da64f6702676db17ee9380b005a3faa3d3604a78