project-serum/serum-dex

Project build failed

SypoolProtocol opened this issue · 1 comments

error: #[derive] can't be used on a #[repr(packed)] struct that does not derive Copy (error E0133)
--> src/state.rs:65:45
|
65 | #[cfg_attr(target_endian = "little", derive(Debug))]
| ^^^^^
|
note: the lint level is defined here
--> src/lib.rs:1:9
|
1 | #![deny(safe_packed_borrows)]
| ^^^^^^^^^^^^^^^^^^^
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #82523 rust-lang/rust#82523
= note: this error originates in the derive macro Debug (in Nightly builds, run with -Z macro-backtrace for more info)

warning: serum_dex (lib) generated 5 warnings
error: could not compile serum_dex due to previous error; 5 warnings emitted

I turns out serum-quickstart wasn't using the latest serum-dex code