[INFO] cloning repository https://github.com/rust4ai/knowledgebase-agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust4ai/knowledgebase-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust4ai%2Fknowledgebase-agent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust4ai%2Fknowledgebase-agent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48f88c1f9cf32a1c2c9cab6761dd91b7d045b66d [INFO] checking rust4ai/knowledgebase-agent against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust4ai%2Fknowledgebase-agent" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rust4ai/knowledgebase-agent [INFO] finished tweaking git repo https://github.com/rust4ai/knowledgebase-agent [INFO] tweaked toml for git repo https://github.com/rust4ai/knowledgebase-agent written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rust4ai/knowledgebase-agent on toolchain 65b20a97de33e9e59992793a144aef2950c48c76 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rust4ai/knowledgebase-agent 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00 [INFO] running `Command { std: "docker" "start" "46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00", 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" "46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aws-lc-rs v1.16.3 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustls-pki-types v1.14.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Checking webpki-roots v1.0.7 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling tokio v1.52.2 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.40.0 [INFO] [stderr] Compiling openssl-sys v0.9.115 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling openssl v0.10.79 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking deranged v0.5.6 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking as-any v0.3.2 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking aws-region v0.25.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking schemars v1.2.1 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling maybe-async v0.2.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.7.0 [INFO] [stderr] Checking attohttpc v0.28.5 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking aws-creds v0.37.0 [INFO] [stderr] Checking reqwest v0.13.3 [INFO] [stderr] Checking rust-s3 v0.35.1 [INFO] [stderr] Checking rig-core v0.36.0 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking rig v0.36.0 [INFO] [stderr] Checking metalcraft v0.3.1 [INFO] [stderr] Checking knowledgebase-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> tests/api_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pages_for_document` is never used [INFO] [stdout] --> src/db/page_indexes.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn get_pages_for_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pages_for_document` is never used [INFO] [stdout] --> src/db/page_indexes.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn get_pages_for_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00", kill_on_drop: false }` [INFO] [stdout] 46a5d6198857d04a367e24469babcbd789ea04177ab745ad838f01983e42db00