[INFO] fetching crate bitcoinleveldb-lru 0.1.16-alpha.0... [INFO] building bitcoinleveldb-lru-0.1.16-alpha.0 against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] extracting crate bitcoinleveldb-lru 0.1.16-alpha.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de0af28d31a8a5856195b49c4acc6275b1fe7cd682031b6f663b0697bbb96263 [INFO] running `Command { std: "docker" "start" "-a" "de0af28d31a8a5856195b49c4acc6275b1fe7cd682031b6f663b0697bbb96263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de0af28d31a8a5856195b49c4acc6275b1fe7cd682031b6f663b0697bbb96263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0af28d31a8a5856195b49c4acc6275b1fe7cd682031b6f663b0697bbb96263", kill_on_drop: false }` [INFO] [stdout] de0af28d31a8a5856195b49c4acc6275b1fe7cd682031b6f663b0697bbb96263 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ca2e33676c6a23e727c3aa6e284b75f3d944f84ab3477b5cf5d6c994b0c8f81 [INFO] running `Command { std: "docker" "start" "-a" "1ca2e33676c6a23e727c3aa6e284b75f3d944f84ab3477b5cf5d6c994b0c8f81", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.10 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpp_build v0.5.9 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling cpp_macros v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.53 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling qmetaobject_impl v0.2.10 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling qttypes v0.2.11 [INFO] [stderr] Compiling qmetaobject v0.2.10 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling try-catch v0.2.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.53 [INFO] [stderr] Compiling cpp v0.5.9 [INFO] [stderr] Compiling libevent-sys v0.2.6 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde-big-array v0.4.1 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling time v0.3.31 [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] Compiling bitcoin-imports v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-cfg v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoin-derive v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-slice v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-cache v0.1.16-alpha.0 [INFO] [stderr] Compiling bitcoinleveldb-lru v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | hash_: u32) -> *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lru_cache.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn insert(&mut self, h: *mut LRUHandle) -> *mut LRUHandle { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | hash_: u32) -> *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | hash_: u32) -> *mut *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:313:36 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn set_capacity(&mut self, capacity: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn ref_(&mut self, e: *mut LRUHandle) { [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/lru_cache.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn unref(&mut self, e: *mut LRUHandle) { [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/lru_cache.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn lru_remove(&mut self, e: *mut LRUHandle) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/lru_cache.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | list: *mut LRUHandle, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | e: *mut LRUHandle) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | hash_: u32) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn release(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | hash_: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lru_cache.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | value: *mut c_void, [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/lru_cache.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | charge: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleter` [INFO] [stdout] --> src/lru_cache.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | deleter: fn(key_: &Slice, value: *mut c_void) -> c_void) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:479:36 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn finish_erase(&mut self, e: *mut LRUHandle) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | hash_: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lru_cache.rs:531:33 [INFO] [stdout] | [INFO] [stdout] 531 | #[inline] pub fn hash_slice(s: &Slice) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:539:18 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn shard(hash_: u32) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:547:16 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | key_: &Slice, [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/lru_cache.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | value: *mut c_void, [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/lru_cache.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | charge: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleter` [INFO] [stdout] --> src/lru_cache.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | deleter: fn(key_: &Slice, value: *mut c_void) -> c_void) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:573:30 [INFO] [stdout] | [INFO] [stdout] 573 | pub fn lookup(&mut self, key_: &Slice) -> *mut CacheHandle { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:582:31 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn release(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:591:29 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn erase(&mut self, key_: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:600:29 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn value(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 640 | 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] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lru_cache.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct LRUHandle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 48 | [INFO] [stdout] 49 | value: *mut c_void, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | deleter: fn(_0: &Slice, value: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | [INFO] [stdout] 53 | next_hash: *mut LRUHandle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | next: *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | prev: *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | charge: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | key_length: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | in_cache: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | refs: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | hash: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | key_data: [u8; 1], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `elems`, and `list` are never read [INFO] [stdout] --> src/lru_cache.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct HandleTable { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | elems: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 121 | list: *mut *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capacity` and `mutex` are never read [INFO] [stdout] --> src/lru_cache.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct LRUCache { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | mutex: RefCell>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `usage`, `lru`, `in_use`, and `table` are never read [INFO] [stdout] --> src/lru_cache.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct LRUCacheInner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 265 | usage: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | lru: LRUHandle, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | in_use: LRUHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | [INFO] [stdout] 286 | table: HandleTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `shard`, `id_mutex`, and `last_id` are never read [INFO] [stdout] --> src/lru_cache.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct ShardedLRUCache { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 523 | base: Cache, [INFO] [stdout] | ^^^^ [INFO] [stdout] 524 | shard: [LRUCache; NUM_SHARDS], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 525 | id_mutex: parking_lot::RawMutex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 526 | last_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_lru_cache` is never used [INFO] [stdout] --> src/lru_cache.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 640 | pub fn new_lru_cache(capacity: usize) -> *mut Cache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "1ca2e33676c6a23e727c3aa6e284b75f3d944f84ab3477b5cf5d6c994b0c8f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca2e33676c6a23e727c3aa6e284b75f3d944f84ab3477b5cf5d6c994b0c8f81", kill_on_drop: false }` [INFO] [stdout] 1ca2e33676c6a23e727c3aa6e284b75f3d944f84ab3477b5cf5d6c994b0c8f81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7270c574d9bf65394234693d7e6c8839780a8294ec60538094e8e55812500fe4 [INFO] running `Command { std: "docker" "start" "-a" "7270c574d9bf65394234693d7e6c8839780a8294ec60538094e8e55812500fe4", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | hash_: u32) -> *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lru_cache.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn insert(&mut self, h: *mut LRUHandle) -> *mut LRUHandle { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | hash_: u32) -> *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | hash_: u32) -> *mut *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:313:36 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn set_capacity(&mut self, capacity: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn ref_(&mut self, e: *mut LRUHandle) { [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/lru_cache.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn unref(&mut self, e: *mut LRUHandle) { [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/lru_cache.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn lru_remove(&mut self, e: *mut LRUHandle) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/lru_cache.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | list: *mut LRUHandle, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | e: *mut LRUHandle) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | hash_: u32) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn release(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | hash_: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lru_cache.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | value: *mut c_void, [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/lru_cache.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | charge: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleter` [INFO] [stdout] --> src/lru_cache.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | deleter: fn(key_: &Slice, value: *mut c_void) -> c_void) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:479:36 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn finish_erase(&mut self, e: *mut LRUHandle) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | hash_: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lru_cache.rs:531:33 [INFO] [stdout] | [INFO] [stdout] 531 | #[inline] pub fn hash_slice(s: &Slice) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:539:18 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn shard(hash_: u32) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:547:16 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | key_: &Slice, [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/lru_cache.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | value: *mut c_void, [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/lru_cache.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | charge: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleter` [INFO] [stdout] --> src/lru_cache.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | deleter: fn(key_: &Slice, value: *mut c_void) -> c_void) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:573:30 [INFO] [stdout] | [INFO] [stdout] 573 | pub fn lookup(&mut self, key_: &Slice) -> *mut CacheHandle { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:582:31 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn release(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:591:29 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn erase(&mut self, key_: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:600:29 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn value(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 640 | 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] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lru_cache.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct LRUHandle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 48 | [INFO] [stdout] 49 | value: *mut c_void, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | deleter: fn(_0: &Slice, value: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | [INFO] [stdout] 53 | next_hash: *mut LRUHandle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | next: *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | prev: *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | charge: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | key_length: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | in_cache: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | refs: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | hash: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | key_data: [u8; 1], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `elems`, and `list` are never read [INFO] [stdout] --> src/lru_cache.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct HandleTable { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | elems: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 121 | list: *mut *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capacity` and `mutex` are never read [INFO] [stdout] --> src/lru_cache.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct LRUCache { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | mutex: RefCell>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `usage`, `lru`, `in_use`, and `table` are never read [INFO] [stdout] --> src/lru_cache.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct LRUCacheInner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 265 | usage: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | lru: LRUHandle, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | in_use: LRUHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | [INFO] [stdout] 286 | table: HandleTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoinleveldb-lru v0.1.16-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `base`, `shard`, `id_mutex`, and `last_id` are never read [INFO] [stdout] --> src/lru_cache.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct ShardedLRUCache { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 523 | base: Cache, [INFO] [stdout] | ^^^^ [INFO] [stdout] 524 | shard: [LRUCache; NUM_SHARDS], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 525 | id_mutex: parking_lot::RawMutex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 526 | last_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_lru_cache` is never used [INFO] [stdout] --> src/lru_cache.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 640 | pub fn new_lru_cache(capacity: usize) -> *mut Cache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | hash_: u32) -> *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/lru_cache.rs:159:30 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn insert(&mut self, h: *mut LRUHandle) -> *mut LRUHandle { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | hash_: u32) -> *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | hash_: u32) -> *mut *mut LRUHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:313:36 [INFO] [stdout] | [INFO] [stdout] 313 | pub fn set_capacity(&mut self, capacity: usize) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn ref_(&mut self, e: *mut LRUHandle) { [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/lru_cache.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn unref(&mut self, e: *mut LRUHandle) { [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/lru_cache.rs:375:34 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn lru_remove(&mut self, e: *mut LRUHandle) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/lru_cache.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | list: *mut LRUHandle, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | e: *mut LRUHandle) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | hash_: u32) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn release(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | hash_: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lru_cache.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | value: *mut c_void, [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/lru_cache.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | charge: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleter` [INFO] [stdout] --> src/lru_cache.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | deleter: fn(key_: &Slice, value: *mut c_void) -> c_void) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lru_cache.rs:479:36 [INFO] [stdout] | [INFO] [stdout] 479 | pub fn finish_erase(&mut self, e: *mut LRUHandle) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | key_: &Slice, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | hash_: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lru_cache.rs:531:33 [INFO] [stdout] | [INFO] [stdout] 531 | #[inline] pub fn hash_slice(s: &Slice) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_` [INFO] [stdout] --> src/lru_cache.rs:539:18 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn shard(hash_: u32) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:547:16 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capacity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | key_: &Slice, [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/lru_cache.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | value: *mut c_void, [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/lru_cache.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | charge: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_charge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleter` [INFO] [stdout] --> src/lru_cache.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | deleter: fn(key_: &Slice, value: *mut c_void) -> c_void) -> *mut CacheHandle { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:573:30 [INFO] [stdout] | [INFO] [stdout] 573 | pub fn lookup(&mut self, key_: &Slice) -> *mut CacheHandle { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:582:31 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn release(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_` [INFO] [stdout] --> src/lru_cache.rs:591:29 [INFO] [stdout] | [INFO] [stdout] 591 | pub fn erase(&mut self, key_: &Slice) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_key_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/lru_cache.rs:600:29 [INFO] [stdout] | [INFO] [stdout] 600 | pub fn value(&mut self, handle: *mut CacheHandle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capacity` [INFO] [stdout] --> src/lru_cache.rs:640:22 [INFO] [stdout] | [INFO] [stdout] 640 | 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] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lru_cache.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct LRUHandle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 48 | [INFO] [stdout] 49 | value: *mut c_void, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | deleter: fn(_0: &Slice, value: *mut c_void) -> c_void, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 52 | [INFO] [stdout] 53 | next_hash: *mut LRUHandle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | next: *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 55 | prev: *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | charge: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | [INFO] [stdout] 62 | key_length: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | in_cache: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | refs: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | hash: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | key_data: [u8; 1], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `elems`, and `list` are never read [INFO] [stdout] --> src/lru_cache.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct HandleTable { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | elems: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 121 | list: *mut *mut LRUHandle, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capacity` and `mutex` are never read [INFO] [stdout] --> src/lru_cache.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 250 | pub struct LRUCache { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 255 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | mutex: RefCell>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `usage`, `lru`, `in_use`, and `table` are never read [INFO] [stdout] --> src/lru_cache.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 264 | pub struct LRUCacheInner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 265 | usage: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | lru: LRUHandle, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | in_use: LRUHandle, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | [INFO] [stdout] 286 | table: HandleTable, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base`, `shard`, `id_mutex`, and `last_id` are never read [INFO] [stdout] --> src/lru_cache.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 522 | pub struct ShardedLRUCache { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 523 | base: Cache, [INFO] [stdout] | ^^^^ [INFO] [stdout] 524 | shard: [LRUCache; NUM_SHARDS], [INFO] [stdout] | ^^^^^ [INFO] [stdout] 525 | id_mutex: parking_lot::RawMutex, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 526 | last_id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_lru_cache` is never used [INFO] [stdout] --> src/lru_cache.rs:640:8 [INFO] [stdout] | [INFO] [stdout] 640 | pub fn new_lru_cache(capacity: usize) -> *mut Cache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "7270c574d9bf65394234693d7e6c8839780a8294ec60538094e8e55812500fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7270c574d9bf65394234693d7e6c8839780a8294ec60538094e8e55812500fe4", kill_on_drop: false }` [INFO] [stdout] 7270c574d9bf65394234693d7e6c8839780a8294ec60538094e8e55812500fe4 [INFO] building bitcoinleveldb-lru-0.1.16-alpha.0 against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] extracting crate bitcoinleveldb-lru 0.1.16-alpha.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 [INFO] finished tweaking crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 [INFO] tweaked toml for crates.io crate bitcoinleveldb-lru 0.1.16-alpha.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80cbb4809b27c3c659de1790cf059ac7a343b28ccf1a235c28928e82cd08f1d3 [INFO] running `Command { std: "docker" "start" "-a" "80cbb4809b27c3c659de1790cf059ac7a343b28ccf1a235c28928e82cd08f1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80cbb4809b27c3c659de1790cf059ac7a343b28ccf1a235c28928e82cd08f1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80cbb4809b27c3c659de1790cf059ac7a343b28ccf1a235c28928e82cd08f1d3", kill_on_drop: false }` [INFO] [stdout] 80cbb4809b27c3c659de1790cf059ac7a343b28ccf1a235c28928e82cd08f1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f68db9c9b8b3b75550ef2ec19ddf6c22a33b80e630cc3fcbc4d6d819551690c5 [INFO] running `Command { std: "docker" "start" "-a" "f68db9c9b8b3b75550ef2ec19ddf6c22a33b80e630cc3fcbc4d6d819551690c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [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 crossbeam-utils v0.8.18 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cpp_core v0.6.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling cpp_common v0.5.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam v0.8.3 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling pnet_sys v0.31.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling multiset v0.0.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling sqlite3-src v0.2.12 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling libc-stdhandle v0.1.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling atomic-take v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling time-point v0.1.1 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling atomic_float v0.1.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling sqlite3-sys v0.12.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling bitset v0.1.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling sqlite3 v0.24.0 [INFO] [stderr] Compiling sqlite v0.25.3 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/fe8f664b41f030f307cfeb6cb8c3a1419292aeed/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' -C metadata=ae6aa2c2f8052eb0 -C extra-filename=-ae6aa2c2f8052eb0 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-95abaf13eaff7f64.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-5f6dfde12cae4cc3.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-f8d62a079c79a15a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f68db9c9b8b3b75550ef2ec19ddf6c22a33b80e630cc3fcbc4d6d819551690c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f68db9c9b8b3b75550ef2ec19ddf6c22a33b80e630cc3fcbc4d6d819551690c5", kill_on_drop: false }` [INFO] [stdout] f68db9c9b8b3b75550ef2ec19ddf6c22a33b80e630cc3fcbc4d6d819551690c5