[INFO] cloning repository https://github.com/josh-gree/agentz
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josh-gree/agentz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosh-gree%2Fagentz", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosh-gree%2Fagentz'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6daf72887d61db38302fa67e9e53b0c2ef07b688
[INFO] checking josh-gree/agentz against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosh-gree%2Fagentz" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/josh-gree/agentz
[INFO] finished tweaking git repo https://github.com/josh-gree/agentz
[INFO] tweaked toml for git repo https://github.com/josh-gree/agentz written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/josh-gree/agentz on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/josh-gree/agentz 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a
[INFO] running `Command { std: "docker" "start" "41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a", 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" "41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a", 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" "41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking smallvec v1.12.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling openssl v0.10.62
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.11
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix_derive v0.6.1
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]    Compiling openssl-sys v0.9.98
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking actix-rt v2.9.0
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking actix v0.13.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.23
[INFO] [stderr]     Checking agentz v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/actors.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `self`
[INFO] [stdout]  --> src/actors.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::callbacks::{self, Callback, Callbacks, Response};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Conversation`
[INFO] [stdout]  --> src/actors.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::conversation::{Conversation, ConversationEntry, Conversations};
[INFO] [stdout]   |                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `messages::Msg`
[INFO] [stdout]  --> src/callbacks.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{conversation::Conversation, messages::Msg};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/conversation.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::messages::{self, Msg};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/actors.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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: `self`
[INFO] [stdout]  --> src/actors.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::callbacks::{self, Callback, Callbacks, Response};
[INFO] [stdout]   |                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Conversation`
[INFO] [stdout]  --> src/actors.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::conversation::{Conversation, ConversationEntry, Conversations};
[INFO] [stdout]   |                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `messages::Msg`
[INFO] [stdout]  --> src/callbacks.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{conversation::Conversation, messages::Msg};
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/conversation.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::messages::{self, Msg};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `resp` is never read
[INFO] [stdout]   --> src/actors.rs:87:60
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 let mut resp: Option<Response<RoleType>> = None;
[INFO] [stdout]    |                                                            ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 91 |                     resp = callback.1(role, conv.clone(), system_prompt.clone()).await;
[INFO] [stdout]    |                     ---- `resp` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let msg = match last_msg {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:115:58
[INFO] [stdout]     |
[INFO] [stdout] 115 |             crate::conversation::ConversationEntry::Sent(msg) => unreachable!(),
[INFO] [stdout]     |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let msg = resp_json
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let msg = match last_msg {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:173:58
[INFO] [stdout]     |
[INFO] [stdout] 173 |             crate::conversation::ConversationEntry::Sent(msg) => unreachable!(),
[INFO] [stdout]     |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:218:58
[INFO] [stdout]     |
[INFO] [stdout] 218 |             crate::conversation::ConversationEntry::Sent(msg) => unreachable!(),
[INFO] [stdout]     |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]   --> src/ai_chat_system.rs:33:33
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...me(format!("We are roleplaying a debate the topi... talking at each turn!", debate_topic).into()),
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]   --> src/ai_chat_system.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...me(format!("We are roleplaying a debate the topi... talking at each turn!", debate_topic).into()),
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agentz` (lib test) due to 2 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `resp` is never read
[INFO] [stdout]   --> src/actors.rs:87:60
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 let mut resp: Option<Response<RoleType>> = None;
[INFO] [stdout]    |                                                            ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 91 |                     resp = callback.1(role, conv.clone(), system_prompt.clone()).await;
[INFO] [stdout]    |                     ---- `resp` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let msg = match last_msg {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:115:58
[INFO] [stdout]     |
[INFO] [stdout] 115 |             crate::conversation::ConversationEntry::Sent(msg) => unreachable!(),
[INFO] [stdout]     |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         let msg = resp_json
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let msg = match last_msg {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:173:58
[INFO] [stdout]     |
[INFO] [stdout] 173 |             crate::conversation::ConversationEntry::Sent(msg) => unreachable!(),
[INFO] [stdout]     |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/ai_chat_system.rs:218:58
[INFO] [stdout]     |
[INFO] [stdout] 218 |             crate::conversation::ConversationEntry::Sent(msg) => unreachable!(),
[INFO] [stdout]     |                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]   --> src/ai_chat_system.rs:33:33
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...me(format!("We are roleplaying a debate the topi... talking at each turn!", debate_topic).into()),
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]   --> src/ai_chat_system.rs:52:32
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...me(format!("We are roleplaying a debate the topi... talking at each turn!", debate_topic).into()),
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agentz` (lib) due to 2 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a", kill_on_drop: false }`
[INFO] [stdout] 41ace238ecc12e72292451ca26aa598da2e104ef3bf2f76433d82e399548ba2a
