[INFO] fetching crate bitcoinleveldb-cache 0.1.16-alpha.0...
[INFO] checking bitcoinleveldb-cache-0.1.16-alpha.0 against master#e59540968e0c6fc3c37d92a639b83fc8fcee5e81 for pr-114559
[INFO] extracting crate bitcoinleveldb-cache 0.1.16-alpha.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate bitcoinleveldb-cache 0.1.16-alpha.0 on toolchain e59540968e0c6fc3c37d92a639b83fc8fcee5e81
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bitcoinleveldb-cache 0.1.16-alpha.0
[INFO] finished tweaking crates.io crate bitcoinleveldb-cache 0.1.16-alpha.0
[INFO] tweaked toml for crates.io crate bitcoinleveldb-cache 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" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "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" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "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-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2e00d8856064a111e6072d4524346a30a798a8cf49dcc2227daf75acb37168a6
[INFO] running `Command { std: "docker" "start" "-a" "2e00d8856064a111e6072d4524346a30a798a8cf49dcc2227daf75acb37168a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2e00d8856064a111e6072d4524346a30a798a8cf49dcc2227daf75acb37168a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e00d8856064a111e6072d4524346a30a798a8cf49dcc2227daf75acb37168a6", kill_on_drop: false }`
[INFO] [stdout] 2e00d8856064a111e6072d4524346a30a798a8cf49dcc2227daf75acb37168a6
[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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1347abf2da4e0128516fa1170e650d70596e6f758f251e6adf5adfd0b6c12d12
[INFO] running `Command { std: "docker" "start" "-a" "1347abf2da4e0128516fa1170e650d70596e6f758f251e6adf5adfd0b6c12d12", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking libc v0.2.147
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]    Compiling object v0.31.1
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.104
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling cpp_common v0.5.8
[INFO] [stderr]    Compiling regex v1.9.3
[INFO] [stderr]    Compiling sqlite3-src v0.2.12
[INFO] [stderr]    Compiling openssl-sys v0.9.91
[INFO] [stderr]    Compiling qt_macros v0.1.1
[INFO] [stderr]    Compiling libc-stdhandle v0.1.0
[INFO] [stderr]    Compiling phf_macros v0.10.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]    Compiling qmetaobject_impl v0.2.9
[INFO] [stderr]    Compiling modular-bitfield-impl v0.11.2
[INFO] [stderr]    Compiling sqlite3-sys v0.12.0
[INFO] [stderr]    Compiling deranged v0.3.7
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling cpp_build v0.5.8
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling cpp_macros v0.5.8
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling bindgen v0.60.1
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling delegate v0.7.0
[INFO] [stderr]    Compiling try-catch v0.2.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling time-core v0.1.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling poison v0.1.0
[INFO] [stderr]    Compiling time v0.3.25
[INFO] [stderr]    Compiling shared-mutex v0.3.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling qttypes v0.2.9
[INFO] [stderr]    Compiling qmetaobject v0.2.9
[INFO] [stderr]    Compiling quanta v0.9.3
[INFO] [stderr]    Compiling phf v0.10.1
[INFO] [stderr]    Compiling modular-bitfield v0.11.2
[INFO] [stderr]    Compiling thiserror v1.0.44
[INFO] [stderr]    Compiling crossbeam v0.8.2
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling sqlite v0.25.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-complex v0.4.3
[INFO] [stderr]    Compiling sqlite3 v0.24.0
[INFO] [stderr]    Compiling priority-queue v1.3.2
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling serde-big-array v0.4.1
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling errno v0.2.8
[INFO] [stderr]    Compiling pnet_sys v0.31.0
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling atomic-take v1.1.0
[INFO] [stderr]    Compiling multiset v0.0.5
[INFO] [stderr]    Compiling float-ord v0.3.2
[INFO] [stderr]    Compiling bitset v0.1.2
[INFO] [stderr]    Compiling integer-encoding v3.0.4
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling const-default v1.0.0
[INFO] [stderr]    Compiling time-point v0.1.1
[INFO] [stderr]    Compiling cpp v0.5.8
[INFO] [stderr]    Compiling comparator v0.3.0
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling atomic_float v0.1.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking serde v1.0.183
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking memoffset v0.9.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.15
[INFO] [stderr]     Checking cpp_core v0.6.0
[INFO] [stderr]     Checking phf_shared v0.10.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking raw-cpuid v10.7.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking crossbeam-queue v0.3.8
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking indexmap v1.9.3
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling ritual_common v0.4.0
[INFO] [stderr]    Compiling qt_ritual_common v0.4.0
[INFO] [stderr]    Compiling ritual_build v0.4.0
[INFO] [stderr]    Compiling qt_ritual_build v0.5.0
[INFO] [stderr]    Compiling qt_core v0.5.0
[INFO] [stderr]    Compiling qt_gui v0.5.0
[INFO] [stderr]    Compiling libevent-sys v0.2.6
[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-cache v0.1.16-alpha.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `bitcoin_derive::*`
[INFO] [stdout]  --> src/imports.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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 import: `bitcoin_derive::*`
[INFO] [stdout]  --> src/imports.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) use bitcoin_derive::*;
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `capacity`
[INFO] [stdout]    --> src/cache.rs:160:22
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub fn new_lru_cache(capacity: usize) -> *mut Cache {
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `capacity`
[INFO] [stdout]    --> src/cache.rs:160:22
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub fn new_lru_cache(capacity: usize) -> *mut Cache {
[INFO] [stdout]     |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/cache.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn lru_remove(&mut self, e: *mut CacheHandle)  {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/cache.rs:209:34
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub fn lru_append(&mut self, e: *mut CacheHandle)  {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/cache.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |     pub fn lru_remove(&mut self, e: *mut CacheHandle)  {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/cache.rs:217:29
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn unref(&mut self, e: *mut CacheHandle)  {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/cache.rs:209:34
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub fn lru_append(&mut self, e: *mut CacheHandle)  {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/cache_test.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn encode_key(k: i32) -> String {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/cache_test.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn decode_key(k: &Slice) -> i32 {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/cache.rs:217:29
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn unref(&mut self, e: *mut CacheHandle)  {
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/cache_test.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn encode_value(v: libc::uintptr_t)  {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/cache_test.rs:12:15
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn encode_key(k: i32) -> String {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/cache_test.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode_value(v: *mut c_void) -> i32 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> src/cache_test.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn decode_key(k: &Slice) -> i32 {
[INFO] [stdout]    |               ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/cache_test.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn encode_value(v: libc::uintptr_t)  {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/cache_test.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode_value(v: *mut c_void) -> i32 {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]   --> src/cache_test.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         key_: &Slice,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/cache_test.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         v:   *mut c_void)  {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn lookup(&mut self, key_: i32) -> i32 {
[INFO] [stdout]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]   --> src/cache_test.rs:91:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         key_: &Slice,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/cache_test.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         v:   *mut c_void)  {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `charge`
[INFO] [stdout]    --> src/cache_test.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let charge: i32 = charge.unwrap_or(1);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |     fn lookup(&mut self, key_: i32) -> i32 {
[INFO] [stdout]     |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `charge`
[INFO] [stdout]    --> src/cache_test.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let charge: i32 = charge.unwrap_or(1);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         key_:    i32,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         key_:    i32,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/cache_test.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         value:  i32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/cache_test.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         value:  i32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `charge`
[INFO] [stdout]    --> src/cache_test.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let charge: i32 = charge.unwrap_or(1);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         key_:   i32,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `charge`
[INFO] [stdout]    --> src/cache_test.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let charge: i32 = charge.unwrap_or(1);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         key_:   i32,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/cache_test.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         value:  i32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn erase(&mut self, key_: i32)  {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]    --> src/cache_test.rs:129:9
[INFO] [stdout]     |
[INFO] [stdout] 129 |         value:  i32,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `argc`
[INFO] [stdout]    --> src/cache_test.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |         argc: i32,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_argc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_`
[INFO] [stdout]    --> src/cache_test.rs:140:25
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn erase(&mut self, key_: i32)  {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_key_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `argv`
[INFO] [stdout]    --> src/cache_test.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         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: field `rep` is never read
[INFO] [stdout]    --> src/cache.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Cache {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 180 |     rep: Rc<RefCell<CacheRep>>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_key` is never used
[INFO] [stdout]   --> src/cache_test.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn encode_key(k: i32) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_key` is never used
[INFO] [stdout]   --> src/cache_test.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn decode_key(k: &Slice) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_value` is never used
[INFO] [stdout]   --> src/cache_test.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn encode_value(v: libc::uintptr_t)  {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_value` is never used
[INFO] [stdout]   --> src/cache_test.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode_value(v: *mut c_void) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `deleted_keys`, `deleted_values`, and `cache` are never read
[INFO] [stdout]   --> src/cache_test.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct CacheTest {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 49 |     deleted_keys:   Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 50 |     deleted_values: Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     cache:          *mut Cache,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `deleter`, `lookup`, `insert`, `insert_and_return_handle`, and `erase` are never used
[INFO] [stdout]    --> src/cache_test.rs:90:8
[INFO] [stdout]     |
[INFO] [stdout] 88  | impl CacheTest {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 89  |
[INFO] [stdout] 90  |     fn deleter(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn lookup(&mut self, key_: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn insert(&mut self, 
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn insert_and_return_handle(&mut self, 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn erase(&mut self, key_: i32)  {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testcache_test_main` is never used
[INFO] [stdout]    --> src/cache_test.rs:351:4
[INFO] [stdout]     |
[INFO] [stdout] 351 | fn testcache_test_main (
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CACHE_SIZE` is never used
[INFO] [stdout]   --> src/cache_test.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub const CACHE_SIZE: i32 = 1000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `argc`
[INFO] [stdout]    --> src/cache_test.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |         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/cache_test.rs:353:9
[INFO] [stdout]     |
[INFO] [stdout] 353 |         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: field `rep` is never read
[INFO] [stdout]    --> src/cache.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 179 | pub struct Cache {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] 180 |     rep: Rc<RefCell<CacheRep>>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_key` is never used
[INFO] [stdout]   --> src/cache_test.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn encode_key(k: i32) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_key` is never used
[INFO] [stdout]   --> src/cache_test.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn decode_key(k: &Slice) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_value` is never used
[INFO] [stdout]   --> src/cache_test.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn encode_value(v: libc::uintptr_t)  {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_value` is never used
[INFO] [stdout]   --> src/cache_test.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn decode_value(v: *mut c_void) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `deleted_keys`, `deleted_values`, and `cache` are never read
[INFO] [stdout]   --> src/cache_test.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct CacheTest {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 49 |     deleted_keys:   Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 50 |     deleted_values: Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 51 |     cache:          *mut Cache,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `deleter`, `lookup`, `insert`, `insert_and_return_handle`, and `erase` are never used
[INFO] [stdout]    --> src/cache_test.rs:90:8
[INFO] [stdout]     |
[INFO] [stdout] 88  | impl CacheTest {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 89  |
[INFO] [stdout] 90  |     fn deleter(
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn lookup(&mut self, key_: i32) -> i32 {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn insert(&mut self, 
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn insert_and_return_handle(&mut self, 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     fn erase(&mut self, key_: i32)  {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `testcache_test_main` is never used
[INFO] [stdout]    --> src/cache_test.rs:351:4
[INFO] [stdout]     |
[INFO] [stdout] 351 | fn testcache_test_main (
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CACHE_SIZE` is never used
[INFO] [stdout]   --> src/cache_test.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pub const CACHE_SIZE: i32 = 1000;
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 30 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "1347abf2da4e0128516fa1170e650d70596e6f758f251e6adf5adfd0b6c12d12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1347abf2da4e0128516fa1170e650d70596e6f758f251e6adf5adfd0b6c12d12", kill_on_drop: false }`
[INFO] [stdout] 1347abf2da4e0128516fa1170e650d70596e6f758f251e6adf5adfd0b6c12d12
