Following PDK documentation to set up the development environment and trying to compile custom policy with make build command facing error similar to below:
====
error: failed to download `base64ct v1.8.0` Caused by: unable to get packages from source Caused by: failed to parse manifest at `/Users/***/.cargo/registry/src/index.crates.io-6f17d22bba15001f/base64ct-1.8.0/Cargo.toml` Caused by: feature `edition2024` is required The package requires the Cargo feature called `edition2024`, but that feature is not stabilized in this version of Cargo (1.83.0 (5ffbef321 2024-10-29)). Consider trying a newer version of Cargo (this may require the nightly release). See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2024 for more information
====
When compiling your policy the first time, Rust fetches the latest version dependencies which may not supported by PDK
Downgrade specific crate version with below command
cargo update -p somecrate --precise major.minor.patch
cargo update -p base64ct --precise 1.7.3
If you're still facing the issue after downgrading the package, please raise a support case to confirm latest version of package that is compatible with PDK
005036305

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.