[INFO] fetching crate grok-rust-sdk 0.1.0... [INFO] checking grok-rust-sdk-0.1.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate grok-rust-sdk 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate grok-rust-sdk 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate grok-rust-sdk 0.1.0 [INFO] tweaked toml for crates.io crate grok-rust-sdk 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate grok-rust-sdk 0.1.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate grok-rust-sdk 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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded meval v0.2.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.7 [INFO] [stderr] Downloaded openssl-sys v0.9.110 [INFO] [stderr] Downloaded cc v1.2.42 [INFO] [stderr] Downloaded openssl v0.10.74 [INFO] [stderr] Downloaded rustls v0.23.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9df335724377b25dda3a26911126f6d7ad87b47a1476681c97446d44e266409b [INFO] running `Command { std: "docker" "start" "-a" "9df335724377b25dda3a26911126f6d7ad87b47a1476681c97446d44e266409b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9df335724377b25dda3a26911126f6d7ad87b47a1476681c97446d44e266409b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df335724377b25dda3a26911126f6d7ad87b47a1476681c97446d44e266409b", kill_on_drop: false }` [INFO] [stdout] 9df335724377b25dda3a26911126f6d7ad87b47a1476681c97446d44e266409b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7812d7ce4acf23569f671becdea18a89cf94e71a9dccd905f4ce3a4fa49b403 [INFO] running `Command { std: "docker" "start" "-a" "a7812d7ce4acf23569f671becdea18a89cf94e71a9dccd905f4ce3a4fa49b403", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling cc v1.2.42 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking meval v0.2.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.24 [INFO] [stderr] Checking grok-rust-sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: struct `ChatRequest` is private [INFO] [stdout] --> src/client.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chat::{ChatCompletion, ChatRequest, ChatResponse, Message, Model, Tool}; [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `ChatRequest` is defined here [INFO] [stdout] --> src/chat.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | struct ChatRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `ChatRequest` is private [INFO] [stdout] --> src/client.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chat::{ChatCompletion, ChatRequest, ChatResponse, Message, Model, Tool}; [INFO] [stdout] | ^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `ChatRequest` is defined here [INFO] [stdout] --> src/chat.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 116 | struct ChatRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `ChatResponse` is private [INFO] [stdout] --> src/client.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chat::{ChatCompletion, ChatRequest, ChatResponse, Message, Model, Tool}; [INFO] [stdout] | ^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `ChatResponse` is defined here [INFO] [stdout] --> src/chat.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GrokError` and `Result` [INFO] [stdout] --> src/chat.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{GrokError, Result}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/chat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `ChatResponse` is private [INFO] [stdout] --> src/client.rs:3:48 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::chat::{ChatCompletion, ChatRequest, ChatResponse, Message, Model, Tool}; [INFO] [stdout] | ^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `ChatResponse` is defined here [INFO] [stdout] --> src/chat.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | struct ChatResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GrokError` and `Result` [INFO] [stdout] --> src/chat.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{GrokError, Result}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/chat.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/session.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut metadata = &mut self.metadata; [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] error[E0596]: cannot borrow `self.metadata` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/session.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | let mut metadata = &mut self.metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn append(&mut self, message: Message) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/session.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut metadata = &mut self.metadata; [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] error[E0596]: cannot borrow `self.metadata` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/session.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | let mut metadata = &mut self.metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn append(&mut self, message: Message) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/session.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | let result = tool_registry.execute_tool_call(tool_call).await?; [INFO] [stdout] | ----------------- ^^^^^^^^^ expected `tools::ToolCall`, found `chat::ToolCall` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `chat::ToolCall` and `tools::ToolCall` have similar names, but are actually distinct types [INFO] [stdout] note: `chat::ToolCall` is defined in module `crate::chat` of the current crate [INFO] [stdout] --> src/chat.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `tools::ToolCall` is defined in module `crate::tools` of the current crate [INFO] [stdout] --> src/tools.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tools.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub async fn execute_tool_call(&self, tool_call: &ToolCall) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/session.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | let result = tool_registry.execute_tool_call(tool_call).await?; [INFO] [stdout] | ----------------- ^^^^^^^^^ expected `tools::ToolCall`, found `chat::ToolCall` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `chat::ToolCall` and `tools::ToolCall` have similar names, but are actually distinct types [INFO] [stdout] note: `chat::ToolCall` is defined in module `crate::chat` of the current crate [INFO] [stdout] --> src/chat.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `tools::ToolCall` is defined in module `crate::tools` of the current crate [INFO] [stdout] --> src/tools.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ToolCall { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tools.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | pub async fn execute_tool_call(&self, tool_call: &ToolCall) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/session.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut metadata = &mut self.metadata; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/session.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut metadata = &mut self.metadata; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.metadata` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/session.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let mut metadata = &mut self.metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn clear_history(&mut self) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self.metadata` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/session.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let mut metadata = &mut self.metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so it cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn clear_history(&mut self) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `messages` [INFO] [stdout] --> src/session.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 142 | let mut messages = self.messages.write().await; [INFO] [stdout] | ------------ move occurs because `messages` has type `tokio::sync::RwLockWriteGuard<'_, Vec>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 147 | drop(messages); [INFO] [stdout] | -------- value moved here [INFO] [stdout] ... [INFO] [stdout] 150 | metadata.message_count = messages.len(); [INFO] [stdout] | ^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: borrow occurs due to deref coercion to `Vec` [INFO] [stdout] note: deref defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/sync/rwlock/write_guard.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | type Target = T; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `messages` [INFO] [stdout] --> src/session.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 142 | let mut messages = self.messages.write().await; [INFO] [stdout] | ------------ move occurs because `messages` has type `tokio::sync::RwLockWriteGuard<'_, Vec>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 147 | drop(messages); [INFO] [stdout] | -------- value moved here [INFO] [stdout] ... [INFO] [stdout] 150 | metadata.message_count = messages.len(); [INFO] [stdout] | ^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: borrow occurs due to deref coercion to `Vec` [INFO] [stdout] note: deref defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.48.0/src/sync/rwlock/write_guard.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | type Target = T; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `metadata` of struct `Session` is private [INFO] [stdout] --> src/collections.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | .map(|s| s.metadata.message_count) [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `metadata` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 103 | .map(|s| s.metadata().message_count) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `metadata` of struct `Session` is private [INFO] [stdout] --> src/collections.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | .map(|s| s.metadata.message_count) [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `metadata` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 103 | .map(|s| s.metadata().message_count) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `metadata` of struct `Session` is private [INFO] [stdout] --> src/collections.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|s| s.metadata.total_tokens) [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `metadata` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 106 | .map(|s| s.metadata().total_tokens) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `metadata` of struct `Session` is private [INFO] [stdout] --> src/collections.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(title) = &session.metadata.title { [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `metadata` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(title) = &session.metadata().title { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `metadata` of struct `Session` is private [INFO] [stdout] --> src/collections.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | .map(|s| s.metadata.total_tokens) [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `metadata` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 106 | .map(|s| s.metadata().total_tokens) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `metadata` of struct `Session` is private [INFO] [stdout] --> src/collections.rs:122:47 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(title) = &session.metadata.title { [INFO] [stdout] | ^^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `metadata` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(title) = &session.metadata().title { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn ToolExecutor + 'static)` doesn't implement `Debug` [INFO] [stdout] --> src/tools.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 81 | pub struct ToolRegistry { [INFO] [stdout] 82 | tools: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `(dyn ToolExecutor + 'static)` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `Debug` [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/any.rs:152:0 [INFO] [stdout] | [INFO] [stdout] = note: `dyn std::any::Any` [INFO] [stdout] ::: /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/any.rs:162:0 [INFO] [stdout] | [INFO] [stdout] = note: `dyn std::any::Any + std::marker::Send` [INFO] [stdout] ::: /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/any.rs:169:0 [INFO] [stdout] | [INFO] [stdout] = note: `dyn std::any::Any + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.34/src/field.rs:671:1 [INFO] [stdout] | [INFO] [stdout] 671 | impl fmt::Debug for dyn Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn tracing_core::field::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn ToolExecutor + 'static)` doesn't implement `Debug` [INFO] [stdout] --> src/tools.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 81 | pub struct ToolRegistry { [INFO] [stdout] 82 | tools: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `(dyn ToolExecutor + 'static)` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `Debug` [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/any.rs:152:0 [INFO] [stdout] | [INFO] [stdout] = note: `dyn std::any::Any` [INFO] [stdout] ::: /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/any.rs:162:0 [INFO] [stdout] | [INFO] [stdout] = note: `dyn std::any::Any + std::marker::Send` [INFO] [stdout] ::: /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/any.rs:169:0 [INFO] [stdout] | [INFO] [stdout] = note: `dyn std::any::Any + std::marker::Send + Sync` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.34/src/field.rs:671:1 [INFO] [stdout] | [INFO] [stdout] 671 | impl fmt::Debug for dyn Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn tracing_core::field::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0596, E0603, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grok-rust-sdk` (lib test) due to 10 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0596, E0603, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grok-rust-sdk` (lib) due to 10 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7812d7ce4acf23569f671becdea18a89cf94e71a9dccd905f4ce3a4fa49b403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7812d7ce4acf23569f671becdea18a89cf94e71a9dccd905f4ce3a4fa49b403", kill_on_drop: false }` [INFO] [stdout] a7812d7ce4acf23569f671becdea18a89cf94e71a9dccd905f4ce3a4fa49b403