[INFO] fetching crate toolfront-macro 0.1.0... [INFO] testing toolfront-macro-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate toolfront-macro 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate toolfront-macro 0.1.0 [INFO] finished tweaking crates.io crate toolfront-macro 0.1.0 [INFO] tweaked toml for crates.io crate toolfront-macro 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate toolfront-macro 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 160 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67acc2536a78dfcaa22042cbc9a463601083c912582a265c6afefa2586a87a94 [INFO] running `Command { std: "docker" "start" "-a" "67acc2536a78dfcaa22042cbc9a463601083c912582a265c6afefa2586a87a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67acc2536a78dfcaa22042cbc9a463601083c912582a265c6afefa2586a87a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67acc2536a78dfcaa22042cbc9a463601083c912582a265c6afefa2586a87a94", kill_on_drop: false }` [INFO] [stdout] 67acc2536a78dfcaa22042cbc9a463601083c912582a265c6afefa2586a87a94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fac0f6a8ff091f0da0b82b0fbe456281c74554a0002abae12d0933f80c85f624 [INFO] running `Command { std: "docker" "start" "-a" "fac0f6a8ff091f0da0b82b0fbe456281c74554a0002abae12d0933f80c85f624", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling toolfront-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "fac0f6a8ff091f0da0b82b0fbe456281c74554a0002abae12d0933f80c85f624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac0f6a8ff091f0da0b82b0fbe456281c74554a0002abae12d0933f80c85f624", kill_on_drop: false }` [INFO] [stdout] fac0f6a8ff091f0da0b82b0fbe456281c74554a0002abae12d0933f80c85f624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e51e3a841156a387b0a00464a37ca0b041761d23d10d9db55dc7c89911b568 [INFO] running `Command { std: "docker" "start" "-a" "86e51e3a841156a387b0a00464a37ca0b041761d23d10d9db55dc7c89911b568", kill_on_drop: false }` [INFO] [stderr] Compiling toolfront-macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "86e51e3a841156a387b0a00464a37ca0b041761d23d10d9db55dc7c89911b568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e51e3a841156a387b0a00464a37ca0b041761d23d10d9db55dc7c89911b568", kill_on_drop: false }` [INFO] [stdout] 86e51e3a841156a387b0a00464a37ca0b041761d23d10d9db55dc7c89911b568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4621e2d31aab412f79d34b387b6bc62651c4d1970de1f0bbc330e7887b0e0cfd [INFO] running `Command { std: "docker" "start" "-a" "4621e2d31aab412f79d34b387b6bc62651c4d1970de1f0bbc330e7887b0e0cfd", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/toolfront_macro-a2db4472d0bd0a1e) [INFO] [stderr] Doc-tests toolfront_macro [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - generate_client (line 139) ... FAILED [INFO] [stdout] test src/lib.rs - generate_client (line 53) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - generate_client (line 139) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:140:47 [INFO] [stdout] | [INFO] [stdout] 140 | impl From for YourErrorType { ... } [INFO] [stdout] | - ^^^ - item list ends here [INFO] [stdout] | | | [INFO] [stdout] | | non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:141:50 [INFO] [stdout] | [INFO] [stdout] 141 | impl From for YourErrorType { ... } [INFO] [stdout] | - ^^^ - item list ends here [INFO] [stdout] | | | [INFO] [stdout] | | non-item starts here [INFO] [stdout] | item list starts here [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YourErrorType` in this scope [INFO] [stdout] --> src/lib.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | impl From for YourErrorType { ... } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YourErrorType` in this scope [INFO] [stdout] --> src/lib.rs:141:34 [INFO] [stdout] | [INFO] [stdout] 141 | impl From for YourErrorType { ... } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - generate_client (line 53) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `pgvector` [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | use pgvector::Vector; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `pgvector` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgvector`, use `cargo add pgvector` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] --> src/lib.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/lib.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[error("API request failed: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | Request(#[from] reqwest::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[error("JSON error: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/lib.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | Json(#[from] serde_json::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `generate_client` in this scope [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | generate_client!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 53 + use toolfront_macro::generate_client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | users: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | struct UserSearchResponse { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/lib.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | users: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OpenAIClient` in this scope [INFO] [stdout] --> src/lib.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | openai: OpenAIClient, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | db: PgPool, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `find_relevant_endpoint` in this scope [INFO] [stdout] --> src/lib.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let endpoint = find_relevant_endpoint(&self.db, task).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_parameters` found for reference `&Agent` in the current scope [INFO] [stdout] --> src/lib.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | let params = self.generate_parameters(task).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&Agent` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserSearchClient` [INFO] [stdout] --> src/lib.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let client = UserSearchClient::new("https://api.example.com".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `UserSearchClient` [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `AgentError` [INFO] [stdout] --> src/lib.rs:111:42 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(serde_json::to_value(response)?) [INFO] [stdout] | ------------------------------^ the trait `From` is not implemented for `AgentError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, serde_json::Error>` [INFO] [stdout] | [INFO] [stdout] note: `AgentError` needs to implement `From` [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum AgentError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | async fn execute_task(&self, task: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: Serialize` will fail [INFO] [stdout] --> src/lib.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(serde_json::to_value(response)?) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 102 ~ let endpoint: () = find_relevant_endpoint(&self.db, task).await?; [INFO] [stdout] 103 | [INFO] [stdout] ... [INFO] [stdout] 108 | let client = UserSearchClient::new("https://api.example.com".to_string()); [INFO] [stdout] 109 ~ let response: () = client.execute(params).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - generate_client (line 139) [INFO] [stdout] src/lib.rs - generate_client (line 53) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4621e2d31aab412f79d34b387b6bc62651c4d1970de1f0bbc330e7887b0e0cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4621e2d31aab412f79d34b387b6bc62651c4d1970de1f0bbc330e7887b0e0cfd", kill_on_drop: false }` [INFO] [stdout] 4621e2d31aab412f79d34b387b6bc62651c4d1970de1f0bbc330e7887b0e0cfd