error[E0277]: the trait bound `oa_core::Project: serde::Serialize` is not satisfied --> harness/scenario-authoring-contract.rs:629:39 | 629 | serde_json::to_vec_pretty(&p).unwrap(), | ------------------------- ^^ the trait `serde_core::ser::Serialize` is not implemented for `oa_core::Project` | | | required by a bound introduced by this call | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `oa_core::Project` type = note: for types from other crates check whether the crate offers a `serde` feature flag note: there are multiple different versions of crate `serde_core` in the dependency graph --> C:\Users\User\Documents\Git\ARCADIA-Studio\.local\toolchain\cargo\registry\src\index.crates.io-1949cf8c6b5b557f\serde_core-1.0.229\src\ser\mod.rs:234:1 | 234 | pub trait Serialize { | ------------------- this is the found trait | ::: C:\Users\User\Documents\Git\ARCADIA-Studio\.local\toolchain\cargo\registry\src\index.crates.io-1949cf8c6b5b557f\serde_core-1.0.229\src\ser\mod.rs:234:1 | 234 | pub trait Serialize { | ^^^^^^^^^^^^^^^^^^^ this is the expected trait = help: you can use `cargo tree` to explore your dependency tree = help: the following other types implement trait `serde_core::ser::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 130 others note: required by a bound in `to_vec_pretty` --> C:\Users\User\Documents\Git\ARCADIA-Studio\.local\toolchain\cargo\registry\src\index.crates.io-1949cf8c6b5b557f\serde_json-1.0.151\src\ser.rs:2231:17 | 2229 | pub fn to_vec_pretty(value: &T) -> Result> | ------------- required by a bound in this function 2230 | where 2231 | T: ?Sized + Serialize, | ^^^^^^^^^ required by this bound in `to_vec_pretty` error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0277`.