Hey looks like the dependencies are not correct anchor-lang 0.25 expects also anchor-slp 0.25. Also it should be init-if-needed not init_if_needed 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