[INFO] cloning repository https://github.com/Lengdrich/simple_react_agent- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lengdrich/simple_react_agent-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLengdrich%2Fsimple_react_agent-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLengdrich%2Fsimple_react_agent-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e0bbad3b65cd7e608cdf3711d7510ec3d458fe7 [INFO] checking Lengdrich/simple_react_agent- against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLengdrich%2Fsimple_react_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/Lengdrich/simple_react_agent- [INFO] finished tweaking git repo https://github.com/Lengdrich/simple_react_agent- [INFO] tweaked toml for git repo https://github.com/Lengdrich/simple_react_agent- written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lengdrich/simple_react_agent- on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lengdrich/simple_react_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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd [INFO] running `Command { std: "docker" "start" "bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd", 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" "bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd", 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" "bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.30 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking yoke v0.8.2 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Compiling aws-lc-rs v1.17.0 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot_core v0.6.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Compiling webpki-roots v1.0.7 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.41.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Compiling schemars_derive v1.2.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking as-any v0.3.2 [INFO] [stderr] Checking future-utils v0.12.1 [INFO] [stderr] Checking eventsource-stream v0.2.3 [INFO] [stderr] Checking schemars v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Compiling rustls-webpki v0.103.13 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [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 hyper-rustls v0.27.9 [INFO] [stderr] Checking reqwest v0.13.4 [INFO] [stderr] Checking rig-core v0.35.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking simple_react_agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `SIMPLE_REACT_AGENT_PROMPT` is never used [INFO] [stdout] --> src/agent/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const SIMPLE_REACT_AGENT_PROMPT: &str = include_str!("../../prompts/simple_react_agent.md"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_TOOL_TURNS` is never used [INFO] [stdout] --> src/agent/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const DEFAULT_MAX_TOOL_TURNS: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleReactAgent` is never constructed [INFO] [stdout] --> src/agent/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SimpleReactAgent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `builder`, `call`, `completion_request`, and `load_or_start_conversation` are never used [INFO] [stdout] --> src/agent/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl SimpleReactAgent [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | M: ConvMemory + Send + Sync, [INFO] [stdout] | |________________________________- associated items in this implementation [INFO] [stdout] 33 | { [INFO] [stdout] 34 | pub fn new() -> SimpleReactAgent { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn builder() -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn completion_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | async fn load_or_start_conversation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleReactAgentBuilder` is never constructed [INFO] [stdout] --> src/agent/mod.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/agent/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 167 | / impl SimpleReactAgentBuilder [INFO] [stdout] 168 | | where [INFO] [stdout] 169 | | M: ConvMemory + Send + Sync, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 170 | { [INFO] [stdout] 171 | pub fn name(mut self, name: String) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn client(mut self, client: openai::Client) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn model(mut self, model: impl Into) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn memory(mut self, memory: M) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn tool(mut self, tool: impl Tool + 'static) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn tools(mut self, tools: Vec>) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn max_tool_turns(mut self, max_tool_turns: usize) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn build(self) -> SimpleReactAgent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stored_message_to_rig_message` is never used [INFO] [stdout] --> src/agent/mod.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn stored_message_to_rig_message(message: StoredMessage) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_tool_calls` is never used [INFO] [stdout] --> src/agent/mod.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn extract_tool_calls(message: &Message) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assistant_text` is never used [INFO] [stdout] --> src/agent/mod.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn assistant_text(message: &Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SimpleReactAgentError` is never used [INFO] [stdout] --> src/agent/mod.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | pub enum SimpleReactAgentError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/store/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConvMemory` is never used [INFO] [stdout] --> src/store/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ConvMemory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PgConversationMemory` is never constructed [INFO] [stdout] --> src/store/pgsql.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PgConversationMemory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/store/pgsql.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PgConversationMemory { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIMPLE_REACT_AGENT_PROMPT` is never used [INFO] [stdout] --> src/agent/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const SIMPLE_REACT_AGENT_PROMPT: &str = include_str!("../../prompts/simple_react_agent.md"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_MAX_TOOL_TURNS` is never used [INFO] [stdout] --> src/agent/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const DEFAULT_MAX_TOOL_TURNS: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleReactAgent` is never constructed [INFO] [stdout] --> src/agent/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct SimpleReactAgent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `builder`, `call`, `completion_request`, and `load_or_start_conversation` are never used [INFO] [stdout] --> src/agent/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | / impl SimpleReactAgent [INFO] [stdout] 31 | | where [INFO] [stdout] 32 | | M: ConvMemory + Send + Sync, [INFO] [stdout] | |________________________________- associated items in this implementation [INFO] [stdout] 33 | { [INFO] [stdout] 34 | pub fn new() -> SimpleReactAgent { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn builder() -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn call( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn completion_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | async fn load_or_start_conversation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleReactAgentBuilder` is never constructed [INFO] [stdout] --> src/agent/mod.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/agent/mod.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 167 | / impl SimpleReactAgentBuilder [INFO] [stdout] 168 | | where [INFO] [stdout] 169 | | M: ConvMemory + Send + Sync, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 170 | { [INFO] [stdout] 171 | pub fn name(mut self, name: String) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn client(mut self, client: openai::Client) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn model(mut self, model: impl Into) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn memory(mut self, memory: M) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn tool(mut self, tool: impl Tool + 'static) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn tools(mut self, tools: Vec>) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn max_tool_turns(mut self, max_tool_turns: usize) -> SimpleReactAgentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn build(self) -> SimpleReactAgent { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stored_message_to_rig_message` is never used [INFO] [stdout] --> src/agent/mod.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn stored_message_to_rig_message(message: StoredMessage) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_tool_calls` is never used [INFO] [stdout] --> src/agent/mod.rs:238:4 [INFO] [stdout] | [INFO] [stdout] 238 | fn extract_tool_calls(message: &Message) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assistant_text` is never used [INFO] [stdout] --> src/agent/mod.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn assistant_text(message: &Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SimpleReactAgentError` is never used [INFO] [stdout] --> src/agent/mod.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | pub enum SimpleReactAgentError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/store/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ConvMemory` is never used [INFO] [stdout] --> src/store/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ConvMemory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PgConversationMemory` is never constructed [INFO] [stdout] --> src/store/pgsql.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PgConversationMemory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/store/pgsql.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PgConversationMemory { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(pool: PgPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `future-utils` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | future-utils = "0.12.1" [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `future-utils` [INFO] [stderr] warning: `simple_react_agent` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd", kill_on_drop: false }` [INFO] [stdout] bf738828edfea4b55cd96b9c846dadce6fbe5df52b85457b327d4fd40bc85dfd