[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 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLengdrich%2Fsimple_react_agent-" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Lengdrich/simple_react_agent- on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1
[INFO] running `Command { std: "docker" "start" "a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1", 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" "a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1", 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" "a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking log v0.4.30
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking http v1.4.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[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 futures v0.3.32
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking pin-project v1.1.13
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking dyn-clone v1.0.20
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking nanoid v0.4.0
[INFO] [stderr]     Checking ordered-float v5.3.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking futures-timer v3.0.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking unwrap v1.2.1
[INFO] [stderr]     Checking as-any v0.3.2
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking future-utils v0.12.1
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking schemars v1.2.1
[INFO] [stderr]     Checking h2 v0.4.14
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper v1.9.0
[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<M> {
[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<M> SimpleReactAgent<M>
[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<M> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |       pub fn builder() -> SimpleReactAgentBuilder<M> {
[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<M> {
[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<M> SimpleReactAgentBuilder<M>
[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<M> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |       pub fn client(mut self, client: openai::Client) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |       pub fn model(mut self, model: impl Into<String>) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |       pub fn memory(mut self, memory: M) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |       pub fn tool(mut self, tool: impl Tool + 'static) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |       pub fn tools(mut self, tools: Vec<Box<dyn ToolDyn + 'static>>) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |       pub fn max_tool_turns(mut self, max_tool_turns: usize) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |       pub fn build(self) -> SimpleReactAgent<M> {
[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<Message, SimpleReactAgentError> {
[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<ToolCall> {
[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<String, SimpleReactAgentError> {
[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<M> {
[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<M> SimpleReactAgent<M>
[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<M> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  38 |       pub fn builder() -> SimpleReactAgentBuilder<M> {
[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<M> {
[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<M> SimpleReactAgentBuilder<M>
[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<M> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |       pub fn client(mut self, client: openai::Client) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |       pub fn model(mut self, model: impl Into<String>) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |       pub fn memory(mut self, memory: M) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |       pub fn tool(mut self, tool: impl Tool + 'static) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |       pub fn tools(mut self, tools: Vec<Box<dyn ToolDyn + 'static>>) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |       pub fn max_tool_turns(mut self, max_tool_turns: usize) -> SimpleReactAgentBuilder<M> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 208 |       pub fn build(self) -> SimpleReactAgent<M> {
[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<Message, SimpleReactAgentError> {
[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<ToolCall> {
[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<String, SimpleReactAgentError> {
[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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s
[INFO] running `Command { std: "docker" "inspect" "a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1", kill_on_drop: false }`
[INFO] [stdout] a202a6c0ab283d12f3db975443ad71dddc8cc08ac39d56c65bfd4c57429203e1
