Updating crates.io index Updating git repository `https://github.com/esp-rs/esp-wifi/` Downloading crates ... Downloaded darling_macro v0.20.3 Downloaded esp32c2 v0.14.0 Downloaded bare-metal v1.0.0 Downloaded bitflags v1.3.2 Downloaded bit_field v0.10.2 Downloaded core-isa-parser v0.2.0 Downloaded embedded-io v0.5.0 Downloaded atomic-waker v1.1.1 Downloaded esp-backtrace v0.8.0 Downloaded enumset_derive v0.8.1 Downloaded atomic-polyfill v1.0.2 Downloaded byteorder v1.4.3 Downloaded gcd v2.3.0 Downloaded esp-hal-procmacros v0.6.1 Downloaded vcell v0.1.3 Downloaded heck v0.4.1 Downloaded esp-riscv-rt v0.5.0 Downloaded r0 v1.0.0 Downloaded autocfg v1.1.0 Downloaded embedded-dma v0.2.0 Downloaded bitfield v0.14.0 Downloaded darling v0.20.3 Downloaded toml v0.5.11 Downloaded bitflags v2.4.0 Downloaded cfg-if v1.0.0 Downloaded strum v0.25.0 Downloaded proc-macro-error-attr v1.0.4 Downloaded void v1.0.2 Downloaded strum v0.24.1 Downloaded managed v0.8.0 Downloaded riscv-rt-macros v0.2.0 Downloaded nb v0.1.3 Downloaded xtensa-lx-rt-proc-macros v0.2.1 Downloaded num-derive v0.3.3 Downloaded esp-println v0.6.0 Downloaded xtensa-atomic-emulation-trap v0.4.0 Downloaded embedded-io v0.4.0 Downloaded atomic-polyfill v0.1.11 Downloaded fnv v1.0.7 Downloaded nb v1.1.0 Downloaded hash32 v0.2.1 Downloaded stable_deref_trait v1.2.0 Downloaded embedded-hal v0.2.7 Downloaded rustc_version v0.4.0 Downloaded enumset v1.1.2 Downloaded linked_list_allocator v0.10.5 Downloaded basic-toml v0.1.4 Downloaded toml-cfg v0.1.3 Downloaded riscv-atomic-emulation-trap v0.4.0 Downloaded proc-macro-crate v1.3.1 Downloaded paste v1.0.14 Downloaded mutex-trait v0.2.0 Downloaded esp32c2-hal v0.10.0 Downloaded strum_macros v0.24.3 Downloaded critical-section v1.1.2 Downloaded rustversion v1.0.12 Downloaded quote v1.0.33 Downloaded strsim v0.10.0 Downloaded ident_case v1.0.1 Downloaded scopeguard v1.1.0 Downloaded xtensa-lx-rt v0.16.0 Downloaded enum-as-inner v0.4.0 Downloaded riscv v0.10.1 Downloaded strum_macros v0.25.2 Downloaded fugit v0.3.7 Downloaded log v0.4.20 Downloaded esp32c3-hal v0.12.0 Downloaded lock_api v0.4.10 Downloaded esp32-hal v0.15.0 Downloaded spin v0.9.8 Downloaded toml_datetime v0.6.1 Downloaded version_check v0.9.4 Downloaded no-std-net v0.5.0 Downloaded proc-macro-error v1.0.4 Downloaded usb-device v0.2.9 Downloaded xtensa-lx v0.8.0 Downloaded unicode-ident v1.0.8 Downloaded esp-synopsys-usb-otg v0.3.2 Downloaded once_cell v1.17.1 Downloaded semver v1.0.17 Downloaded proc-macro2 v1.0.66 Downloaded indexmap v1.9.3 Downloaded darling_core v0.20.3 Downloaded anyhow v1.0.71 Downloaded esp32s3-hal v0.12.0 Downloaded num-traits v0.2.15 Downloaded esp32c6-hal v0.5.0 Downloaded esp32s2-hal v0.12.0 Downloaded serde_derive v1.0.188 Downloaded embedded-svc v0.25.3 Downloaded heapless v0.7.16 Downloaded memchr v2.5.0 Downloaded serde v1.0.188 Downloaded toml_edit v0.19.8 Downloaded hashbrown v0.12.3 Downloaded aho-corasick v1.0.5 Downloaded minijinja v1.0.7 Downloaded winnow v0.4.1 Downloaded syn v1.0.109 Downloaded esp-hal-common v0.12.0 Downloaded syn v2.0.31 Downloaded regex v1.9.4 Downloaded smoltcp v0.10.0 Downloaded regex-syntax v0.7.5 Downloaded esp32c3 v0.17.0 Downloaded esp32 v0.26.0 Downloaded esp32s2 v0.17.0 Downloaded regex-automata v0.3.7 Downloaded esp32c6 v0.7.0 Downloaded esp32s3 v0.21.0 Updating crates.io index Downloading crates ... Downloaded addr2line v0.19.0 Downloaded rustc-demangle v0.1.21 Downloaded adler v1.0.2 Downloaded getopts v0.2.21 Downloaded unicode-width v0.1.10 Downloaded allocator-api2 v0.2.14 Downloaded cc v1.0.79 Downloaded miniz_oxide v0.6.2 Downloaded hashbrown v0.14.0 Downloaded compiler_builtins v0.1.93 Downloaded object v0.30.1 Downloaded libc v0.2.146 Downloaded gimli v0.27.2 Compiling compiler_builtins v0.1.93 Compiling core v0.0.0 (/home/tom/.rustup/toolchains/nightly-2023-06-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) Compiling proc-macro2 v1.0.66 Compiling unicode-ident v1.0.8 Compiling autocfg v1.1.0 Compiling syn v1.0.109 Compiling strsim v0.10.0 Compiling serde v1.0.188 Compiling fnv v1.0.7 Compiling ident_case v1.0.1 Compiling version_check v0.9.4 Compiling semver v1.0.17 Compiling hashbrown v0.12.3 Compiling rustversion v1.0.12 Compiling anyhow v1.0.71 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling riscv v0.10.1 Compiling indexmap v1.9.3 Compiling toml_datetime v0.6.1 Compiling atomic-polyfill v0.1.11 info: syncing channel updates for 'nightly-2022-03-10-x86_64-unknown-linux-gnu' Compiling heck v0.4.1 Compiling winnow v0.4.1 Compiling rustc_version v0.4.0 Compiling once_cell v1.17.1 Compiling esp32c3 v0.17.0 Compiling paste v1.0.14 Compiling esp-riscv-rt v0.5.0 Compiling quote v1.0.33 info: latest update on 2022-03-10, rust version 1.61.0-nightly (458262b13 2022-03-09) warning: Force-skipping unavailable component 'rust-std-avr-specs/avr-atmega328p.json' info: downloading component 'cargo' Compiling heapless v0.7.16 Compiling num-traits v0.2.15 Compiling syn v2.0.31 Compiling esp-wifi-sys v0.1.0 (https://github.com/esp-rs/esp-wifi/#15e5a55f) Compiling smoltcp v0.10.0 Compiling esp-println v0.6.0 Compiling atomic-polyfill v1.0.2 info: syncing channel updates for 'nightly-2023-02-07-x86_64-unknown-linux-gnu' Compiling esp32c3-hal v0.12.0 Compiling esp-wifi v0.1.0 (https://github.com/esp-rs/esp-wifi/#15e5a55f) Compiling esp-backtrace v0.8.0 info: downloading component 'clippy' info: latest update on 2023-02-07, rust version 1.69.0-nightly (e1eaa2d5d 2023-02-06) info: downloading component 'cargo' Compiling toml_edit v0.19.8 info: downloading component 'rust-docs' Compiling proc-macro-crate v1.3.1 Compiling darling_core v0.20.3 info: downloading component 'clippy' Compiling serde_derive v1.0.188 Compiling strum_macros v0.25.2 Compiling riscv-rt-macros v0.2.0 Compiling num-derive v0.3.3 info: downloading component 'rust-docs' Compiling darling_macro v0.20.3 Compiling darling v0.20.3 Compiling enumset_derive v0.8.1 Compiling esp-hal-procmacros v0.6.1 info: downloading component 'rust-src' Compiling rustc-std-workspace-core v1.99.0 (/home/tom/.rustup/toolchains/nightly-2023-06-25-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) info: downloading component 'rust-std' for 'i686-unknown-linux-gnu' Compiling critical-section v1.1.2 Compiling stable_deref_trait v1.2.0 Compiling nb v1.1.0 Compiling void v1.0.2 Compiling bit_field v0.10.2 Compiling byteorder v1.4.3 Compiling nb v0.1.3 Compiling log v0.4.20 Compiling cfg-if v1.0.0 Compiling gcd v2.3.0 Compiling embedded-hal v0.2.7 Compiling vcell v0.1.3 Compiling embedded-dma v0.2.0 Compiling fugit v0.3.7 Compiling hash32 v0.2.1 Compiling bitflags v2.4.0 Compiling strum v0.25.0 Compiling riscv-atomic-emulation-trap v0.4.0 Compiling embedded-io v0.5.0 Compiling bitfield v0.14.0 Compiling bitflags v1.3.2 Compiling enumset v1.1.2 Compiling managed v0.8.0 Compiling atomic-waker v1.1.1 Compiling no-std-net v0.5.0 Compiling embedded-io v0.4.0 info: syncing channel updates for 'nightly-2022-11-22-x86_64-unknown-linux-gnu' Compiling linked_list_allocator v0.10.5 info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu' info: downloading component 'rust-src' Compiling basic-toml v0.1.4 Compiling toml v0.5.11 info: latest update on 2022-11-22, rust version 1.67.0-nightly (b7bc90fea 2022-11-21) info: downloading component 'cargo' Compiling esp-hal-common v0.12.0 info: downloading component 'rust-std' for 'i686-unknown-linux-gnu' Compiling toml-cfg v0.1.3 info: latest update on 2023-11-02, rust version 1.75.0-nightly (75b064d26 2023-11-01) info: downloading component 'cargo' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'clippy' info: downloading component 'rust-docs' info: downloading component 'rust-std' for 'riscv32imac-unknown-none-elf' info: downloading component 'rust-std' info: downloading component 'rust-std' for 'riscv32imac-unknown-none-elf' info: downloading component 'rust-std' for 'riscv32imc-unknown-none-elf' info: downloading component 'rust-std' info: downloading component 'rust-std' for 'riscv32imc-unknown-none-elf' info: downloading component 'rust-std' for 'riscv64gc-unknown-linux-gnu' info: downloading component 'rust-std' for 'riscv64gc-unknown-linux-gnu' info: downloading component 'rustc' info: downloading component 'rustc' info: downloading component 'rust-std' for 'thumbv6m-none-eabi' info: downloading component 'rust-std' for 'thumbv6m-none-eabi' info: downloading component 'rust-std' for 'thumbv7em-none-eabi' info: downloading component 'rust-std' for 'thumbv7em-none-eabi' info: downloading component 'rust-std' info: downloading component 'rust-std' info: downloading component 'rustc' info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' info: downloading component 'rustc' info: installing component 'rust-std' info: downloading component 'rustfmt' info: installing component 'rustc' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' info: installing component 'rust-std' info: installing component 'rustfmt' error[E0514]: found crate `core` compiled by an incompatible version of rustc | = note: the following crate versions were found: crate `core` compiled by rustc 1.72.0-nightly (f7ca9df69 2023-06-24): /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta = help: please recompile that crate using this compiler (rustc 1.75.0-nightly (75b064d26 2023-11-01)) (consider running `cargo clean` first) error[E0514]: found crate `compiler_builtins` compiled by an incompatible version of rustc | = note: the following crate versions were found: crate `compiler_builtins` compiled by rustc 1.72.0-nightly (f7ca9df69 2023-06-24): /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcompiler_builtins-41cb87b111a2c7c7.rmeta = help: please recompile that crate using this compiler (rustc 1.75.0-nightly (75b064d26 2023-11-01)) (consider running `cargo clean` first) error: cannot find macro `panic` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:357:9 | 357 | panic!("`align` must be a power of 2"); | ^^^^^ error: cannot find macro `assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:119:9 | 119 | assert!( | ^^^^^^ error: cannot find macro `assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:554:9 | 554 | assert!( | ^^^^^^ error: cannot find macro `debug_assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:548:9 | 548 | debug_assert!(self.hole < node, "Hole list out of order?"); | ^^^^^^^^^^^^ error: cannot find macro `assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:535:17 | 535 | assert!( | ^^^^^^ error: cannot find macro `debug_assert_eq` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:505:13 | 505 | debug_assert_eq!(self.previous().size, 0); | ^^^^^^^^^^^^^^^ error: cannot find macro `assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:501:13 | 501 | assert!( | ^^^^^^ error: cannot find macro `debug_assert_eq` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:483:5 | 483 | debug_assert_eq!( | ^^^^^^^^^^^^^^^ error: cannot find macro `debug_assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:454:9 | 454 | debug_assert!( | ^^^^^^^^^^^^ error: cannot find macro `debug_assert_eq` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:448:9 | 448 | debug_assert_eq!( | ^^^^^^^^^^^^^^^ error: cannot find macro `assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:443:9 | 443 | assert!(!self.top.is_null(), "tried to extend an empty heap"); | ^^^^^^ error: cannot find macro `assert_eq` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:344:9 | 344 | assert_eq!( | ^^^^^^^^^ error: cannot find macro `assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:336:9 | 336 | assert!(aligned_hole_size >= size_of::()); | ^^^^^^ error: cannot find macro `assert` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:331:9 | 331 | assert!(hole_size >= size_of::()); | ^^^^^^ error: cannot find macro `assert_eq` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:330:9 | 330 | assert_eq!(size_of::(), Self::min_size()); | ^^^^^^^^^ error: cannot find macro `debug_assert_eq` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:247:5 | 247 | debug_assert_eq!(bottom as usize % align_of::(), 0); | ^^^^^^^^^^^^^^^ error: cannot find attribute `derive` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:32:3 | 32 | #[derive(Debug, Clone, Copy)] | ^^^^^^ error[E0416]: identifier `None` is bound more than once in the same pattern --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:168:20 | 168 | (None, None) => { | ^^^^ used in a pattern more than once error[E0412]: cannot find type `Option` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:28:15 | 28 | pub next: Option>, | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:39:26 | 39 | fn next(mut self) -> Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:60:56 | 60 | fn split_current(self, required_layout: Layout) -> Result<(*mut u8, usize), Self> { | ^^^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:90:33 | 90 | front_padding = None; | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:126:17 | 126 | None | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:159:34 | 159 | prev.as_mut().next = None; | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:162:30 | 162 | let maybe_next_addr: Option> = unsafe { hole.as_mut().next.take() }; | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:175:20 | 175 | (None, Some(singlepad)) | (Some(singlepad), None) => unsafe { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:175:40 | 175 | (None, Some(singlepad)) | (Some(singlepad), None) => unsafe { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:191:14 | 191 | (Some(frontpad), Some(backpad)) => unsafe { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:191:30 | 191 | (Some(frontpad), Some(backpad)) => unsafe { | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:264:23 | 264 | next: None, | ^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:272:40 | 272 | pub(crate) fn cursor(&mut self) -> Option { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:273:16 | 273 | if let Some(hole) = self.first.next { | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:280:13 | 280 | None | ^^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:341:19 | 341 | next: None, | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:391:61 | 391 | pub fn allocate_first_fit(&mut self, layout: Layout) -> Result<(NonNull, Layout), ()> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:397:17 | 397 | Ok((ptr, _len)) => { | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:400:17 | 400 | Err(curs) => { | ^^^ not found in this scope error[E0425]: cannot find value `None` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:488:40 | 488 | hole_addr.write(Hole { size, next: None }); | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:493:71 | 493 | fn try_insert_back(self, node: NonNull, bottom: *mut u8) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:527:64 | 527 | fn try_insert_after(&mut self, mut node: NonNull) -> Result<(), ()> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:532:16 | 532 | if let Some(next) = self.current().next.as_ref() { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:582:35 | 582 | let mut next = if let Some(next) = unsafe { hole.as_mut() }.next.as_ref() { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:639:25 | 639 | let cursor = if let Some(cursor) = list.cursor() { | ^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:657:9 | 657 | Ok(cursor) => { | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:662:9 | 662 | Err(mut cursor) => { | ^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:664:23 | 664 | while let Err(()) = cursor.try_insert_after(hole) { | ^^^ not found in this scope error[E0405]: cannot find trait `Send` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:53:13 | 53 | unsafe impl Send for Heap {} | ^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:185:61 | 185 | pub fn allocate_first_fit(&mut self, layout: Layout) -> Result, ()> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:187:13 | 187 | Ok((ptr, aligned_layout)) => { | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:191:13 | 191 | Err(err) => Err(err), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:77:24 | 77 | return Err(self); | ^^^------ | | | help: try calling `Err` as a method: `self.Err()` error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:99:33 | 99 | front_padding = Some(HoleInfo { | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:116:24 | 116 | return Err(self); | ^^^------ | | | help: try calling `Err` as a method: `self.Err()` error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:139:21 | 139 | Some(HoleInfo { | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:146:28 | 146 | return Err(self); | ^^^------ | | | help: try calling `Err` as a method: `self.Err()` error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:189:38 | 189 | prev.as_mut().next = Some(NonNull::new_unchecked(singlepad_ptr)); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:210:27 | 210 | next: Some(NonNull::new_unchecked(backpad_ptr)), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:214:38 | 214 | prev.as_mut().next = Some(NonNull::new_unchecked(frontpad_ptr)); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:219:9 | 219 | Ok((alloc_ptr, alloc_size)) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:274:13 | 274 | Some(Cursor { | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:352:23 | 352 | next: Some(NonNull::new_unchecked(ptr)), | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:398:28 | 398 | return Ok((NonNull::new(ptr).ok_or(())?, aligned_layout)); | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:514:38 | 514 | prev.as_mut().next = Some(node); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:515:38 | 515 | node.as_mut().next = Some(hole); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:517:13 | 517 | Ok(Cursor { | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:523:13 | 523 | Err(self) | ^^^------ | | | help: try calling `Err` as a method: `self.Err()` error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:541:24 | 541 | return Err(()); | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:568:9 | 568 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/hole.rs:647:27 | 647 | list.first.next = Some(hole); | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:189:17 | 189 | Ok(ptr) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linked_list_allocator-0.10.5/src/lib.rs:191:25 | 191 | Err(err) => Err(err), | ^^^ help: a local variable with a similar name exists: `err` Some errors have detailed explanations: E0405, E0412, E0416, E0425, E0514, E0531. For more information about an error, try `rustc --explain E0405`. error: could not compile `linked_list_allocator` (lib) due to 73 previous errors warning: build failed, waiting for other jobs to finish... info: installing component 'rustc' info: installing component 'rustfmt' error[E0786]: found invalid metadata files for crate `core` | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `compiler_builtins` | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcompiler_builtins-41cb87b111a2c7c7.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:3:5 | 3 | use core::fmt; | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/fmt.rs:99:15 | 99 | ::core::panic!($($x)*); | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error: cannot determine resolution for the macro `core::panic` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/fmt.rs:99:13 | 99 | ::core::panic!($($x)*); | ^^^^^^^^^^^^^ | ::: /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:92:26 | 92 | Ok(0) => panic!("zero-length write."), | ---------------------------- in this macro invocation | = note: import resolution is stuck, try simplifying macro imports = note: this error originates in the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) error: cannot find macro `include_str` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:6:10 | 6 | #![doc = include_str!("../README.md")] | ^^^^^^^^^^^ error: cannot find attribute `derive` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/fmt.rs:201:3 | 201 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:6:3 | 6 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] | ^^^^^^ error: cannot find macro `write` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:17:9 | 17 | write!(f, "{:?}", self) | ^^^^^ error: cannot find attribute `derive` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:25:3 | 25 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] | ^^^^^^ error: cannot find macro `write` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:36:9 | 36 | write!(f, "{:?}", self) | ^^^^^ error: cannot find attribute `derive` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:21:3 | 21 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] | ^^^^^^ error: cannot find attribute `derive` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:54:3 | 54 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] | ^^^^^^ error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:198:19 | 198 | let amt = core::cmp::min(buf.len(), self.len()); | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:239:19 | 239 | let amt = core::cmp::min(buf.len(), self.len()); | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:240:22 | 240 | let (a, b) = core::mem::replace(self, &mut []).split_at_mut(amt); | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:34:18 | 34 | pub trait Error: core::fmt::Debug { | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:39:16 | 39 | impl Error for core::convert::Infallible { | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:108:18 | 108 | type Error = core::convert::Infallible; | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0786]: found invalid metadata files for crate `core` --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:112:18 | 112 | type Error = core::convert::Infallible; | ^^^^ | = note: invalid metadata version found: /home/tom/tmp/no_std-training/intro/http-client/target/riscv32imc-unknown-none-elf/release/deps/libcore-5e970c535fa896b4.rmeta error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/fmt.rs:207:29 | 207 | fn into_result(self) -> Result; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Option` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/fmt.rs:210:17 | 210 | impl Try for Option { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/fmt.rs:215:29 | 215 | fn into_result(self) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/fmt.rs:220:20 | 220 | impl Try for Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:48:43 | 48 | fn read(&mut self, buf: &mut [u8]) -> Result; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:51:53 | 51 | fn read_exact(&mut self, mut buf: &mut [u8]) -> Result<(), ReadExactError> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:54:17 | 54 | Ok(0) => break, | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:55:17 | 55 | Ok(n) => buf = &mut buf[n..], | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:56:17 | 56 | Err(e) => return Err(ReadExactError::Other(e)), | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:72:31 | 72 | fn fill_buf(&mut self) -> Result<&[u8], Self::Error>; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:83:40 | 83 | fn write(&mut self, buf: &[u8]) -> Result; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:86:28 | 86 | fn flush(&mut self) -> Result<(), Self::Error>; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:89:48 | 89 | fn write_all(&mut self, mut buf: &[u8]) -> Result<(), Self::Error> { | ^^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:92:17 | 92 | Ok(0) => panic!("zero-length write."), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:93:17 | 93 | Ok(n) => buf = &buf[n..], | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:94:17 | 94 | Err(e) => return Err(e), | ^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:101:57 | 101 | fn write_fmt(&mut self, fmt: fmt::Arguments<'_>) -> Result<(), WriteFmtError> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:104:40 | 104 | struct Adapter<'a, T: Write + ?Sized + 'a> { | ^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:106:20 | 106 | error: Result<(), T::Error>, | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:109:26 | 109 | impl fmt::Write for Adapter<'_, T> { | ^^^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:112:21 | 112 | Ok(()) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:113:21 | 113 | Err(e) => { | ^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:126:13 | 126 | Ok(()) => Ok(()), | ^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:127:13 | 127 | Err(..) => match output.error { | ^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:129:17 | 129 | Err(e) => Err(WriteFmtError::Other(e)), | ^^^ not found in this scope error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:130:17 | 130 | Ok(()) => Err(WriteFmtError::FmtError), | ^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:141:49 | 141 | fn seek(&mut self, pos: crate::SeekFrom) -> Result; | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:144:29 | 144 | fn rewind(&mut self) -> Result<(), Self::Error> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:150:38 | 150 | fn stream_position(&mut self) -> Result { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:155:10 | 155 | impl Read for &mut T { | ^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:157:43 | 157 | fn read(&mut self, buf: &mut [u8]) -> Result { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:162:10 | 162 | impl BufRead for &mut T { | ^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:163:31 | 163 | fn fill_buf(&mut self) -> Result<&[u8], Self::Error> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:172:10 | 172 | impl Write for &mut T { | ^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:174:40 | 174 | fn write(&mut self, buf: &[u8]) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:179:28 | 179 | fn flush(&mut self) -> Result<(), Self::Error> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:184:10 | 184 | impl Seek for &mut T { | ^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:186:49 | 186 | fn seek(&mut self, pos: crate::SeekFrom) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:197:43 | 197 | fn read(&mut self, buf: &mut [u8]) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:217:31 | 217 | fn fill_buf(&mut self) -> Result<&[u8], Self::Error> { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:238:40 | 238 | fn write(&mut self, buf: &[u8]) -> Result { | ^^^^^^ not found in this scope error[E0412]: cannot find type `Result` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:247:28 | 247 | fn flush(&mut self) -> Result<(), Self::Error> { | ^^^^^^ not found in this scope error[E0405]: cannot find trait `Sized` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/lib.rs:103:10 | 103 | impl crate::Io for &mut T { | ^^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:56:34 | 56 | Err(e) => return Err(ReadExactError::Other(e)), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:60:13 | 60 | Err(ReadExactError::UnexpectedEof) | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:62:13 | 62 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:94:34 | 94 | Err(e) => return Err(e), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:97:9 | 97 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:112:31 | 112 | Ok(()) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:114:38 | 114 | self.error = Err(e); | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:115:25 | 115 | Err(fmt::Error) | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:123:20 | 123 | error: Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:126:23 | 126 | Ok(()) => Ok(()), | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:129:27 | 129 | Err(e) => Err(WriteFmtError::Other(e)), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:130:27 | 130 | Ok(()) => Err(WriteFmtError::FmtError), | ^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:146:9 | 146 | Ok(()) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:211:9 | 211 | Ok(amt) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:218:9 | 218 | Ok(*self) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:243:9 | 243 | Ok(amt) | ^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope --> /home/tom/.cargo/registry/src/index.crates.io-6f17d22bba15001f/embedded-io-0.4.0/src/blocking.rs:248:9 | 248 | Ok(()) | ^^ not found in this scope Some errors have detailed explanations: E0405, E0412, E0425, E0531, E0786. error: could not compile `embedded-io` (lib) due to 80 previous errors info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-docs' info: downloading component 'rustfmt' info: installing component 'cargo' info: installing component 'clippy' info: installing component 'rust-src' info: installing component 'rust-docs' info: installing component 'rust-std' for 'i686-unknown-linux-gnu' info: installing component 'rust-src' info: installing component 'rust-std' for 'i686-unknown-linux-gnu' info: installing component 'rust-std' for 'riscv32imac-unknown-none-elf' info: installing component 'rust-std' for 'riscv32imc-unknown-none-elf' info: installing component 'rust-std' for 'riscv64gc-unknown-linux-gnu' info: installing component 'rust-std' for 'riscv32imac-unknown-none-elf' info: installing component 'rust-std' for 'riscv32imc-unknown-none-elf' info: installing component 'rust-std' for 'riscv64gc-unknown-linux-gnu' info: installing component 'rust-std' for 'thumbv6m-none-eabi' info: installing component 'rust-std' for 'thumbv7em-none-eabi' info: installing component 'rust-std' for 'thumbv6m-none-eabi' info: installing component 'rust-std' info: installing component 'rust-std' for 'thumbv7em-none-eabi' info: installing component 'rust-std' info: installing component 'rustc' info: installing component 'rustc' info: installing component 'rustfmt' info: installing component 'rustfmt'