[INFO] fetching crate bitcoinleveldb-log 0.1.16-alpha.0... [INFO] checking bitcoinleveldb-log-0.1.16-alpha.0 against master#7606c13961ddc1174b70638e934df0439b7dc515 for pr-121979 [INFO] extracting crate bitcoinleveldb-log 0.1.16-alpha.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 on toolchain 7606c13961ddc1174b70638e934df0439b7dc515 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "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" "+7606c13961ddc1174b70638e934df0439b7dc515" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8130d3509b21262096274deefff1a2e95ef7873084241cc7da2746550e8114d1 [INFO] running `Command { std: "docker" "start" "-a" "8130d3509b21262096274deefff1a2e95ef7873084241cc7da2746550e8114d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8130d3509b21262096274deefff1a2e95ef7873084241cc7da2746550e8114d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8130d3509b21262096274deefff1a2e95ef7873084241cc7da2746550e8114d1", kill_on_drop: false }` [INFO] [stdout] 8130d3509b21262096274deefff1a2e95ef7873084241cc7da2746550e8114d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aad8b75809db75468d9c16b30d458ba6b4af0ce599074d589043d0f1708d3eab [INFO] running `Command { std: "docker" "start" "-a" "aad8b75809db75468d9c16b30d458ba6b4af0ce599074d589043d0f1708d3eab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling term v0.4.6 [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 glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking serde-big-array v0.4.1 [INFO] [stderr] Checking multimap v0.8.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling libevent v0.1.0 [INFO] [stderr] Checking bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-slice v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-status v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-util v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-comparator v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-filter v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-key v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-rand v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-file v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-log v0.1.16-alpha.0 (/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: `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: 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: `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` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "aad8b75809db75468d9c16b30d458ba6b4af0ce599074d589043d0f1708d3eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad8b75809db75468d9c16b30d458ba6b4af0ce599074d589043d0f1708d3eab", kill_on_drop: false }` [INFO] [stdout] aad8b75809db75468d9c16b30d458ba6b4af0ce599074d589043d0f1708d3eab [INFO] checking bitcoinleveldb-log-0.1.16-alpha.0 against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] extracting crate bitcoinleveldb-log 0.1.16-alpha.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-log 0.1.16-alpha.0 on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aae23ea504032b0e32c526eb27dce2147471e5726a75224d1126ded7a19a5aa5 [INFO] running `Command { std: "docker" "start" "-a" "aae23ea504032b0e32c526eb27dce2147471e5726a75224d1126ded7a19a5aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aae23ea504032b0e32c526eb27dce2147471e5726a75224d1126ded7a19a5aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae23ea504032b0e32c526eb27dce2147471e5726a75224d1126ded7a19a5aa5", kill_on_drop: false }` [INFO] [stdout] aae23ea504032b0e32c526eb27dce2147471e5726a75224d1126ded7a19a5aa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f88179952a34f78277a2d6cbd09f651577068b40716f8aa898c5773f63f8e0c [INFO] running `Command { std: "docker" "start" "-a" "0f88179952a34f78277a2d6cbd09f651577068b40716f8aa898c5773f63f8e0c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [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 winapi v0.2.8 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] error: could not compile `nix` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ae973628c64ab60398819bcc1fd9f08ae68ad5b5/bin/rustc --crate-name nix --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nix-0.24.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="acct"' --cfg 'feature="aio"' --cfg 'feature="default"' --cfg 'feature="dir"' --cfg 'feature="env"' --cfg 'feature="event"' --cfg 'feature="feature"' --cfg 'feature="fs"' --cfg 'feature="hostname"' --cfg 'feature="inotify"' --cfg 'feature="ioctl"' --cfg 'feature="kmod"' --cfg 'feature="memoffset"' --cfg 'feature="mman"' --cfg 'feature="mount"' --cfg 'feature="mqueue"' --cfg 'feature="net"' --cfg 'feature="personality"' --cfg 'feature="poll"' --cfg 'feature="process"' --cfg 'feature="pthread"' --cfg 'feature="ptrace"' --cfg 'feature="quota"' --cfg 'feature="reboot"' --cfg 'feature="resource"' --cfg 'feature="sched"' --cfg 'feature="signal"' --cfg 'feature="socket"' --cfg 'feature="term"' --cfg 'feature="time"' --cfg 'feature="ucontext"' --cfg 'feature="uio"' --cfg 'feature="user"' --cfg 'feature="zerocopy"' -C metadata=f76e2509de3fda3c -C extra-filename=-f76e2509de3fda3c --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-6661d73a29bf1c78.rmeta --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-567b18db5e64b918.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-eea32254f9225b64.rmeta --extern memoffset=/opt/rustwide/target/debug/deps/libmemoffset-2db6b10cb0e5544c.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0f88179952a34f78277a2d6cbd09f651577068b40716f8aa898c5773f63f8e0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f88179952a34f78277a2d6cbd09f651577068b40716f8aa898c5773f63f8e0c", kill_on_drop: false }` [INFO] [stdout] 0f88179952a34f78277a2d6cbd09f651577068b40716f8aa898c5773f63f8e0c