[INFO] cloning repository https://github.com/tetcoin/subdb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tetcoin/subdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubdb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubdb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 353bd49a95e618641b552fe890b272f0feb6d752
[INFO] checking tetcoin/subdb against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubdb" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tetcoin/subdb
[INFO] finished tweaking git repo https://github.com/tetcoin/subdb
[INFO] tweaked toml for git repo https://github.com/tetcoin/subdb written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tetcoin/subdb on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tetcoin/subdb already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "fetch" "--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] [stderr]     Updating git repository `https://github.com/paritytech/substrate`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded twox-hash v1.5.0
[INFO] [stderr]   Downloaded getrandom v0.1.14
[INFO] [stderr]   Downloaded smallvec v1.2.0
[INFO] [stderr]   Downloaded parking_lot v0.10.0
[INFO] [stderr]   Downloaded parking_lot_core v0.7.0
[INFO] [stderr]   Downloaded parity-util-mem-derive v0.1.0
[INFO] [stderr]   Downloaded autocfg v1.0.0
[INFO] [stderr]   Downloaded termcolor v1.1.0
[INFO] [stderr]   Downloaded serde v1.0.105
[INFO] [stderr]   Downloaded parity-scale-codec-derive v1.2.0
[INFO] [stderr]   Downloaded memmap v0.7.0
[INFO] [stderr]   Downloaded redox_users v0.3.4
[INFO] [stderr]   Downloaded winapi-util v0.1.3
[INFO] [stderr]   Downloaded num_cpus v1.12.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.60
[INFO] [stderr]   Downloaded oorandom v11.1.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.10
[INFO] [stderr]   Downloaded proc-macro-crate v0.1.4
[INFO] [stderr]   Downloaded radium v0.3.0
[INFO] [stderr]   Downloaded impl-trait-for-tuples v0.1.3
[INFO] [stderr]   Downloaded dirs v2.0.2
[INFO] [stderr]   Downloaded cast v0.2.3
[INFO] [stderr]   Downloaded rust-argon2 v0.7.0
[INFO] [stderr]   Downloaded num-integer v0.1.42
[INFO] [stderr]   Downloaded either v1.5.3
[INFO] [stderr]   Downloaded hash-db v0.15.2
[INFO] [stderr]   Downloaded tinytemplate v1.0.3
[INFO] [stderr]   Downloaded kvdb v0.5.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.60
[INFO] [stderr]   Downloaded itoa v0.4.5
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.1
[INFO] [stderr]   Downloaded parity-util-mem v0.6.0
[INFO] [stderr]   Downloaded hex v0.4.2
[INFO] [stderr]   Downloaded memoffset v0.5.4
[INFO] [stderr]   Downloaded blake2-rfc v0.2.18
[INFO] [stderr]   Downloaded memchr v2.3.3
[INFO] [stderr]   Downloaded walkdir v2.3.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.60
[INFO] [stderr]   Downloaded criterion-plot v0.4.1
[INFO] [stderr]   Downloaded unicode-width v0.1.7
[INFO] [stderr]   Downloaded term v0.6.1
[INFO] [stderr]   Downloaded blake2b_simd v0.5.10
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded byte-slice-cast v0.3.5
[INFO] [stderr]   Downloaded serde_derive v1.0.105
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.60
[INFO] [stderr]   Downloaded lock_api v0.3.3
[INFO] [stderr]   Downloaded parity-scale-codec v1.3.0
[INFO] [stderr]   Downloaded ryu v1.0.3
[INFO] [stderr]   Downloaded serde_json v1.0.50
[INFO] [stderr]   Downloaded toml v0.5.6
[INFO] [stderr]   Downloaded derive_more v0.99.5
[INFO] [stderr]   Downloaded rayon-core v1.7.0
[INFO] [stderr]   Downloaded js-sys v0.3.37
[INFO] [stderr]   Downloaded aho-corasick v0.7.10
[INFO] [stderr]   Downloaded itertools v0.8.2
[INFO] [stderr]   Downloaded criterion v0.3.1
[INFO] [stderr]   Downloaded bumpalo v3.2.1
[INFO] [stderr]   Downloaded chrono v0.4.11
[INFO] [stderr]   Downloaded bitvec v0.17.4
[INFO] [stderr]   Downloaded rayon v1.3.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.60
[INFO] [stderr]   Downloaded regex v1.3.6
[INFO] [stderr]   Downloaded regex-syntax v0.6.17
[INFO] [stderr]   Downloaded bstr v0.2.12
[INFO] [stderr]   Downloaded web-sys v0.3.37
[INFO] [stderr]   Downloaded csv v1.1.3
[INFO] [stderr]   Downloaded plotters v0.2.12
[INFO] [stderr]   Downloaded simplelog v0.7.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40
[INFO] running `Command { std: "docker" "start" "537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling serde v1.0.105
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking smallvec v1.2.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking lock_api v0.3.3
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking radium v0.3.0
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking bitvec v0.17.4
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking itertools v0.8.2
[INFO] [stderr]     Checking byte-slice-cast v0.3.5
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking parking_lot_core v0.7.0
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking term v0.6.1
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking parking_lot v0.10.0
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking hash-db v0.15.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking oorandom v11.1.0
[INFO] [stderr]     Checking plotters v0.2.12
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking hex v0.4.2
[INFO] [stderr]     Checking criterion-plot v0.4.1
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking twox-hash v1.5.0
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking simplelog v0.7.5
[INFO] [stderr]     Checking regex v1.3.6
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]     Checking serde_json v1.0.50
[INFO] [stderr]     Checking bstr v0.2.12
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]    Compiling proc-macro-crate v0.1.4
[INFO] [stderr]     Checking tinytemplate v1.0.3
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.1.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v1.2.0
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]    Compiling serde_derive v1.0.105
[INFO] [stderr]    Compiling parity-util-mem-derive v0.1.0
[INFO] [stderr]     Checking parity-scale-codec v1.3.0
[INFO] [stderr]     Checking parity-util-mem v0.6.0
[INFO] [stderr]     Checking kvdb v0.5.0
[INFO] [stderr]     Checking sp-database v2.0.0-alpha.5 (https://github.com/paritytech/substrate?branch=gav-db-trait#ad4b0107)
[INFO] [stderr]     Checking criterion v0.3.1
[INFO] [stderr]     Checking subdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/content_address.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode)]
[INFO] [stdout]   |                                                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/content_address.rs:6:63
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode)]
[INFO] [stdout]   |                                                               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/table.rs:49:23
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Clone, Copy, Encode, Decode, Debug)]
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/table.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Clone, Copy, Encode, Decode, Debug)]
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]    --> src/index.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 124 |             17..=32 => u32::from_le_bytes(hash[..4].try_into().expect("hash len must be >=4")) as usize,
[INFO] [stdout]     |             ------- this range overlaps on `32_usize`...
[INFO] [stdout] 125 |             32..=64 => u64::from_le_bytes(hash[..8].try_into().expect("hash len must be >=8")) as usize,
[INFO] [stdout]     |             ^^^^^^^ ... with this range
[INFO] [stdout]     |
[INFO] [stdout]     = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]     = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Blake2Output` is never constructed
[INFO] [stdout]   --> src/types.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Blake2Output<T>(pub T);
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/content.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn item_ref(&self, address: &ContentAddress, check_hash: Option<&K>) -> Result<MappedRwLockReadGuard<[u8]>, ()> {
[INFO] [stdout]    |                     ^^^^^ the lifetime is elided here                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn item_ref(&self, address: &ContentAddress, check_hash: Option<&K>) -> Result<MappedRwLockReadGuard<'_, [u8]>, ()> {
[INFO] [stdout]    |                                                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/database.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub fn get_ref(&self, hash: &K) -> Option<MappedRwLockReadGuard<[u8]>> {
[INFO] [stdout]     |                    ^^^^^                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub fn get_ref(&self, hash: &K) -> Option<MappedRwLockReadGuard<'_, [u8]>> {
[INFO] [stdout]     |                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/table.rs:270:19
[INFO] [stdout]     |
[INFO] [stdout] 270 | ...pped(&self, i: TableItemIndex, create: Option<u64>) -> Result<RwLockUpgradableReadGuard<Vec<Option<(MmapMut, LruIndex)>>>, ()> {
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn ensure_mapped(&self, i: TableItemIndex, create: Option<u64>) -> Result<RwLockUpgradableReadGuard<'_, Vec<Option<(MmapMut, LruIndex)>>>, ()> {
[INFO] [stdout]     |                                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/table.rs:275:39
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let maps = if maps.get(i).ok_or(())?.deref().is_some() {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Option<(MmapMut, Atomic<u64>)>` does not implement `Deref`, so calling `deref` on `&Option<(MmapMut, Atomic<u64>)>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 275 -         let maps = if maps.get(i).ok_or(())?.deref().is_some() {
[INFO] [stdout] 275 +         let maps = if maps.get(i).ok_or(())?.is_some() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0438]: const `SIZE` is not a member of trait `KeyType`
[INFO] [stdout]   --> benches/my_benchmark.rs:13:2
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const SIZE: usize = 32;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `KeyType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `from_data` is not a member of trait `KeyType`
[INFO] [stdout]   --> benches/my_benchmark.rs:14:2
[INFO] [stdout]    |
[INFO] [stdout] 14 | /     fn from_data(data: &[u8]) -> Self {
[INFO] [stdout] 15 | |         let mut key = [0u8; 32];
[INFO] [stdout] 16 | |         let mut h = XxHash64::with_seed(0);
[INFO] [stdout] 17 | |         h.write(data);
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         Self(key)
[INFO] [stdout] 24 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `KeyType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> benches/my_benchmark.rs:9:49
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Encode, Decode, Debug)]
[INFO] [stdout]   |                                                 ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> benches/my_benchmark.rs:9:57
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Encode, Decode, Debug)]
[INFO] [stdout]   |                                                         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/content_address.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode)]
[INFO] [stdout]   |                                                       ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/content_address.rs:6:63
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Encode, Decode)]
[INFO] [stdout]   |                                                               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/table.rs:49:23
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Clone, Copy, Encode, Decode, Debug)]
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/table.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Clone, Copy, Encode, Decode, Debug)]
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Xx256: Default` is not satisfied
[INFO] [stdout]   --> benches/my_benchmark.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl KeyType for Xx256 {
[INFO] [stdout]    |                  ^^^^^ the trait `Default` is not implemented for `Xx256`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `KeyType`
[INFO] [stdout]   --> src/types.rs:8:48
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait KeyType: AsRef<[u8]> + AsMut<[u8]> + Default + Eq + PartialEq + Clone + Debug + Send + Sync {}
[INFO] [stdout]    |                                                ^^^^^^^ required by this bound in `KeyType`
[INFO] [stdout] help: consider annotating `Xx256` with `#[derive(Default)]`
[INFO] [stdout]    |
[INFO] [stdout] 10 + #[derive(Default)]
[INFO] [stdout] 11 | struct Xx256([u8; 32]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_data` found for array `[u8; 32]` in the current scope
[INFO] [stdout]   --> benches/my_benchmark.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let key = <[u8; 32]>::from_data(data.as_bytes());
[INFO] [stdout]    |                               ^^^^^^^^^ associated function or constant not found in `[u8; 32]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0407, E0438, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `subdb` (bench "my_benchmark") due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: multiple patterns overlap on their endpoints
[INFO] [stdout]    --> src/index.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 124 |             17..=32 => u32::from_le_bytes(hash[..4].try_into().expect("hash len must be >=4")) as usize,
[INFO] [stdout]     |             ------- this range overlaps on `32_usize`...
[INFO] [stdout] 125 |             32..=64 => u64::from_le_bytes(hash[..8].try_into().expect("hash len must be >=8")) as usize,
[INFO] [stdout]     |             ^^^^^^^ ... with this range
[INFO] [stdout]     |
[INFO] [stdout]     = note: you likely meant to write mutually exclusive ranges
[INFO] [stdout]     = note: `#[warn(overlapping_range_endpoints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/content.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn item_ref(&self, address: &ContentAddress, check_hash: Option<&K>) -> Result<MappedRwLockReadGuard<[u8]>, ()> {
[INFO] [stdout]    |                     ^^^^^ the lifetime is elided here                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn item_ref(&self, address: &ContentAddress, check_hash: Option<&K>) -> Result<MappedRwLockReadGuard<'_, [u8]>, ()> {
[INFO] [stdout]    |                                                                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/database.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub fn get_ref(&self, hash: &K) -> Option<MappedRwLockReadGuard<[u8]>> {
[INFO] [stdout]     |                    ^^^^^                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub fn get_ref(&self, hash: &K) -> Option<MappedRwLockReadGuard<'_, [u8]>> {
[INFO] [stdout]     |                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/table.rs:270:19
[INFO] [stdout]     |
[INFO] [stdout] 270 | ...pped(&self, i: TableItemIndex, create: Option<u64>) -> Result<RwLockUpgradableReadGuard<Vec<Option<(MmapMut, LruIndex)>>>, ()> {
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn ensure_mapped(&self, i: TableItemIndex, create: Option<u64>) -> Result<RwLockUpgradableReadGuard<'_, Vec<Option<(MmapMut, LruIndex)>>>, ()> {
[INFO] [stdout]     |                                                                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/table.rs:275:39
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let maps = if maps.get(i).ok_or(())?.deref().is_some() {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Option<(MmapMut, Atomic<u64>)>` does not implement `Deref`, so calling `deref` on `&Option<(MmapMut, Atomic<u64>)>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 275 -         let maps = if maps.get(i).ok_or(())?.deref().is_some() {
[INFO] [stdout] 275 +         let maps = if maps.get(i).ok_or(())?.is_some() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40", kill_on_drop: false }`
[INFO] [stdout] 537a38ba6c7b0c0428da493bdc437f919c7642719d97accb3372111fbad6af40
