[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+cargoflags=--release for beta-release-1.100-3 [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 uuid v1.23.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.117 [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 tokio-retry v0.3.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.11 [INFO] [stderr] Downloaded pin-project v1.1.11 [INFO] [stderr] Downloaded arc-swap v1.9.1 [INFO] [stderr] Downloaded cc v1.2.59 [INFO] [stderr] Downloaded rustls-webpki v0.103.10 [INFO] [stderr] Downloaded js-sys v0.3.94 [INFO] [stderr] Downloaded indexmap v2.13.1 [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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420 [INFO] running `Command { std: "docker" "start" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420", 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" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420" "/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" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420", 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" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [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-task v0.3.32 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling arc-swap v1.9.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 async-trait v0.1.89 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling zerovec v0.11.6 [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 serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties 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 `release` profile [optimized] target(s) in 56.32s [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 6` [INFO] running `Command { std: "docker" "inspect" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420", 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" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", 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 `release` profile [optimized] target(s) in 27.88s [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 6` [INFO] running `Command { std: "docker" "inspect" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420", 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" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", 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 `release` profile [optimized] target(s) in 0.13s [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 6` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/cachly-577c2c9f6fb10aab) [INFO] [stdout] [INFO] [stdout] running 47 tests [INFO] [stdout] test tests::test_cosine_similar_vectors_high_score ... ok [INFO] [stdout] test tests::test_namespace_case_insensitive ... 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_go_func ... ok [INFO] [stdout] test tests::test_confidence_medium ... ok [INFO] [stdout] test tests::test_namespace_code_const ... ok [INFO] [stdout] test tests::test_cosine_orthogonal ... ok [INFO] [stdout] test tests::test_confidence_exactly_at_threshold ... ok [INFO] [stdout] test tests::test_namespace_code_shebang ... ok [INFO] [stdout] test tests::test_namespace_creative_poem ... ok [INFO] [stdout] test tests::test_confidence_uncertain ... ok [INFO] [stdout] test tests::test_confidence_exactly_at_high_threshold ... ok [INFO] [stdout] test tests::test_cosine_opposite_vectors ... ok [INFO] [stdout] test tests::test_namespace_qa_trailing_question_mark ... ok [INFO] [stdout] test tests::test_namespace_qa_how_does ... ok [INFO] [stdout] test tests::test_namespace_qa_german_wer ... ok [INFO] [stdout] test tests::test_namespace_qa_what_is ... 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_namespace_creative_story ... ok [INFO] [stdout] test tests::test_namespace_summary_nutshell ... ok [INFO] [stdout] test tests::test_namespace_summary_summarize ... ok [INFO] [stdout] test tests::test_namespace_summary_key_points ... 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_tldr ... ok [INFO] [stdout] test tests::test_namespace_trims_whitespace ... ok [INFO] [stdout] test tests::test_namespace_translation_uebersetze ... ok [INFO] [stdout] test tests::test_normalize_collapses_whitespace ... ok [INFO] [stdout] test tests::test_quantize_empty_vector ... ok [INFO] [stdout] test tests::test_normalize_empty_string ... ok [INFO] [stdout] test tests::test_normalize_removes_filler_bitte ... ok [INFO] [stdout] test tests::test_normalize_removes_filler_please ... FAILED [INFO] [stdout] test tests::test_normalize_trailing_exclamation_becomes_question ... ok [INFO] [stdout] test tests::test_quantize_constant_vector_all_zeros ... ok [INFO] [stdout] test tests::test_normalize_custom_filler_words ... ok [INFO] [stdout] test tests::test_quantize_min_is_neg128_max_is_127 ... ok [INFO] [stdout] test tests::test_quantize_preserves_min_max ... ok [INFO] [stdout] test tests::test_normalize_lowercases ... ok [INFO] [stdout] test tests::test_val_key ... ok [INFO] [stdout] test tests::test_cosine_identical ... ok [INFO] [stdout] test tests::test_quantize_all_values_in_int8_range ... ok [INFO] [stdout] test tests::test_confidence_high ... ok [INFO] [stdout] test tests::test_extract_namespace ... ok [INFO] [stdout] test tests::test_namespace_code_class ... ok [INFO] [stdout] test tests::test_namespace_code_import ... ok [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' (1557) panicked at src/lib.rs:2376:9: [INFO] [stdout] assertion failed: result.contains("tell me about redis") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5606016ddf21 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5606016f2cea - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5606016e23bc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5606016ba516 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5606016d6689 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x560601672b10 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5606016d6842 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5606016ba5f4 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5606016b3349 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5606016bb1bd - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5606016f341c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5606016f33e2 - core[df12db4294e9bfd3]::panicking::panic [INFO] [stdout] 12: 0x560601661d5b - cachly[b809977066050cff]::tests::test_normalize_removes_filler_please [INFO] [stdout] 13: 0x560601665539 - >::call_once [INFO] [stdout] 14: 0x560601665dfb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 15: 0x560601673465 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 16: 0x56060166cd24 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x5606016765c2 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x5606016dd7f9 - ::new::thread_start [INFO] [stdout] 19: 0x789a57aa3dfa - [INFO] [stdout] 20: 0x789a57b373d4 - clone [INFO] [stdout] 21: 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.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420", kill_on_drop: false }` [INFO] [stdout] 45c3b89e1464b8be37fbd46993c38152c92693dac8fc46aa3a64717095a25420