[INFO] cloning repository https://github.com/cachly-dev/sdk-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cachly-dev/sdk-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachly-dev%2Fsdk-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachly-dev%2Fsdk-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6274abf9290de6c2901046826e61b4ee814694d [INFO] testing cachly-dev/sdk-rust against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcachly-dev%2Fsdk-rust" "/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/cachly-dev/sdk-rust [INFO] finished tweaking git repo https://github.com/cachly-dev/sdk-rust [INFO] tweaked toml for git repo https://github.com/cachly-dev/sdk-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cachly-dev/sdk-rust on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cachly-dev/sdk-rust 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.117 [INFO] [stderr] Downloaded uuid v1.23.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen v0.2.117 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.67 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded pin-project v1.1.11 [INFO] [stderr] Downloaded pin-project-internal v1.1.11 [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.10 [INFO] [stderr] Downloaded rand v0.9.2 [INFO] [stderr] Downloaded arc-swap v1.9.1 [INFO] [stderr] Downloaded cc v1.2.59 [INFO] [stderr] Downloaded js-sys v0.3.94 [INFO] [stderr] Downloaded indexmap v2.13.1 [INFO] [stderr] Downloaded redis v0.25.4 [INFO] [stderr] Downloaded webpki-roots v1.0.6 [INFO] [stderr] Downloaded rustls v0.23.37 [INFO] [stderr] Downloaded web-sys v0.3.94 [INFO] [stderr] Downloaded libc v0.2.184 [INFO] [stderr] Downloaded tokio v1.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823 [INFO] running `Command { std: "docker" "start" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823", 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" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling arc-swap v1.9.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling redis v0.25.4 [INFO] [stderr] Compiling cachly v0.1.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/lib.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | let threshold = if opts.threshold == 0.0 { 0.85 } else { opts.threshold }; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high_threshold` [INFO] [stdout] --> src/lib.rs:646:13 [INFO] [stdout] | [INFO] [stdout] 646 | let high_threshold = opts.high_confidence_threshold.unwrap_or(0.97); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | let ns = ns.as_ref(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:891:47 [INFO] [stdout] | [INFO] [stdout] 891 | pub async fn invalidate(&self, key: &str, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | vector_url: Option<&str>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:960:56 [INFO] [stdout] | [INFO] [stdout] 960 | pub async fn flush(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:992:55 [INFO] [stdout] | [INFO] [stdout] 992 | pub async fn size(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling redis v0.25.4 [INFO] [stderr] Compiling cachly v0.1.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/lib.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | let threshold = if opts.threshold == 0.0 { 0.85 } else { opts.threshold }; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high_threshold` [INFO] [stdout] --> src/lib.rs:646:13 [INFO] [stdout] | [INFO] [stdout] 646 | let high_threshold = opts.high_confidence_threshold.unwrap_or(0.97); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | let ns = ns.as_ref(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:891:47 [INFO] [stdout] | [INFO] [stdout] 891 | pub async fn invalidate(&self, key: &str, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | vector_url: Option<&str>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:960:56 [INFO] [stdout] | [INFO] [stdout] 960 | pub async fn flush(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:992:55 [INFO] [stdout] | [INFO] [stdout] 992 | pub async fn size(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/lib.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | let threshold = if opts.threshold == 0.0 { 0.85 } else { opts.threshold }; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `high_threshold` [INFO] [stdout] --> src/lib.rs:646:13 [INFO] [stdout] | [INFO] [stdout] 646 | let high_threshold = opts.high_confidence_threshold.unwrap_or(0.97); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | let ns = ns.as_ref(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:891:47 [INFO] [stdout] | [INFO] [stdout] 891 | pub async fn invalidate(&self, key: &str, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:918:9 [INFO] [stdout] | [INFO] [stdout] 918 | vector_url: Option<&str>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:960:56 [INFO] [stdout] | [INFO] [stdout] 960 | pub async fn flush(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_url` [INFO] [stdout] --> src/lib.rs:992:55 [INFO] [stdout] | [INFO] [stdout] 992 | pub async fn size(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/lib.rs:2591:35 [INFO] [stdout] | [INFO] [stdout] 2591 | assert!(*v >= -128 && *v <= 127, "value {v} is outside int8 range"); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `threshold` [INFO] [stderr] --> src/lib.rs:645:13 [INFO] [stderr] | [INFO] [stderr] 645 | let threshold = if opts.threshold == 0.0 { 0.85 } else { opts.threshold }; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `high_threshold` [INFO] [stderr] --> src/lib.rs:646:13 [INFO] [stderr] | [INFO] [stderr] 646 | let high_threshold = opts.high_confidence_threshold.unwrap_or(0.97); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_high_threshold` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ns` [INFO] [stderr] --> src/lib.rs:653:13 [INFO] [stderr] | [INFO] [stderr] 653 | let ns = ns.as_ref(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vector_url` [INFO] [stderr] --> src/lib.rs:891:47 [INFO] [stderr] | [INFO] [stderr] 891 | pub async fn invalidate(&self, key: &str, vector_url: Option<&str>) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vector_url` [INFO] [stderr] --> src/lib.rs:918:9 [INFO] [stderr] | [INFO] [stderr] 918 | vector_url: Option<&str>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vector_url` [INFO] [stderr] --> src/lib.rs:960:56 [INFO] [stderr] | [INFO] [stderr] 960 | pub async fn flush(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vector_url` [INFO] [stderr] --> src/lib.rs:992:55 [INFO] [stderr] | [INFO] [stderr] 992 | pub async fn size(&self, namespace: Option<&str>, vector_url: Option<&str>) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_url` [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/lib.rs:2591:35 [INFO] [stderr] | [INFO] [stderr] 2591 | assert!(*v >= -128 && *v <= 127, "value {v} is outside int8 range"); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cachly` (lib) generated 7 warnings (run `cargo fix --lib -p cachly` to apply 7 suggestions) [INFO] [stderr] warning: `cachly` (lib test) generated 8 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.25.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cachly-71b413899089622d) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test tests::test_confidence_exactly_at_high_threshold ... ok [INFO] [stdout] test tests::test_confidence_exactly_at_threshold ... ok [INFO] [stdout] test tests::test_confidence_high ... ok [INFO] [stdout] test tests::test_confidence_medium ... ok [INFO] [stdout] test tests::test_confidence_uncertain ... ok [INFO] [stdout] test tests::test_cosine_identical ... ok [INFO] [stdout] test tests::test_cosine_opposite_vectors ... ok [INFO] [stdout] test tests::test_cosine_orthogonal ... ok [INFO] [stdout] test tests::test_cosine_similar_vectors_high_score ... ok [INFO] [stdout] test tests::test_cosine_zero_vector ... ok [INFO] [stdout] test tests::test_extract_id ... ok [INFO] [stdout] test tests::test_namespace_code_class ... ok [INFO] [stdout] test tests::test_namespace_case_insensitive ... ok [INFO] [stdout] test tests::test_namespace_code_go_func ... ok [INFO] [stdout] test tests::test_namespace_code_import ... ok [INFO] [stdout] test tests::test_namespace_code_priority_over_translation ... ok [INFO] [stdout] test tests::test_namespace_code_python_def ... ok [INFO] [stdout] test tests::test_extract_namespace ... ok [INFO] [stdout] test tests::test_namespace_code_const ... ok [INFO] [stdout] test tests::test_namespace_qa_german_wer ... ok [INFO] [stdout] test tests::test_namespace_code_shebang ... ok [INFO] [stdout] test tests::test_namespace_creative_poem ... ok [INFO] [stdout] test tests::test_namespace_creative_story ... ok [INFO] [stdout] test tests::test_namespace_qa_trailing_question_mark ... ok [INFO] [stdout] test tests::test_namespace_summary_nutshell ... ok [INFO] [stdout] test tests::test_namespace_qa_how_does ... ok [INFO] [stdout] test tests::test_namespace_qa_what_is ... ok [INFO] [stdout] test tests::test_namespace_translation_traduis ... ok [INFO] [stdout] test tests::test_namespace_translation_translate ... ok [INFO] [stdout] test tests::test_namespace_summary_key_points ... ok [INFO] [stdout] test tests::test_namespace_translation_uebersetze ... ok [INFO] [stdout] test tests::test_normalize_collapses_whitespace ... ok [INFO] [stdout] test tests::test_normalize_custom_filler_words ... ok [INFO] [stdout] test tests::test_namespace_summary_summarize ... ok [INFO] [stdout] test tests::test_namespace_summary_tldr ... ok [INFO] [stdout] test tests::test_normalize_empty_string ... ok [INFO] [stdout] test tests::test_namespace_trims_whitespace ... ok [INFO] [stdout] test tests::test_normalize_lowercases ... ok [INFO] [stdout] test tests::test_quantize_preserves_min_max ... ok [INFO] [stdout] test tests::test_val_key ... ok [INFO] [stdout] test tests::test_quantize_empty_vector ... ok [INFO] [stdout] test tests::test_quantize_min_is_neg128_max_is_127 ... ok [INFO] [stdout] test tests::test_normalize_removes_filler_bitte ... ok [INFO] [stdout] test tests::test_quantize_constant_vector_all_zeros ... ok [INFO] [stdout] test tests::test_quantize_all_values_in_int8_range ... ok [INFO] [stdout] test tests::test_normalize_trailing_exclamation_becomes_question ... ok [INFO] [stdout] test tests::test_normalize_removes_filler_please ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_normalize_removes_filler_please stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_normalize_removes_filler_please' (1229) panicked at src/lib.rs:2376:9: [INFO] [stdout] assertion failed: result.contains("tell me about redis") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563bb50731b1 - std[70759c8f55707aa4]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x563bb50731b1 - std[70759c8f55707aa4]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x563bb50731b1 - std[70759c8f55707aa4]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x563bb50731b1 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x563bb50883ca - ::fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x563bb50883ca - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 6: 0x563bb507764c - core[df12db4294e9bfd3]::io::write::default_write_fmt::> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/io/write.rs:402:11 [INFO] [stdout] 7: 0x563bb507764c - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/io/write.rs:335:13 [INFO] [stdout] 8: 0x563bb504f7a6 - ::print [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x563bb504f7a6 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x563bb506b919 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x563bb4ffb820 - core[df12db4294e9bfd3]::ops::function::Fn<(&'a std[70759c8f55707aa4]::panic::PanicHookInfo<'b>,), Output = ()> + core[df12db4294e9bfd3]::marker::Send + core[df12db4294e9bfd3]::marker::Sync> as core[df12db4294e9bfd3]::ops::function::Fn<(&std[70759c8f55707aa4]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2334:9 [INFO] [stdout] 12: 0x563bb4ffb820 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x563bb506bad2 - core[df12db4294e9bfd3]::ops::function::Fn<(&'a std[70759c8f55707aa4]::panic::PanicHookInfo<'b>,), Output = ()> + core[df12db4294e9bfd3]::marker::Send + core[df12db4294e9bfd3]::marker::Sync> as core[df12db4294e9bfd3]::ops::function::Fn<(&std[70759c8f55707aa4]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2334:9 [INFO] [stdout] 14: 0x563bb506bad2 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:823:13 [INFO] [stdout] 15: 0x563bb504f884 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:681:13 [INFO] [stdout] 16: 0x563bb50485d9 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x563bb505044d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:679:5 [INFO] [stdout] 18: 0x563bb5088b5c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x563bb5088b22 - core[df12db4294e9bfd3]::panicking::panic [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panicking.rs:150:5 [INFO] [stdout] 20: 0x563bb4feaf82 - cachly[5e94011e3462c46a]::tests::test_normalize_removes_filler_please [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2376:9 [INFO] [stdout] 21: 0x563bb4fe6ec7 - cachly[5e94011e3462c46a]::tests::test_normalize_removes_filler_please::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:2373:46 [INFO] [stdout] 22: 0x563bb4fee8d6 - >::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x563bb4feeb0b - core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x563bb4feeb0b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:733:18 [INFO] [stdout] 25: 0x563bb4ffc175 - test[9d35eded1c95d3be]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:756:74 [INFO] [stdout] 26: 0x563bb4ffc175 - as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 27: 0x563bb4ffc175 - std[70759c8f55707aa4]::panicking::catch_unwind::do_call::, core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:576:43 [INFO] [stdout] 28: 0x563bb4ffc175 - std[70759c8f55707aa4]::panicking::catch_unwind::, core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x563bb4ffc175 - std[70759c8f55707aa4]::panic::catch_unwind::, core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x563bb4ffc175 - test[9d35eded1c95d3be]::run_test_in_process [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:756:27 [INFO] [stdout] 31: 0x563bb4ffc175 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:677:43 [INFO] [stdout] 32: 0x563bb4ff5a34 - test[9d35eded1c95d3be]::run_test::{closure#1} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:707:41 [INFO] [stdout] 33: 0x563bb4ff5a34 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 34: 0x563bb4fff2d2 - std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 35: 0x563bb4fff2d2 - ::{closure#1}::{closure#0}> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 36: 0x563bb4fff2d2 - std[70759c8f55707aa4]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:576:43 [INFO] [stdout] 37: 0x563bb4fff2d2 - std[70759c8f55707aa4]::panicking::catch_unwind::<(), core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:544:19 [INFO] [stdout] 38: 0x563bb4fff2d2 - std[70759c8f55707aa4]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x563bb4fff2d2 - std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 40: 0x563bb4fff2d2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x563bb5072a89 - + core[df12db4294e9bfd3]::marker::Send> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2320:9 [INFO] [stdout] 42: 0x563bb5072a89 - ::new::thread_start [INFO] [stdout] at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/thread/unix.rs:123:17 [INFO] [stdout] 43: 0x73dc722a4dfa - [INFO] [stdout] 44: 0x73dc723383d4 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_normalize_removes_filler_please [INFO] [stdout] [INFO] [stdout] test result: FAILED. 46 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823", kill_on_drop: false }` [INFO] [stdout] 8d75149096c18eb0f38753b120527c7ffbd6fbdd683ce3437f59b220b2ae5823