epi-project / brane

Programmable Orchestration of Applications and Networking
Apache License 2.0
9 stars 7 forks source link

Compilation fails #85

Closed DanielVoogsgerd closed 6 days ago

DanielVoogsgerd commented 1 week ago

Compilation currently fails due to some workspace members due to some serialization error.

│ 56   |     Timing(String, Arc<Mutex<Timing>>),                                                                                                                                                                                                                                    │
│      |                    ^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Arc<parking_lot::lock_api::Mutex<parking_lot::RawMutex, profiling::Timing>>`                                                                                                     │
│ 53  | #[derive(Debug, Deserialize, EnumDebug, Serialize)]                                                                                                                                                                                                                         │
│     |                                         ^^^^^^^^^ the trait `Serialize` is not implemented for `Arc<ProfileScope>`

And a couple others.

This occurs in: brane-dsl, brane-cfg, brane-shr

EDIT: This only seems to fail when built from the workspace member. If you compile everything at once using --workspace it works just fine. Weird.

DanielVoogsgerd commented 1 week ago

Found it, the rc flag is missing from serde in the mentioned workspace members. This was caused by the rc flag missing on serde in specifications.

Lut99 commented 6 days ago

Fix has been merged