diff --git a/Cargo.toml b/Cargo.toml index c681f75..3ecdc56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ license = "LGPL-2.1" name = "aika" readme = "README.md" repository = "https://github.com/TheMesocarp/aika" -version = "0.2.0" +version = "0.2.1" [profile.release] diff --git a/src/actors.rs b/src/actors.rs index d274fe6..f5f6b37 100644 --- a/src/actors.rs +++ b/src/actors.rs @@ -93,7 +93,7 @@ impl Context { } /// An `Actor` is an independent logical process that belongs to a `Planet` and can schedule events. -pub trait Actor: std::fmt::Debug { +pub trait Actor { fn step( &mut self, env: &mut Context, diff --git a/src/mt/engines/hlocal/cluster.rs b/src/mt/engines/hlocal/cluster.rs index 046c2fc..40b73ad 100644 --- a/src/mt/engines/hlocal/cluster.rs +++ b/src/mt/engines/hlocal/cluster.rs @@ -23,7 +23,6 @@ use crate::{ AikaError, }; -#[derive(Debug)] /// A `Planet` is a local simulation cluster within a `Substrate` system, owns a partition of global simulation state. /// It operates conservative with respect to its local actors, but allows rollbacks from causality violations /// triggered in inter-cluster messaging. diff --git a/src/mt/engines/hlocal/mod.rs b/src/mt/engines/hlocal/mod.rs index 87f86b7..e96bbd3 100644 --- a/src/mt/engines/hlocal/mod.rs +++ b/src/mt/engines/hlocal/mod.rs @@ -565,7 +565,8 @@ mod unit_tests { assert!(substrate_result.is_ok()); assert!( planet_result.is_ok(), - "Planet run loop failed: {planet_result:?}" + "Planet run loop failed: {:?}", + planet_result.err().unwrap() ); assert!(bus_result.is_ok()) }