[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 master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsrihari-palivela%2Fafdb" "/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/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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/srihari-palivela/afdb on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded roaring v0.10.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 088b6445a9eea557139c860bc6d8202ee0560d9d9c73e405415f9daacfa15abb [INFO] running `Command { std: "docker" "start" "-a" "088b6445a9eea557139c860bc6d8202ee0560d9d9c73e405415f9daacfa15abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "088b6445a9eea557139c860bc6d8202ee0560d9d9c73e405415f9daacfa15abb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "088b6445a9eea557139c860bc6d8202ee0560d9d9c73e405415f9daacfa15abb", kill_on_drop: false }` [INFO] [stdout] 088b6445a9eea557139c860bc6d8202ee0560d9d9c73e405415f9daacfa15abb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53673ce7ac5f3464ce83e27f5abbf0f6ffc172a254230d3448f6a871b0fffb4c [INFO] running `Command { std: "docker" "start" "-a" "53673ce7ac5f3464ce83e27f5abbf0f6ffc172a254230d3448f6a871b0fffb4c", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling regex v1.11.1 [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 uuid v1.17.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [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 34.64s [INFO] running `Command { std: "docker" "inspect" "53673ce7ac5f3464ce83e27f5abbf0f6ffc172a254230d3448f6a871b0fffb4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53673ce7ac5f3464ce83e27f5abbf0f6ffc172a254230d3448f6a871b0fffb4c", kill_on_drop: false }` [INFO] [stdout] 53673ce7ac5f3464ce83e27f5abbf0f6ffc172a254230d3448f6a871b0fffb4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ae4a3d73abdd47d43a6fc447fd7d03f81e38827b408f60e1eea519b4b2475f0 [INFO] running `Command { std: "docker" "start" "-a" "2ae4a3d73abdd47d43a6fc447fd7d03f81e38827b408f60e1eea519b4b2475f0", kill_on_drop: false }` [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] [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: `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: `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 4.64s [INFO] running `Command { std: "docker" "inspect" "2ae4a3d73abdd47d43a6fc447fd7d03f81e38827b408f60e1eea519b4b2475f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ae4a3d73abdd47d43a6fc447fd7d03f81e38827b408f60e1eea519b4b2475f0", kill_on_drop: false }` [INFO] [stdout] 2ae4a3d73abdd47d43a6fc447fd7d03f81e38827b408f60e1eea519b4b2475f0