Tried to anchor build the realloc test from Anchor repo


but getting the following error

thread 'main' panicked at 'Code not parseable: Error("Invalid attribute")', lang/syn/src/idl/file.rs:360:58
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

currently using anchor-lang = "0.25.0"

resolved! forgot to also update anchor-cli


1 Answer 1


resolved, also need to update anchor-cli

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.