No function or associated item named insert_types, create_type, get_full_path for VecDeque and usize on Anchor 0.30 #2987
Labels
compile error
Issues related to compile errors
idl
related to the IDL, either program or client side
I could not build the program since upgrade to Anchor 0.30. It happened if I try to add a field with
usize
orVecDeq
type in struct. Here is a simple replication of this issueOld: Anchor 0.29.0, Solana 1.18.14 -> working
New: Anchor 0.30.0, Solana 1.18.14 -> not working
List of errors:
error[E0599]: no function or associated item named
insert_types
found for structVecDeque
in the current scopeerror[E0599]: no function or associated item named
insert_types
found for typeusize
in the current scopeerror[E0599]: no function or associated item named
create_type
found for structVecDeque
in the current scopeerror[E0599]: no function or associated item named
get_full_path
found for structusize
in the current scopeerror[E0599]: no function or associated item named
get_full_path
found for structVecDeque
in the current scopeThe text was updated successfully, but these errors were encountered: