[INFO] fetching crate swarc 0.1.0... [INFO] testing swarc-0.1.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] extracting crate swarc 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate swarc 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swarc 0.1.0 [INFO] tweaked toml for crates.io crate swarc 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swarc 0.1.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swarc 0.1.0 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded dwrote v0.11.4 [INFO] [stderr] Downloaded cc v1.2.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31bec49b5b724d41854baf7e6e2d2b4bb79152adedbcf6593c3f7562a038fde4 [INFO] running `Command { std: "docker" "start" "-a" "31bec49b5b724d41854baf7e6e2d2b4bb79152adedbcf6593c3f7562a038fde4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31bec49b5b724d41854baf7e6e2d2b4bb79152adedbcf6593c3f7562a038fde4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31bec49b5b724d41854baf7e6e2d2b4bb79152adedbcf6593c3f7562a038fde4", kill_on_drop: false }` [INFO] [stdout] 31bec49b5b724d41854baf7e6e2d2b4bb79152adedbcf6593c3f7562a038fde4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1d59e8dceb5b4bf5b816cd4cc533fe0e0535e998658a2a2a845f95459c464f3 [INFO] running `Command { std: "docker" "start" "-a" "b1d59e8dceb5b4bf5b816cd4cc533fe0e0535e998658a2a2a845f95459c464f3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling swarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `IndexSnapshot` is never constructed [INFO] [stdout] --> src/insert.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct IndexSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionUpdate` is never constructed [INFO] [stdout] --> src/insert.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct ConnectionUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_connections_for_node`, `insert_single_with_level`, `compute_connections_parallel`, `search_layer_snapshot`, `select_neighbors_snapshot`, and `apply_connection_update` are never used [INFO] [stdout] --> src/insert.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl HNSWIndex { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | fn build_connections_for_node(&mut self, node_index: usize, embedding: &[f32], level: usize) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn insert_single_with_level(&mut self, id: String, embedding: Vec, document: Option>, level: usize) -> Result<(), St... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn compute_connections_parallel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | fn search_layer_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | fn select_neighbors_snapshot(&self, snapshot: &IndexSnapshot, candidates: &[(usize, f32)], m: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | fn apply_connection_update(&mut self, update: ConnectionUpdate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "b1d59e8dceb5b4bf5b816cd4cc533fe0e0535e998658a2a2a845f95459c464f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d59e8dceb5b4bf5b816cd4cc533fe0e0535e998658a2a2a845f95459c464f3", kill_on_drop: false }` [INFO] [stdout] b1d59e8dceb5b4bf5b816cd4cc533fe0e0535e998658a2a2a845f95459c464f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33577f189ac7142afb6cb603c9f8ccd5f5f4e4ac6895ca363f197aff34743e27 [INFO] running `Command { std: "docker" "start" "-a" "33577f189ac7142afb6cb603c9f8ccd5f5f4e4ac6895ca363f197aff34743e27", kill_on_drop: false }` [INFO] [stdout] warning: struct `IndexSnapshot` is never constructed [INFO] [stdout] --> src/insert.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct IndexSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionUpdate` is never constructed [INFO] [stdout] --> src/insert.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct ConnectionUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_connections_for_node`, `insert_single_with_level`, `compute_connections_parallel`, `search_layer_snapshot`, `select_neighbors_snapshot`, and `apply_connection_update` are never used [INFO] [stdout] --> src/insert.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl HNSWIndex { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | fn build_connections_for_node(&mut self, node_index: usize, embedding: &[f32], level: usize) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn insert_single_with_level(&mut self, id: String, embedding: Vec, document: Option>, level: usize) -> Result<(), St... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn compute_connections_parallel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | fn search_layer_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | fn select_neighbors_snapshot(&self, snapshot: &IndexSnapshot, candidates: &[(usize, f32)], m: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | fn apply_connection_update(&mut self, update: ConnectionUpdate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/index_tests.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | assert!(*level >= 0); // This is always true for usize, but kept for clarity [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexSnapshot` is never constructed [INFO] [stdout] --> src/insert.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct IndexSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionUpdate` is never constructed [INFO] [stdout] --> src/insert.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct ConnectionUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build_connections_for_node`, `insert_single_with_level`, `compute_connections_parallel`, `search_layer_snapshot`, `select_neighbors_snapshot`, and `apply_connection_update` are never used [INFO] [stdout] --> src/insert.rs:284:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl HNSWIndex { [INFO] [stdout] | ----------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 284 | fn build_connections_for_node(&mut self, node_index: usize, embedding: &[f32], level: usize) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn insert_single_with_level(&mut self, id: String, embedding: Vec, document: Option>, level: usize) -> Result<(), St... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn compute_connections_parallel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 525 | fn search_layer_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 595 | fn select_neighbors_snapshot(&self, snapshot: &IndexSnapshot, candidates: &[(usize, f32)], m: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 638 | fn apply_connection_update(&mut self, update: ConnectionUpdate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.67s [INFO] running `Command { std: "docker" "inspect" "33577f189ac7142afb6cb603c9f8ccd5f5f4e4ac6895ca363f197aff34743e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33577f189ac7142afb6cb603c9f8ccd5f5f4e4ac6895ca363f197aff34743e27", kill_on_drop: false }` [INFO] [stdout] 33577f189ac7142afb6cb603c9f8ccd5f5f4e4ac6895ca363f197aff34743e27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e7e1b75c35403bd749564081ecdeae52c39cb6eabd197f3f7c95820c5dfef26 [INFO] running `Command { std: "docker" "start" "-a" "3e7e1b75c35403bd749564081ecdeae52c39cb6eabd197f3f7c95820c5dfef26", kill_on_drop: false }` [INFO] [stderr] warning: struct `IndexSnapshot` is never constructed [INFO] [stderr] --> src/insert.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct IndexSnapshot { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ConnectionUpdate` is never constructed [INFO] [stderr] --> src/insert.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | struct ConnectionUpdate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `build_connections_for_node`, `insert_single_with_level`, `compute_connections_parallel`, `search_layer_snapshot`, `select_neighbors_snapshot`, and `apply_connection_update` are never used [INFO] [stderr] --> src/insert.rs:284:8 [INFO] [stderr] | [INFO] [stderr] 25 | impl HNSWIndex { [INFO] [stderr] | ----------------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 284 | fn build_connections_for_node(&mut self, node_index: usize, embedding: &[f32], level: usize) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | fn insert_single_with_level(&mut self, id: String, embedding: Vec, document: Option>, level: usize) -> Result<(), St... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 474 | fn compute_connections_parallel( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 525 | fn search_layer_snapshot( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 595 | fn select_neighbors_snapshot(&self, snapshot: &IndexSnapshot, candidates: &[(usize, f32)], m: usize) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 638 | fn apply_connection_update(&mut self, update: ConnectionUpdate) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `swarc` (lib) generated 3 warnings [INFO] [stderr] warning: `swarc` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> tests/index_tests.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | assert!(*level >= 0); // This is always true for usize, but kept for clarity [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `swarc` (test "index_tests") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swarc-85a007fc06d58a3c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests performance_tests/benchmark.rs (/opt/rustwide/target/debug/deps/benchmark-129041973b6418bf) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests performance_tests/plot_results.rs (/opt/rustwide/target/debug/deps/plot_results-731f741903a0e7d0) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/swarc-a6cec08904990b0d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/index_tests.rs (/opt/rustwide/target/debug/deps/index_tests-9fe38b7ff95ffeae) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_cosine_distance ... ok [INFO] [stdout] test test_distance_calculation ... ok [INFO] [stdout] test test_distance_symmetry ... ok [INFO] [stdout] test test_distance_metric_consistency ... ok [INFO] [stdout] test test_distance_zero_vectors ... ok [INFO] [stdout] test test_index_creation ... ok [INFO] [stdout] test test_index_creation_with_different_parameters ... ok [INFO] [stdout] test test_index_utility_methods ... ok [INFO] [stdout] test test_level_generation ... ok [INFO] [stdout] test test_index_with_different_data_types ... ok [INFO] [stdout] test test_distance_metric_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/insert_tests.rs (/opt/rustwide/target/debug/deps/insert_tests-74edda74cbce3773) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_insert_different_embedding_dimensions ... ok [INFO] [stdout] test test_insert_duplicate_id ... ok [INFO] [stdout] test test_insert_multiple_nodes ... ok [INFO] [stdout] test test_insert_single_node ... ok [INFO] [stdout] test test_insert_with_negative_embeddings ... ok [INFO] [stdout] test test_rebalance ... ok [INFO] [stdout] test test_select_neighbors ... ok [INFO] [stdout] test test_rebalance_empty_index ... ok [INFO] [stdout] test test_insert_without_document ... ok [INFO] [stdout] test test_insert_large_dataset ... ok [INFO] [stdout] test test_select_neighbors_less_candidates_than_m ... ok [INFO] [stdout] test test_insert_with_zero_embedding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-23b763e540d7513d) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_different_data_types ... ok [INFO] [stdout] test test_full_workflow ... ok [INFO] [stdout] test test_index_persistence_simulation ... ok [INFO] [stdout] test test_error_handling ... ok [INFO] [stdout] test test_large_dataset_operations ... ok [INFO] [stdout] test test_search_accuracy ... ok [INFO] [stderr] Running tests/parallel_insert_tests.rs (/opt/rustwide/target/debug/deps/parallel_insert_tests-4c0e918f46c1e3f0) [INFO] [stdout] test test_performance_characteristics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_parallel_insert_existing_id ... ok [INFO] [stdout] test test_parallel_insert_empty_list ... ok [INFO] [stdout] test test_parallel_insert_duplicate_ids ... ok [INFO] [stdout] test test_parallel_insert_multiple_items ... ok [INFO] [stdout] test test_parallel_insertion_search_accuracy ... ok [INFO] [stdout] test test_parallel_insert_single_item ... ok [INFO] [stdout] test test_parallel_insertion_error_handling ... ok [INFO] [stdout] test test_parallel_vs_sequential_insertion ... ok [INFO] [stdout] test test_parallel_insert_large_dataset ... ok [INFO] [stdout] test test_parallel_insertion_with_different_dimensions ... FAILED [INFO] [stdout] test test_parallel_insert_with_documents ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_parallel_insertion_with_different_dimensions stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_parallel_insertion_with_different_dimensions' panicked at tests/parallel_insert_tests.rs:266:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 0 [INFO] [stdout] right: 1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ff10602f1a2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ff10602f1a2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ff10602f1a2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ff10602f1a2 - ::fmt::ha499add612cccf8e [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ff106054aa3 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ff106054aa3 - core::fmt::write::hb10c956f5235c8a4 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5ff10602c333 - std::io::default_write_fmt::hdb7615052be2ba4d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ff10602c333 - std::io::Write::write_fmt::he1bcd251ec6e4153 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ff10602eff2 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ff10603070c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5ff106030562 - std::panicking::default_hook::h7c46b44874fe5c9a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ff105fec3c4 - as core::ops::function::Fn>::call::h178a5fcedee41e2f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5ff105fec3c4 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ff1060310eb - as core::ops::function::Fn>::call::h13602080f5b63276 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5ff1060310eb - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ff106030eba - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5ff10602f699 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5ff106030b4d - __rustc[18fb429eef004894]::rust_begin_unwind [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ff1060535f0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ff106053887 - core::panicking::assert_failed_inner::h02e1528dd7bc6647 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x5ff1060537a9 - core::panicking::assert_failed::h24b207bf351b573a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x5ff105f9e8c1 - parallel_insert_tests::test_parallel_insertion_with_different_dimensions::h4fb4711a78b0d258 [INFO] [stdout] at /opt/rustwide/workdir/tests/parallel_insert_tests.rs:266:5 [INFO] [stdout] 22: 0x5ff105f9e8c1 - parallel_insert_tests::test_parallel_insertion_with_different_dimensions::{{closure}}::h35cd1efb72fe670e [INFO] [stdout] at /opt/rustwide/workdir/tests/parallel_insert_tests.rs:249:55 [INFO] [stdout] 23: 0x5ff105f9e8c1 - core::ops::function::FnOnce::call_once::he292e2b2e4b1f83a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ff105ff1b4b - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ff105ff1b4b - test::__rust_begin_short_backtrace::h7dd7142bd62fa711 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x5ff105ff0d3e - test::run_test_in_process::{{closure}}::h43a753f038d36b3f [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x5ff105ff0d3e - as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5ff105ff0d3e - std::panicking::catch_unwind::do_call::he308587d70ac34ba [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x5ff105ff0d3e - std::panicking::catch_unwind::h30dcba31973e8fb0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x5ff105ff0d3e - std::panic::catch_unwind::hfb68364e5621fbee [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ff105ff0d3e - test::run_test_in_process::hcdcc2977903b998a [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x5ff105ff0d3e - test::run_test::{{closure}}::h544a6550958c5d14 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x5ff105fb48b4 - test::run_test::{{closure}}::hb172e48ebe2b92c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x5ff105fb48b4 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5ff105fb828a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5ff105fb828a - as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5ff105fb828a - std::panicking::catch_unwind::do_call::h052f373fb905fee0 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x5ff105fb828a - std::panicking::catch_unwind::hb425d20c8ffb09c8 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x5ff105fb828a - std::panic::catch_unwind::ha0d5dfbf18fdeda5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ff105fb828a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5ff105fb828a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ff106034147 - as core::ops::function::FnOnce>::call_once::h47377e27fb938a26 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5ff106034147 - as core::ops::function::FnOnce>::call_once::h72f1fe5d095abf57 [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x5ff106034147 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf [INFO] [stdout] at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x77f68227eaa4 - [INFO] [stdout] 46: 0x77f68230ba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_parallel_insertion_with_different_dimensions [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test parallel_insert_tests` [INFO] running `Command { std: "docker" "inspect" "3e7e1b75c35403bd749564081ecdeae52c39cb6eabd197f3f7c95820c5dfef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e7e1b75c35403bd749564081ecdeae52c39cb6eabd197f3f7c95820c5dfef26", kill_on_drop: false }` [INFO] [stdout] 3e7e1b75c35403bd749564081ecdeae52c39cb6eabd197f3f7c95820c5dfef26