[INFO] cloning repository https://github.com/Musbell/auto_gippity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Musbell/auto_gippity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMusbell%2Fauto_gippity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMusbell%2Fauto_gippity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a110cea58f0c97d1fa3450cfa79ca442cd53a175 [INFO] checking Musbell/auto_gippity against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMusbell%2Fauto_gippity" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Musbell/auto_gippity [INFO] finished tweaking git repo https://github.com/Musbell/auto_gippity [INFO] tweaked toml for git repo https://github.com/Musbell/auto_gippity written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Musbell/auto_gippity on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Musbell/auto_gippity 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ai_functions v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de9f1b2e1f3bf263adb5de1863424dfae8edad573b6a0ca5aa0bcdb958a64adf [INFO] running `Command { std: "docker" "start" "-a" "de9f1b2e1f3bf263adb5de1863424dfae8edad573b6a0ca5aa0bcdb958a64adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de9f1b2e1f3bf263adb5de1863424dfae8edad573b6a0ca5aa0bcdb958a64adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9f1b2e1f3bf263adb5de1863424dfae8edad573b6a0ca5aa0bcdb958a64adf", kill_on_drop: false }` [INFO] [stdout] de9f1b2e1f3bf263adb5de1863424dfae8edad573b6a0ca5aa0bcdb958a64adf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a8c230709bacf8179c1a61e187e939c26fe28cb7be7c00159be2ad77482f9c3 [INFO] running `Command { std: "docker" "start" "-a" "4a8c230709bacf8179c1a61e187e939c26fe28cb7be7c00159be2ad77482f9c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling openssl v0.10.60 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Compiling ai_functions v0.1.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking webbrowser v0.8.12 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling openssl-sys v0.9.96 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking auto_gippity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::models::agent_basic::basic_agent::BasicAgent` [INFO] [stdout] --> src/models/agent_basic/basic_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::agent_basic::basic_agent::BasicAgent; [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 imports: `WEB_SERVER_PROJECT_PATH`, `check_status_code`, and `save_api_endpoints` [INFO] [stdout] --> src/models/agents/agent_backend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | check_status_code, read_code_template_contents, read_exec_main_contents, save_api_endpoints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | save_backend_code, WEB_SERVER_PROJECT_PATH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrintCommand` and `confirm_safe_code` [INFO] [stdout] --> src/models/agents/agent_backend.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::helpers::command_line::{confirm_safe_code, PrintCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RouteObject` and `SpecialFunctions` [INFO] [stdout] --> src/models/agents/agent_backend.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::agents::agent_traits::{FactSheet, RouteObject, SpecialFunctions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/models/agents/agent_backend.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/models/agents/agent_backend.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/models/agents/agent_backend.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/models/agents/agent_backend.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> src/models/agents/agent_backend.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::agent_basic::basic_agent::BasicAgent` [INFO] [stdout] --> src/models/agent_basic/basic_traits.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::agent_basic::basic_agent::BasicAgent; [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 imports: `WEB_SERVER_PROJECT_PATH`, `check_status_code`, and `save_api_endpoints` [INFO] [stdout] --> src/models/agents/agent_backend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | check_status_code, read_code_template_contents, read_exec_main_contents, save_api_endpoints, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | save_backend_code, WEB_SERVER_PROJECT_PATH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrintCommand` and `confirm_safe_code` [INFO] [stdout] --> src/models/agents/agent_backend.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::helpers::command_line::{confirm_safe_code, PrintCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RouteObject` and `SpecialFunctions` [INFO] [stdout] --> src/models/agents/agent_backend.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::models::agents::agent_traits::{FactSheet, RouteObject, SpecialFunctions}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/models/agents/agent_backend.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Client` [INFO] [stdout] --> src/models/agents/agent_backend.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use reqwest::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/models/agents/agent_backend.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/models/agents/agent_backend.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time` [INFO] [stdout] --> src/models/agents/agent_backend.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::time; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_gpt` is never used [INFO] [stdout] --> src/apis/call_request.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn call_gpt(messages: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrintCommand` is never used [INFO] [stdout] --> src/helpers/command_line.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PrintCommand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_agent_message` is never used [INFO] [stdout] --> src/helpers/command_line.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PrintCommand { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 15 | pub fn print_agent_message(&self, agent_pos: &str, agent_statement: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm_safe_code` is never used [INFO] [stdout] --> src/helpers/command_line.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn confirm_safe_code() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_TEMPLATE_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CODE_TEMPLATE_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEB_SERVER_PROJECT_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const WEB_SERVER_PROJECT_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXEC_MAIN_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const EXEC_MAIN_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `API_SCHEMA_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const API_SCHEMA_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_ai_function` is never used [INFO] [stdout] --> src/helpers/general.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn extend_ai_function(ai_func: fn(&str) -> &'static str, func_input: &str) -> Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ai_task_request` is never used [INFO] [stdout] --> src/helpers/general.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn ai_task_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ai_task_request_decoded` is never used [INFO] [stdout] --> src/helpers/general.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn ai_task_request_decoded( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_status_code` is never used [INFO] [stdout] --> src/helpers/general.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn check_status_code(client: &Client, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_code_template_contents` is never used [INFO] [stdout] --> src/helpers/general.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn read_code_template_contents() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_exec_main_contents` is never used [INFO] [stdout] --> src/helpers/general.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn read_exec_main_contents() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_backend_code` is never used [INFO] [stdout] --> src/helpers/general.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn save_backend_code(contents: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_api_endpoints` is never used [INFO] [stdout] --> src/helpers/general.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn save_api_endpoints(api_endpoints: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AgentState` is never used [INFO] [stdout] --> src/models/agent_basic/basic_agent.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AgentState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicAgent` is never constructed [INFO] [stdout] --> src/models/agent_basic/basic_agent.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BasicAgent { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BasicTraits` is never used [INFO] [stdout] --> src/models/agent_basic/basic_traits.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait BasicTraits { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentSolutionArchitect` is never constructed [INFO] [stdout] --> src/models/agents/agent_architect.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AgentSolutionArchitect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `call_project_scope`, and `call_determine_external_urls` are never used [INFO] [stdout] --> src/models/agents/agent_architect.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl AgentSolutionArchitect { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | async fn call_project_scope(&mut self, factsheet: &mut FactSheet) -> ProjectScope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | async fn call_determine_external_urls( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentBackendDeveloper` is never constructed [INFO] [stdout] --> src/models/agents/agent_backend.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AgentBackendDeveloper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `call_initial_backend_code`, `call_improved_backend_code`, `call_fix_code_bugs`, and `call_extract_rest_api_endpoints` are never used [INFO] [stdout] --> src/models/agents/agent_backend.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl AgentBackendDeveloper { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | async fn call_initial_backend_code(&mut self, factsheet: &mut FactSheet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | async fn call_improved_backend_code(&mut self, factsheet: &mut FactSheet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | async fn call_fix_code_bugs(&mut self, factsheet: &mut FactSheet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | async fn call_extract_rest_api_endpoints(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RouteObject` is never constructed [INFO] [stdout] --> src/models/agents/agent_traits.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RouteObject { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProjectScope` is never constructed [INFO] [stdout] --> src/models/agents/agent_traits.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ProjectScope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FactSheet` is never constructed [INFO] [stdout] --> src/models/agents/agent_traits.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FactSheet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpecialFunctions` is never used [INFO] [stdout] --> src/models/agents/agent_traits.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait SpecialFunctions: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManagingAgent` is never constructed [INFO] [stdout] --> src/models/agents_manager/managing_agent.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ManagingAgent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_agent`, `create_agents`, and `execute_project` are never used [INFO] [stdout] --> src/models/agents_manager/managing_agent.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | impl ManagingAgent { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 17 | pub async fn new(usr_req: String) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn add_agent(&mut self, agent: Box) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn create_agents(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn execute_project(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/models/general/llm.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChatCompletion` is never constructed [INFO] [stdout] --> src/models/general/llm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ChatCompletion { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `APIMessage` is never constructed [INFO] [stdout] --> src/models/general/llm.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct APIMessage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `APIChoice` is never constructed [INFO] [stdout] --> src/models/general/llm.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct APIChoice { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `APIResponse` is never constructed [INFO] [stdout] --> src/models/general/llm.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct APIResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Issue` is never constructed [INFO] [stdout] --> src/helpers/command_line.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PrintCommand { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Issue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrintCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `confirm_safe_code` is never used [INFO] [stdout] --> src/helpers/command_line.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn confirm_safe_code() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CODE_TEMPLATE_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CODE_TEMPLATE_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEB_SERVER_PROJECT_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const WEB_SERVER_PROJECT_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EXEC_MAIN_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const EXEC_MAIN_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `API_SCHEMA_PATH` is never used [INFO] [stdout] --> src/helpers/general.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const API_SCHEMA_PATH: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_code_template_contents` is never used [INFO] [stdout] --> src/helpers/general.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn read_code_template_contents() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_exec_main_contents` is never used [INFO] [stdout] --> src/helpers/general.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn read_exec_main_contents() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_backend_code` is never used [INFO] [stdout] --> src/helpers/general.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn save_backend_code(contents: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_api_endpoints` is never used [INFO] [stdout] --> src/helpers/general.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn save_api_endpoints(api_endpoints: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Working` is never constructed [INFO] [stdout] --> src/models/agent_basic/basic_agent.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AgentState { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 6 | Discovery, [INFO] [stdout] 7 | Working, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AgentState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `objective` and `memory` are never read [INFO] [stdout] --> src/models/agent_basic/basic_agent.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BasicAgent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | pub objective: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub memory: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicAgent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_objective`, `get_position`, `get_state`, and `get_memory` are never used [INFO] [stdout] --> src/models/agent_basic/basic_traits.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait BasicTraits { [INFO] [stdout] | ----------- associated items in this trait [INFO] [stdout] 7 | fn new(objective: String, position: String) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | fn update_state(&mut self, new_state: AgentState); [INFO] [stdout] 9 | fn get_objective(&self) -> &String; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn get_position(&self) -> &String; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | fn get_state(&self) -> &AgentState; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | fn get_memory(&self) -> &Vec; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AgentBackendDeveloper` is never constructed [INFO] [stdout] --> src/models/agents/agent_backend.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AgentBackendDeveloper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `call_initial_backend_code`, `call_improved_backend_code`, `call_fix_code_bugs`, and `call_extract_rest_api_endpoints` are never used [INFO] [stdout] --> src/models/agents/agent_backend.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl AgentBackendDeveloper { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | async fn call_initial_backend_code(&mut self, factsheet: &mut FactSheet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | async fn call_improved_backend_code(&mut self, factsheet: &mut FactSheet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | async fn call_fix_code_bugs(&mut self, factsheet: &mut FactSheet) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | async fn call_extract_rest_api_endpoints(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_attributes_from_agent` is never used [INFO] [stdout] --> src/models/agents/agent_traits.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait SpecialFunctions: Debug { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] 33 | // Used to that manager can get attributes from Agents [INFO] [stdout] 34 | fn get_attributes_from_agent(&self) -> &BasicAgent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.94s [INFO] running `Command { std: "docker" "inspect" "4a8c230709bacf8179c1a61e187e939c26fe28cb7be7c00159be2ad77482f9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a8c230709bacf8179c1a61e187e939c26fe28cb7be7c00159be2ad77482f9c3", kill_on_drop: false }` [INFO] [stdout] 4a8c230709bacf8179c1a61e187e939c26fe28cb7be7c00159be2ad77482f9c3