[INFO] cloning repository https://github.com/cv70/adk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cv70/adk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcv70%2Fadk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcv70%2Fadk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8133fd2a7942fc005685c7ccb6c2f721100c181 [INFO] checking cv70/adk/c8133fd2a7942fc005685c7ccb6c2f721100c181 against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcv70%2Fadk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cv70/adk [INFO] finished tweaking git repo https://github.com/cv70/adk [INFO] tweaked toml for git repo https://github.com/cv70/adk written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cv70/adk on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cv70/adk 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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 323 packages to latest Rust 1.95.0-nightly compatible versions [INFO] [stderr] Adding adler2 v2.0.1 [INFO] [stderr] Adding aes v0.8.4 [INFO] [stderr] Adding android_system_properties v0.1.5 [INFO] [stderr] Adding anstream v0.6.21 [INFO] [stderr] Adding anstyle v1.0.13 [INFO] [stderr] Adding anstyle-parse v0.2.7 [INFO] [stderr] Adding anstyle-query v1.1.5 [INFO] [stderr] Adding anstyle-wincon v3.0.11 [INFO] [stderr] Adding anyhow v1.0.101 [INFO] [stderr] Adding arraydeque v0.5.1 [INFO] [stderr] Adding async-trait v0.1.89 [INFO] [stderr] Adding atomic-waker v1.1.2 [INFO] [stderr] Adding autocfg v1.5.0 [INFO] [stderr] Adding axum v0.8.8 [INFO] [stderr] Adding axum-core v0.5.6 [INFO] [stderr] Adding base64 v0.22.1 [INFO] [stderr] Adding bitflags v2.11.0 [INFO] [stderr] Adding block-buffer v0.10.4 [INFO] [stderr] Adding bumpalo v3.19.1 [INFO] [stderr] Adding bytes v1.11.1 [INFO] [stderr] Adding bzip2 v0.6.1 [INFO] [stderr] Adding cc v1.2.56 [INFO] [stderr] Adding cfg-if v1.0.4 [INFO] [stderr] Adding chrono v0.4.43 [INFO] [stderr] Adding cipher v0.4.4 [INFO] [stderr] Adding clap v4.5.58 [INFO] [stderr] Adding clap_builder v4.5.58 [INFO] [stderr] Adding clap_derive v4.5.55 [INFO] [stderr] Adding clap_lex v1.0.0 [INFO] [stderr] Adding colorchoice v1.0.4 [INFO] [stderr] Adding config v0.15.19 [INFO] [stderr] Adding const-random v0.1.18 [INFO] [stderr] Adding const-random-macro v0.1.16 [INFO] [stderr] Adding constant_time_eq v0.3.1 [INFO] [stderr] Adding convert_case v0.6.0 [INFO] [stderr] Adding core-foundation v0.9.4 [INFO] [stderr] Adding core-foundation v0.10.1 [INFO] [stderr] Adding core-foundation-sys v0.8.7 [INFO] [stderr] Adding cpufeatures v0.2.17 [INFO] [stderr] Adding crc v3.3.0 (available: v3.4.0) [INFO] [stderr] Adding crc-catalog v2.4.0 [INFO] [stderr] Adding crc32fast v1.5.0 [INFO] [stderr] Adding crunchy v0.2.4 [INFO] [stderr] Adding crypto-common v0.1.7 [INFO] [stderr] Adding data-encoding v2.10.0 [INFO] [stderr] Adding deflate64 v0.1.10 [INFO] [stderr] Adding deranged v0.5.6 [INFO] [stderr] Adding digest v0.10.7 [INFO] [stderr] Adding displaydoc v0.2.5 [INFO] [stderr] Adding dlv-list v0.5.2 [INFO] [stderr] Adding either v1.15.0 [INFO] [stderr] Adding encoding_rs v0.8.35 [INFO] [stderr] Adding equivalent v1.0.2 [INFO] [stderr] Adding erased-serde v0.4.9 [INFO] [stderr] Adding errno v0.3.14 [INFO] [stderr] Adding fastrand v2.3.0 [INFO] [stderr] Adding find-msvc-tools v0.1.9 [INFO] [stderr] Adding flate2 v1.1.9 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding foldhash v0.1.5 [INFO] [stderr] Adding foreign-types v0.3.2 [INFO] [stderr] Adding foreign-types-shared v0.1.1 [INFO] [stderr] Adding form_urlencoded v1.2.2 [INFO] [stderr] Adding futures-channel v0.3.32 [INFO] [stderr] Adding futures-core v0.3.32 [INFO] [stderr] Adding futures-sink v0.3.32 [INFO] [stderr] Adding futures-task v0.3.32 [INFO] [stderr] Adding futures-util v0.3.32 [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding getrandom v0.2.17 [INFO] [stderr] Adding getrandom v0.3.4 [INFO] [stderr] Adding getrandom v0.4.1 [INFO] [stderr] Adding h2 v0.4.13 [INFO] [stderr] Adding hashbrown v0.14.5 [INFO] [stderr] Adding hashbrown v0.15.5 [INFO] [stderr] Adding hashbrown v0.16.1 [INFO] [stderr] Adding hashlink v0.10.0 [INFO] [stderr] Adding heck v0.5.0 [INFO] [stderr] Adding hmac v0.12.1 [INFO] [stderr] Adding http v1.4.0 [INFO] [stderr] Adding http-body v1.0.1 [INFO] [stderr] Adding http-body-util v0.1.3 [INFO] [stderr] Adding httparse v1.10.1 [INFO] [stderr] Adding httpdate v1.0.3 [INFO] [stderr] Adding hyper v1.8.1 [INFO] [stderr] Adding hyper-rustls v0.27.7 [INFO] [stderr] Adding hyper-timeout v0.5.2 [INFO] [stderr] Adding hyper-tls v0.6.0 [INFO] [stderr] Adding hyper-util v0.1.20 [INFO] [stderr] Adding iana-time-zone v0.1.65 [INFO] [stderr] Adding iana-time-zone-haiku v0.1.2 [INFO] [stderr] Adding icu_collections v2.1.1 [INFO] [stderr] Adding icu_locale_core v2.1.1 [INFO] [stderr] Adding icu_normalizer v2.1.1 [INFO] [stderr] Adding icu_normalizer_data v2.1.1 [INFO] [stderr] Adding icu_properties v2.1.2 [INFO] [stderr] Adding icu_properties_data v2.1.2 [INFO] [stderr] Adding icu_provider v2.1.1 [INFO] [stderr] Adding id-arena v2.3.0 [INFO] [stderr] Adding idna v1.1.0 [INFO] [stderr] Adding idna_adapter v1.2.1 [INFO] [stderr] Adding indexmap v2.13.0 [INFO] [stderr] Adding inout v0.1.4 [INFO] [stderr] Adding ipnet v2.11.0 [INFO] [stderr] Adding iri-string v0.7.10 [INFO] [stderr] Adding is_terminal_polyfill v1.70.2 [INFO] [stderr] Adding itertools v0.14.0 [INFO] [stderr] Adding itoa v1.0.17 [INFO] [stderr] Adding jobserver v0.1.34 [INFO] [stderr] Adding js-sys v0.3.85 [INFO] [stderr] Adding json5 v0.4.1 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding leb128fmt v0.1.0 [INFO] [stderr] Adding libbz2-rs-sys v0.2.2 [INFO] [stderr] Adding libc v0.2.182 [INFO] [stderr] Adding linux-raw-sys v0.11.0 [INFO] [stderr] Adding litemap v0.8.1 [INFO] [stderr] Adding lock_api v0.4.14 [INFO] [stderr] Adding log v0.4.29 [INFO] [stderr] Adding lzma-rust2 v0.15.7 [INFO] [stderr] Adding matchit v0.8.4 (available: v0.8.6) [INFO] [stderr] Adding memchr v2.8.0 [INFO] [stderr] Adding mime v0.3.17 [INFO] [stderr] Adding miniz_oxide v0.8.9 [INFO] [stderr] Adding mio v1.1.1 [INFO] [stderr] Adding native-tls v0.2.16 [INFO] [stderr] Adding nu-ansi-term v0.50.3 [INFO] [stderr] Adding num-conv v0.2.0 [INFO] [stderr] Adding num-traits v0.2.19 [INFO] [stderr] Adding once_cell v1.21.3 [INFO] [stderr] Adding once_cell_polyfill v1.70.2 [INFO] [stderr] Adding openssl v0.10.75 [INFO] [stderr] Adding openssl-macros v0.1.1 [INFO] [stderr] Adding openssl-probe v0.2.1 [INFO] [stderr] Adding openssl-sys v0.9.111 [INFO] [stderr] Adding ordered-multimap v0.7.3 [INFO] [stderr] Adding parking_lot v0.12.5 [INFO] [stderr] Adding parking_lot_core v0.9.12 [INFO] [stderr] Adding pathdiff v0.2.3 [INFO] [stderr] Adding pbkdf2 v0.12.2 [INFO] [stderr] Adding percent-encoding v2.3.2 [INFO] [stderr] Adding pest v2.8.6 [INFO] [stderr] Adding pest_derive v2.8.6 [INFO] [stderr] Adding pest_generator v2.8.6 [INFO] [stderr] Adding pest_meta v2.8.6 [INFO] [stderr] Adding pin-project v1.1.10 [INFO] [stderr] Adding pin-project-internal v1.1.10 [INFO] [stderr] Adding pin-project-lite v0.2.16 [INFO] [stderr] Adding pin-utils v0.1.0 [INFO] [stderr] Adding pkg-config v0.3.32 [INFO] [stderr] Adding potential_utf v0.1.4 [INFO] [stderr] Adding powerfmt v0.2.0 [INFO] [stderr] Adding ppmd-rust v1.4.0 [INFO] [stderr] Adding ppv-lite86 v0.2.21 [INFO] [stderr] Adding prettyplease v0.2.37 [INFO] [stderr] Adding proc-macro2 v1.0.106 [INFO] [stderr] Adding prost v0.14.3 [INFO] [stderr] Adding prost-derive v0.14.3 [INFO] [stderr] Adding quote v1.0.44 [INFO] [stderr] Adding r-efi v5.3.0 [INFO] [stderr] Adding rand v0.9.2 [INFO] [stderr] Adding rand_chacha v0.9.0 [INFO] [stderr] Adding rand_core v0.9.5 [INFO] [stderr] Adding redox_syscall v0.5.18 [INFO] [stderr] Adding reqwest v0.12.28 (available: v0.13.2) [INFO] [stderr] Adding ring v0.17.14 [INFO] [stderr] Adding ron v0.12.0 [INFO] [stderr] Adding rust-ini v0.21.3 [INFO] [stderr] Adding rustix v1.1.3 [INFO] [stderr] Adding rustls v0.23.36 [INFO] [stderr] Adding rustls-pki-types v1.14.0 [INFO] [stderr] Adding rustls-webpki v0.103.9 [INFO] [stderr] Adding rustversion v1.0.22 [INFO] [stderr] Adding ryu v1.0.23 [INFO] [stderr] Adding same-file v1.0.6 [INFO] [stderr] Adding schannel v0.1.28 [INFO] [stderr] Adding scopeguard v1.2.0 [INFO] [stderr] Adding security-framework v3.6.0 [INFO] [stderr] Adding security-framework-sys v2.16.0 [INFO] [stderr] Adding semver v1.0.27 [INFO] [stderr] Adding serde v1.0.228 [INFO] [stderr] Adding serde-untagged v0.1.9 [INFO] [stderr] Adding serde_core v1.0.228 [INFO] [stderr] Adding serde_derive v1.0.228 [INFO] [stderr] Adding serde_json v1.0.149 [INFO] [stderr] Adding serde_spanned v1.0.4 [INFO] [stderr] Adding serde_urlencoded v0.7.1 [INFO] [stderr] Adding serde_yaml v0.9.34+deprecated [INFO] [stderr] Adding sha1 v0.10.6 [INFO] [stderr] Adding sha2 v0.10.9 [INFO] [stderr] Adding sharded-slab v0.1.7 [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding signal-hook-registry v1.4.8 [INFO] [stderr] Adding simd-adler32 v0.3.8 [INFO] [stderr] Adding slab v0.4.12 [INFO] [stderr] Adding smallvec v1.15.1 [INFO] [stderr] Adding socket2 v0.6.2 [INFO] [stderr] Adding stable_deref_trait v1.2.1 [INFO] [stderr] Adding strsim v0.11.1 [INFO] [stderr] Adding subtle v2.6.1 [INFO] [stderr] Adding syn v2.0.116 [INFO] [stderr] Adding sync_wrapper v1.0.2 [INFO] [stderr] Adding synstructure v0.13.2 [INFO] [stderr] Adding system-configuration v0.7.0 [INFO] [stderr] Adding system-configuration-sys v0.6.0 [INFO] [stderr] Adding tempfile v3.25.0 [INFO] [stderr] Adding thiserror v2.0.18 [INFO] [stderr] Adding thiserror-impl v2.0.18 [INFO] [stderr] Adding thread_local v1.1.9 [INFO] [stderr] Adding time v0.3.47 [INFO] [stderr] Adding time-core v0.1.8 [INFO] [stderr] Adding tiny-keccak v2.0.2 [INFO] [stderr] Adding tinystr v0.8.2 [INFO] [stderr] Adding tokio v1.49.0 [INFO] [stderr] Adding tokio-macros v2.6.0 [INFO] [stderr] Adding tokio-native-tls v0.3.1 [INFO] [stderr] Adding tokio-rustls v0.26.4 [INFO] [stderr] Adding tokio-stream v0.1.18 [INFO] [stderr] Adding tokio-test v0.4.5 [INFO] [stderr] Adding tokio-tungstenite v0.28.0 [INFO] [stderr] Adding tokio-util v0.7.18 [INFO] [stderr] Adding toml v0.9.12+spec-1.1.0 [INFO] [stderr] Adding toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Adding toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Adding tonic v0.14.4 [INFO] [stderr] Adding tower v0.5.3 [INFO] [stderr] Adding tower-http v0.6.8 [INFO] [stderr] Adding tower-layer v0.3.3 [INFO] [stderr] Adding tower-service v0.3.3 [INFO] [stderr] Adding tracing v0.1.44 [INFO] [stderr] Adding tracing-attributes v0.1.31 [INFO] [stderr] Adding tracing-core v0.1.36 [INFO] [stderr] Adding tracing-log v0.2.0 [INFO] [stderr] Adding tracing-subscriber v0.3.22 [INFO] [stderr] Adding try-lock v0.2.5 [INFO] [stderr] Adding tungstenite v0.28.0 [INFO] [stderr] Adding typed-path v0.12.3 [INFO] [stderr] Adding typeid v1.0.3 [INFO] [stderr] Adding typenum v1.19.0 [INFO] [stderr] Adding ucd-trie v0.1.7 [INFO] [stderr] Adding unicode-ident v1.0.24 [INFO] [stderr] Adding unicode-segmentation v1.12.0 [INFO] [stderr] Adding unicode-xid v0.2.6 [INFO] [stderr] Adding unsafe-libyaml v0.2.11 [INFO] [stderr] Adding untrusted v0.9.0 [INFO] [stderr] Adding url v2.5.8 [INFO] [stderr] Adding utf-8 v0.7.6 [INFO] [stderr] Adding utf8_iter v1.0.4 [INFO] [stderr] Adding utf8parse v0.2.2 [INFO] [stderr] Adding uuid v1.21.0 [INFO] [stderr] Adding valuable v0.1.1 [INFO] [stderr] Adding vcpkg v0.2.15 [INFO] [stderr] Adding version_check v0.9.5 [INFO] [stderr] Adding walkdir v2.5.0 [INFO] [stderr] Adding want v0.3.1 [INFO] [stderr] Adding wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Adding wasip2 v1.0.2+wasi-0.2.9 [INFO] [stderr] Adding wasip3 v0.4.0+wasi-0.3.0-rc-2026-01-06 [INFO] [stderr] Adding wasm-bindgen v0.2.108 [INFO] [stderr] Adding wasm-bindgen-futures v0.4.58 [INFO] [stderr] Adding wasm-bindgen-macro v0.2.108 [INFO] [stderr] Adding wasm-bindgen-macro-support v0.2.108 [INFO] [stderr] Adding wasm-bindgen-shared v0.2.108 [INFO] [stderr] Adding wasm-encoder v0.244.0 [INFO] [stderr] Adding wasm-metadata v0.244.0 [INFO] [stderr] Adding wasmparser v0.244.0 [INFO] [stderr] Adding web-sys v0.3.85 [INFO] [stderr] Adding winapi-util v0.1.11 [INFO] [stderr] Adding windows-core v0.62.2 [INFO] [stderr] Adding windows-implement v0.60.2 [INFO] [stderr] Adding windows-interface v0.59.3 [INFO] [stderr] Adding windows-link v0.2.1 [INFO] [stderr] Adding windows-registry v0.6.1 [INFO] [stderr] Adding windows-result v0.4.1 [INFO] [stderr] Adding windows-strings v0.5.1 [INFO] [stderr] Adding windows-sys v0.52.0 [INFO] [stderr] Adding windows-sys v0.60.2 [INFO] [stderr] Adding windows-sys v0.61.2 [INFO] [stderr] Adding windows-targets v0.52.6 [INFO] [stderr] Adding windows-targets v0.53.5 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_aarch64_gnullvm v0.53.1 [INFO] [stderr] Adding windows_aarch64_msvc v0.52.6 [INFO] [stderr] Adding windows_aarch64_msvc v0.53.1 [INFO] [stderr] Adding windows_i686_gnu v0.52.6 [INFO] [stderr] Adding windows_i686_gnu v0.53.1 [INFO] [stderr] Adding windows_i686_gnullvm v0.52.6 [INFO] [stderr] Adding windows_i686_gnullvm v0.53.1 [INFO] [stderr] Adding windows_i686_msvc v0.52.6 [INFO] [stderr] Adding windows_i686_msvc v0.53.1 [INFO] [stderr] Adding windows_x86_64_gnu v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnu v0.53.1 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.52.6 [INFO] [stderr] Adding windows_x86_64_gnullvm v0.53.1 [INFO] [stderr] Adding windows_x86_64_msvc v0.52.6 [INFO] [stderr] Adding windows_x86_64_msvc v0.53.1 [INFO] [stderr] Adding winnow v0.7.14 [INFO] [stderr] Adding wit-bindgen v0.51.0 [INFO] [stderr] Adding wit-bindgen-core v0.51.0 [INFO] [stderr] Adding wit-bindgen-rust v0.51.0 [INFO] [stderr] Adding wit-bindgen-rust-macro v0.51.0 [INFO] [stderr] Adding wit-component v0.244.0 [INFO] [stderr] Adding wit-parser v0.244.0 [INFO] [stderr] Adding writeable v0.6.2 [INFO] [stderr] Adding yaml-rust2 v0.10.4 [INFO] [stderr] Adding yoke v0.8.1 [INFO] [stderr] Adding yoke-derive v0.8.1 [INFO] [stderr] Adding zerocopy v0.8.39 [INFO] [stderr] Adding zerocopy-derive v0.8.39 [INFO] [stderr] Adding zerofrom v0.1.6 [INFO] [stderr] Adding zerofrom-derive v0.1.6 [INFO] [stderr] Adding zeroize v1.8.2 [INFO] [stderr] Adding zeroize_derive v1.4.3 [INFO] [stderr] Adding zerotrie v0.2.3 [INFO] [stderr] Adding zerovec v0.11.5 [INFO] [stderr] Adding zerovec-derive v0.11.2 [INFO] [stderr] Adding zip v7.2.0 (available: v8.0.0) [INFO] [stderr] Adding zlib-rs v0.6.0 [INFO] [stderr] Adding zmij v1.0.21 [INFO] [stderr] Adding zopfli v0.8.3 [INFO] [stderr] Adding zstd v0.13.3 [INFO] [stderr] Adding zstd-safe v7.2.4 [INFO] [stderr] Adding zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-test v0.4.5 [INFO] [stderr] Downloaded ppmd-rust v1.4.0 [INFO] [stderr] Downloaded deranged v0.5.6 [INFO] [stderr] Downloaded native-tls v0.2.16 [INFO] [stderr] Downloaded prost-derive v0.14.3 [INFO] [stderr] Downloaded prost v0.14.3 [INFO] [stderr] Downloaded toml v0.9.12+spec-1.1.0 [INFO] [stderr] Downloaded zip v7.2.0 [INFO] [stderr] Downloaded tonic v0.14.4 [INFO] [stderr] Downloaded typed-path v0.12.3 [INFO] [stderr] Downloaded lzma-rust2 v0.15.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191661d0a74304de1db94039b8309c608af9da00398a61f295c0dbaa84ec010c [INFO] running `Command { std: "docker" "start" "-a" "191661d0a74304de1db94039b8309c608af9da00398a61f295c0dbaa84ec010c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191661d0a74304de1db94039b8309c608af9da00398a61f295c0dbaa84ec010c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191661d0a74304de1db94039b8309c608af9da00398a61f295c0dbaa84ec010c", kill_on_drop: false }` [INFO] [stdout] 191661d0a74304de1db94039b8309c608af9da00398a61f295c0dbaa84ec010c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8f3d959295a7a590d0c4f40be9995c664f42fca02cccc3c887da894ab62380b [INFO] running `Command { std: "docker" "start" "-a" "f8f3d959295a7a590d0c4f40be9995c664f42fca02cccc3c887da894ab62380b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling native-tls v0.2.16 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking deranged v0.5.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Checking bumpalo v3.19.1 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking zlib-rs v0.6.0 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking rustix v1.1.3 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking clap_builder v4.5.58 [INFO] [stderr] Checking bzip2 v0.6.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking yaml-rust2 v0.10.4 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking lzma-rust2 v0.15.7 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking rustls-pki-types v1.14.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling prost-derive v0.14.3 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking typed-path v0.12.3 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking deflate64 v0.1.10 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ron v0.12.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking ppmd-rust v1.4.0 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking clap v4.5.58 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking prost v0.14.3 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking config v0.15.19 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking zip v7.2.0 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking tonic v0.14.4 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking adk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `utils` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod utils; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `utils`, create file "src/utils.rs" or "src/utils/mod.rs" [INFO] [stdout] = note: if there is a `mod utils` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `utils` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub mod utils; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `utils`, create file "src/utils.rs" or "src/utils/mod.rs" [INFO] [stdout] = note: if there is a `mod utils` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::agent::AgentChannel`, `crate::agent::AgentCommand`, `crate::agent::AgentResponse` [INFO] [stdout] --> src/multi_agent/mod.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::agent::{Agent, AgentState, AgentChannel, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AgentResponse` in `agent` [INFO] [stdout] | | | [INFO] [stdout] | | no `AgentCommand` in `agent` [INFO] [stdout] | no `AgentChannel` in `agent` [INFO] [stdout] | help: a similar name exists in the module: `AgentRunner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::agent::AgentChannel`, `crate::agent::AgentCommand`, `crate::agent::AgentResponse` [INFO] [stdout] --> src/multi_agent/mod.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::agent::{Agent, AgentState, AgentChannel, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AgentResponse` in `agent` [INFO] [stdout] | | | [INFO] [stdout] | | no `AgentCommand` in `agent` [INFO] [stdout] | no `AgentChannel` in `agent` [INFO] [stdout] | help: a similar name exists in the module: `AgentRunner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::agent::AgentCommand`, `crate::agent::AgentResponse` [INFO] [stdout] --> src/graph/mod.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AgentResponse` in `agent` [INFO] [stdout] | | [INFO] [stdout] | no `AgentCommand` in `agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::agent::AgentCommand`, `crate::agent::AgentResponse` [INFO] [stdout] --> src/graph/mod.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AgentResponse` in `agent` [INFO] [stdout] | | [INFO] [stdout] | no `AgentCommand` in `agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::agent::AgentCommand`, `crate::agent::AgentResponse` [INFO] [stdout] --> src/service/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AgentResponse` in `agent` [INFO] [stdout] | | [INFO] [stdout] | no `AgentCommand` in `agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::agent::AgentCommand`, `crate::agent::AgentResponse` [INFO] [stdout] --> src/service/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `AgentResponse` in `agent` [INFO] [stdout] | | [INFO] [stdout] | no `AgentCommand` in `agent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `agent::AgentRunnerImpl`, `agent::CheckpointStore`, `agent::MemoryCheckpointStore` [INFO] [stdout] --> src/lib.rs:20:63 [INFO] [stdout] | [INFO] [stdout] 20 | pub use agent::{Agent, AgentEvent, AgentRunner, AgentFactory, AgentRunnerImpl, CheckpointStore, MemoryCheckpointStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ no `MemoryCheckpointStore` in `agent` [INFO] [stdout] | | | [INFO] [stdout] | | no `CheckpointStore` in `agent` [INFO] [stdout] | no `AgentRunnerImpl` in `agent` [INFO] [stdout] | help: a similar name exists in the module: `AgentRunner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `agent::AgentRunnerImpl`, `agent::CheckpointStore`, `agent::MemoryCheckpointStore` [INFO] [stdout] --> src/lib.rs:20:63 [INFO] [stdout] | [INFO] [stdout] 20 | pub use agent::{Agent, AgentEvent, AgentRunner, AgentFactory, AgentRunnerImpl, CheckpointStore, MemoryCheckpointStore}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ no `MemoryCheckpointStore` in `agent` [INFO] [stdout] | | | [INFO] [stdout] | | no `CheckpointStore` in `agent` [INFO] [stdout] | no `AgentRunnerImpl` in `agent` [INFO] [stdout] | help: a similar name exists in the module: `AgentRunner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `graph::WorkflowConfigLoader` [INFO] [stdout] --> src/lib.rs:30:143 [INFO] [stdout] | [INFO] [stdout] 30 | ...rkflowEvent, EventType, WorkflowConfigLoader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `WorkflowConfigLoader` in `graph` [INFO] [stdout] | help: a similar name exists in the module: `WorkflowConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `graph::WorkflowConfigLoader` [INFO] [stdout] --> src/lib.rs:30:143 [INFO] [stdout] | [INFO] [stdout] 30 | ...rkflowEvent, EventType, WorkflowConfigLoader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `WorkflowConfigLoader` in `graph` [INFO] [stdout] | help: a similar name exists in the module: `WorkflowConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `service::AgentServiceConfig`, `service::ServiceDefinition`, `service::LifecycleConfig`, `service::OrchestrationDefinition`, `service::OrchestrationStep`, `service::ServiceConfigLoader`, `service::AgentCommunicationProtocol`, `service::HttpProtocol`, `service::WebSocketProtocol`, `service::GrpcProtocol`, `service::CommunicationProtocolManager` [INFO] [stdout] --> src/lib.rs:34:135 [INFO] [stdout] | [INFO] [stdout] 34 | ...r, AgentServiceConfig, ServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | | | | | | | [INFO] [stdout] | | | | | | | | | | no `GrpcProtocol` in `service` [INFO] [stdout] | | | | | | | | | no `WebSocketProtocol` in `service` [INFO] [stdout] | | | | | | | | no `HttpProtocol` in `service` [INFO] [stdout] | | | | | | | no `AgentCommunicationProtocol` in `service` [INFO] [stdout] | | | | | | no `ServiceConfigLoader` in `service` [INFO] [stdout] | | | | | no `OrchestrationStep` in `service` [INFO] [stdout] | | | | no `OrchestrationDefinition` in `service` [INFO] [stdout] | | | no `LifecycleConfig` in `service` [INFO] [stdout] | | no `ServiceDefinition` in `service` [INFO] [stdout] | no `AgentServiceConfig` in `service` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 34 - pub use service::{AgentService, AgentServiceDefinition, AgentServiceRegistry, AgentServiceOrchestrator, AgentServiceLifecycleManager, AgentServiceConfig, ServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] 34 + pub use service::{AgentService, AgentServiceDefinition, AgentServiceRegistry, AgentServiceOrchestrator, AgentServiceLifecycleManager, AgentService, ServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 34 | pub use service::{AgentService, AgentServiceDefinition, AgentServiceRegistry, AgentServiceOrchestrator, AgentServiceLifecycleManager, AgentServiceConfig, AgentServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `service::AgentServiceConfig`, `service::ServiceDefinition`, `service::LifecycleConfig`, `service::OrchestrationDefinition`, `service::OrchestrationStep`, `service::ServiceConfigLoader`, `service::AgentCommunicationProtocol`, `service::HttpProtocol`, `service::WebSocketProtocol`, `service::GrpcProtocol`, `service::CommunicationProtocolManager` [INFO] [stdout] --> src/lib.rs:34:135 [INFO] [stdout] | [INFO] [stdout] 34 | ...r, AgentServiceConfig, ServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | | | | | | | [INFO] [stdout] | | | | | | | | | | no `GrpcProtocol` in `service` [INFO] [stdout] | | | | | | | | | no `WebSocketProtocol` in `service` [INFO] [stdout] | | | | | | | | no `HttpProtocol` in `service` [INFO] [stdout] | | | | | | | no `AgentCommunicationProtocol` in `service` [INFO] [stdout] | | | | | | no `ServiceConfigLoader` in `service` [INFO] [stdout] | | | | | no `OrchestrationStep` in `service` [INFO] [stdout] | | | | no `OrchestrationDefinition` in `service` [INFO] [stdout] | | | no `LifecycleConfig` in `service` [INFO] [stdout] | | no `ServiceDefinition` in `service` [INFO] [stdout] | no `AgentServiceConfig` in `service` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 34 - pub use service::{AgentService, AgentServiceDefinition, AgentServiceRegistry, AgentServiceOrchestrator, AgentServiceLifecycleManager, AgentServiceConfig, ServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] 34 + pub use service::{AgentService, AgentServiceDefinition, AgentServiceRegistry, AgentServiceOrchestrator, AgentServiceLifecycleManager, AgentService, ServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 34 | pub use service::{AgentService, AgentServiceDefinition, AgentServiceRegistry, AgentServiceOrchestrator, AgentServiceLifecycleManager, AgentServiceConfig, AgentServiceDefinition, LifecycleConfig, OrchestrationDefinition, OrchestrationStep, ServiceConfigLoader, AgentCommunicationProtocol, HttpProtocol, WebSocketProtocol, GrpcProtocol, CommunicationProtocolManager}; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/planning/mod.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/planning/mod.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: derive macro `crate::plugin::tests::Serialize` exists but is inaccessible [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/planning/mod.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/planning/mod.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: derive macro `crate::plugin::tests::Deserialize` exists but is inaccessible [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/memory/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/memory/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: derive macro `crate::plugin::tests::Serialize` exists but is inaccessible [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/memory/mod.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/memory/mod.rs:26:35 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: derive macro `crate::plugin::tests::Deserialize` exists but is inaccessible [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/planning/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub tools: Arc, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/planning/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(tools: Arc) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AgentChannel` in this scope [INFO] [stdout] --> src/service/mod.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | let channels = AgentChannel { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AgentState` is private [INFO] [stdout] --> src/multi_agent/mod.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::agent::{Agent, AgentState, AgentChannel, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AgentState` is defined here... [INFO] [stdout] --> src/agent/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AgentState` which is defined here [INFO] [stdout] --> src/state/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AgentState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AgentState` directly [INFO] [stdout] | [INFO] [stdout] 6 | use crate::agent::{Agent, state::AgentState, AgentChannel, AgentCommand, AgentResponse}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AgentState` is private [INFO] [stdout] --> src/graph/mod.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AgentState` is defined here... [INFO] [stdout] --> src/agent/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AgentState` which is defined here [INFO] [stdout] --> src/state/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AgentState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AgentState` directly [INFO] [stdout] | [INFO] [stdout] 7 | use crate::agent::{Agent, state::AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AgentState` is private [INFO] [stdout] --> src/service/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AgentState` is defined here... [INFO] [stdout] --> src/agent/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AgentState` which is defined here [INFO] [stdout] --> src/state/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AgentState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AgentState` directly [INFO] [stdout] | [INFO] [stdout] 8 | use crate::agent::{Agent, state::AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/state/mod.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tools/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planning/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tools::ToolRegistry` [INFO] [stdout] --> src/multi_agent/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tools::ToolRegistry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/llm/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/llm/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/llm/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/llm/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/llm/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/graph/mod.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/graph/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::AgentState` [INFO] [stdout] --> src/graph/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/llm/mod.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | tokio::time::sleep(tokio::time::Duration::from_secs(2)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/planning/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub tools: Arc, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/planning/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(tools: Arc) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AgentChannel` in this scope [INFO] [stdout] --> src/service/mod.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | let channels = AgentChannel { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let state = Arc::new(RwLock::new(AgentState::default())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 38 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock` [INFO] [stdout] --> src/lib.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let state = Arc::new(RwLock::new(AgentState::default())); [INFO] [stdout] | ^^^^^^ use of undeclared type `RwLock` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 38 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] 38 + use std::sync::nonpoison::RwLock; [INFO] [stdout] | [INFO] [stdout] 38 + use tokio::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/lib.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let tools = Arc::new(ToolRegistry::new()); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 38 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found trait `Agent` [INFO] [stdout] --> src/lib.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let agent = Agent { [INFO] [stdout] | ^^^^^ not a struct, variant or union type [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant instead [INFO] [stdout] | [INFO] [stdout] 38 + use crate::NodeType::Agent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AgentChannel` in this scope [INFO] [stdout] --> src/lib.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | channels: AgentChannel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/agent/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct AgentRunner { [INFO] [stdout] | ---------------------- similarly named struct `AgentRunner` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 50 - channels: AgentChannel { [INFO] [stdout] 50 + channels: AgentRunner { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AgentState` is private [INFO] [stdout] --> src/multi_agent/mod.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::agent::{Agent, AgentState, AgentChannel, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AgentState` is defined here... [INFO] [stdout] --> src/agent/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AgentState` which is defined here [INFO] [stdout] --> src/state/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AgentState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AgentState` directly [INFO] [stdout] | [INFO] [stdout] 6 | use crate::agent::{Agent, state::AgentState, AgentChannel, AgentCommand, AgentResponse}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AgentState` is private [INFO] [stdout] --> src/graph/mod.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AgentState` is defined here... [INFO] [stdout] --> src/agent/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AgentState` which is defined here [INFO] [stdout] --> src/state/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AgentState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AgentState` directly [INFO] [stdout] | [INFO] [stdout] 7 | use crate::agent::{Agent, state::AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AgentState` is private [INFO] [stdout] --> src/service/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::agent::{Agent, AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | ^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AgentState` is defined here... [INFO] [stdout] --> src/agent/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AgentState` which is defined here [INFO] [stdout] --> src/state/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AgentState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AgentState` directly [INFO] [stdout] | [INFO] [stdout] 8 | use crate::agent::{Agent, state::AgentState, AgentCommand, AgentResponse}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/state/mod.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Utc, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tools/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/planning/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tools::ToolRegistry` [INFO] [stdout] --> src/multi_agent/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::tools::ToolRegistry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/llm/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/llm/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Write` [INFO] [stdout] --> src/llm/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Write, BufRead, BufReader}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/llm/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/llm/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/graph/mod.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/graph/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::AgentState` [INFO] [stdout] --> src/graph/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::AgentState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/plugin/mod.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/llm/mod.rs:75:65 [INFO] [stdout] | [INFO] [stdout] 75 | tokio::time::sleep(tokio::time::Duration::from_secs(2)).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/multi_agent/mod.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub agents: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 59 | pub agents: Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/graph/mod.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | pub agents: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 77 | pub agents: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/service/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub agent: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 25 | pub agent: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/multi_agent/mod.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub agents: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 59 | pub agents: Vec, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/graph/mod.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | pub agents: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 77 | pub agents: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/service/mod.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub agent: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 25 | pub agent: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | tools: HashMap>, [INFO] [stdout] | ^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(tool) = self.tools.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | tools: HashMap>, [INFO] [stdout] | ^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/planning/mod.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | let tool_result = self.tools.call(&tool_call.name, tool_call.args).await.map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/planning/mod.rs:36:99 [INFO] [stdout] | [INFO] [stdout] 36 | let tool_result = self.tools.call(&tool_call.name, tool_call.args).await.map_err(|e| e.to_string())?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let tool_result = self.tools.call(&tool_call.name, tool_call.args).await.map_err(|e: /* Type */| e.to_string())?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | if let Some(tool) = self.tools.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/planning/mod.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | let tool_result = self.tools.call(&tool_call.name, tool_call.args).await.map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/planning/mod.rs:36:99 [INFO] [stdout] | [INFO] [stdout] 36 | let tool_result = self.tools.call(&tool_call.name, tool_call.args).await.map_err(|e| e.to_string())?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let tool_result = self.tools.call(&tool_call.name, tool_call.args).await.map_err(|e: /* Type */| e.to_string())?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/memory/mod.rs:129:55 [INFO] [stdout] | [INFO] [stdout] 129 | let id = format!("mem_{}", chrono::Utc::now().timestamp_nanos()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | self.db.add(entry).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | self.db.search(&embedding, top_k).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[f32]` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[f32]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[f32]` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[f32]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[f32]` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[f32]` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/a33907a7a5381473eec8bcfa0c56e05a856a911c/library/core/src/ops/control_flow.rs:89:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | self.db.clear().await [INFO] [stdout] | ^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::timestamp_nanos`: use `timestamp_nanos_opt()` instead [INFO] [stdout] --> src/memory/mod.rs:129:55 [INFO] [stdout] | [INFO] [stdout] 129 | let id = format!("mem_{}", chrono::Utc::now().timestamp_nanos()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | self.db.add(entry).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | self.db.search(&embedding, top_k).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[f32]` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[f32]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[f32]` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[f32]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[f32]` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:143:57 [INFO] [stdout] | [INFO] [stdout] 143 | let embedding = self.embedder.embed(query).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[f32]` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/a33907a7a5381473eec8bcfa0c56e05a856a911c/library/core/src/ops/control_flow.rs:89:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | self.db.clear().await [INFO] [stdout] | ^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `tokio::sync::mpsc::Sender` with `tokio::sync::mpsc::Sender` [INFO] [stdout] --> src/multi_agent/mod.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | channels.retain(|s| !failed.contains(s)); [INFO] [stdout] | ^^^^^^^^ no implementation for `tokio::sync::mpsc::Sender == tokio::sync::mpsc::Sender` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `tokio::sync::mpsc::Sender` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] --> /rustc/a33907a7a5381473eec8bcfa0c56e05a856a911c/library/core/src/slice/mod.rs:2589:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/multi_agent/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e| e.to_string()) [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/multi_agent/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e| e.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/multi_agent/mod.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e| e.to_string()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e: /* Type */| e.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/multi_agent/mod.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn find_agent_by_name(&self, name: &str) -> Option<&Agent> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 126 | fn find_agent_by_name(&self, name: &str) -> Option<&dyn Agent> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/multi_agent/mod.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(target_agent) = Self::find_agent_by_name(&message.to) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ----------- argument #1 of type `&MultiAgentSystem` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/multi_agent/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn find_agent_by_name(&self, name: &str) -> Option<&Agent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(target_agent) = Self::find_agent_by_name(/* &MultiAgentSystem */, &message.to) { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | self.model.generate(&full_prompt, Some(512)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | self.model.embed(text).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `tokio::sync::mpsc::Sender` with `tokio::sync::mpsc::Sender` [INFO] [stdout] --> src/multi_agent/mod.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | channels.retain(|s| !failed.contains(s)); [INFO] [stdout] | ^^^^^^^^ no implementation for `tokio::sync::mpsc::Sender == tokio::sync::mpsc::Sender` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `tokio::sync::mpsc::Sender` [INFO] [stdout] note: required by a bound in `core::slice::::contains` [INFO] [stdout] --> /rustc/a33907a7a5381473eec8bcfa0c56e05a856a911c/library/core/src/slice/mod.rs:2589:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/multi_agent/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e| e.to_string()) [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/multi_agent/mod.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e| e.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/multi_agent/mod.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e| e.to_string()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | agent.run().await.map_err(|e: /* Type */| e.to_string()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/multi_agent/mod.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn find_agent_by_name(&self, name: &str) -> Option<&Agent> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 126 | fn find_agent_by_name(&self, name: &str) -> Option<&dyn Agent> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/multi_agent/mod.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(target_agent) = Self::find_agent_by_name(&message.to) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ----------- argument #1 of type `&MultiAgentSystem` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/multi_agent/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn find_agent_by_name(&self, name: &str) -> Option<&Agent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ----- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(target_agent) = Self::find_agent_by_name(/* &MultiAgentSystem */, &message.to) { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | self.model.generate(&full_prompt, Some(512)).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | self.model.embed(text).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | let result = self.execute_node(node_id, node_config, &state).await?; [INFO] [stdout] | ------------ ^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/graph/mod.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | async fn execute_node(&self, node_id: &str, node_config: &NodeConfig, state: &WorkflowState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 114 | let result = self.execute_node(&node_id, node_config, &state).await?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | let result = self.execute_node(node_id, node_config, &state).await?; [INFO] [stdout] | ------------ ^^^^^^^ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/graph/mod.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | async fn execute_node(&self, node_id: &str, node_config: &NodeConfig, state: &WorkflowState) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 114 | let result = self.execute_node(&node_id, node_config, &state).await?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/graph/mod.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | let response = agent.decide_action(&input.to_string()).await?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/graph/mod.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | let response = agent.decide_action(&input.to_string()).await?; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ServiceStatus` [INFO] [stdout] --> src/service/mod.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | self.status == ServiceStatus::Running [INFO] [stdout] | ----------- ^^ ---------------------- ServiceStatus [INFO] [stdout] | | [INFO] [stdout] | ServiceStatus [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `ServiceStatus` [INFO] [stdout] --> src/service/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `ServiceStatus` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(PartialEq)] [INFO] [stdout] 31 | pub enum ServiceStatus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ServiceStatus` [INFO] [stdout] --> src/service/mod.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | self.status == ServiceStatus::Running [INFO] [stdout] | ----------- ^^ ---------------------- ServiceStatus [INFO] [stdout] | | [INFO] [stdout] | ServiceStatus [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `ServiceStatus` [INFO] [stdout] --> src/service/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ServiceStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `ServiceStatus` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(PartialEq)] [INFO] [stdout] 31 | pub enum ServiceStatus { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ------------------------- expected `std::option::Option>` because of return type [INFO] [stdout] 90 | let services = self.services.read().await; [INFO] [stdout] 91 | services.get(name).map(|s| Arc::new(s.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option>`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/service/mod.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn get(&self, name: &str) -> Option> { [INFO] [stdout] | ------------------------- expected `std::option::Option>` because of return type [INFO] [stdout] 90 | let services = self.services.read().await; [INFO] [stdout] 91 | services.get(name).map(|s| Arc::new(s.clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option>`, found `Option>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option>` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for mutable reference `&mut AgentService` in the current scope [INFO] [stdout] --> src/service/mod.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | services.get_mut(name).map(|s| Arc::new(s.clone())) [INFO] [stdout] | ^^^^^ method not found in `&mut AgentService` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the trait `Clone` defines an item `clone`, but is explicitly unimplemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for mutable reference `&mut AgentService` in the current scope [INFO] [stdout] --> src/service/mod.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | services.get_mut(name).map(|s| Arc::new(s.clone())) [INFO] [stdout] | ^^^^^ method not found in `&mut AgentService` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the trait `Clone` defines an item `clone`, but is explicitly unimplemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/service/mod.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | let agent = Arc::new(Agent::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 205 | let agent = Arc::new(::new( [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/service/mod.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | let agent = Arc::new(Agent::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 205 | let agent = Arc::new(::new( [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/service/mod.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(definition: AgentServiceDefinition, agent: Arc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(definition: AgentServiceDefinition, agent: Arc) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service/mod.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(mut service) = self.registry.get_mut(name).await { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/service/mod.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | service.start().await?; [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service/mod.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | if let Some(mut service) = self.registry.get_mut(name).await { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/service/mod.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | service.stop().await?; [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/service/mod.rs:39:63 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(definition: AgentServiceDefinition, agent: Arc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(definition: AgentServiceDefinition, agent: Arc) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/multi_agent/mod.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_agent(&mut self, agent: Agent) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use a new generic type parameter, constrained by `Agent` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn add_agent(&mut self, agent: Agent) { [INFO] [stdout] 73 + pub fn add_agent(&mut self, agent: T) { [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_agent(&mut self, agent: impl Agent) { [INFO] [stdout] | ++++ [INFO] [stdout] help: alternatively, use a trait object to accept any type that implements `Agent`, accessing its methods at runtime using dynamic dispatch [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_agent(&mut self, agent: &dyn Agent) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/graph/mod.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn add_agent(&mut self, name: String, agent: Arc) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 89 | pub fn add_agent(&mut self, name: String, agent: Arc) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | embedder: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `add` do not match the trait declaration [INFO] [stdout] --> src/memory/mod.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | - lifetimes in impl do not match this method in trait [INFO] [stdout] ... [INFO] [stdout] 57 | #[async_trait::async_trait] [INFO] [stdout] | --------------------------- this `where` clause might not match the one in the trait [INFO] [stdout] 58 | impl VectorDatabase for InMemoryVectorDB { [INFO] [stdout] 59 | async fn add(&self, mut entry: MemoryEntry) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `search` do not match the trait declaration [INFO] [stdout] --> src/memory/mod.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | - lifetimes in impl do not match this method in trait [INFO] [stdout] ... [INFO] [stdout] 57 | #[async_trait::async_trait] [INFO] [stdout] | --------------------------- this `where` clause might not match the one in the trait [INFO] [stdout] ... [INFO] [stdout] 69 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `clear` do not match the trait declaration [INFO] [stdout] --> src/memory/mod.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | - lifetimes in impl do not match this method in trait [INFO] [stdout] ... [INFO] [stdout] 57 | #[async_trait::async_trait] [INFO] [stdout] | --------------------------- this `where` clause might not match the one in the trait [INFO] [stdout] ... [INFO] [stdout] 93 | async fn clear(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | pub db: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | pub embedder: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub model: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service/mod.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(mut service) = self.registry.get_mut(name).await { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(embedder: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 49 - pub fn new(embedder: Arc) -> Self { [INFO] [stdout] 49 + pub fn new(embedder: Arc) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 124 - pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] 124 + pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:124:59 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 124 - pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] 124 + pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/service/mod.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | service.start().await?; [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(model: Arc, config: LLMConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 117 - pub fn new(model: Arc, config: LLMConfig) -> Self { [INFO] [stdout] 117 + pub fn new(model: Arc, config: LLMConfig) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/service/mod.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | if let Some(mut service) = self.registry.get_mut(name).await { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> src/service/mod.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | service.stop().await?; [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/multi_agent/mod.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_agent(&mut self, agent: Agent) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use a new generic type parameter, constrained by `Agent` [INFO] [stdout] | [INFO] [stdout] 73 - pub fn add_agent(&mut self, agent: Agent) { [INFO] [stdout] 73 + pub fn add_agent(&mut self, agent: T) { [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_agent(&mut self, agent: impl Agent) { [INFO] [stdout] | ++++ [INFO] [stdout] help: alternatively, use a trait object to accept any type that implements `Agent`, accessing its methods at runtime using dynamic dispatch [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_agent(&mut self, agent: &dyn Agent) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/graph/mod.rs:89:58 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn add_agent(&mut self, name: String, agent: Arc) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 89 | pub fn add_agent(&mut self, name: String, agent: Arc) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Serialize` is not satisfied [INFO] [stdout] --> src/state/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Clone, Debug, Default)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `NaiveDateTime` [INFO] [stdout] ... [INFO] [stdout] 13 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ---------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 198 others [INFO] [stdout] note: required by a bound in `agent::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | embedder: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `add` do not match the trait declaration [INFO] [stdout] --> src/memory/mod.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | - lifetimes in impl do not match this method in trait [INFO] [stdout] ... [INFO] [stdout] 57 | #[async_trait::async_trait] [INFO] [stdout] | --------------------------- this `where` clause might not match the one in the trait [INFO] [stdout] 58 | impl VectorDatabase for InMemoryVectorDB { [INFO] [stdout] 59 | async fn add(&self, mut entry: MemoryEntry) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `search` do not match the trait declaration [INFO] [stdout] --> src/memory/mod.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | - lifetimes in impl do not match this method in trait [INFO] [stdout] ... [INFO] [stdout] 57 | #[async_trait::async_trait] [INFO] [stdout] | --------------------------- this `where` clause might not match the one in the trait [INFO] [stdout] ... [INFO] [stdout] 69 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0195]: lifetime parameters or bounds on method `clear` do not match the trait declaration [INFO] [stdout] --> src/memory/mod.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | - lifetimes in impl do not match this method in trait [INFO] [stdout] ... [INFO] [stdout] 57 | #[async_trait::async_trait] [INFO] [stdout] | --------------------------- this `where` clause might not match the one in the trait [INFO] [stdout] ... [INFO] [stdout] 93 | async fn clear(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ lifetimes do not match method in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | pub db: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/state/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a ron::value::raw::RawValue [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 208 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | pub embedder: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/state/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a ron::value::raw::RawValue [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 208 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/state/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Clone, Debug, Default)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a ron::value::raw::RawValue [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 208 others [INFO] [stdout] note: required by a bound in `agent::_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | tools: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | tools: HashMap::new(), [INFO] [stdout] | ^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | self.tools.insert(tool.name().to_string(), Box::new(tool)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub model: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.tools.keys().map(|k| k.as_str()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.tools.keys().map(|k| k.as_str()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.tools.keys().map(|k| k.as_str()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(embedder: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 49 - pub fn new(embedder: Arc) -> Self { [INFO] [stdout] 49 + pub fn new(embedder: Arc) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 124 - pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] 124 + pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/config/mod.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let config = config::Config::new(); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | --------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/config/mod.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let config = config::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 of type `config::Value` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 53 | let config = config::Config::new(/* config::Value */); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:124:59 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 124 - pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] 124 + pub fn new(db: Arc, embedder: Arc) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new(model: Arc, config: LLMConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] help: you might have meant to use `Self` to refer to the implementing type [INFO] [stdout] | [INFO] [stdout] 117 - pub fn new(model: Arc, config: LLMConfig) -> Self { [INFO] [stdout] 117 + pub fn new(model: Arc, config: LLMConfig) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `Config` in the current scope [INFO] [stdout] --> src/config/mod.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 54 | let config = config [INFO] [stdout] | ______________________- [INFO] [stdout] 55 | | .merge(config::File::with_name(path.as_ref().to_string_lossy().as_ref()))?; [INFO] [stdout] | | -^^^^^ method not found in `Config` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/config/mod.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let mut config = config::Config::new(); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | --------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/config/mod.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let mut config = config::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 of type `config::Value` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 61 | let mut config = config::Config::new(/* config::Value */); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `Config` in the current scope [INFO] [stdout] --> src/config/mod.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | config.merge(config::Environment::with_prefix("AGENT"))?; [INFO] [stdout] | ^^^^^ method not found in `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AgentConfig: TryFrom` is not satisfied [INFO] [stdout] --> src/config/mod.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | let agent_config: AgentConfig = config.try_into()?; [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `AgentConfig` [INFO] [stdout] --> src/config/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AgentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Config` to implement `Into` [INFO] [stdout] = note: required for `AgentConfig` to implement `TryFrom` [INFO] [stdout] = note: required for `Config` to implement `TryInto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | embedder, [INFO] [stdout] | ^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | entry.embedding = self.embedder.embed(&entry.content).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | Self { db, embedder } [INFO] [stdout] | ^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | Self { db, embedder } [INFO] [stdout] | ^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | Self { model, config } [INFO] [stdout] | ^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Serialize` is not satisfied [INFO] [stdout] --> src/state/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Clone, Debug, Default)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `NaiveDateTime` [INFO] [stdout] ... [INFO] [stdout] 13 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ---------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 198 others [INFO] [stdout] note: required by a bound in `agent::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some((key, value)) = condition.split(" == ").collect::>().as_slice() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------------------ this expression has type `&[&str]` [INFO] [stdout] | | [INFO] [stdout] | expected `[&str]`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected slice `[&str]` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/graph/mod.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(output_value) = outputs.get(key.trim()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/graph/mod.rs:165:96 [INFO] [stdout] | [INFO] [stdout] 165 | if let (Value::String(output_str), Value::String(target_str)) = (output_value, value.trim()) { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/state/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a ron::value::raw::RawValue [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 208 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/state/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub timestamp: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a ron::value::raw::RawValue [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 208 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NaiveDateTime: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/state/mod.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize, Deserialize, Clone, Debug, Default)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `NaiveDateTime` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `NaiveDateTime` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a ron::value::raw::RawValue [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 208 others [INFO] [stdout] note: required by a bound in `agent::_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | tools: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | tools: HashMap::new(), [INFO] [stdout] | ^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | self.tools.insert(tool.name().to_string(), Box::new(tool)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.tools.keys().map(|k| k.as_str()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.tools.keys().map(|k| k.as_str()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Tool` is not dyn compatible [INFO] [stdout] --> src/tools/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.tools.keys().map(|k| k.as_str()).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Tool` 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 [INFO] [stdout] --> src/tools/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- this trait is not dyn compatible... [INFO] [stdout] ... [INFO] [stdout] 10 | async fn execute(&self, args: Value) -> Result; [INFO] [stdout] | ^^^^^^^ ...because method `execute` is `async` [INFO] [stdout] = help: consider moving `execute` to another trait [INFO] [stdout] = help: the following types implement `Tool`: [INFO] [stdout] tools::TextTool [INFO] [stdout] tools::TimeTool [INFO] [stdout] mcp::McpToolProxy [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Tool` for this new enum and using it instead [INFO] [stdout] = note: `Tool` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/config/mod.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | let config = config::Config::new(); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | --------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/config/mod.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let config = config::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 of type `config::Value` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 53 | let config = config::Config::new(/* config::Value */); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/agent/mod.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn interrupt(&self, reason: &str, data: Option) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/agent/mod.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn interrupt(&self, reason: &str, data: Option) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/agent/mod.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn resume(&self, input: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `Config` in the current scope [INFO] [stdout] --> src/config/mod.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 54 | let config = config [INFO] [stdout] | ______________________- [INFO] [stdout] 55 | | .merge(config::File::with_name(path.as_ref().to_string_lossy().as_ref()))?; [INFO] [stdout] | | -^^^^^ method not found in `Config` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/config/mod.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | let mut config = config::Config::new(); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | --------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/config/mod.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | let mut config = config::Config::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 of type `config::Value` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/config-0.15.19/src/config.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn new(value: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 61 | let mut config = config::Config::new(/* config::Value */); [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/agent/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 120 | fn run(&self, input: &str) -> AgentRunner { [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `input` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 129 | / tokio::spawn(async move { [INFO] [stdout] 130 | | // 发送初始事件 [INFO] [stdout] 131 | | tx.send(AgentEvent::Reply { [INFO] [stdout] 132 | | content: format!("收到输入: {}", input), [INFO] [stdout] ... | [INFO] [stdout] 161 | | tx.send(AgentEvent::Done).await.unwrap(); [INFO] [stdout] 162 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`input` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tools_clone` [INFO] [stdout] --> src/agent/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let tools_clone = self.tools.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tools_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_clone` [INFO] [stdout] --> src/agent/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let name_clone = self.name.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `merge` found for struct `Config` in the current scope [INFO] [stdout] --> src/config/mod.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | config.merge(config::Environment::with_prefix("AGENT"))?; [INFO] [stdout] | ^^^^^ method not found in `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AgentConfig: TryFrom` is not satisfied [INFO] [stdout] --> src/config/mod.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | let agent_config: AgentConfig = config.try_into()?; [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `From` is not implemented for `AgentConfig` [INFO] [stdout] --> src/config/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AgentConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Config` to implement `Into` [INFO] [stdout] = note: required for `AgentConfig` to implement `TryFrom` [INFO] [stdout] = note: required for `Config` to implement `TryInto` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | embedder, [INFO] [stdout] | ^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | entry.embedding = self.embedder.embed(&entry.content).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `VectorDatabase` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:125:16 [INFO] [stdout] | [INFO] [stdout] 125 | Self { db, embedder } [INFO] [stdout] | ^^ `VectorDatabase` 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 [INFO] [stdout] --> src/memory/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait VectorDatabase: Send + Sync { [INFO] [stdout] | -------------- this trait is not dyn compatible... [INFO] [stdout] 37 | async fn add(&self, entry: MemoryEntry) -> Result<(), String>; [INFO] [stdout] | ^^^ ...because method `add` is `async` [INFO] [stdout] 38 | async fn search(&self, query_embedding: &[f32], top_k: usize) -> Result, String>; [INFO] [stdout] | ^^^^^^ ...because method `search` is `async` [INFO] [stdout] 39 | async fn clear(&self) -> Result<(), String>; [INFO] [stdout] | ^^^^^ ...because method `clear` is `async` [INFO] [stdout] = help: consider moving `add` to another trait [INFO] [stdout] = help: consider moving `search` to another trait [INFO] [stdout] = help: consider moving `clear` to another trait [INFO] [stdout] = help: only type `memory::InMemoryVectorDB` implements `VectorDatabase` within this crate; consider using it directly instead. [INFO] [stdout] = note: `VectorDatabase` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Embedder` is not dyn compatible [INFO] [stdout] --> src/memory/mod.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | Self { db, embedder } [INFO] [stdout] | ^^^^^^^^ `Embedder` 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 [INFO] [stdout] --> src/memory/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Embedder: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 10 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: only type `memory::SimpleEmbedder` implements `Embedder` within this crate; consider using it directly instead. [INFO] [stdout] = note: `Embedder` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/planning/mod.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | async fn generate_final_response(&self, state: &AgentState, thoughts: &[String]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `LLMModel` is not dyn compatible [INFO] [stdout] --> src/llm/mod.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | Self { model, config } [INFO] [stdout] | ^^^^^ `LLMModel` 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 [INFO] [stdout] --> src/llm/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait LLMModel: Send + Sync { [INFO] [stdout] | -------- this trait is not dyn compatible... [INFO] [stdout] 40 | async fn generate(&self, prompt: &str, max_tokens: Option) -> Result; [INFO] [stdout] | ^^^^^^^^ ...because method `generate` is `async` [INFO] [stdout] 41 | async fn embed(&self, text: &str) -> Result, String>; [INFO] [stdout] | ^^^^^ ...because method `embed` is `async` [INFO] [stdout] = help: consider moving `embed` to another trait [INFO] [stdout] = help: consider moving `generate` to another trait [INFO] [stdout] = help: only type `llm::LlamaCpp` implements `LLMModel` within this crate; consider using it directly instead. [INFO] [stdout] = note: `LLMModel` may be implemented in other crates; if you want to support your users passing their own types here, you can't refer to a specific type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/llm/mod.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn embed(&self, text: &str) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some((key, value)) = condition.split(" == ").collect::>().as_slice() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------------------------------------------------------ this expression has type `&[&str]` [INFO] [stdout] | | [INFO] [stdout] | expected `[&str]`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected slice `[&str]` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/graph/mod.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(output_value) = outputs.get(key.trim()) { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/graph/mod.rs:165:96 [INFO] [stdout] | [INFO] [stdout] 165 | if let (Value::String(output_str), Value::String(target_str)) = (output_value, value.trim()) { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `edges` [INFO] [stdout] --> src/graph/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 136 | let edges = self.config.edges.iter() [INFO] [stdout] | ----- move occurs because `edges` has type `Vec<&Edge>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 145 | for edge in edges { [INFO] [stdout] | ----- `edges` moved due to this implicit call to `.into_iter()` [INFO] [stdout] ... [INFO] [stdout] 158 | edges.first().map(|e| e.to.clone()) [INFO] [stdout] | ^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `edges` [INFO] [stdout] --> /rustc/a33907a7a5381473eec8bcfa0c56e05a856a911c/library/core/src/iter/traits/collect.rs:312:17 [INFO] [stdout] = note: borrow occurs due to deref coercion to `[&Edge]` [INFO] [stdout] help: consider iterating over a slice of the `Vec<&Edge>`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 145 | for edge in &edges { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/graph/mod.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn compose_skill(&self, name: &str, base_skills: &[&str], additional_config: Option) -> Result src/plugin/mod.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 72 | for path in &self.plugin_paths { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 73 | if let Err(e) = self.load_plugins_from_path(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adk` (lib test) due to 97 previous errors; 24 warnings emitted [INFO] [stdout] error[E0382]: borrow of moved value: `plugin` [INFO] [stdout] --> src/plugin/mod.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn register_plugin(&mut self, plugin: P) { [INFO] [stdout] | ------ move occurs because `plugin` has type `P`, which does not implement the `Copy` trait [INFO] [stdout] 125 | let name = plugin.name().to_string(); [INFO] [stdout] 126 | self.plugins.insert(name.clone(), Box::new(plugin)); [INFO] [stdout] | ------ value moved here [INFO] [stdout] ... [INFO] [stdout] 133 | version: plugin.version().to_string(), [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: if `P` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/plugin/mod.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn register_plugin(&mut self, plugin: P) { [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] 125 | let name = plugin.name().to_string(); [INFO] [stdout] 126 | self.plugins.insert(name.clone(), Box::new(plugin)); [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] help: consider further restricting type parameter `P` with trait `Copy` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn register_plugin(&mut self, plugin: P) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0382]: borrow of moved value: `registry` [INFO] [stdout] --> src/service/mod.rs:191:57 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(registry: Arc) -> Self { [INFO] [stdout] | -------- move occurs because `registry` has type `Arc`, which does not implement the `Copy` trait [INFO] [stdout] 189 | Self { [INFO] [stdout] 190 | registry, [INFO] [stdout] | -------- value moved here [INFO] [stdout] 191 | orchestrator: AgentServiceOrchestrator::new(registry.clone()), [INFO] [stdout] | ^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 190 | registry: registry.clone(), [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/agent/mod.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn interrupt(&self, reason: &str, data: Option) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/agent/mod.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | pub async fn interrupt(&self, reason: &str, data: Option) -> Result<(), String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/agent/mod.rs:83:32 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn resume(&self, input: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0061, E0195, E0277, E0282, E0308, E0369, E0382, E0422... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/agent/mod.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 120 | fn run(&self, input: &str) -> AgentRunner { [INFO] [stdout] | ----- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `input` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 129 | / tokio::spawn(async move { [INFO] [stdout] 130 | | // 发送初始事件 [INFO] [stdout] 131 | | tx.send(AgentEvent::Reply { [INFO] [stdout] 132 | | content: format!("收到输入: {}", input), [INFO] [stdout] ... | [INFO] [stdout] 161 | | tx.send(AgentEvent::Done).await.unwrap(); [INFO] [stdout] 162 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`input` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tools_clone` [INFO] [stdout] --> src/agent/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let tools_clone = self.tools.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tools_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_clone` [INFO] [stdout] --> src/agent/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let name_clone = self.name.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/planning/mod.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | async fn generate_final_response(&self, state: &AgentState, thoughts: &[String]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/llm/mod.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn embed(&self, text: &str) -> Result, String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `edges` [INFO] [stdout] --> src/graph/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 136 | let edges = self.config.edges.iter() [INFO] [stdout] | ----- move occurs because `edges` has type `Vec<&Edge>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 145 | for edge in edges { [INFO] [stdout] | ----- `edges` moved due to this implicit call to `.into_iter()` [INFO] [stdout] ... [INFO] [stdout] 158 | edges.first().map(|e| e.to.clone()) [INFO] [stdout] | ^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `edges` [INFO] [stdout] --> /rustc/a33907a7a5381473eec8bcfa0c56e05a856a911c/library/core/src/iter/traits/collect.rs:312:17 [INFO] [stdout] = note: borrow occurs due to deref coercion to `[&Edge]` [INFO] [stdout] help: consider iterating over a slice of the `Vec<&Edge>`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 145 | for edge in &edges { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/graph/mod.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn compose_skill(&self, name: &str, base_skills: &[&str], additional_config: Option) -> Result src/plugin/mod.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 72 | for path in &self.plugin_paths { [INFO] [stdout] | ------------------ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 73 | if let Err(e) = self.load_plugins_from_path(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `plugin` [INFO] [stdout] --> src/plugin/mod.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn register_plugin(&mut self, plugin: P) { [INFO] [stdout] | ------ move occurs because `plugin` has type `P`, which does not implement the `Copy` trait [INFO] [stdout] 125 | let name = plugin.name().to_string(); [INFO] [stdout] 126 | self.plugins.insert(name.clone(), Box::new(plugin)); [INFO] [stdout] | ------ value moved here [INFO] [stdout] ... [INFO] [stdout] 133 | version: plugin.version().to_string(), [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: if `P` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/plugin/mod.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn register_plugin(&mut self, plugin: P) { [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] 125 | let name = plugin.name().to_string(); [INFO] [stdout] 126 | self.plugins.insert(name.clone(), Box::new(plugin)); [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] help: consider further restricting type parameter `P` with trait `Copy` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn register_plugin(&mut self, plugin: P) { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `registry` [INFO] [stdout] --> src/service/mod.rs:191:57 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(registry: Arc) -> Self { [INFO] [stdout] | -------- move occurs because `registry` has type `Arc`, which does not implement the `Copy` trait [INFO] [stdout] 189 | Self { [INFO] [stdout] 190 | registry, [INFO] [stdout] | -------- value moved here [INFO] [stdout] 191 | orchestrator: AgentServiceOrchestrator::new(registry.clone()), [INFO] [stdout] | ^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: clone the value to increment its reference count [INFO] [stdout] | [INFO] [stdout] 190 | registry: registry.clone(), [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0061, E0195, E0277, E0282, E0308, E0369, E0382, E0422... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adk` (lib) due to 92 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8f3d959295a7a590d0c4f40be9995c664f42fca02cccc3c887da894ab62380b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f3d959295a7a590d0c4f40be9995c664f42fca02cccc3c887da894ab62380b", kill_on_drop: false }` [INFO] [stdout] f8f3d959295a7a590d0c4f40be9995c664f42fca02cccc3c887da894ab62380b