[INFO] cloning repository https://github.com/entropy-tamer/kv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/entropy-tamer/kv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentropy-tamer%2Fkv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentropy-tamer%2Fkv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bc26ebd32fd03fbf27bd38324a4e6202a4fcf8c [INFO] checking entropy-tamer/kv/0bc26ebd32fd03fbf27bd38324a4e6202a4fcf8c against master#ff086354c9fc93e1da1d2f4d255456624fbcd099 for pr-153513 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fentropy-tamer%2Fkv" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/entropy-tamer/kv [INFO] finished tweaking git repo https://github.com/entropy-tamer/kv [INFO] tweaked toml for git repo https://github.com/entropy-tamer/kv written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/entropy-tamer/kv on toolchain ff086354c9fc93e1da1d2f4d255456624fbcd099 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/entropy-tamer/kv 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" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding foldhash v0.2.0 [INFO] [stderr] Updating rand v0.8.5 -> v0.9.2 (available: v0.10.0) [INFO] [stderr] Updating rand_chacha v0.3.1 -> v0.9.0 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded half v2.7.0 [INFO] [stderr] Downloaded pyo3-macros v0.27.1 [INFO] [stderr] Downloaded pyo3-build-config v0.27.1 [INFO] [stderr] Downloaded pyo3-async-runtimes v0.27.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.7 [INFO] [stderr] Downloaded regex v1.12.1 [INFO] [stderr] Downloaded pyo3-ffi v0.27.1 [INFO] [stderr] Downloaded pyo3-macros-backend v0.27.1 [INFO] [stderr] Downloaded aws-lc-rs v1.14.1 [INFO] [stderr] Downloaded regex-syntax v0.8.7 [INFO] [stderr] Downloaded redis v0.32.7 [INFO] [stderr] Downloaded rustls v0.23.34 [INFO] [stderr] Downloaded regex-automata v0.4.12 [INFO] [stderr] Downloaded pyo3 v0.27.1 [INFO] [stderr] Downloaded aws-lc-sys v0.32.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23f9b79579a8f01b52f1bd9eaf2451d9fb47b03c1656a22cd00ad04e6dce15d8 [INFO] running `Command { std: "docker" "start" "-a" "23f9b79579a8f01b52f1bd9eaf2451d9fb47b03c1656a22cd00ad04e6dce15d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23f9b79579a8f01b52f1bd9eaf2451d9fb47b03c1656a22cd00ad04e6dce15d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f9b79579a8f01b52f1bd9eaf2451d9fb47b03c1656a22cd00ad04e6dce15d8", kill_on_drop: false }` [INFO] [stdout] 23f9b79579a8f01b52f1bd9eaf2451d9fb47b03c1656a22cd00ad04e6dce15d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ff086354c9fc93e1da1d2f4d255456624fbcd099" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 518b3a37f27e154c7b13e52fe4fe5b47fc43bd261c0cb23a6f0dc6e093d4415d [INFO] running `Command { std: "docker" "start" "-a" "518b3a37f27e154c7b13e52fe4fe5b47fc43bd261c0cb23a6f0dc6e093d4415d", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Compiling pyo3-build-config v0.27.1 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking regex-syntax v0.8.7 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling rustls v0.23.34 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking yaml-rust2 v0.10.4 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking regex-automata v0.4.12 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.32.3 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Compiling pyo3-ffi v0.27.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.1 [INFO] [stderr] Compiling pyo3 v0.27.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking regex v1.12.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling pyo3-macros v0.27.1 [INFO] [stderr] Checking config v0.15.18 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking kv-core v0.1.1 (/opt/rustwide/workdir/kv-core) [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking pyo3-async-runtimes v0.27.0 [INFO] [stderr] Checking rustls-webpki v0.103.7 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking redis v0.32.7 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.6 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking kv-client v0.1.1 (/opt/rustwide/workdir/kv-client) [INFO] [stdout] warning: type `HealthResponse` is more private than the item `Client::health` [INFO] [stdout] --> kv-client/src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub async fn health(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Client::health` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HealthResponse` is only usable at visibility `pub(crate)` [INFO] [stdout] --> kv-client/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | struct HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `database_id`, `key`, and `found` are never read [INFO] [stdout] --> kv-client/src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct GetResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 90 | database_id: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 92 | value: Option, [INFO] [stdout] 93 | found: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `service` are never read [INFO] [stdout] --> kv-client/src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct HealthResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 98 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | service: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `HealthResponse` is more private than the item `Client::health` [INFO] [stdout] --> kv-client/src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | pub async fn health(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Client::health` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `HealthResponse` is only usable at visibility `pub(crate)` [INFO] [stdout] --> kv-client/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | struct HealthResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `database_id`, `key`, and `found` are never read [INFO] [stdout] --> kv-client/src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct GetResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 90 | database_id: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 91 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 92 | value: Option, [INFO] [stdout] 93 | found: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `service` are never read [INFO] [stdout] --> kv-client/src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct HealthResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 98 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 99 | service: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kv-python v0.1.1 (/opt/rustwide/workdir/kv-python) [INFO] [stderr] Checking kv-server v0.1.1 (/opt/rustwide/workdir/kv-server) [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> kv-core/benches/encryption.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | KVEngine, KVConfig, PersistenceMode, Key, Value, DatabaseId, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | black_box(keys); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | black_box(encrypted); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | black_box(decrypted); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | black_box(keys); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | black_box(encrypted); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | black_box(decrypted); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | black_box(encrypted); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | black_box(decrypted); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | black_box(new_key); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | black_box(new_key); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/encryption.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let data = vec![0u8; *size]; [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let data = vec![0u8; *size]; [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | for _i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | for _i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | for _i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | for _i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | KVEngine, KVConfig, PersistenceMode, Key, Value, DatabaseId, TTL [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | black_box(stats); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | black_box(stats.memory_usage); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> kv-core/benches/storage_backends.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | KVEngine, KVConfig, PersistenceMode, Key, Value, DatabaseId [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let ttl = TTL::from_secs(3600); // 1 hour [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 41 - let ttl = TTL::from_secs(3600); // 1 hour [INFO] [stdout] 41 + let ttl = TTL::from_be(3600); // 1 hour [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/storage_backends.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/storage_backends.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/storage_backends.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/storage_backends.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/storage_backends.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | black_box(stats.memory_usage); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/simple_bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/simple_bench.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/simple_bench.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/simple_bench.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/simple_bench.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: From<&&str>` is not satisfied [INFO] [stdout] --> kv-core/benches/storage_backends.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 32 | group.bench_with_input(BenchmarkId::new(name, size), size, |b, &size| { [INFO] [stdout] | ---------------- ^^^^ the trait `From<&&str>` is not implemented for `std::string::String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: consider casting the `&&str` value to `&str` [INFO] [stdout] = note: required for `&&str` to implement `Into` [INFO] [stdout] note: required by a bound in `BenchmarkId::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.7.0/src/benchmark_group.rs:437:19 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn new, P: ::std::fmt::Display>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `BenchmarkId::new` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 32 | group.bench_with_input(BenchmarkId::new(*name, size), size, |b, &size| { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let ttl = TTL::from_secs(3600); // 1 hour [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 68 - let ttl = TTL::from_secs(3600); // 1 hour [INFO] [stdout] 68 + let ttl = TTL::from_be(3600); // 1 hour [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/encryption.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/encryption.rs:199:29 [INFO] [stdout] | [INFO] [stdout] 199 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | TTL::from_secs(0) // Expired [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 104 - TTL::from_secs(0) // Expired [INFO] [stdout] 104 + TTL::from_be(0) // Expired [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/storage_backends.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/storage_backends.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | TTL::from_secs(3600) // 1 hour [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 106 - TTL::from_secs(3600) // 1 hour [INFO] [stdout] 106 + TTL::from_be(3600) // 1 hour [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: From<&&str>` is not satisfied [INFO] [stdout] --> kv-core/benches/storage_backends.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | group.bench_with_input(BenchmarkId::new(name, size), size, |b, &size| { [INFO] [stdout] | ---------------- ^^^^ the trait `From<&&str>` is not implemented for `std::string::String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: consider casting the `&&str` value to `&str` [INFO] [stdout] = note: required for `&&str` to implement `Into` [INFO] [stdout] note: required by a bound in `BenchmarkId::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.7.0/src/benchmark_group.rs:437:19 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn new, P: ::std::fmt::Display>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `BenchmarkId::new` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 65 | group.bench_with_input(BenchmarkId::new(*name, size), size, |b, &size| { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kv-core` (bench "encryption") due to 10 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 142 | let ttl = TTL::from_secs(3600); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 142 - let ttl = TTL::from_secs(3600); [INFO] [stdout] 142 + let ttl = TTL::from_be(3600); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found type alias `TTL` [INFO] [stdout] --> kv-core/benches/basic_operations.rs:134:35 [INFO] [stdout] | [INFO] [stdout] 134 | let ttl = TTL(3600); // 1 hour [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 134 - let ttl = TTL(3600); // 1 hour [INFO] [stdout] 134 + let ttl: TTL(3600); // 1 hour [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use kv_core::KVError::TTL; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/storage_backends.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/storage_backends.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/storage_backends.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: From<&&str>` is not satisfied [INFO] [stdout] --> kv-core/benches/storage_backends.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | group.bench_function(name, |b| { [INFO] [stdout] | -------------- ^^^^ the trait `From<&&str>` is not implemented for `std::string::String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: consider casting the `&&str` value to `&str` [INFO] [stdout] = note: required for `&&str` to implement `Into` [INFO] [stdout] = note: required for `&&str` to implement `criterion::benchmark_group::IntoBenchmarkId` [INFO] [stdout] note: required by a bound in `BenchmarkGroup::<'a, M>::bench_function` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.7.0/src/benchmark_group.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn bench_function(&mut self, id: ID, mut f: F) -> &mut Self [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `BenchmarkGroup::<'a, M>::bench_function` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 103 | group.bench_function(*name, |b| { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/basic_operations.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BenchmarkId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/basic_operations.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/basic_operations.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/basic_operations.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/basic_operations.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> kv-core/benches/basic_operations.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | black_box(&engine); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | let new_ttl = TTL::from_secs(7200); // 2 hours [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 150 - let new_ttl = TTL::from_secs(7200); // 2 hours [INFO] [stdout] 150 + let new_ttl = TTL::from_be(7200); // 2 hours [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/storage_backends.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: From<&&str>` is not satisfied [INFO] [stdout] --> kv-core/benches/storage_backends.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | group.bench_with_input(BenchmarkId::new(name, size), size, |b, &size| { [INFO] [stdout] | ---------------- ^^^^ the trait `From<&&str>` is not implemented for `std::string::String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: consider casting the `&&str` value to `&str` [INFO] [stdout] = note: required for `&&str` to implement `Into` [INFO] [stdout] note: required by a bound in `BenchmarkId::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/criterion-0.7.0/src/benchmark_group.rs:437:19 [INFO] [stdout] | [INFO] [stdout] 437 | pub fn new, P: ::std::fmt::Display>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `BenchmarkId::new` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 139 | group.bench_with_input(BenchmarkId::new(*name, size), size, |b, &size| { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:158:45 [INFO] [stdout] | [INFO] [stdout] 158 | let long_ttl = TTL::from_secs(86400 * 365); // 1 year [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 - let long_ttl = TTL::from_secs(86400 * 365); // 1 year [INFO] [stdout] 158 + let long_ttl = TTL::from_be(86400 * 365); // 1 year [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/storage_backends.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/storage_backends.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:184:35 [INFO] [stdout] | [INFO] [stdout] 184 | for task_id in 0..*num_tasks { [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kv-core` (bench "storage_backends") due to 12 previous errors; 6 warnings emitted [INFO] [stdout] error[E0599]: no method named `clone` found for struct `KVEngine` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | let engine_clone = engine.clone(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `close` with a similar name [INFO] [stdout] | [INFO] [stdout] 185 - let engine_clone = engine.clone(); [INFO] [stdout] 185 + let engine_clone = engine.close(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | ... let ttl = TTL::from_secs(3600); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 190 - let ttl = TTL::from_secs(3600); [INFO] [stdout] 190 + let ttl = TTL::from_be(3600); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_async` found for mutable reference `&mut criterion::Bencher<'_>` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 222 | b.to_async(&rt).iter(|| async { [INFO] [stdout] | ^^^^^^^^ method not found in `&mut criterion::Bencher<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | for i in 0..*size { [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_secs` found for type `u64` in the current scope [INFO] [stdout] --> kv-core/benches/ttl_performance.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | let ttl = TTL::from_secs(3600); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `u64` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 230 - let ttl = TTL::from_secs(3600); [INFO] [stdout] 230 + let ttl = TTL::from_be(3600); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kv-core` (bench "ttl_performance") due to 24 previous errors; 8 warnings emitted [INFO] [stdout] error[E0597]: `engine` does not live long enough [INFO] [stdout] --> kv-core/benches/basic_operations.rs:168:42 [INFO] [stdout] | [INFO] [stdout] 162 | let engine = create_test_engine().await; [INFO] [stdout] | ------ binding `engine` declared here [INFO] [stdout] ... [INFO] [stdout] 168 | let engine_ref = &engine; [INFO] [stdout] | ^^^^^^^ borrowed value does not live long enough [INFO] [stdout] 169 | let handle = tokio::spawn(async move { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 170 | | for i in 0..100 { [INFO] [stdout] 171 | | let key = format!("task_{}_key_{}", task_id, i); [INFO] [stdout] 172 | | let value = Value::String(format!("task_{}_value_{}", task_id, i)); [INFO] [stdout] ... | [INFO] [stdout] 175 | | }); [INFO] [stdout] | |__________________________- argument requires that `engine` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 185 | }); [INFO] [stdout] | - `engine` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] note: requirement that the value outlives `'static` introduced here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/task/spawn.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kv-core` (bench "basic_operations") due to 2 previous errors; 6 warnings emitted [INFO] [stdout] warning: constant `MEDIUM_VALUE_SIZE` is never used [INFO] [stdout] --> kv-core/benches/kv_vs_redis.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const MEDIUM_VALUE_SIZE: usize = 1024; // 1 KB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LARGE_VALUE_SIZE` is never used [INFO] [stdout] --> kv-core/benches/kv_vs_redis.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const LARGE_VALUE_SIZE: usize = 10240; // 10 KB [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> kv-core/src/engine.rs:630:17 [INFO] [stdout] | [INFO] [stdout] 630 | assert!(stats.uptime >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "518b3a37f27e154c7b13e52fe4fe5b47fc43bd261c0cb23a6f0dc6e093d4415d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518b3a37f27e154c7b13e52fe4fe5b47fc43bd261c0cb23a6f0dc6e093d4415d", kill_on_drop: false }` [INFO] [stdout] 518b3a37f27e154c7b13e52fe4fe5b47fc43bd261c0cb23a6f0dc6e093d4415d