project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
303 stars 43 forks source link

cargo build fails #174

Closed hassan-xy closed 1 month ago

hassan-xy commented 2 months ago

image Hi guys, I am using a custom dev baord running ubuntu 20.04 and tried to build this repo. But I receive the above error. I tried to change the env_logger version but still receive the same error. Please guide me.

Thanks

3wnbr1 commented 2 months ago

You need at least rust 1.77 as of now. I would advise against the ubuntu built-in toolchain which is surely out-of-date

Use the rustup toolchain manager instead - https://rustup.rs

ivmarkov commented 1 month ago

Use Rust 1.77 and do cargo update before the build. The build does succeed, as we run it nightly in our CI pipeline.