[INFO] fetching crate autogpt 0.1.14... [INFO] testing autogpt-0.1.14 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate autogpt 0.1.14 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate autogpt 0.1.14 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate autogpt 0.1.14 [INFO] tweaked toml for crates.io crate autogpt 0.1.14 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate autogpt 0.1.14 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate autogpt 0.1.14 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbabdb343692c320c66fe07bf2329fc655d03f18f96ceb724f6ddd1c9495f63f [INFO] running `Command { std: "docker" "start" "-a" "fbabdb343692c320c66fe07bf2329fc655d03f18f96ceb724f6ddd1c9495f63f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbabdb343692c320c66fe07bf2329fc655d03f18f96ceb724f6ddd1c9495f63f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbabdb343692c320c66fe07bf2329fc655d03f18f96ceb724f6ddd1c9495f63f", kill_on_drop: false }` [INFO] [stdout] fbabdb343692c320c66fe07bf2329fc655d03f18f96ceb724f6ddd1c9495f63f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c618ebf5287a4ba0f590c66bf971b6bf10477df6cf4adbc885bc1096f880aba9 [INFO] running `Command { std: "docker" "start" "-a" "c618ebf5287a4ba0f590c66bf971b6bf10477df6cf4adbc885bc1096f880aba9", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling servo_arc v0.4.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling auto-derive v0.0.8 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling webbrowser v1.0.5 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling duckduckgo v0.2.0 [INFO] [stderr] Compiling autogpt v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/common/utils.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 150 | ClientType::from_env() [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 151 | } [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `ClientType`, which is uninhabited [INFO] [stdout] --> src/common/utils.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | ClientType::from_env() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/common/utils.rs:843:10 [INFO] [stdout] | [INFO] [stdout] 843 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Derivative` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/common/utils.rs:890:10 [INFO] [stdout] | [INFO] [stdout] 890 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the derive macro `Derivative` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.84s [INFO] running `Command { std: "docker" "inspect" "c618ebf5287a4ba0f590c66bf971b6bf10477df6cf4adbc885bc1096f880aba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c618ebf5287a4ba0f590c66bf971b6bf10477df6cf4adbc885bc1096f880aba9", kill_on_drop: false }` [INFO] [stdout] c618ebf5287a4ba0f590c66bf971b6bf10477df6cf4adbc885bc1096f880aba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2f544340e20715cd1444790d38863b9a795ba52b8b1ef354397cd023f9898a0 [INFO] running `Command { std: "docker" "start" "-a" "e2f544340e20715cd1444790d38863b9a795ba52b8b1ef354397cd023f9898a0", kill_on_drop: false }` [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/common/utils.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 150 | ClientType::from_env() [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 151 | } [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `ClientType`, which is uninhabited [INFO] [stdout] --> src/common/utils.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | ClientType::from_env() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/common/utils.rs:843:10 [INFO] [stdout] | [INFO] [stdout] 843 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Derivative` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling autogpt v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/common/utils.rs:890:10 [INFO] [stdout] | [INFO] [stdout] 890 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the derive macro `Derivative` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/designer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/swarm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/git.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/swarm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/designer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/backend.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::agents::backend` [INFO] [stdout] --> tests/backend.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use autogpt::agents::backend::BackendGPT; [INFO] [stdout] | ^^^^^^^ could not find `backend` in `agents` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/agents.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "gpt")] [INFO] [stdout] | --------------- the item is gated behind the `gpt` feature [INFO] [stdout] 10 | pub mod backend; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/backend.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::agents::git` [INFO] [stdout] --> tests/git.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use autogpt::agents::git::GitGPT; [INFO] [stdout] | ^^^ could not find `git` in `agents` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/agents.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "gpt")] [INFO] [stdout] | --------------- the item is gated behind the `gpt` feature [INFO] [stdout] 16 | #[cfg(feature = "git")] [INFO] [stdout] 17 | pub mod git; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/git.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::agents::manager` [INFO] [stdout] --> tests/manager.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use autogpt::agents::manager::ManagerGPT; [INFO] [stdout] | ^^^^^^^ could not find `manager` in `agents` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/agents.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "gpt")] [INFO] [stdout] | --------------- the item is gated behind the `gpt` feature [INFO] [stdout] 22 | pub mod manager; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "designer") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0407]: method `collaborators` is not a member of trait `Agent` [INFO] [stdout] --> tests/traits.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / fn collaborators(&self) -> Vec { [INFO] [stdout] 76 | | self.collaborators.clone() [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____^ not a member of trait `Agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collaborator` in this scope [INFO] [stdout] --> tests/traits.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | collaborators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/functions.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait Collaborate: Send + Sync { [INFO] [stdout] | ---------------------------------- similarly named trait `Collaborate` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - collaborators: Vec, [INFO] [stdout] 16 + collaborators: Vec, [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MockAgent { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collaborator` in this scope [INFO] [stdout] --> tests/traits.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | fn collaborators(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/traits/functions.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | pub trait Collaborate: Send + Sync { [INFO] [stdout] | ---------------------------------- similarly named trait `Collaborate` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 75 - fn collaborators(&self) -> Vec { [INFO] [stdout] 75 + fn collaborators(&self) -> Vec { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 24 | impl Agent for MockAgent { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `git2` [INFO] [stdout] --> tests/git.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | let repo = git2::Repository::open(test_workspace).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `git2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `git2`, use `cargo add git2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/manager.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/backend.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/frontend.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::agents::frontend` [INFO] [stdout] --> tests/frontend.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use autogpt::agents::frontend::FrontendGPT; [INFO] [stdout] | ^^^^^^^^ could not find `frontend` in `agents` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/agents.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "gpt")] [INFO] [stdout] | --------------- the item is gated behind the `gpt` feature [INFO] [stdout] 14 | pub mod frontend; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/frontend.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut backend_gpt = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | let result = backend_gpt.generate_backend_code(&mut tasks).await; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `backend_gpt` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let mut backend_gpt: /* Type */ = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let result = backend_gpt.generate_backend_code(&mut tasks).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let result: /* Type */ = backend_gpt.generate_backend_code(&mut tasks).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/git.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/frontend.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/frontend.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut frontend_gpt = FrontendGPT::new(objective, position, "python").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | let result = frontend_gpt.generate_frontend_code(&mut tasks).await; [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `frontend_gpt` an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | let mut frontend_gpt: /* Type */ = FrontendGPT::new(objective, position, "python").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/frontend.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let result = frontend_gpt.generate_frontend_code(&mut tasks).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | let result: /* Type */ = frontend_gpt.generate_frontend_code(&mut tasks).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/architect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/frontend.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let mut frontend_gpt = FrontendGPT::new(objective, position, "rust").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | let result = frontend_gpt.improve_frontend_code(&mut tasks).await; [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `frontend_gpt` an explicit type [INFO] [stdout] | [INFO] [stdout] 47 | let mut frontend_gpt: /* Type */ = FrontendGPT::new(objective, position, "rust").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/frontend.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let result = frontend_gpt.improve_frontend_code(&mut tasks).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 87 | let result: /* Type */ = frontend_gpt.improve_frontend_code(&mut tasks).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/frontend.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut frontend_gpt = FrontendGPT::new(objective, position, "rust").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | frontend_gpt.update_bugs(Some( [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `frontend_gpt` an explicit type [INFO] [stdout] | [INFO] [stdout] 101 | let mut frontend_gpt: /* Type */ = FrontendGPT::new(objective, position, "rust").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/frontend.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | let result = frontend_gpt.fix_code_bugs(&mut tasks).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 383 | let result: /* Type */ = frontend_gpt.fix_code_bugs(&mut tasks).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut backend_gpt = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | let result = backend_gpt.improve_backend_code(&mut tasks).await; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `backend_gpt` an explicit type [INFO] [stdout] | [INFO] [stdout] 50 | let mut backend_gpt: /* Type */ = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let result = backend_gpt.improve_backend_code(&mut tasks).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let result: /* Type */ = backend_gpt.improve_backend_code(&mut tasks).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "frontend") due to 10 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let mut backend_gpt = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | backend_gpt.update_bugs(Some(r#" [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `backend_gpt` an explicit type [INFO] [stdout] | [INFO] [stdout] 133 | let mut backend_gpt: /* Type */ = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | let result = backend_gpt.fix_code_bugs(&mut tasks).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 237 | let result: /* Type */ = backend_gpt.fix_code_bugs(&mut tasks).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::agents::architect` [INFO] [stdout] --> tests/architect.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use autogpt::agents::architect::ArchitectGPT; [INFO] [stdout] | ^^^^^^^^^ could not find `architect` in `agents` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/agents.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "gpt")] [INFO] [stdout] | --------------- the item is gated behind the `gpt` feature [INFO] [stdout] 8 | pub mod architect; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/architect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/git.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut git_agent = GitGPT::new("Commit all changes", "GitGPT").await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | let result = git_agent.execute(&mut tasks, true, false, 1).await; [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `git_agent` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mut git_agent: /* Type */ = GitGPT::new("Commit all changes", "GitGPT").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/git.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let result = git_agent.execute(&mut tasks, true, false, 1).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | [INFO] [stdout] 44 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | let result: /* Type */ = git_agent.execute(&mut tasks, true, false, 1).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | let mut backend_gpt = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 252 | [INFO] [stdout] 253 | let result = backend_gpt.get_routes_json().await; [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `backend_gpt` an explicit type [INFO] [stdout] | [INFO] [stdout] 251 | let mut backend_gpt: /* Type */ = BackendGPT::new(objective, position, "python").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/backend.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | let result = backend_gpt.get_routes_json().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 254 | [INFO] [stdout] 255 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 253 | let result: /* Type */ = backend_gpt.get_routes_json().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/functions.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/autogpt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/swarm.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let client1 = Client::connect(addr, signer1.clone()).await?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/swarm.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let client2 = Client::connect(addr, signer2.clone()).await?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/swarm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signer` [INFO] [stdout] --> tests/swarm.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | let signer1 = Signer::new(KeyPair::generate()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyPair` [INFO] [stdout] --> tests/swarm.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | let signer1 = Signer::new(KeyPair::generate()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::agents::architect` [INFO] [stdout] --> tests/autogpt.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use autogpt::agents::architect::ArchitectGPT; [INFO] [stdout] | ^^^^^^^^^ could not find `architect` in `agents` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/agents.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "gpt")] [INFO] [stdout] | --------------- the item is gated behind the `gpt` feature [INFO] [stdout] 8 | pub mod architect; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signer` [INFO] [stdout] --> tests/swarm.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let signer2 = Signer::new(KeyPair::generate()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/autogpt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyPair` [INFO] [stdout] --> tests/swarm.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let signer2 = Signer::new(KeyPair::generate()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Verifier` [INFO] [stdout] --> tests/swarm.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let verifier = Verifier::new(vec![signer1.verifying_key(), signer2.verifying_key()]); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server` [INFO] [stdout] --> tests/swarm.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let mut server = Server::bind("0.0.0.0:4555").await.unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/swarm.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let mut server = Server::bind("0.0.0.0:4555").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/swarm.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | server.run(verifier).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "git") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/optimizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/functions.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/architect.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/autogpt.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/architect.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut architect_agent = ArchitectGPT::new(objective, position).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | let scope = architect_agent.get_scope(&mut tasks).await.unwrap(); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `architect_agent` an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | let mut architect_agent: /* Type */ = ArchitectGPT::new(objective, position).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/architect.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let scope = architect_agent.get_scope(&mut tasks).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/architect.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut architect_agent = ArchitectGPT::new(objective, position).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | let _ = architect_agent.get_urls(&mut tasks).await; [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `architect_agent` an explicit type [INFO] [stdout] | [INFO] [stdout] 56 | let mut architect_agent: /* Type */ = ArchitectGPT::new(objective, position).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/architect.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut architect_agent = ArchitectGPT::new(objective, position).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | architect_agent [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `architect_agent` an explicit type [INFO] [stdout] | [INFO] [stdout] 86 | let mut architect_agent: /* Type */ = ArchitectGPT::new(objective, position).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `signer` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | designer.signer = signer1.clone(); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `clients` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | designer.clients = clients1.clone(); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | designer.addr = addr.into(); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `signer` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | frontend.signer = signer2.clone(); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `clients` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | frontend.clients = clients2.clone(); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `addr` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | frontend.addr = addr.into(); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::agents::optimizer` [INFO] [stdout] --> tests/optimizer.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use autogpt::agents::optimizer::OptimizerGPT; [INFO] [stdout] | ^^^^^^^^^ could not find `optimizer` in `agents` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/agents.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "gpt")] [INFO] [stdout] | --------------- the item is gated behind the `gpt` feature [INFO] [stdout] 24 | pub mod optimizer; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/optimizer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `save_ltm` is not a member of trait `AsyncFunctions` [INFO] [stdout] --> tests/functions.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / async fn save_ltm(&mut self, _communication: Communication) -> Result<()> { [INFO] [stdout] 48 | | Ok(()) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ not a member of trait `AsyncFunctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `get_ltm` is not a member of trait `AsyncFunctions` [INFO] [stdout] --> tests/functions.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / async fn get_ltm(&self) -> Result> { [INFO] [stdout] 52 | | Ok(vec![ [INFO] [stdout] 53 | | Communication { [INFO] [stdout] 54 | | role: Cow::Borrowed("system"), [INFO] [stdout] ... | [INFO] [stdout] 61 | | ]) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ not a member of trait `AsyncFunctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `ltm_context` is not a member of trait `AsyncFunctions` [INFO] [stdout] --> tests/functions.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / async fn ltm_context(&self) -> String { [INFO] [stdout] 65 | | let comms = [ [INFO] [stdout] 66 | | Communication { [INFO] [stdout] 67 | | role: Cow::Borrowed("system"), [INFO] [stdout] ... | [INFO] [stdout] 80 | | .join("\n") [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____^ not a member of trait `AsyncFunctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `generate` is not a member of trait `AsyncFunctions` [INFO] [stdout] --> tests/functions.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / async fn generate(&mut self, _request: &str) -> Result { [INFO] [stdout] 84 | | Ok("".to_string()) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ not a member of trait `AsyncFunctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `imagen` is not a member of trait `AsyncFunctions` [INFO] [stdout] --> tests/functions.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / async fn imagen(&mut self, _request: &str) -> Result> { [INFO] [stdout] 88 | | // TODO: Impl [INFO] [stdout] 89 | | Ok(Default::default()) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ not a member of trait `AsyncFunctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `stream` is not a member of trait `AsyncFunctions` [INFO] [stdout] --> tests/functions.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / async fn stream(&mut self, _request: &str) -> Result { [INFO] [stdout] 92 | | // TODO: Impl [INFO] [stdout] 93 | | Ok(ReqResponse(None)) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ not a member of trait `AsyncFunctions` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "manager") due to 4 previous errors [INFO] [stderr] error: could not compile `autogpt` (test "backend") due to 12 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/architect.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / architect_agent [INFO] [stdout] 102 | | .execute(&mut tasks, true, false, 1) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0407, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0407`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "architect") due to 9 previous errors [INFO] [stderr] error: could not compile `autogpt` (test "traits") due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `register_local` found for struct `autogpt::prelude::AgentGPT` in the current scope [INFO] [stdout] --> tests/swarm.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 49 | / designer [INFO] [stdout] 50 | | .register_local( [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `autogpt::prelude::AgentGPT` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collaborator` [INFO] [stdout] --> tests/swarm.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Collaborator::Local(Arc::new(Mutex::new(designer.clone()))), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Collaborator` [INFO] [stdout] | help: a trait with a similar name exists: `Collaborate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `build` found for struct `autogpt::prelude::AutoGPT` in the current scope [INFO] [stdout] --> tests/autogpt.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | let autogpt = AutoGPT::default().build().expect("Failed to build AutoGPT"); [INFO] [stdout] | ^^^^^ method not found in `autogpt::prelude::AutoGPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/autogpt.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let result = autogpt.run().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | [INFO] [stdout] 19 | assert!(result.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 17 | let result: /* Type */ = autogpt.run().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/optimizer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/optimizer.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / optimizer_agent [INFO] [stdout] 51 | | .execute(&mut tasks, true, false, 3) [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with` found for struct `autogpt::prelude::AutoGPT` in the current scope [INFO] [stdout] --> tests/autogpt.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 29 | let autogpt = AutoGPT::default() [INFO] [stdout] | ___________________- [INFO] [stdout] 30 | | .with(agents![agent]) [INFO] [stdout] | | -^^^^ method not found in `autogpt::prelude::AutoGPT` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/autogpt.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let result = autogpt.run().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | [INFO] [stdout] 36 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 34 | let result: /* Type */ = autogpt.run().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iac_rs` [INFO] [stdout] --> tests/orchestrator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iac_rs::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `iac_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iac_rs`, use `cargo add iac_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `autogpt::orchestrator` [INFO] [stdout] --> tests/orchestrator.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use autogpt::orchestrator::Orchestrator; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `orchestrator` in `autogpt` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(feature = "cli")] [INFO] [stdout] | --------------- the item is gated behind the `cli` feature [INFO] [stdout] 19 | pub mod orchestrator; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/orchestrator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/orchestrator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing_subscriber::{filter, fmt, prelude::*, reload}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/optimizer.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let result = optimizer_agent.save_module(filename, content).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 97 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 96 | let result: /* Type */ = optimizer_agent.save_module(filename, content).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "autogpt") due to 8 previous errors [INFO] [stdout] error[E0599]: no method named `register_local` found for struct `autogpt::prelude::AgentGPT` in the current scope [INFO] [stdout] --> tests/swarm.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 55 | / frontend [INFO] [stdout] 56 | | .register_local( [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `autogpt::prelude::AgentGPT` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collaborator` [INFO] [stdout] --> tests/swarm.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | Collaborator::Local(Arc::new(Mutex::new(frontend.clone()))), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Collaborator` [INFO] [stdout] | help: a trait with a similar name exists: `Collaborate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `local_collaborators` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | .local_collaborators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cap_index` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | .cap_index [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `local_collaborators` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | .local_collaborators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/functions.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cap_index` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | .cap_index [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/optimizer.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let response = optimizer_agent.generate_and_track(request).await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 132 | [INFO] [stdout] 133 | assert!(!response.unwrap().is_empty()); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 131 | let response: /* Type */ = optimizer_agent.generate_and_track(request).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `broadcast_capabilities` found for struct `autogpt::prelude::AgentGPT` in the current scope [INFO] [stdout] --> tests/swarm.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | designer.broadcast_capabilities().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `capabilities` with a similar name [INFO] [stdout] | [INFO] [stdout] 88 - designer.broadcast_capabilities().await?; [INFO] [stdout] 88 + designer.capabilities().await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Message` in this scope [INFO] [stdout] --> tests/orchestrator.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let create_msg = Message { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/orchestrator.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let client = Client::connect("127.0.0.1:8443", signer.clone()) [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Message` in this scope [INFO] [stdout] --> tests/orchestrator.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | let terminate_msg = Message { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "optimizer") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0407, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0407`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> tests/orchestrator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tracing_subscriber::registry() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signer` [INFO] [stdout] --> tests/orchestrator.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let signer = Signer::new(KeyPair::generate()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyPair` [INFO] [stdout] --> tests/orchestrator.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let signer = Signer::new(KeyPair::generate()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `KeyPair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Verifier` [INFO] [stdout] --> tests/orchestrator.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | let verifier = Verifier::new(vec![]); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/orchestrator.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | let mut orchestrator = Orchestrator::new("orchestrator".to_string(), signer.clone(), verifier) [INFO] [stdout] | ____________________________^ [INFO] [stdout] 21 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> tests/orchestrator.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | msg_type: MessageType::Create, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/orchestrator.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let client = Client::connect("127.0.0.1:8443", signer.clone()) [INFO] [stdout] | __________________^ [INFO] [stdout] 36 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/orchestrator.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | client.send(create_msg).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/orchestrator.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let locked_agents = agents.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | assert!(locked_agents.contains_key("ArchitectGPT")); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `locked_agents` an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | let locked_agents: /* Type */ = agents.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MessageType` [INFO] [stdout] --> tests/orchestrator.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | msg_type: MessageType::Terminate, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/orchestrator.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | client.send(terminate_msg).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/orchestrator.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let locked_agents = agents.lock().await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | assert!(!locked_agents.contains_key("ArchitectGPT")); [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `locked_agents` an explicit type [INFO] [stdout] | [INFO] [stdout] 58 | let locked_agents: /* Type */ = agents.lock().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "orchestrator") due to 19 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `broadcast_capabilities` found for struct `autogpt::prelude::AgentGPT` in the current scope [INFO] [stdout] --> tests/swarm.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | frontend.broadcast_capabilities().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `capabilities` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 - frontend.broadcast_capabilities().await?; [INFO] [stdout] 89 + frontend.capabilities().await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "functions") due to 9 previous errors [INFO] [stdout] error[E0599]: no method named `receive_message` found for struct `autogpt::prelude::AgentGPT` in the current scope [INFO] [stdout] --> tests/swarm.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 91 | / designer [INFO] [stdout] 92 | | .receive_message(AgentMessage::CapabilityAdvert { [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `autogpt::prelude::AgentGPT` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `receive_message` found for struct `autogpt::prelude::AgentGPT` in the current scope [INFO] [stdout] --> tests/swarm.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 97 | / frontend [INFO] [stdout] 98 | | .receive_message(AgentMessage::CapabilityAdvert { [INFO] [stdout] | | -^^^^^^^^^^^^^^^ method not found in `autogpt::prelude::AgentGPT` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `remote_collaborators` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(designer.remote_collaborators.contains_key("frontend")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cap_index` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | .cap_index [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `remote_collaborators` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(frontend.remote_collaborators.contains_key("designer")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `cap_index` on type `autogpt::prelude::AgentGPT` [INFO] [stdout] --> tests/swarm.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | .cap_index [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `objective`, `position`, `status`, `memory` ... and 9 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `assign_task_lb` found for struct `autogpt::prelude::AgentGPT` in the current scope [INFO] [stdout] --> tests/swarm.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 125 | let result = frontend [INFO] [stdout] | __________________- [INFO] [stdout] 126 | | .assign_task_lb(&Capability::CodeGen, task.clone()) [INFO] [stdout] | | -^^^^^^^^^^^^^^ method not found in `autogpt::prelude::AgentGPT` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/swarm.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let result = frontend [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | assert!(result.is_ok(), "Task assignment failed"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 125 | let result: /* Type */ = frontend [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `autogpt` (test "swarm") due to 37 previous errors [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/common/utils.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 150 | ClientType::from_env() [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 151 | } [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `ClientType`, which is uninhabited [INFO] [stdout] --> src/common/utils.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | ClientType::from_env() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/common/utils.rs:843:10 [INFO] [stdout] | [INFO] [stdout] 843 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Derivative` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/common/utils.rs:890:10 [INFO] [stdout] | [INFO] [stdout] 890 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: this warning originates in the derive macro `Derivative` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e2f544340e20715cd1444790d38863b9a795ba52b8b1ef354397cd023f9898a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f544340e20715cd1444790d38863b9a795ba52b8b1ef354397cd023f9898a0", kill_on_drop: false }` [INFO] [stdout] e2f544340e20715cd1444790d38863b9a795ba52b8b1ef354397cd023f9898a0