error[E0786]: found invalid metadata files for crate `core` | = note: invalid metadata version found: /home/fly/hw-stuff/111VU/firmware/target/thumbv7m-none-eabi/debug/deps/libcore-96af3d2303d86771.rmeta error[E0786]: found invalid metadata files for crate `compiler_builtins` | = note: invalid metadata version found: /home/fly/hw-stuff/111VU/firmware/target/thumbv7m-none-eabi/debug/deps/libcompiler_builtins-0e9a6d159ce24b23.rmeta error[E0786]: found invalid metadata files for crate `embedded_storage` --> /home/fly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-storage-async-0.4.1/src/nor_flash.rs:1:9 | 1 | pub use embedded_storage::nor_flash::{ErrorType, NorFlashError, NorFlashErrorKind}; | ^^^^^^^^^^^^^^^^ | = note: invalid metadata version found: /home/fly/hw-stuff/111VU/firmware/target/thumbv7m-none-eabi/debug/deps/libembedded_storage-0ca2d8b89f393984.rmeta error[E0412]: cannot find type `Result` in this scope --> /home/fly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-storage-async-0.4.1/src/nor_flash.rs:15:61 | 15 | async fn read(&mut self, offset: u32, bytes: &mut [u8]) -> Result<(), Self::Error>; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/fly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-storage-async-0.4.1/src/nor_flash.rs:39:51 | 39 | async fn erase(&mut self, from: u32, to: u32) -> Result<(), Self::Error>; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/fly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-storage-async-0.4.1/src/nor_flash.rs:49:58 | 49 | async fn write(&mut self, offset: u32, bytes: &[u8]) -> Result<(), Self::Error>; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/fly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-storage-async-0.4.1/src/nor_flash.rs:55:61 | 55 | async fn read(&mut self, offset: u32, bytes: &mut [u8]) -> Result<(), Self::Error> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/fly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-storage-async-0.4.1/src/nor_flash.rs:68:51 | 68 | async fn erase(&mut self, from: u32, to: u32) -> Result<(), Self::Error> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/fly/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-storage-async-0.4.1/src/nor_flash.rs:72:58 | 72 | async fn write(&mut self, offset: u32, bytes: &[u8]) -> Result<(), Self::Error> { | ^^^^^^ not found in this scope Some errors have detailed explanations: E0412, E0786. For more information about an error, try `rustc --explain E0412`. error: could not compile `embedded-storage-async` (lib) due to 9 previous errors