[INFO] cloning repository https://github.com/Hyuain/auto-gpt-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hyuain/auto-gpt-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyuain%2Fauto-gpt-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyuain%2Fauto-gpt-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ff3068533bb9e9ea6eeba15a1763d8d1e11e1bb1
[INFO] checking Hyuain/auto-gpt-rust against master#5a45ab9738330fb317d49e3594c2db5248b1e971 for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyuain%2Fauto-gpt-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Hyuain/auto-gpt-rust on toolchain 5a45ab9738330fb317d49e3594c2db5248b1e971
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Hyuain/auto-gpt-rust
[INFO] finished tweaking git repo https://github.com/Hyuain/auto-gpt-rust
[INFO] tweaked toml for git repo https://github.com/Hyuain/auto-gpt-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Hyuain/auto-gpt-rust 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" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a94686aac235589a4bf6b2278b45724050f7173f02dd1fad624181c376ef3ff8
[INFO] running `Command { std: "docker" "start" "-a" "a94686aac235589a4bf6b2278b45724050f7173f02dd1fad624181c376ef3ff8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a94686aac235589a4bf6b2278b45724050f7173f02dd1fad624181c376ef3ff8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a94686aac235589a4bf6b2278b45724050f7173f02dd1fad624181c376ef3ff8", kill_on_drop: false }`
[INFO] [stdout] a94686aac235589a4bf6b2278b45724050f7173f02dd1fad624181c376ef3ff8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+5a45ab9738330fb317d49e3594c2db5248b1e971" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c96b433cdc8c7e678ca2a46674b58a945b6218dcd673b8d3f164a25c794002ca
[INFO] running `Command { std: "docker" "start" "-a" "c96b433cdc8c7e678ca2a46674b58a945b6218dcd673b8d3f164a25c794002ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.71
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling openssl v0.10.61
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking socket2 v0.4.10
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking unicode-bidi v0.3.14
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.42
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking base64 v0.21.5
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling openssl-sys v0.9.97
[INFO] [stderr]    Compiling native-tls v0.2.11
[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]    Compiling ai_function v0.1.0 (/opt/rustwide/workdir/ai_function)
[INFO] [stderr]     Checking tokio v1.35.0
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking h2 v0.3.22
[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-gpt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os`
[INFO] [stdout]  --> src/helpers/command_line.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::macos::raw::stat;
[INFO] [stdout]   |              ^^^^^ could not find `macos` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:155:9
[INFO] [stdout] note: the item is gated behind the `macos` feature
[INFO] [stdout]  --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:154:7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os`
[INFO] [stdout]  --> src/helpers/command_line.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::macos::raw::stat;
[INFO] [stdout]   |              ^^^^^ could not find `macos` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:155:9
[INFO] [stdout] note: the item is gated behind the `macos` feature
[INFO] [stdout]  --> /rustc/5a45ab9738330fb317d49e3594c2db5248b1e971/library/std/src/os/mod.rs:154:7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `SpecialFunctions` is not dyn compatible
[INFO] [stdout]   --> src/models/agents_manager/managing_agents.rs:8:21
[INFO] [stdout]    |
[INFO] [stdout] 8  |     agents: Vec<Box<dyn SpecialFunctions>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ `SpecialFunctions` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/models/agents/agent_traits.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait SpecialFunctions: Debug {
[INFO] [stdout]    |           ---------------- this trait is not dyn compatible...
[INFO] [stdout] ...
[INFO] [stdout] 35 |     async fn execute(
[INFO] [stdout]    |              ^^^^^^^ ...because method `execute` is `async`
[INFO] [stdout]    = help: consider moving `execute` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `SpecialFunctions` is not dyn compatible
[INFO] [stdout]   --> src/models/agents_manager/managing_agents.rs:8:21
[INFO] [stdout]    |
[INFO] [stdout] 8  |     agents: Vec<Box<dyn SpecialFunctions>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^ `SpecialFunctions` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
[INFO] [stdout]   --> src/models/agents/agent_traits.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub trait SpecialFunctions: Debug {
[INFO] [stdout]    |           ---------------- this trait is not dyn compatible...
[INFO] [stdout] ...
[INFO] [stdout] 35 |     async fn execute(
[INFO] [stdout]    |              ^^^^^^^ ...because method `execute` is `async`
[INFO] [stdout]    = help: consider moving `execute` to another trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `auto-gpt` (bin "auto-gpt") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `res`
[INFO] [stdout]    --> src/helpers/general.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let res = ai_task_request(
[INFO] [stdout]     |             --- move occurs because `res` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 122 |         dbg!(res);
[INFO] [stdout]     |         --------- value moved here
[INFO] [stdout] 123 |
[INFO] [stdout] 124 |         assert!(res.len() > 20);
[INFO] [stdout]     |                 ^^^ value borrowed here after move
[INFO] [stdout]     |
[INFO] [stdout] help: consider borrowing instead of transferring ownership
[INFO] [stdout]     |
[INFO] [stdout] 122 |         dbg!(&res);
[INFO] [stdout]     |              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0382, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `auto-gpt` (bin "auto-gpt" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "c96b433cdc8c7e678ca2a46674b58a945b6218dcd673b8d3f164a25c794002ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c96b433cdc8c7e678ca2a46674b58a945b6218dcd673b8d3f164a25c794002ca", kill_on_drop: false }`
[INFO] [stdout] c96b433cdc8c7e678ca2a46674b58a945b6218dcd673b8d3f164a25c794002ca
