[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 master#5257aee7dd163d21d32fa904578d4fb0f4c91b79 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubdb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tetcoin/subdb on toolchain 5257aee7dd163d21d32fa904578d4fb0f4c91b79 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+5257aee7dd163d21d32fa904578d4fb0f4c91b79" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tetcoin/subdb against try#d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubdb" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tetcoin/subdb on toolchain d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/paritytech/substrate` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tetcoin/subdb against try#d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 for pr-116494-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetcoin%2Fsubdb" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tetcoin/subdb on toolchain d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kvdb v0.5.0 [INFO] [stderr] Downloaded simplelog v0.7.5 [INFO] [stderr] Downloaded parity-util-mem v0.6.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.2.0 [INFO] [stderr] Downloaded parity-scale-codec v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1291b9bac6496836038083a7814e6317d73cc81b47a9b891495e1594e28a6c2 [INFO] running `Command { std: "docker" "start" "-a" "f1291b9bac6496836038083a7814e6317d73cc81b47a9b891495e1594e28a6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1291b9bac6496836038083a7814e6317d73cc81b47a9b891495e1594e28a6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1291b9bac6496836038083a7814e6317d73cc81b47a9b891495e1594e28a6c2", kill_on_drop: false }` [INFO] [stdout] f1291b9bac6496836038083a7814e6317d73cc81b47a9b891495e1594e28a6c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d614ed876e31a5f3ad1d0fbf848fcdab3a29d1d8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0632b6c5948fb99a3afe722e14174ebf3c2a85d04681327b7bb02e1fa4e343ea [INFO] running `Command { std: "docker" "start" "-a" "0632b6c5948fb99a3afe722e14174ebf3c2a85d04681327b7bb02e1fa4e343ea", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [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] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rayon-core v1.7.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] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking simplelog v0.7.5 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling derive_more v0.99.5 [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 subdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `sp_database` is imported redundantly [INFO] [stdout] --> src/safe_database.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use sp_database::{self, ColumnId}; [INFO] [stdout] | ^^^^ the item `sp_database` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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, AtomicU64)>` does not implement `Deref`, so calling `deref` on `&Option<(MmapMut, AtomicU64)>` 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] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.1 [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: the item `sp_database` is imported redundantly [INFO] [stdout] --> src/safe_database.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use sp_database::{self, ColumnId}; [INFO] [stdout] | ^^^^ the item `sp_database` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/table.rs:575:6 [INFO] [stdout] | [INFO] [stdout] 574 | use super::*; [INFO] [stdout] | -------- the item `PathBuf` is already imported here [INFO] [stdout] 575 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] --> /opt/rustwide/workdir/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 function or associated item 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] | ^^^^^^^^^ function or associated item not found in `[u8; 32]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [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] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [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, AtomicU64)>` does not implement `Deref`, so calling `deref` on `&Option<(MmapMut, AtomicU64)>` 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[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:71:37 [INFO] [stdout] | [INFO] [stdout] 71 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/my_benchmark.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | db.insert(data.as_ref(), Some(k.clone())); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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 31 previous errors [INFO] running `Command { std: "docker" "inspect" "0632b6c5948fb99a3afe722e14174ebf3c2a85d04681327b7bb02e1fa4e343ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0632b6c5948fb99a3afe722e14174ebf3c2a85d04681327b7bb02e1fa4e343ea", kill_on_drop: false }` [INFO] [stdout] 0632b6c5948fb99a3afe722e14174ebf3c2a85d04681327b7bb02e1fa4e343ea