[INFO] cloning repository https://github.com/srihari-palivela/afdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/srihari-palivela/afdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrihari-palivela%2Fafdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrihari-palivela%2Fafdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9024a112a9693b35e2bf5977e348858ead49d46 [INFO] building srihari-palivela/afdb against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrihari-palivela%2Fafdb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/srihari-palivela/afdb [INFO] finished tweaking git repo https://github.com/srihari-palivela/afdb [INFO] tweaked toml for git repo https://github.com/srihari-palivela/afdb written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/srihari-palivela/afdb on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/srihari-palivela/afdb 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ce859a56f8a3eb0f99110e156761a816beae7fc8eccdd1a3cdfa358703ad5ee [INFO] running `Command { std: "docker" "start" "-a" "9ce859a56f8a3eb0f99110e156761a816beae7fc8eccdd1a3cdfa358703ad5ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ce859a56f8a3eb0f99110e156761a816beae7fc8eccdd1a3cdfa358703ad5ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ce859a56f8a3eb0f99110e156761a816beae7fc8eccdd1a3cdfa358703ad5ee", kill_on_drop: false }` [INFO] [stdout] 9ce859a56f8a3eb0f99110e156761a816beae7fc8eccdd1a3cdfa358703ad5ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e90aad8846ca91b40e65cb32adbfcceacd1189cf1a4e2eeb7d844aa8595f3a39 [INFO] running `Command { std: "docker" "start" "-a" "e90aad8846ca91b40e65cb32adbfcceacd1189cf1a4e2eeb7d844aa8595f3a39", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling roaring v0.10.12 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling afdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `smallvec::SmallVec` [INFO] [stdout] --> src/vector/hnsw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roaring::RoaringBitmap` [INFO] [stdout] --> src/raci.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use roaring::RoaringBitmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaciMask` [INFO] [stdout] --> src/persona.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::raci::{RaciMask, RaciRole}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRef` [INFO] [stdout] --> src/api.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{routing::{post, get}, Router, Json, extract::{State, FromRef}, http::HeaderMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/semantic/pipeline.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | .and_then(|mut r| r.json::()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_idx` [INFO] [stdout] --> src/vector/hnsw.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let (best_idx, best_sim) = (cur, cosine(&self.nodes[cur].vec.0, &self.nodes[node_idx].vec.0)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.67s [INFO] running `Command { std: "docker" "inspect" "e90aad8846ca91b40e65cb32adbfcceacd1189cf1a4e2eeb7d844aa8595f3a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90aad8846ca91b40e65cb32adbfcceacd1189cf1a4e2eeb7d844aa8595f3a39", kill_on_drop: false }` [INFO] [stdout] e90aad8846ca91b40e65cb32adbfcceacd1189cf1a4e2eeb7d844aa8595f3a39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eaef59f836b1f866d1e8322f71b2f26280a0373486cab494297016d341afd06 [INFO] running `Command { std: "docker" "start" "-a" "4eaef59f836b1f866d1e8322f71b2f26280a0373486cab494297016d341afd06", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `smallvec::SmallVec` [INFO] [stdout] --> src/vector/hnsw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roaring::RoaringBitmap` [INFO] [stdout] --> src/raci.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use roaring::RoaringBitmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaciMask` [INFO] [stdout] --> src/persona.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::raci::{RaciMask, RaciRole}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRef` [INFO] [stdout] --> src/api.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{routing::{post, get}, Router, Json, extract::{State, FromRef}, http::HeaderMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/semantic/pipeline.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | .and_then(|mut r| r.json::()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_idx` [INFO] [stdout] --> src/vector/hnsw.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let (best_idx, best_sim) = (cur, cosine(&self.nodes[cur].vec.0, &self.nodes[node_idx].vec.0)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling afdb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Router` [INFO] [stdout] --> examples/api_server.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{Router, routing::get}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReasoningClient` [INFO] [stdout] --> examples/server.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use afdb::semantic::pipeline::{HttpEmbedder, ReasoningClient, Embedder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> examples/demo.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use afdb::types::{Vector}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smallvec::SmallVec` [INFO] [stdout] --> src/vector/hnsw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `roaring::RoaringBitmap` [INFO] [stdout] --> src/raci.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use roaring::RoaringBitmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RaciMask` [INFO] [stdout] --> src/persona.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::raci::{RaciMask, RaciRole}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRef` [INFO] [stdout] --> src/api.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{routing::{post, get}, Router, Json, extract::{State, FromRef}, http::HeaderMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/semantic/pipeline.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | .and_then(|mut r| r.json::()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `best_idx` [INFO] [stdout] --> src/vector/hnsw.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | let (best_idx, best_sim) = (cur, cosine(&self.nodes[cur].vec.0, &self.nodes[node_idx].vec.0)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_best_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.04s [INFO] running `Command { std: "docker" "inspect" "4eaef59f836b1f866d1e8322f71b2f26280a0373486cab494297016d341afd06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eaef59f836b1f866d1e8322f71b2f26280a0373486cab494297016d341afd06", kill_on_drop: false }` [INFO] [stdout] 4eaef59f836b1f866d1e8322f71b2f26280a0373486cab494297016d341afd06