[INFO] fetching crate ahnlich_client_rs 0.1.0... [INFO] checking ahnlich_client_rs-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate ahnlich_client_rs 0.1.0 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ahnlich_client_rs 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v1.1.7 [INFO] [stderr] Downloaded pin-project v1.1.7 [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded multimap v0.10.0 [INFO] [stderr] Downloaded prost-build v0.13.4 [INFO] [stderr] Downloaded prost-types v0.13.4 [INFO] [stderr] Downloaded ahnlich_types v0.1.0 [INFO] [stderr] Downloaded fallible_collections v0.4.9 [INFO] [stderr] Downloaded tonic-build v0.12.3 [INFO] [stderr] Downloaded itoa v1.0.13 [INFO] [stderr] Downloaded rustix v0.38.41 [INFO] [stderr] Downloaded tokio v1.41.1 [INFO] [stderr] Downloaded libc v0.2.164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18107eebda45d804d0d105816523f285350b19a9f828b73dd0ab5f96054b5a8d [INFO] running `Command { std: "docker" "start" "-a" "18107eebda45d804d0d105816523f285350b19a9f828b73dd0ab5f96054b5a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18107eebda45d804d0d105816523f285350b19a9f828b73dd0ab5f96054b5a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18107eebda45d804d0d105816523f285350b19a9f828b73dd0ab5f96054b5a8d", kill_on_drop: false }` [INFO] [stdout] 18107eebda45d804d0d105816523f285350b19a9f828b73dd0ab5f96054b5a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1395af99d8b30f9862471ed6aba3ca86fa66863b781006e0037edc90736ed7b [INFO] running `Command { std: "docker" "start" "-a" "a1395af99d8b30f9862471ed6aba3ca86fa66863b781006e0037edc90736ed7b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking prost v0.13.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking prost-types v0.13.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fallible_collections v0.4.9 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking ahnlich_types v0.1.0 [INFO] [stderr] Checking 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)]` 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" "a1395af99d8b30f9862471ed6aba3ca86fa66863b781006e0037edc90736ed7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1395af99d8b30f9862471ed6aba3ca86fa66863b781006e0037edc90736ed7b", kill_on_drop: false }` [INFO] [stdout] a1395af99d8b30f9862471ed6aba3ca86fa66863b781006e0037edc90736ed7b