When using the new pyth-solana-receiver-sdk v1.0.0:
Compiling pyth-solana-receiver-sdk v1.0.0
error[E0658]: lint reasons are experimental
--> src/price_update.rs:334:13
|
334 | reason = "borsh0_10 is deprecated, v1::get_packed_len should be used in the future"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
= help: add `#![feature(lint_reasons)]` to the crate attributes to enable
For more information about this error, try `rustc --explain E0658`.
error: could not compile `pyth-solana-receiver-sdk` (lib) due to 1 previous error
0.6.1 compiles without errors.
Nighly Rust (required by current Anchor) setting is: RUSTUP_TOOLCHAIN=nightly-2024-11-19