[INFO] fetching crate hope_agents 0.1.0...
[INFO] testing hope_agents-0.1.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate hope_agents 0.1.0 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate hope_agents 0.1.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate hope_agents 0.1.0
[INFO] tweaked toml for crates.io crate hope_agents 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hope_agents 0.1.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate hope_agents 0.1.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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded titans_memory v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e67d4e28dd8c26a91e7ae4bb39d2c5c69d6808dd42c4e89243ffd3630a7bd63
[INFO] running `Command { std: "docker" "start" "-a" "0e67d4e28dd8c26a91e7ae4bb39d2c5c69d6808dd42c4e89243ffd3630a7bd63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e67d4e28dd8c26a91e7ae4bb39d2c5c69d6808dd42c4e89243ffd3630a7bd63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e67d4e28dd8c26a91e7ae4bb39d2c5c69d6808dd42c4e89243ffd3630a7bd63", kill_on_drop: false }`
[INFO] [stdout] 0e67d4e28dd8c26a91e7ae4bb39d2c5c69d6808dd42c4e89243ffd3630a7bd63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb24da62e05252680dfff659c1f5dea78ad8f060d9cc1db97cfb798ff24b8df7
[INFO] running `Command { std: "docker" "start" "-a" "bb24da62e05252680dfff659c1f5dea78ad8f060d9cc1db97cfb798ff24b8df7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling hope_agents v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `outbox` is never read
[INFO] [stdout]    --> src/coordination.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | struct AgentHandle {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 321 |     outbox: VecDeque<Message>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `discretization_bins` is never read
[INFO] [stdout]   --> src/predictive/transition.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct StateEncoder {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 22 |     discretization_bins: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.37s
[INFO] running `Command { std: "docker" "inspect" "bb24da62e05252680dfff659c1f5dea78ad8f060d9cc1db97cfb798ff24b8df7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb24da62e05252680dfff659c1f5dea78ad8f060d9cc1db97cfb798ff24b8df7", kill_on_drop: false }`
[INFO] [stdout] bb24da62e05252680dfff659c1f5dea78ad8f060d9cc1db97cfb798ff24b8df7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0a1d3acb5c04bb3dcc66ac956cb66adeea0242d7a1f53fc34bf00e2c2042ef0
[INFO] running `Command { std: "docker" "start" "-a" "a0a1d3acb5c04bb3dcc66ac956cb66adeea0242d7a1f53fc34bf00e2c2042ef0", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling zerocopy-derive v0.8.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling hope_agents v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `outbox` is never read
[INFO] [stdout]    --> src/coordination.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | struct AgentHandle {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 321 |     outbox: VecDeque<Message>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `discretization_bins` is never read
[INFO] [stdout]   --> src/predictive/transition.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct StateEncoder {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 22 |     discretization_bins: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Action` and `PredictiveConfig`
[INFO] [stdout]   --> examples/hope_orchestrator.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Action, ActionResult, ActionType, Goal, GoalSelectionStrategy, HopeAgent, HopeConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |     LearningAlgorithm, LearningConfig, Observation, OperationMode, Outcome, PredictiveConfig,
[INFO] [stdout]    |                                                                             ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::ValueRange`
[INFO] [stdout]    --> src/hierarchical/decomposition.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |     use crate::types::ValueRange;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::Timestamp`
[INFO] [stdout]    --> src/hierarchical/goal_solver.rs:534:9
[INFO] [stdout]     |
[INFO] [stdout] 534 |     use crate::types::Timestamp;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `outbox` is never read
[INFO] [stdout]    --> src/coordination.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 318 | struct AgentHandle {
[INFO] [stdout]     |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 321 |     outbox: VecDeque<Message>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `discretization_bins` is never read
[INFO] [stdout]   --> src/predictive/transition.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct StateEncoder {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 22 |     discretization_bins: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 24.43s
[INFO] running `Command { std: "docker" "inspect" "a0a1d3acb5c04bb3dcc66ac956cb66adeea0242d7a1f53fc34bf00e2c2042ef0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0a1d3acb5c04bb3dcc66ac956cb66adeea0242d7a1f53fc34bf00e2c2042ef0", kill_on_drop: false }`
[INFO] [stdout] a0a1d3acb5c04bb3dcc66ac956cb66adeea0242d7a1f53fc34bf00e2c2042ef0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3a63afb6712e3c2f9a16eca4f341f5b3f9bb70f410a45b52a90d9c59c81f131e
[INFO] running `Command { std: "docker" "start" "-a" "3a63afb6712e3c2f9a16eca4f341f5b3f9bb70f410a45b52a90d9c59c81f131e", kill_on_drop: false }`
[INFO] [stderr] warning: field `outbox` is never read
[INFO] [stderr]    --> src/coordination.rs:321:5
[INFO] [stderr]     |
[INFO] [stderr] 318 | struct AgentHandle {
[INFO] [stderr]     |        ----------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 321 |     outbox: VecDeque<Message>,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `discretization_bins` is never read
[INFO] [stderr]   --> src/predictive/transition.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub struct StateEncoder {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr] 22 |     discretization_bins: usize,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hope_agents` (lib) generated 2 warnings
[INFO] [stderr] warning: unused import: `crate::types::ValueRange`
[INFO] [stderr]    --> src/hierarchical/decomposition.rs:308:9
[INFO] [stderr]     |
[INFO] [stderr] 308 |     use crate::types::ValueRange;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::types::Timestamp`
[INFO] [stderr]    --> src/hierarchical/goal_solver.rs:534:9
[INFO] [stderr]     |
[INFO] [stderr] 534 |     use crate::types::Timestamp;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Action` and `PredictiveConfig`
[INFO] [stderr]   --> examples/hope_orchestrator.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Action, ActionResult, ActionType, Goal, GoalSelectionStrategy, HopeAgent, HopeConfig,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 13 |     LearningAlgorithm, LearningConfig, Observation, OperationMode, Outcome, PredictiveConfig,
[INFO] [stderr]    |                                                                             ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `hope_agents` (lib test) generated 4 warnings (2 duplicates) (run `cargo fix --lib -p hope_agents --tests` to apply 2 suggestions)
[INFO] [stderr] warning: `hope_agents` (example "hope_orchestrator") generated 1 warning (run `cargo fix --example "hope_orchestrator" -p hope_agents` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hope_agents-6bfd526fcbc90286)
[INFO] [stdout] 
[INFO] [stdout] running 118 tests
[INFO] [stdout] test action::tests::test_action_creation ... ok
[INFO] [stdout] test agent::tests::test_agent_creation ... ok
[INFO] [stdout] test agent::tests::test_agent_execute ... ok
[INFO] [stdout] test agent::tests::test_agent_learning ... ok
[INFO] [stdout] test agent::tests::test_agent_learning_toggle ... ok
[INFO] [stdout] test agent::tests::test_agent_lifecycle ... ok
[INFO] [stdout] test agent::tests::test_agent_observe ... ok
[INFO] [stdout] test agent::tests::test_agent_with_rule ... ok
[INFO] [stdout] test config::tests::test_ai_config ... ok
[INFO] [stdout] test config::tests::test_iot_config ... ok
[INFO] [stdout] test config::tests::test_default_config ... ok
[INFO] [stdout] test coordination::tests::test_agent_registration ... ok
[INFO] [stdout] test agent::tests::test_agent_multi_step_learning ... ok
[INFO] [stdout] test action::tests::test_noop_action ... ok
[INFO] [stdout] test coordination::tests::test_agent_unregistration ... ok
[INFO] [stdout] test coordination::tests::test_coordinator_creation ... ok
[INFO] [stdout] test coordination::tests::test_direct_message ... ok
[INFO] [stdout] test coordination::tests::test_message_bus ... ok
[INFO] [stdout] test coordination::tests::test_broadcast_message ... ok
[INFO] [stdout] test coordination::tests::test_shared_memory ... ok
[INFO] [stdout] test coordination::tests::test_message_priority ... ok
[INFO] [stdout] test goal::tests::test_goal_creation ... ok
[INFO] [stdout] test goal::tests::test_goal_lifecycle ... ok
[INFO] [stdout] test action::tests::test_action_result ... ok
[INFO] [stdout] test coordination::tests::test_consensus_proposal ... ok
[INFO] [stdout] test goal::tests::test_goal_manager ... ok
[INFO] [stdout] test hierarchical::decomposition::tests::test_avoid_rule ... ok
[INFO] [stdout] test hierarchical::decomposition::tests::test_default_rules_exist ... ok
[INFO] [stdout] test hierarchical::decomposition::tests::test_maximize_rule ... ok
[INFO] [stdout] test hierarchical::decomposition::tests::test_parallel_strategy ... ok
[INFO] [stdout] test coordination::tests::test_step_all ... ok
[INFO] [stdout] test hierarchical::decomposition::tests::test_sequential_strategy ... ok
[INFO] [stdout] test hierarchical::decomposition::tests::test_temperature_rule ... ok
[INFO] [stdout] test hierarchical::goal_solver::tests::test_add_goal ... ok
[INFO] [stdout] test hierarchical::goal_solver::tests::test_conflict_detection ... ok
[INFO] [stdout] test hierarchical::goal_solver::tests::test_goal_solver_creation ... ok
[INFO] [stdout] test hierarchical::goal_solver::tests::test_goal_tree ... ok
[INFO] [stdout] test hierarchical::goal_solver::tests::test_mark_achieved ... ok
[INFO] [stdout] test hierarchical::tests::test_conflict_detection ... ok
[INFO] [stdout] test hierarchical::tests::test_conflict_resolution ... ok
[INFO] [stdout] test hierarchical::tests::test_decompose_all ... ok
[INFO] [stdout] test hierarchical::tests::test_get_subgoals ... ok
[INFO] [stdout] test hierarchical::tests::test_executable_goals ... ok
[INFO] [stdout] test hierarchical::tests::test_goal_decomposition ... ok
[INFO] [stdout] test hierarchical::tests::test_goal_tree_operations ... ok
[INFO] [stdout] test hierarchical::tests::test_mark_achieved_propagation ... ok
[INFO] [stdout] test hierarchical::tests::test_progress_propagation ... ok
[INFO] [stdout] test hierarchical::tests::test_sequential_strategy ... ok
[INFO] [stdout] test hierarchical::tests::test_topological_sort ... ok
[INFO] [stdout] test hope_agent::tests::test_anomaly_detection ... ok
[INFO] [stdout] test hierarchical::tests::test_parallel_strategy ... ok
[INFO] [stdout] test hope_agent::tests::test_exploration_vs_exploitation ... ok
[INFO] [stdout] test hope_agent::tests::test_hope_agent_creation ... ok
[INFO] [stdout] test hope_agent::tests::test_mode_switching ... ok
[INFO] [stdout] test hope_agent::tests::test_goal_completion ... ok
[INFO] [stdout] test hope_agent::tests::test_statistics_tracking ... ok
[INFO] [stdout] test hope_agent::tests::test_serialization ... ok
[INFO] [stdout] test learning::engine::tests::test_episode_management ... ok
[INFO] [stdout] test hope_agent::tests::test_goal_integration ... ok
[INFO] [stdout] test hope_agent::tests::test_multiple_episodes ... ok
[INFO] [stdout] test hope_agent::tests::test_step_and_learn_cycle ... ok
[INFO] [stdout] test learning::engine::tests::test_epsilon_decay ... ok
[INFO] [stdout] test learning::engine::tests::test_experience_replay ... ok
[INFO] [stdout] test learning::engine::tests::test_get_best_action ... ok
[INFO] [stdout] test learning::engine::tests::test_learning_engine_creation ... ok
[INFO] [stdout] test learning::engine::tests::test_q_learning_update ... ok
[INFO] [stdout] test learning::engine::tests::test_q_value_update ... ok
[INFO] [stdout] test learning::engine::tests::test_sarsa_update ... ok
[INFO] [stdout] test learning::engine::tests::test_state_action_id_from_types ... ok
[INFO] [stdout] test learning::value_function::tests::test_feature_extractor_numeric ... ok
[INFO] [stdout] test learning::value_function::tests::test_feature_extractor_polynomial ... ok
[INFO] [stdout] test learning::value_function::tests::test_feature_extractor_value_confidence ... ok
[INFO] [stdout] test learning::value_function::tests::test_linear_value_function ... ok
[INFO] [stdout] test learning::value_function::tests::test_tabular_value_function ... ok
[INFO] [stdout] test learning::value_function::tests::test_feature_extractor_normalized ... ok
[INFO] [stdout] test learning::value_function::tests::test_feature_extractor_multi_threshold ... ok
[INFO] [stdout] test observation::tests::test_observation_buffer ... ok
[INFO] [stdout] test observation::tests::test_observation_creation ... ok
[INFO] [stdout] test learning::value_function::tests::test_linear_value_function_with_weights ... ok
[INFO] [stdout] test learning::value_function::tests::test_tabular_value_function_reset ... ok
[INFO] [stdout] test observation::tests::test_value_sensor ... ok
[INFO] [stdout] test learning::value_function::tests::test_feature_extractor_threshold ... ok
[INFO] [stdout] test persistence::tests::test_persistence_error_handling ... ok
[INFO] [stdout] test persistence::tests::test_roundtrip_with_compression ... ok
[INFO] [stdout] test policy::tests::test_condition_above ... ok
[INFO] [stdout] test policy::tests::test_condition_and ... ok
[INFO] [stdout] test policy::tests::test_policy ... ok
[INFO] [stdout] test policy::tests::test_rule ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_anomaly_detection_insufficient_data ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_anomaly_detector_creation ... ok
[INFO] [stdout] test persistence::tests::test_learning_engine_persistence ... ok
[INFO] [stdout] test persistence::tests::test_save_with_different_options ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_anomaly_score ... ok
[INFO] [stdout] test persistence::tests::test_checkpoint_cleanup ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_window_size_limit ... ok
[INFO] [stdout] test predictive::model::tests::test_predict_reward ... ok
[INFO] [stdout] test predictive::model::tests::test_predict_trajectory ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_statistics_update ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_zscore_calculation ... ok
[INFO] [stdout] test predictive::model::tests::test_history_size_limit ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_anomaly_detection ... ok
[INFO] [stdout] test predictive::model::tests::test_record_observation ... ok
[INFO] [stdout] test types::tests::test_value_conversions ... ok
[INFO] [stdout] test predictive::transition::tests::test_transition_model_predict ... ok
[INFO] [stdout] test types::tests::test_value_range ... ok
[INFO] [stdout] test predictive::transition::tests::test_transition_model_record ... ok
[INFO] [stdout] test persistence::tests::test_save_and_load_hope_agent ... ok
[INFO] [stdout] test predictive::transition::tests::test_transition_probabilities ... ok
[INFO] [stdout] test predictive::transition::tests::test_transition_stats ... ok
[INFO] [stdout] test tests::test_create_iot_agent ... ok
[INFO] [stdout] test types::tests::test_confidence ... ok
[INFO] [stdout] test predictive::model::tests::test_predict_next_state ... ok
[INFO] [stdout] test persistence::tests::test_checkpoint_manager ... ok
[INFO] [stdout] test persistence::tests::test_to_bytes_and_from_bytes ... ok
[INFO] [stdout] test predictive::model::tests::test_predictive_model_creation ... ok
[INFO] [stdout] test predictive::transition::tests::test_state_encoder ... ok
[INFO] [stdout] test predictive::anomaly::tests::test_different_value_types ... ok
[INFO] [stdout] test tests::test_create_agent ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 118 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-25e3efc09913805b)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test test_hierarchical_goals ... ok
[INFO] [stdout] test test_anomaly_detection ... ok
[INFO] [stdout] test test_consensus_mechanism ... ok
[INFO] [stdout] test test_message_bus ... ok
[INFO] [stdout] test test_multi_agent_coordination ... ok
[INFO] [stdout] test test_learning_engine_persistence ... ok
[INFO] [stdout] test test_operation_modes ... ok
[INFO] [stdout] test test_agent_persistence ... ok
[INFO] [stdout] test test_simple_agent_workflow ... ok
[INFO] [stdout] test test_persistence_formats ... ok
[INFO] [stdout] test test_shared_memory ... ok
[INFO] [stdout] test test_checkpoint_manager ... ok
[INFO] [stdout] test test_hope_agent_learning_cycle ... ok
[INFO] [stdout] test test_complete_multi_agent_scenario ... ok
[INFO] [stdout] test test_performance ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-301139e92edff052)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests hope_agents
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 26 tests
[INFO] [stdout] test src/coordination.rs - coordination (line 11) ... ignored
[INFO] [stdout] test src/lib.rs - (line 475) ... ignored
[INFO] [stdout] test src/lib.rs - (line 499) ... ignored
[INFO] [stdout] test src/lib.rs - (line 526) ... ignored
[INFO] [stdout] test src/lib.rs - (line 553) ... ignored
[INFO] [stdout] test src/persistence.rs - persistence (line 11) ... ignored
[INFO] [stdout] test src/persistence.rs - persistence::AgentPersistence::from_bytes (line 173) ... ignored
[INFO] [stdout] test src/persistence.rs - persistence::AgentPersistence::load_from_file (line 149) ... ignored
[INFO] [stdout] test src/persistence.rs - persistence::AgentPersistence::save_to_file (line 137) ... ignored
[INFO] [stdout] test src/persistence.rs - persistence::AgentPersistence::to_bytes (line 161) ... ignored
[INFO] [stdout] test src/predictive/mod.rs - predictive (line 20) ... ignored
[INFO] [stdout] test src/lib.rs - (line 210) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 242) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 284) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 377) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 270) ... FAILED
[INFO] [stdout] test src/lib.rs - create_iot_agent (line 229) ... FAILED
[INFO] [stdout] test src/lib.rs - create_agent (line 207) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 163) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 200) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 79) ... ok
[INFO] [stdout] test src/learning/mod.rs - learning (line 55) ... ok
[INFO] [stdout] test src/lib.rs - (line 228) ... FAILED
[INFO] [stdout] test src/learning/mod.rs - learning (line 16) ... ok
[INFO] [stdout] test src/lib.rs - (line 103) ... ok
[INFO] [stdout] test src/lib.rs - (line 136) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 210) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Goal`
[INFO] [stdout]    --> src/lib.rs:212:12
[INFO] [stdout]     |
[INFO] [stdout] 212 | let goal = Goal::achieve("temperature", 25.0);
[INFO] [stdout]     |            ^^^^ use of undeclared type `Goal`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 + use hope_agents::Goal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Goal`
[INFO] [stdout]    --> src/lib.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 | let goal = Goal::maintain("humidity", 40.0..60.0);
[INFO] [stdout]     |            ^^^^ use of undeclared type `Goal`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 + use hope_agents::Goal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Goal`
[INFO] [stdout]    --> src/lib.rs:218:12
[INFO] [stdout]     |
[INFO] [stdout] 218 | let goal = Goal::avoid("pressure", 100.0);
[INFO] [stdout]     |            ^^^^ use of undeclared type `Goal`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 + use hope_agents::Goal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Goal`
[INFO] [stdout]    --> src/lib.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | let goal = Goal::explore("new_area");
[INFO] [stdout]     |            ^^^^ use of undeclared type `Goal`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 210 + use hope_agents::Goal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 242) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AgentCoordinator`
[INFO] [stdout]    --> src/lib.rs:243:23
[INFO] [stdout]     |
[INFO] [stdout] 243 | let mut coordinator = AgentCoordinator::new();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ use of undeclared type `AgentCoordinator`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 242 + use hope_agents::AgentCoordinator;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConsensusResult`
[INFO] [stdout]    --> src/lib.rs:256:10
[INFO] [stdout]     |
[INFO] [stdout] 256 |     Some(ConsensusResult::Decided { approved, votes_for, votes_against, .. }) => {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^ use of undeclared type `ConsensusResult`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 242 + use hope_agents::ConsensusResult;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 284) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HopeAgent`
[INFO] [stdout]    --> src/lib.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 | let agent = HopeAgent::new(config);
[INFO] [stdout]     |             ^^^^^^^^^ use of undeclared type `HopeAgent`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 283 + use hope_agents::HopeAgent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 377) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Observation`
[INFO] [stdout]    --> src/lib.rs:379:11
[INFO] [stdout]     |
[INFO] [stdout] 379 | let obs = Observation::network_event("node_joined", node_id);
[INFO] [stdout]     |           ^^^^^^^^^^^ use of undeclared type `Observation`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 377 + use hope_agents::Observation;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `node_id` in this scope
[INFO] [stdout]    --> src/lib.rs:379:53
[INFO] [stdout]     |
[INFO] [stdout] 379 | let obs = Observation::network_event("node_joined", node_id);
[INFO] [stdout]     |                                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:382:14
[INFO] [stdout]     |
[INFO] [stdout] 382 | let action = Action::send_message("Hello, network!");
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 382 - let action = Action::send_message("Hello, network!");
[INFO] [stdout] 382 + let action = Option::send_message("Hello, network!");
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 377 + use hope_agents::Action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:385:14
[INFO] [stdout]     |
[INFO] [stdout] 385 | let action = Action::store_data(serde_json::to_string(&data).unwrap());
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 385 - let action = Action::store_data(serde_json::to_string(&data).unwrap());
[INFO] [stdout] 385 + let action = Option::store_data(serde_json::to_string(&data).unwrap());
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 377 + use hope_agents::Action;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]    --> src/lib.rs:385:56
[INFO] [stdout]     |
[INFO] [stdout] 385 | let action = Action::store_data(serde_json::to_string(&data).unwrap());
[INFO] [stdout]     |                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 270) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimpleAgent`
[INFO] [stdout]    --> src/lib.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 | let agent = SimpleAgent::with_config("iot_agent", config);
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `SimpleAgent`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 269 + use hope_agents::SimpleAgent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - create_iot_agent (line 229) stdout ----
[INFO] [stdout] error[E0599]: no method named `config` found for struct `SimpleAgent` in the current scope
[INFO] [stdout]    --> src/lib.rs:234:15
[INFO] [stdout]     |
[INFO] [stdout] 234 | assert!(agent.config().max_memory_bytes <= 128 * 1024);
[INFO] [stdout]     |               ^^^^^^ private field, not a method
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/agent.rs:84:8
[INFO] [stdout]     |
[INFO] [stdout]  84 |     fn config(&self) -> &AgentConfig;
[INFO] [stdout]     |        ------ the method is available for `SimpleAgent` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Agent` which provides `config` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 228 + use crate::hope_agents::Agent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - create_agent (line 207) stdout ----
[INFO] [stdout] error[E0599]: no method named `name` found for struct `SimpleAgent` in the current scope
[INFO] [stdout]    --> src/lib.rs:212:18
[INFO] [stdout]     |
[INFO] [stdout] 212 | assert_eq!(agent.name(), "my_agent");
[INFO] [stdout]     |                  ^^^^ method not found in `SimpleAgent`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/agent.rs:57:8
[INFO] [stdout]     |
[INFO] [stdout]  57 |     fn name(&self) -> &str;
[INFO] [stdout]     |        ---- the method is available for `SimpleAgent` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Agent` which provides `name` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 206 + use crate::hope_agents::Agent;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 163) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (302) panicked at src/lib.rs:13:51:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Io(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56bc01ec3532 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x56bc01ec3532 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x56bc01ec3532 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x56bc01ec3532 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x56bc01ed676a - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x56bc01ed676a - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x56bc01ec7836 - std[716c9a7a72e5c14e]::io::default_write_fmt::<std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x56bc01ec7836 - <std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x56bc01eacdbf - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x56bc01eacdbf - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x56bc01ebf181 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x56bc01ebf33b - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x56bc01eace78 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x56bc01ea4909 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x56bc01ead79d - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x56bc01ed6e7c - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x56bc01ed6bf2 - core[c5ed12ab89cc536a]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/result.rs:1867:5
[INFO] [stdout]   17:     0x56bc01de64c5 - rust_out[31cf89adcf23a82a]::main::_doctest_main_src_lib_rs_163_0
[INFO] [stdout]   18:     0x56bc01de6396 - rust_out[31cf89adcf23a82a]::main
[INFO] [stdout]   19:     0x56bc01de6b53 - <fn() as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   20:     0x56bc01de6356 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   21:     0x56bc01de6369 - std[716c9a7a72e5c14e]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   22:     0x56bc01ebe3e6 - <&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   23:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   24:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<i32, &dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   25:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::panic::catch_unwind::<&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   26:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/rt.rs:175:24
[INFO] [stdout]   27:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<isize, std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::panic::catch_unwind::<std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x56bc01ebe3e6 - std[716c9a7a72e5c14e]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/rt.rs:171:5
[INFO] [stdout]   31:     0x56bc01de6331 - std[716c9a7a72e5c14e]::rt::lang_start::<()>
[INFO] [stdout]   32:     0x56bc01de6bb5 - main
[INFO] [stdout]   33:     0x722a6aa321ca - <unknown>
[INFO] [stdout]   34:     0x722a6aa3228b - __libc_start_main
[INFO] [stdout]   35:     0x56bc01de6235 - _start
[INFO] [stdout]   36:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 200) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `agent` in this scope
[INFO] [stdout]    --> src/lib.rs:201:1
[INFO] [stdout]     |
[INFO] [stdout] 201 | agent.set_mode(OperationMode::Exploration);  // High exploration
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OperationMode`
[INFO] [stdout]    --> src/lib.rs:201:16
[INFO] [stdout]     |
[INFO] [stdout] 201 | agent.set_mode(OperationMode::Exploration);  // High exploration
[INFO] [stdout]     |                ^^^^^^^^^^^^^ use of undeclared type `OperationMode`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 200 + use hope_agents::OperationMode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `agent` in this scope
[INFO] [stdout]    --> src/lib.rs:202:1
[INFO] [stdout]     |
[INFO] [stdout] 202 | agent.set_mode(OperationMode::Exploitation); // Pure exploitation
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OperationMode`
[INFO] [stdout]    --> src/lib.rs:202:16
[INFO] [stdout]     |
[INFO] [stdout] 202 | agent.set_mode(OperationMode::Exploitation); // Pure exploitation
[INFO] [stdout]     |                ^^^^^^^^^^^^^ use of undeclared type `OperationMode`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 200 + use hope_agents::OperationMode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `agent` in this scope
[INFO] [stdout]    --> src/lib.rs:203:1
[INFO] [stdout]     |
[INFO] [stdout] 203 | agent.set_mode(OperationMode::Adaptive);
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OperationMode`
[INFO] [stdout]    --> src/lib.rs:203:16
[INFO] [stdout]     |
[INFO] [stdout] 203 | agent.set_mode(OperationMode::Adaptive);
[INFO] [stdout]     |                ^^^^^^^^^^^^^ use of undeclared type `OperationMode`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 200 + use hope_agents::OperationMode;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 228) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Goal`
[INFO] [stdout]    --> src/lib.rs:229:14
[INFO] [stdout]     |
[INFO] [stdout] 229 | let parent = Goal::achieve("optimize_system", 1.0)
[INFO] [stdout]     |              ^^^^ use of undeclared type `Goal`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 228 + use hope_agents::Goal;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Priority`
[INFO] [stdout]    --> src/lib.rs:230:20
[INFO] [stdout]     |
[INFO] [stdout] 230 |     .with_priority(Priority::High);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Priority`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 228 + use hope_agents::Priority;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `agent` in this scope
[INFO] [stdout]    --> src/lib.rs:232:15
[INFO] [stdout]     |
[INFO] [stdout] 232 | let goal_id = agent.set_goal(parent);
[INFO] [stdout]     |               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `agent` in this scope
[INFO] [stdout]    --> src/lib.rs:235:20
[INFO] [stdout]     |
[INFO] [stdout] 235 | let active_goals = agent.active_goals();
[INFO] [stdout]     |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 163)
[INFO] [stdout]     src/lib.rs - (line 200)
[INFO] [stdout]     src/lib.rs - (line 210)
[INFO] [stdout]     src/lib.rs - (line 228)
[INFO] [stdout]     src/lib.rs - (line 242)
[INFO] [stdout]     src/lib.rs - (line 270)
[INFO] [stdout]     src/lib.rs - (line 284)
[INFO] [stdout]     src/lib.rs - (line 377)
[INFO] [stdout]     src/lib.rs - create_agent (line 207)
[INFO] [stdout]     src/lib.rs - create_iot_agent (line 229)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 10 failed; 11 ignored; 0 measured; 0 filtered out; finished in 1.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3a63afb6712e3c2f9a16eca4f341f5b3f9bb70f410a45b52a90d9c59c81f131e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a63afb6712e3c2f9a16eca4f341f5b3f9bb70f410a45b52a90d9c59c81f131e", kill_on_drop: false }`
[INFO] [stdout] 3a63afb6712e3c2f9a16eca4f341f5b3f9bb70f410a45b52a90d9c59c81f131e
