[INFO] fetching crate micro_swarm 0.2.0... [INFO] checking micro_swarm-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate micro_swarm 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate micro_swarm 0.2.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate micro_swarm 0.2.0 [INFO] tweaked toml for crates.io crate micro_swarm 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate micro_swarm 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate micro_swarm 0.2.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psutil v3.3.0 [INFO] [stderr] Downloaded platforms v2.0.0 [INFO] [stderr] Downloaded micro_metrics v0.2.0 [INFO] [stderr] Downloaded micro_routing v0.2.0 [INFO] [stderr] Downloaded micro_core v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 395d82c53331ba1b8f0d5e37c2e1d7bccf9c7e8be063550c79c96d4f9e8884ae [INFO] running `Command { std: "docker" "start" "-a" "395d82c53331ba1b8f0d5e37c2e1d7bccf9c7e8be063550c79c96d4f9e8884ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "395d82c53331ba1b8f0d5e37c2e1d7bccf9c7e8be063550c79c96d4f9e8884ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395d82c53331ba1b8f0d5e37c2e1d7bccf9c7e8be063550c79c96d4f9e8884ae", kill_on_drop: false }` [INFO] [stdout] 395d82c53331ba1b8f0d5e37c2e1d7bccf9c7e8be063550c79c96d4f9e8884ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ea65a62339e7d02ee126b419b073f6ae8832bb5f777ce18366f2d77337eead [INFO] running `Command { std: "docker" "start" "-a" "70ea65a62339e7d02ee126b419b073f6ae8832bb5f777ce18366f2d77337eead", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling micro_core v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling platforms v2.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.42 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap v4.5.42 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking psutil v3.3.0 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking micro_routing v0.2.0 [INFO] [stderr] Checking micro_metrics v0.2.0 [INFO] [stderr] Checking micro_swarm v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::memory::SwarmMemoryPool` [INFO] [stdout] --> src/orchestrator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::memory::SwarmMemoryPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SwarmMemoryPool` in `memory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 15 - use crate::memory::SwarmMemoryPool; [INFO] [stdout] 15 + use crate::SwarmMemoryPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::channel::SwarmChannelManager` [INFO] [stdout] --> src/orchestrator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::channel::SwarmChannelManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SwarmChannelManager` in `channel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 16 - use crate::channel::SwarmChannelManager; [INFO] [stdout] 16 + use crate::SwarmChannelManager; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceUtilization` in this scope [INFO] [stdout] --> src/orchestrator.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | impl Default for ResourceUtilization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmMetrics` in this scope [INFO] [stdout] --> src/orchestrator.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | impl Default for SwarmMetrics { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `SchedulerConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, SwarmConfig, SwarmTopology, SchedulerConfig, MemoryConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `SchedulerConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] note: `SchedulerConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MemoryConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:9:70 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, SwarmConfig, SwarmTopology, SchedulerConfig, MemoryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MemoryConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] note: `MemoryConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `SchedulerConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn scheduler_config(mut self, config: SchedulerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `SchedulerConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] note: `SchedulerConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MemoryConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn memory_config(mut self, config: MemoryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MemoryConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] note: `MemoryConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `SchedulerConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | let scheduler = TaskScheduler::new(SchedulerConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `SchedulerConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] note: `SchedulerConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MemoryConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | let memory_pool = SwarmMemoryPool::new(MemoryConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MemoryConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] note: `MemoryConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/lib.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `VecDeque`, `boxed::Box`, `string::String`, and `vec::Vec` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | collections::{BTreeMap, VecDeque}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 19 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `time::Duration` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / unsafe { [INFO] [stdout] 20 | | COUNTER += 1; [INFO] [stdout] 21 | | Self(COUNTER) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #![forbid(unsafe_code)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/types.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / unsafe { [INFO] [stdout] 53 | | COUNTER += 1; [INFO] [stdout] 54 | | Self(COUNTER) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/types.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / unsafe { [INFO] [stdout] 80 | | COUNTER += 1; [INFO] [stdout] 81 | | Self(COUNTER) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Capability` [INFO] [stdout] --> src/task.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{TaskId, AgentId, Capability}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let timestamp = unsafe { [INFO] [stdout] | _________________________^ [INFO] [stdout] 101 | | COUNTER += 1; [INFO] [stdout] 102 | | COUNTER [INFO] [stdout] 103 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:175:43 [INFO] [stdout] | [INFO] [stdout] 175 | self.metadata.scheduled_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 176 | | COUNTER += 1; [INFO] [stdout] 177 | | COUNTER [INFO] [stdout] 178 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | self.metadata.started_at = Some(unsafe { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 186 | | COUNTER += 1; [INFO] [stdout] 187 | | COUNTER [INFO] [stdout] 188 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:195:43 [INFO] [stdout] | [INFO] [stdout] 195 | self.metadata.completed_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 196 | | COUNTER += 1; [INFO] [stdout] 197 | | COUNTER [INFO] [stdout] 198 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:205:43 [INFO] [stdout] | [INFO] [stdout] 205 | self.metadata.completed_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 206 | | COUNTER += 1; [INFO] [stdout] 207 | | COUNTER [INFO] [stdout] 208 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:215:43 [INFO] [stdout] | [INFO] [stdout] 215 | self.metadata.completed_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 216 | | COUNTER += 1; [INFO] [stdout] 217 | | COUNTER [INFO] [stdout] 218 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceRequirements` [INFO] [stdout] --> src/memory.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{Result, SwarmError, AgentId, RegionId, ResourceRequirements}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/memory.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let timestamp = unsafe { [INFO] [stdout] | _________________________^ [INFO] [stdout] 89 | | COUNTER += 1; [INFO] [stdout] 90 | | COUNTER [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/memory.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | self.metadata.last_accessed = unsafe { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 154 | | COUNTER += 1; [INFO] [stdout] 155 | | COUNTER [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/memory.rs:504:28 [INFO] [stdout] | [INFO] [stdout] 504 | let current_time = unsafe { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 505 | | CURRENT_TIME += 1; [INFO] [stdout] 506 | | CURRENT_TIME [INFO] [stdout] 507 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/channel.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let id = unsafe { [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | COUNTER += 1; [INFO] [stdout] 59 | | COUNTER [INFO] [stdout] 60 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/orchestrator.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/orchestrator.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec::Vec` [INFO] [stdout] --> src/orchestrator.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::{vec::Vec, string::String}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentState`, `MessagePayload`, `MessageType`, `Message`, and `SwarmError` [INFO] [stdout] --> src/orchestrator.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, SwarmConfig, SwarmTopology, SchedulerConfig, MemoryConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Agent, Task, AgentId, TaskId, Message, MessageType, MessagePayload, AgentState [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/scheduler.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::{vec::Vec, collections::{BTreeMap, VecDeque}, string::String}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentState`, `Agent`, and `ResourceRequirements` [INFO] [stdout] --> src/scheduler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Agent, AgentState, ResourceRequirements, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/scheduler.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 289 | let plan_id = unsafe { [INFO] [stdout] | _______________________^ [INFO] [stdout] 290 | | PLAN_COUNTER += 1; [INFO] [stdout] 291 | | PLAN_COUNTER [INFO] [stdout] 292 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/scheduler.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | / unsafe { [INFO] [stdout] 619 | | COUNTER += 1; [INFO] [stdout] 620 | | COUNTER [INFO] [stdout] 621 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `boxed::Box` [INFO] [stdout] --> src/coordinator.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::{vec::Vec, collections::BTreeMap, string::String, boxed::Box, vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentState`, `MessagePayload`, `MessageType`, `Message`, `TaskId`, `TaskPriority`, and `Task` [INFO] [stdout] --> src/coordinator.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, AgentId, TaskId, Message, MessageType, MessagePayload, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | SwarmTopology, Agent, AgentState, Task, TaskPriority, [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/coordinator.rs:333:27 [INFO] [stdout] | [INFO] [stdout] 333 | let proposal_id = unsafe { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 334 | | PROPOSAL_COUNTER += 1; [INFO] [stdout] 335 | | PROPOSAL_COUNTER [INFO] [stdout] 336 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/coordinator.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | let group_id = unsafe { [INFO] [stdout] | ________________________^ [INFO] [stdout] 467 | | GROUP_COUNTER += 1; [INFO] [stdout] 468 | | GROUP_COUNTER [INFO] [stdout] 469 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/coordinator.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | / unsafe { [INFO] [stdout] 655 | | COUNTER += 1; [INFO] [stdout] 656 | | COUNTER [INFO] [stdout] 657 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `SchedulerConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ------------ but the name `SchedulerConfig` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `MemoryConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | --------- but the name `MemoryConfig` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::memory::SwarmMemoryPool` [INFO] [stdout] --> src/orchestrator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::memory::SwarmMemoryPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SwarmMemoryPool` in `memory` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 15 - use crate::memory::SwarmMemoryPool; [INFO] [stdout] 15 + use crate::SwarmMemoryPool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::channel::SwarmChannelManager` [INFO] [stdout] --> src/orchestrator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::channel::SwarmChannelManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SwarmChannelManager` in `channel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 16 - use crate::channel::SwarmChannelManager; [INFO] [stdout] 16 + use crate::SwarmChannelManager; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/orchestrator.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn spawn_agent(&mut self, agent: Agent) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use a new generic type parameter, constrained by `Agent` [INFO] [stdout] | [INFO] [stdout] 142 - pub fn spawn_agent(&mut self, agent: Agent) -> Result { [INFO] [stdout] 142 + pub fn spawn_agent(&mut self, agent: T) -> Result { [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] 142 | pub fn spawn_agent(&mut self, agent: impl Agent) -> Result { [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] 142 | pub fn spawn_agent(&mut self, agent: &dyn Agent) -> Result { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ResourceUtilization` in this scope [INFO] [stdout] --> src/orchestrator.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | impl Default for ResourceUtilization { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SwarmMetrics` in this scope [INFO] [stdout] --> src/orchestrator.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | impl Default for SwarmMetrics { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `SchedulerConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, SwarmConfig, SwarmTopology, SchedulerConfig, MemoryConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `SchedulerConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] note: `SchedulerConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MemoryConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:9:70 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, SwarmConfig, SwarmTopology, SchedulerConfig, MemoryConfig, [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MemoryConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] note: `MemoryConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `SchedulerConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn scheduler_config(mut self, config: SchedulerConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `SchedulerConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] note: `SchedulerConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MemoryConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:84:44 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn memory_config(mut self, config: MemoryConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MemoryConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] note: `MemoryConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `SchedulerConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | let scheduler = TaskScheduler::new(SchedulerConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `SchedulerConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] note: `SchedulerConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `SchedulerConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MemoryConfig` is ambiguous [INFO] [stdout] --> src/orchestrator.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | let memory_pool = SwarmMemoryPool::new(MemoryConfig::default()); [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MemoryConfig` could refer to the struct imported here [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] note: `MemoryConfig` could also refer to the struct imported here [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MemoryConfig` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/lib.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `VecDeque`, `boxed::Box`, `string::String`, and `vec::Vec` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | collections::{BTreeMap, VecDeque}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 19 | boxed::Box, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | string::String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `time::Duration` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/types.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/types.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / unsafe { [INFO] [stdout] 20 | | COUNTER += 1; [INFO] [stdout] 21 | | Self(COUNTER) [INFO] [stdout] 22 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #![forbid(unsafe_code)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/types.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / unsafe { [INFO] [stdout] 53 | | COUNTER += 1; [INFO] [stdout] 54 | | Self(COUNTER) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/types.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / unsafe { [INFO] [stdout] 80 | | COUNTER += 1; [INFO] [stdout] 81 | | Self(COUNTER) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/agent.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/task.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Capability` [INFO] [stdout] --> src/task.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{TaskId, AgentId, Capability}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let timestamp = unsafe { [INFO] [stdout] | _________________________^ [INFO] [stdout] 101 | | COUNTER += 1; [INFO] [stdout] 102 | | COUNTER [INFO] [stdout] 103 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:175:43 [INFO] [stdout] | [INFO] [stdout] 175 | self.metadata.scheduled_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 176 | | COUNTER += 1; [INFO] [stdout] 177 | | COUNTER [INFO] [stdout] 178 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | self.metadata.started_at = Some(unsafe { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 186 | | COUNTER += 1; [INFO] [stdout] 187 | | COUNTER [INFO] [stdout] 188 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:195:43 [INFO] [stdout] | [INFO] [stdout] 195 | self.metadata.completed_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 196 | | COUNTER += 1; [INFO] [stdout] 197 | | COUNTER [INFO] [stdout] 198 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:205:43 [INFO] [stdout] | [INFO] [stdout] 205 | self.metadata.completed_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 206 | | COUNTER += 1; [INFO] [stdout] 207 | | COUNTER [INFO] [stdout] 208 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/task.rs:215:43 [INFO] [stdout] | [INFO] [stdout] 215 | self.metadata.completed_at = Some(unsafe { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 216 | | COUNTER += 1; [INFO] [stdout] 217 | | COUNTER [INFO] [stdout] 218 | | }); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/memory.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceRequirements` [INFO] [stdout] --> src/memory.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{Result, SwarmError, AgentId, RegionId, ResourceRequirements}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/memory.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let timestamp = unsafe { [INFO] [stdout] | _________________________^ [INFO] [stdout] 89 | | COUNTER += 1; [INFO] [stdout] 90 | | COUNTER [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/memory.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | self.metadata.last_accessed = unsafe { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 154 | | COUNTER += 1; [INFO] [stdout] 155 | | COUNTER [INFO] [stdout] 156 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/memory.rs:504:28 [INFO] [stdout] | [INFO] [stdout] 504 | let current_time = unsafe { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 505 | | CURRENT_TIME += 1; [INFO] [stdout] 506 | | CURRENT_TIME [INFO] [stdout] 507 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/channel.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::mem` [INFO] [stdout] --> src/channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::mem; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/channel.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let id = unsafe { [INFO] [stdout] | __________________^ [INFO] [stdout] 58 | | COUNTER += 1; [INFO] [stdout] 59 | | COUNTER [INFO] [stdout] 60 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/orchestrator.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/orchestrator.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec::Vec` [INFO] [stdout] --> src/orchestrator.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::{vec::Vec, string::String}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentState`, `MessagePayload`, `MessageType`, `Message`, and `SwarmError` [INFO] [stdout] --> src/orchestrator.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, SwarmConfig, SwarmTopology, SchedulerConfig, MemoryConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Agent, Task, AgentId, TaskId, Message, MessageType, MessagePayload, AgentState [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/scheduler.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/scheduler.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::{vec::Vec, collections::{BTreeMap, VecDeque}, string::String}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentState`, `Agent`, and `ResourceRequirements` [INFO] [stdout] --> src/scheduler.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Agent, AgentState, ResourceRequirements, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/scheduler.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 289 | let plan_id = unsafe { [INFO] [stdout] | _______________________^ [INFO] [stdout] 290 | | PLAN_COUNTER += 1; [INFO] [stdout] 291 | | PLAN_COUNTER [INFO] [stdout] 292 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/scheduler.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | / unsafe { [INFO] [stdout] 619 | | COUNTER += 1; [INFO] [stdout] 620 | | COUNTER [INFO] [stdout] 621 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/coordinator.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `axum`, `crossbeam`, `dashboard`, `default`, `metrics`, `parallel`, `plugins`, `quantum`, `rayon`, `std`, and `tokio` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `boxed::Box` [INFO] [stdout] --> src/coordinator.rs:3:62 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::{vec::Vec, collections::BTreeMap, string::String, boxed::Box, vec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AgentState`, `MessagePayload`, `MessageType`, `Message`, `TaskId`, `TaskPriority`, and `Task` [INFO] [stdout] --> src/coordinator.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | Result, SwarmError, AgentId, TaskId, Message, MessageType, MessagePayload, [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | SwarmTopology, Agent, AgentState, Task, TaskPriority, [INFO] [stdout] | ^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/coordinator.rs:333:27 [INFO] [stdout] | [INFO] [stdout] 333 | let proposal_id = unsafe { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 334 | | PROPOSAL_COUNTER += 1; [INFO] [stdout] 335 | | PROPOSAL_COUNTER [INFO] [stdout] 336 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/coordinator.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | let group_id = unsafe { [INFO] [stdout] | ________________________^ [INFO] [stdout] 467 | | GROUP_COUNTER += 1; [INFO] [stdout] 468 | | GROUP_COUNTER [INFO] [stdout] 469 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: usage of an `unsafe` block [INFO] [stdout] --> src/coordinator.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | / unsafe { [INFO] [stdout] 655 | | COUNTER += 1; [INFO] [stdout] 656 | | COUNTER [INFO] [stdout] 657 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `SchedulerConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 54 | pub use scheduler::*; [INFO] [stdout] | ------------ but the name `SchedulerConfig` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ the name `MemoryConfig` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 51 | pub use memory::*; [INFO] [stdout] | --------- but the name `MemoryConfig` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coordination_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | self.config.coordination_config.topology = topology; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `monitoring_enabled` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | self.config.monitoring_enabled = enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coordination_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | self.config.coordination_config.fault_tolerance = enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `scheduler_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | self.config.scheduler_config = config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `memory_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | self.config.memory_config = config; [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CoordinationConfig` has no field named `max_groups` [INFO] [stdout] --> src/orchestrator.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | max_groups: 16, [INFO] [stdout] | ^^^^^^^^^^ `CoordinationConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `max_group_size`, `consensus_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CoordinationConfig` has no field named `consensus_timeout` [INFO] [stdout] --> src/orchestrator.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | consensus_timeout: 5000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `CoordinationConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `max_group_size`, `consensus_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/orchestrator.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn spawn_agent(&mut self, agent: Agent) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use a new generic type parameter, constrained by `Agent` [INFO] [stdout] | [INFO] [stdout] 142 - pub fn spawn_agent(&mut self, agent: Agent) -> Result { [INFO] [stdout] 142 + pub fn spawn_agent(&mut self, agent: T) -> Result { [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] 142 | pub fn spawn_agent(&mut self, agent: impl Agent) -> Result { [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] 142 | pub fn spawn_agent(&mut self, agent: &dyn Agent) -> Result { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orchestrator.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | let scheduler = TaskScheduler::new(SchedulerConfig::default()); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `scheduler::SchedulerConfig`, found `types::SchedulerConfig` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `types::SchedulerConfig` and `scheduler::SchedulerConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `types::SchedulerConfig` is defined in module `crate::types` of the current crate [INFO] [stdout] --> src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct SchedulerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `scheduler::SchedulerConfig` is defined in module `crate::scheduler` of the current crate [INFO] [stdout] --> src/scheduler.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SchedulerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/scheduler.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn new(config: SchedulerConfig) -> Self { [INFO] [stdout] | ^^^ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/orchestrator.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | self.coordinator.register_agent(agent)?; [INFO] [stdout] | ^^^^^^^^^^^^^^------- argument #2 of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/coordinator.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn register_agent(&mut self, agent_id: AgentId, capabilities: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 144 | self.coordinator.register_agent(agent, /* Vec */)?; [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `id` found for struct `task::Task` in the current scope [INFO] [stdout] --> src/orchestrator.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | let task_id = task.id(); [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/task.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Task { [INFO] [stdout] | --------------- method `id` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `id`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `micro_core::MicroNet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_task` found for struct `TaskScheduler` in the current scope [INFO] [stdout] --> src/orchestrator.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | self.scheduler.add_task(task)?; [INFO] [stdout] | ^^^^^^^^ method not found in `TaskScheduler` [INFO] [stdout] | [INFO] [stdout] ::: src/scheduler.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct TaskScheduler { [INFO] [stdout] | ------------------------ method `add_task` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coordination_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | self.config.coordination_config.topology = topology; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `monitoring_enabled` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | self.config.monitoring_enabled = enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `coordination_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | self.config.coordination_config.fault_tolerance = enabled; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `scheduler_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | self.config.scheduler_config = config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `memory_config` on type `types::SwarmConfig` [INFO] [stdout] --> src/orchestrator.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | self.config.memory_config = config; [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `name`, `max_agents`, `topology`, `fault_tolerance`, `heartbeat_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CoordinationConfig` has no field named `max_groups` [INFO] [stdout] --> src/orchestrator.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | max_groups: 16, [INFO] [stdout] | ^^^^^^^^^^ `CoordinationConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `max_group_size`, `consensus_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CoordinationConfig` has no field named `consensus_timeout` [INFO] [stdout] --> src/orchestrator.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | consensus_timeout: 5000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `CoordinationConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `max_group_size`, `consensus_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/orchestrator.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | let scheduled = self.scheduler.schedule_tasks(&mut self.coordinator)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ --------------------- unexpected argument of type `&mut SwarmCoordinator` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/scheduler.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn schedule_tasks(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 165 - let scheduled = self.scheduler.schedule_tasks(&mut self.coordinator)?; [INFO] [stdout] 165 + let scheduled = self.scheduler.schedule_tasks()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceUtilization` [INFO] [stdout] --> src/orchestrator.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | resource_usage: ResourceUtilization::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ResourceUtilization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/orchestrator.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | let scheduler = TaskScheduler::new(SchedulerConfig::default()); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `scheduler::SchedulerConfig`, found `types::SchedulerConfig` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `types::SchedulerConfig` and `scheduler::SchedulerConfig` have similar names, but are actually distinct types [INFO] [stdout] note: `types::SchedulerConfig` is defined in module `crate::types` of the current crate [INFO] [stdout] --> src/types.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct SchedulerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `scheduler::SchedulerConfig` is defined in module `crate::scheduler` of the current crate [INFO] [stdout] --> src/scheduler.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SchedulerConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/scheduler.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn new(config: SchedulerConfig) -> Self { [INFO] [stdout] | ^^^ ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/orchestrator.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | self.coordinator.register_agent(agent)?; [INFO] [stdout] | ^^^^^^^^^^^^^^------- argument #2 of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/coordinator.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn register_agent(&mut self, agent_id: AgentId, capabilities: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 144 | self.coordinator.register_agent(agent, /* Vec */)?; [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/types.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use core::{fmt, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Agent` [INFO] [stdout] --> src/coordinator.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | SwarmTopology, Agent, AgentState, Task, TaskPriority, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `id` found for struct `task::Task` in the current scope [INFO] [stdout] --> src/orchestrator.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 151 | let task_id = task.id(); [INFO] [stdout] | ^^-- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] | [INFO] [stdout] ::: src/task.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Task { [INFO] [stdout] | --------------- method `id` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `id`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `micro_core::MicroNet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_task` found for struct `TaskScheduler` in the current scope [INFO] [stdout] --> src/orchestrator.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | self.scheduler.add_task(task)?; [INFO] [stdout] | ^^^^^^^^ method not found in `TaskScheduler` [INFO] [stdout] | [INFO] [stdout] ::: src/scheduler.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct TaskScheduler { [INFO] [stdout] | ------------------------ method `add_task` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/agent.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | fn execute_task(&mut self, task_id: TaskId, payload: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/orchestrator.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | let scheduled = self.scheduler.schedule_tasks(&mut self.coordinator)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ --------------------- unexpected argument of type `&mut SwarmCoordinator` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/scheduler.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn schedule_tasks(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 165 - let scheduled = self.scheduler.schedule_tasks(&mut self.coordinator)?; [INFO] [stdout] 165 + let scheduled = self.scheduler.schedule_tasks()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResourceUtilization` [INFO] [stdout] --> src/orchestrator.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | resource_usage: ResourceUtilization::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ResourceUtilization` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region_id` [INFO] [stdout] --> src/memory.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let region_id = self.free_regions.pop() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_region_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/types.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use core::{fmt, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Agent` [INFO] [stdout] --> src/coordinator.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | SwarmTopology, Agent, AgentState, Task, TaskPriority, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/scheduler.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 304 | for task in &self.task_queue { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 305 | if self.is_task_ready(task) { [INFO] [stdout] 306 | if let Some(agent_id) = self.select_agent_for_task(task) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rebalanced` is never read [INFO] [stdout] --> src/scheduler.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | let mut rebalanced = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id` [INFO] [stdout] --> src/agent.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | fn execute_task(&mut self, task_id: TaskId, payload: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region_id` [INFO] [stdout] --> src/memory.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let region_id = self.free_regions.pop() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_region_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0432, E0433, E0502, E0560, E0599, E0609... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `micro_swarm` (lib) due to 43 previous errors; 74 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/scheduler.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 304 | for task in &self.task_queue { [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] 305 | if self.is_task_ready(task) { [INFO] [stdout] 306 | if let Some(agent_id) = self.select_agent_for_task(task) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rebalanced` is never read [INFO] [stdout] --> src/scheduler.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | let mut rebalanced = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0432, E0433, E0502, E0560, E0599, E0609... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `micro_swarm` (lib test) due to 43 previous errors; 74 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70ea65a62339e7d02ee126b419b073f6ae8832bb5f777ce18366f2d77337eead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ea65a62339e7d02ee126b419b073f6ae8832bb5f777ce18366f2d77337eead", kill_on_drop: false }` [INFO] [stdout] 70ea65a62339e7d02ee126b419b073f6ae8832bb5f777ce18366f2d77337eead