Hey looks like the dependencies are not correct, try [dependencies] anchor-lang = {version = "0.25.0", features = ["init-if-needed"]} anchor-spl = "0.25.0" mpl-token-metadata = { version = "1.2.5", features = [ "no-entrypoint" ] } You can check the correct dependencie here: https://crates.io/crates/anchor-spl/0.25.0/dependencies