[INFO] fetching crate ahnlich_client_rs 0.1.0... [INFO] testing ahnlich_client_rs-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ahnlich_client_rs 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ahnlich_client_rs 0.1.0 [INFO] finished tweaking crates.io crate ahnlich_client_rs 0.1.0 [INFO] tweaked toml for crates.io crate ahnlich_client_rs 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ahnlich_client_rs 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ahnlich_client_rs 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b10bf86c2b9abd9c09b5e9a2943c754ee47f8d406a9af4f0050eea5e9779f2ef [INFO] running `Command { std: "docker" "start" "-a" "b10bf86c2b9abd9c09b5e9a2943c754ee47f8d406a9af4f0050eea5e9779f2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b10bf86c2b9abd9c09b5e9a2943c754ee47f8d406a9af4f0050eea5e9779f2ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10bf86c2b9abd9c09b5e9a2943c754ee47f8d406a9af4f0050eea5e9779f2ef", kill_on_drop: false }` [INFO] [stdout] b10bf86c2b9abd9c09b5e9a2943c754ee47f8d406a9af4f0050eea5e9779f2ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb765caaeb35414b3d229fa6bb9816771933edec0073ea409489da0b2fd4879a [INFO] running `Command { std: "docker" "start" "-a" "fb765caaeb35414b3d229fa6bb9816771933edec0073ea409489da0b2fd4879a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-types v0.13.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fallible_collections v0.4.9 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling ahnlich_types v0.1.0 [INFO] [stderr] Compiling ahnlich_client_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.42s [INFO] running `Command { std: "docker" "inspect" "fb765caaeb35414b3d229fa6bb9816771933edec0073ea409489da0b2fd4879a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb765caaeb35414b3d229fa6bb9816771933edec0073ea409489da0b2fd4879a", kill_on_drop: false }` [INFO] [stdout] fb765caaeb35414b3d229fa6bb9816771933edec0073ea409489da0b2fd4879a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6be67f63325f514bd2942d02f7c9ec9bc22f7039f58a939724c15de9430eccb8 [INFO] running `Command { std: "docker" "start" "-a" "6be67f63325f514bd2942d02f7c9ec9bc22f7039f58a939724c15de9430eccb8", kill_on_drop: false }` [INFO] [stderr] Compiling ahnlich_client_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../../ai/src/tests/images/dog.jpg`: No such file or directory (os error 2) [INFO] [stdout] --> src/ai.rs:903:25 [INFO] [stdout] | [INFO] [stdout] 903 | include_bytes!("../../ai/src/tests/images/dog.jpg").to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../ai/src/tests/images/test.webp`: No such file or directory (os error 2) [INFO] [stdout] --> src/ai.rs:918:25 [INFO] [stdout] | [INFO] [stdout] 918 | include_bytes!("../../ai/src/tests/images/test.webp").to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../ai/src/tests/images/cat.png`: No such file or directory (os error 2) [INFO] [stdout] --> src/ai.rs:926:25 [INFO] [stdout] | [INFO] [stdout] 926 | include_bytes!("../../ai/src/tests/images/cat.png").to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../ai/src/tests/images/cat.png`: No such file or directory (os error 2) [INFO] [stdout] --> src/ai.rs:1027:37 [INFO] [stdout] | [INFO] [stdout] 1027 | ... include_bytes!("../../ai/src/tests/images/cat.png").to_vec(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] --> src/ai.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use ahnlich_ai_proxy::cli::server::SupportedModels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_ai_proxy`, use `cargo add ahnlich_ai_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] --> src/ai.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | use ahnlich_ai_proxy::cli::AIProxyConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_ai_proxy`, use `cargo add ahnlich_ai_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] --> src/ai.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | use ahnlich_ai_proxy::engine::ai::models::ModelDetails; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_ai_proxy`, use `cargo add ahnlich_ai_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] --> src/ai.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | use ahnlich_ai_proxy::error::AIProxyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_ai_proxy`, use `cargo add ahnlich_ai_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] --> src/ai.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | use ahnlich_ai_proxy::server::handler::AIProxyServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_ai_proxy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_ai_proxy`, use `cargo add ahnlich_ai_proxy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] --> src/ai.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use ahnlich_db::cli::ServerConfig; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_db`, use `cargo add ahnlich_db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] --> src/ai.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | use ahnlich_db::server::handler::Server; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_db`, use `cargo add ahnlich_db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `utils` [INFO] [stdout] --> src/ai.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | use utils::server::AhnlichServerUtils; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `utils`, use `cargo add utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> src/ai.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pretty_assertions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty_assertions`, use `cargo add pretty_assertions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] --> src/db.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | use ahnlich_db::{cli::ServerConfig, errors::ServerError, server::handler::Server}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_db`, use `cargo add ahnlich_db` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `utils` [INFO] [stdout] --> src/db.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | use utils::server::AhnlichServerUtils; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `utils`, use `cargo add utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> src/db.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pretty_assertions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty_assertions`, use `cargo add pretty_assertions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] --> src/db.rs:661:30 [INFO] [stdout] | [INFO] [stdout] 661 | let error_response = ahnlich_db::errors::ServerError::StoreAlreadyExists(StoreName { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `ahnlich_db` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ahnlich_db`, use `cargo add ahnlich_db` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `crate::error::AhnlichError::ServerError`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 661 - let error_response = ahnlich_db::errors::ServerError::StoreAlreadyExists(StoreName { [INFO] [stdout] 661 + let error_response = crate::error::AhnlichError::StoreAlreadyExists(StoreName { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetSimNEntry` and `similarity::Similarity` [INFO] [stdout] --> src/db.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | server::{GetSimNEntry, StoreInfo}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | similarity::Similarity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ahnlich_client_rs` (lib test) due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6be67f63325f514bd2942d02f7c9ec9bc22f7039f58a939724c15de9430eccb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6be67f63325f514bd2942d02f7c9ec9bc22f7039f58a939724c15de9430eccb8", kill_on_drop: false }` [INFO] [stdout] 6be67f63325f514bd2942d02f7c9ec9bc22f7039f58a939724c15de9430eccb8