Quantcast
Channel: Anchor build fails due to a current Rust version (1.59 or above is needed, 1.67 is installed) - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 2

Anchor build fails due to a current Rust version (1.59 or above is needed, 1.67 is installed)

$
0
0

I have Ubuntu 22.04 and I am trying to test some sample codebases. When I use

anchor build 

I get the error below. I checked rustc and the 1.67 version is installed and I checked yarn which appears valid. Solana 1.9.5 installed.

error: package anchor-attribute-state v0.26.0 cannot be builtbecause it requires rustc 1.59 or newer, while the currently activerustc version is 1.56.0-devubuntu@ip-10-0-1-126:~/solana/mycalculatordapp$ rustc --version rustc1.67.0 (fc594f156 2023-01-24)


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>