Open yashwanthsinghm opened 1 year ago
try running rustup target add thumbv7em-none-eabi
. You have to do it on the exact nightly that Embassy uses, for example from some directory under the Embassy repo so that rust-toolchain.toml
applies.
Though the rustup output you paste already indicates that's installed I think? If that's the case and it still doesn't work, perhaps something about rustup got corrupted, try removing ~/.rustup
and installing everything again.
@Dirbaio i uninstalled and reinstalled rustup still the compilation error, also i have restarted the machine. status of installation: rustup : rustc 1.70.0-nightly gitpull : latest pull
Or you facing the same issue ? or your able to compile? Any steps should i follow to install anything other than this?
yashwanthsingh@Yashwanths-MacBook-Pro ~ % rustup show
Default host: x86_64-apple-darwin
rustup home: /Users/yashwanthsingh/.rustup
installed toolchains
--------------------
stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)
installed targets for active toolchain
--------------------------------------
thumbv6m-none-eabi
thumbv7em-none-eabi
thumbv7em-none-eabihf
thumbv7m-none-eabi
thumbv8m.main-none-eabihf
wasm32-unknown-unknown
x86_64-apple-darwin
active toolchain
----------------
nightly-x86_64-apple-darwin (default)
rustc 1.70.0-nightly (af06dce64 2023-04-08)
2)errror logs
yashwanthsingh@Yashwanths-MacBook-Pro stm32f4 % cargo build --bin blinky
Compiling bitflags v1.3.2
Compiling stable_deref_trait v1.2.0
Compiling critical-section v1.1.1
Compiling nb v1.1.0
Compiling byteorder v1.4.3
Compiling futures-core v0.3.27
Compiling void v1.0.2
Compiling futures-sink v0.3.27
Compiling futures-task v0.3.27
Compiling pin-utils v0.1.0
Compiling pin-project-lite v0.2.9
Compiling embassy-sync v0.1.0 (/Users/yashwanthsingh/Yash/Projects/async/Embassy/git_embassyrust/embassy/embassy-sync)
error[E0463]: can't find crate for `core`
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `compiler_builtins`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.3.2/src/lib.rs:282:1
|
282 | pub extern crate core as _core;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0405]: cannot find trait `Clone` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/stable_deref_trait-1.2.0/src/lib.rs:129:50
|
129 | pub unsafe trait CloneStableDeref: StableDeref + Clone {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/stable_deref_trait-1.2.0/src/lib.rs:178:21
|
178 | unsafe impl<'a, T: ?Sized> StableDeref for Ref<'a, T> {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/stable_deref_trait-1.2.0/src/lib.rs:179:21
|
179 | unsafe impl<'a, T: ?Sized> StableDeref for RefMut<'a, T> {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/stable_deref_trait-1.2.0/src/lib.rs:187:21
|
187 | unsafe impl<'a, T: ?Sized> StableDeref for &'a T {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/stable_deref_trait-1.2.0/src/lib.rs:188:21
|
188 | unsafe impl<'a, T: ?Sized> CloneStableDeref for &'a T {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/stable_deref_trait-1.2.0/src/lib.rs:189:21
|
189 | unsafe impl<'a, T: ?Sized> StableDeref for &'a mut T {}
| ^^^^^ not found in this scope
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/mutex.rs:2:5
|
2 | use core::cell::{Ref, RefCell, RefMut, UnsafeCell};
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.1.0/src/lib.rs:192:5
|
192 | use core::fmt;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find attribute `derive` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.1.0/src/lib.rs:201:3
|
201 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
| ^^^^^^
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/lib.rs:8:5
|
8 | use core::marker::PhantomData;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find attribute `derive` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/lib.rs:121:3
|
121 | #[derive(Clone, Copy, Debug)]
| ^^^^^^
error: cannot find attribute `derive` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/lib.rs:16:3
|
16 | #[derive(Clone, Copy, Debug)]
| ^^^^^^
error: cannot find attribute `derive` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/mutex.rs:52:3
|
52 | #[derive(Debug)]
| ^^^^^^
error: cannot find macro `include_str` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/lib.rs:2:10
|
2 | #![doc = include_str!("../README.md")]
| ^^^^^^^^^^^
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.1.0/src/lib.rs:195:27
|
195 | pub type Result<T, E> = ::core::result::Result<T, Error<E>>;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
Some errors have detailed explanations: E0405, E0463.
For more information about an error, try `rustc --explain E0405`.
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:16:5
|
16 | extern crate core;
| ^^^^^^^^^^^^^^^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find attribute `derive` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:28:3
|
28 | #[derive(Copy)]
| ^^^^^^
error[E0405]: cannot find trait `FnOnce` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.1.0/src/lib.rs:239:12
|
239 | F: FnOnce(E) -> T,
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `From` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/nb-1.1.0/src/lib.rs:248:9
|
248 | impl<E> From<E> for Error<E> {
| ^^^^ not found in this scope
error: could not compile `bitflags` due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:21:5
|
21 | use core::ops::DerefMut;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:22:5
|
22 | use core::pin::Pin;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: could not compile `stable_deref_trait` due to 8 previous errors
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-utils-0.1.0/src/lib.rs:11:13
|
11 | pub use core::*;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:23:5
|
23 | use core::task::{Context, Poll};
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:3:5
|
3 | use core::ops::DerefMut;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:4:5
|
4 | use core::pin::Pin;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:5:5
|
5 | use core::task::{Context, Poll};
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0405]: cannot find trait `FnOnce` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/mutex.rs:117:12
|
117 | F: FnOnce(&mut T) -> T,
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Default` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/mutex.rs:151:9
|
151 | impl<T: Default> Mutex<RefCell<T>> {
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sync` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/mutex.rs:170:16
|
170 | unsafe impl<T> Sync for Mutex<T> where T: Send {}
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Send` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/mutex.rs:170:43
|
170 | unsafe impl<T> Sync for Mutex<T> where T: Send {}
| ^^^^ not found in this scope
error[E0405]: cannot find trait `FnOnce` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/lib.rs:210:24
|
210 | pub fn with<R>(f: impl FnOnce(CriticalSection) -> R) -> R {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Drop` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/lib.rs:216:10
|
216 | impl Drop for Guard {
| ^^^^ not found in this scope
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:8:9
|
8 | pub use core::future::Future;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: could not compile `nb` due to 7 previous errors
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:3:5
|
3 | use core::ops::DerefMut;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:4:5
|
4 | use core::pin::Pin;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0405]: cannot find trait `Clone` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:31:6
|
31 | impl Clone for Void {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:56:37
|
56 | fn partial_cmp(&self, _: &T) -> Option<cmp::Ordering> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:85:29
|
85 | pub trait ResultVoidExt<T>: Sized {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:90:30
|
90 | impl<T> ResultVoidExt<T> for Result<T, Void> {
| ^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:97:13
|
97 | Ok(val) => val,
| ^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:98:13
|
98 | Err(e) => unreachable(e)
| ^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:104:32
|
104 | pub trait ResultVoidErrExt<E>: Sized {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:109:33
|
109 | impl<E> ResultVoidErrExt<E> for Result<Void, E> {
| ^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:116:13
|
116 | Ok(v) => unreachable(v),
| ^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs:117:13
|
117 | Err(e) => e
| ^^^ not found in this scope
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:5:5
|
5 | use core::task::{Context, Poll};
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:1:5
|
1 | use core::cell::UnsafeCell;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:2:5
|
2 | use core::fmt;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:3:5
|
3 | use core::task::Waker;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:12:5
|
12 | use core::sync::atomic;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/mod.rs:10:9
|
10 | pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:73:5
|
73 | use core::{
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: could not compile `pin-utils` due to 3 previous errors
Some errors have detailed explanations: E0405, E0412, E0463, E0531.
error[E0432]: unresolved imports `super::Future`, `self::future::Future`, `atomic::AtomicUsize`, `atomic::Ordering::AcqRel`, `atomic::Ordering::Acquire`, `atomic::Ordering::Release`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/lib.rs:20:37
|
20 | pub use self::future::{FusedFuture, Future, TryFuture};
| ^^^^^^
|
::: /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:49:9
|
49 | use super::Future;
| ^^^^^^^^^^^^^
|
::: /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:5:5
|
5 | use atomic::AtomicUsize;
| ^^^^^^^^^^^^^^^^^^^
6 | use atomic::Ordering::{AcqRel, Acquire, Release};
| ^^^^^^ ^^^^^^^ ^^^^^^^
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:2:5
|
2 | use core::fmt;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find attribute `derive` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1806:3
|
1806 | #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
| ^^^^^^
error: cannot find macro `write` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:411:9
|
411 | write!(f, "AtomicWaker")
| ^^^^^
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:1:5
|
1 | use core::{
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find macro `panic` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1811:9
|
1811 | panic!("BigEndian default")
| ^^^^^
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.2.9/src/lib.rs:1503:9
|
1503 | use core::mem::ManuallyDrop;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find macro `debug_assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:301:29
|
301 | ... debug_assert_eq!(actual, REGISTERING | WAKING);
| ^^^^^^^^^^^^^^^
error: cannot find macro `debug_assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:350:17
|
350 | debug_assert!(state == REGISTERING || state == REGISTERING | WAKING);
| ^^^^^^^^^^^^
error: cannot find attribute `derive` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1836:3
|
1836 | #[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
| ^^^^^^
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.2.9/src/lib.rs:1505:13
|
1505 | pub use core::{
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find macro `panic` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1841:9
|
1841 | panic!("LittleEndian default")
| ^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1993:9
|
1993 | assert!(1 <= nbytes && nbytes <= 8 && nbytes <= buf.len());
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2008:9
|
2008 | assert!(1 <= nbytes && nbytes <= 16 && nbytes <= buf.len());
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2023 | unsafe_write_num_bytes!(u16, 2, n, buf, to_be);
| ---------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `debug_assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:394:17
|
394 | debug_assert!(
| ^^^^^^^^^^^^
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/noop_waker.rs:3:5
|
3 | use core::ptr::null;
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/noop_waker.rs:4:5
|
4 | use core::task::{RawWaker, RawWakerVTable, Waker};
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: could not compile `critical-section` due to 14 previous errors
error: could not compile `void` due to 14 previous errors
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2028 | unsafe_write_num_bytes!(u32, 4, n, buf, to_be);
| ---------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/lib.rs:50:9
|
50 | pub use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2033 | unsafe_write_num_bytes!(u64, 8, n, buf, to_be);
| ---------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2038 | unsafe_write_num_bytes!(u128, 16, n, buf, to_be);
| ------------------------------------------------ in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2043:9
|
2043 | assert!(pack_size(n) <= nbytes && nbytes <= 8);
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2044:9
|
2044 | assert!(nbytes <= buf.len());
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2057:9
|
2057 | assert!(pack_size128(n) <= nbytes && nbytes <= 16);
| ^^^^^^
error: cannot find macro `write` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:67:9
|
67 | write!(f, "Executor is shutdown")
| ^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2058:9
|
2058 | assert!(nbytes <= buf.len());
| ^^^^^^
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2071 | unsafe_read_slice!(src, dst, 2, to_be);
| -------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2076 | unsafe_read_slice!(src, dst, 4, to_be);
| -------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2081 | unsafe_read_slice!(src, dst, 8, to_be);
| -------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2086 | unsafe_read_slice!(src, dst, 16, to_be);
| --------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2091:12
|
2091 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2092 | unsafe_write_slice_native!(src, dst, u16);
| ----------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2094 | write_slice!(src, dst, u16, 2, Self::write_u16);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2094 | write_slice!(src, dst, u16, 2, Self::write_u16);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2100:12
|
2100 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.2.9/src/lib.rs:1514:32
|
1514 | pub struct AlwaysUnpin<T: ?Sized>(PhantomData<T>);
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.2.9/src/lib.rs:1516:14
|
1516 | impl<T: ?Sized> Unpin for AlwaysUnpin<T> {}
| ^^^^^ not found in this scope
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2101 | unsafe_write_slice_native!(src, dst, u32);
| ----------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.2.9/src/lib.rs:1520:43
|
1520 | pub struct UnsafeDropInPlaceGuard<T: ?Sized>(*mut T);
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.2.9/src/lib.rs:1522:14
|
1522 | impl<T: ?Sized> UnsafeDropInPlaceGuard<T> {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/pin-project-lite-0.2.9/src/lib.rs:1529:14
|
1529 | impl<T: ?Sized> Drop for UnsafeDropInPlaceGuard<T> {
| ^^^^^ not found in this scope
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2103 | write_slice!(src, dst, u32, 4, Self::write_u32);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2103 | write_slice!(src, dst, u32, 4, Self::write_u32);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2109:12
|
2109 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2110 | unsafe_write_slice_native!(src, dst, u64);
| ----------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2112 | write_slice!(src, dst, u64, 8, Self::write_u64);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2112 | write_slice!(src, dst, u64, 8, Self::write_u64);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2118:12
|
2118 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2119 | unsafe_write_slice_native!(src, dst, u128);
| ------------------------------------------ in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2121 | write_slice!(src, dst, u128, 16, Self::write_u128);
| -------------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2121 | write_slice!(src, dst, u128, 16, Self::write_u128);
| -------------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2127:12
|
2127 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2136:12
|
2136 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2145:12
|
2145 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2154:12
|
2154 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2163:12
|
2163 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2175:12
|
2175 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2209:9
|
2209 | assert!(1 <= nbytes && nbytes <= 8 && nbytes <= buf.len());
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2220:9
|
2220 | assert!(1 <= nbytes && nbytes <= 16 && nbytes <= buf.len());
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2231 | unsafe_write_num_bytes!(u16, 2, n, buf, to_le);
| ---------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2236 | unsafe_write_num_bytes!(u32, 4, n, buf, to_le);
| ---------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2241 | unsafe_write_num_bytes!(u64, 8, n, buf, to_le);
| ---------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1906:9
|
1906 | assert!($size <= $dst.len());
| ^^^^^^
...
2246 | unsafe_write_num_bytes!(u128, 16, n, buf, to_le);
| ------------------------------------------------ in this macro invocation
|
= note: this error originates in the macro `unsafe_write_num_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2251:9
|
2251 | assert!(pack_size(n as u64) <= nbytes && nbytes <= 8);
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2252:9
|
2252 | assert!(nbytes <= buf.len());
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2261:9
|
2261 | assert!(pack_size128(n as u128) <= nbytes && nbytes <= 16);
| ^^^^^^
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:68:71
|
68 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>;
| ^^^^^^ not found in this scope
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2262:9
|
2262 | assert!(nbytes <= buf.len());
| ^^^^^^
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:89:56
|
89 | fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error>;
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:103:71
|
103 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>;
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:116:71
|
116 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>;
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:119:10
|
119 | impl<S: ?Sized + Sink<Item> + Unpin, Item> Sink<Item> for &mut S {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:119:31
|
119 | impl<S: ?Sized + Sink<Item> + Unpin, Item> Sink<Item> for &mut S {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:122:75
|
122 | fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:126:60
|
126 | fn start_send(mut self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> {
| ^^^^^^ not found in this scope
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2271 | unsafe_read_slice!(src, dst, 2, to_le);
| -------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:130:75
|
130 | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:134:75
|
134 | fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:141:19
|
141 | P: DerefMut + Unpin,
| ^^^^^ not found in this scope
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2276 | unsafe_read_slice!(src, dst, 4, to_le);
| -------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:146:71
|
146 | fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:150:56
|
150 | fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> {
| ^^^^^^ not found in this scope
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2281 | unsafe_read_slice!(src, dst, 8, to_le);
| -------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:154:71
|
154 | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-sink-0.3.27/src/lib.rs:158:71
|
158 | fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1923:9
|
1923 | assert_eq!($src.len(), $size * $dst.len());
| ^^^^^^^^^
...
2286 | unsafe_read_slice!(src, dst, 16, to_le);
| --------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_read_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2291:12
|
2291 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2292 | unsafe_write_slice_native!(src, dst, u16);
| ----------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2294 | write_slice!(src, dst, u16, 2, Self::write_u16);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2294 | write_slice!(src, dst, u16, 2, Self::write_u16);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2300:12
|
2300 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: could not compile `pin-project-lite` due to 9 previous errors
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2301 | unsafe_write_slice_native!(src, dst, u32);
| ----------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2303 | write_slice!(src, dst, u32, 4, Self::write_u32);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2303 | write_slice!(src, dst, u32, 4, Self::write_u32);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2309:12
|
2309 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2310 | unsafe_write_slice_native!(src, dst, u64);
| ----------------------------------------- in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2312 | write_slice!(src, dst, u64, 8, Self::write_u64);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2312 | write_slice!(src, dst, u64, 8, Self::write_u64);
| ----------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2318:12
|
2318 | if cfg!(target_endian = "little") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1947:9
|
1947 | assert_eq!(size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2319 | unsafe_write_slice_native!(src, dst, u128);
| ------------------------------------------ in this macro invocation
|
= note: this error originates in the macro `unsafe_write_slice_native` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1961:9
|
1961 | assert!($size == ::core::mem::size_of::<$ty>());
| ^^^^^^
...
2321 | write_slice!(src, dst, u128, 16, Self::write_u128);
| -------------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot find macro `assert_eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1962:9
|
1962 | assert_eq!($size * $src.len(), $dst.len());
| ^^^^^^^^^
...
2321 | write_slice!(src, dst, u128, 16, Self::write_u128);
| -------------------------------------------------- in this macro invocation
|
= note: this error originates in the macro `write_slice` (in Nightly builds, run with -Z macro-backtrace for more info)
Some errors have detailed explanations: E0405, E0412, E0463.
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2327:12
|
2327 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2336:12
|
2336 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2345:12
|
2345 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2354:12
|
2354 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2363:12
|
2363 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find macro `cfg` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:2375:12
|
2375 | if cfg!(target_endian = "big") {
| ^^^
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: could not compile `futures-sink` due to 20 previous errors
error[E0463]: can't find crate for `core`
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1946:20
|
1946 | let size = core::mem::size_of::<$ty>();
| ^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not be installed
= help: consider downloading the target with `rustup target add thumbv7em-none-eabi`
error[E0405]: cannot find trait `Clone` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:209:5
|
209 | Clone
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Copy` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:210:7
|
210 | + Copy
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Default` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:212:7
|
212 | + Default
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Eq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:213:7
|
213 | + Eq
| ^^ not found in this scope
error[E0405]: cannot find trait `Ord` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:215:7
|
215 | + Ord
| ^^^ not found in this scope
error[E0405]: cannot find trait `PartialEq` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:216:7
|
216 | + PartialEq
| ^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `PartialOrd` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:217:7
|
217 | + PartialOrd
| ^^^^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Default` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1809:6
|
1809 | impl Default for BigEndian {
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Default` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.4.3/src/lib.rs:1839:6
|
1839 | impl Default for LittleEndian {
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:15:60
|
15 | fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>;
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:24:25
|
24 | fn status(&self) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:40:71
|
40 | fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>;
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:49:31
|
49 | fn status_local(&self) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:86:11
|
86 | impl<Sp: ?Sized + Spawn> Spawn for &Sp {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:87:60
|
87 | fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:91:25
|
91 | fn status(&self) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:96:11
|
96 | impl<Sp: ?Sized + Spawn> Spawn for &mut Sp {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:97:60
|
97 | fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:101:25
|
101 | fn status(&self) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:106:11
|
106 | impl<Sp: ?Sized + LocalSpawn> LocalSpawn for &Sp {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:107:71
|
107 | fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:111:31
|
111 | fn status_local(&self) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:116:11
|
116 | impl<Sp: ?Sized + LocalSpawn> LocalSpawn for &mut Sp {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:117:71
|
117 | fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:121:31
|
121 | fn status_local(&self) -> Result<(), SpawnError> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:25:9
|
25 | impl<T> Unpin for LocalFutureObj<'_, T> {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `From` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:72:13
|
72 | impl<'a, T> From<FutureObj<'a, T>> for LocalFutureObj<'a, T> {
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Drop` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:88:9
|
88 | impl<T> Drop for LocalFutureObj<'_, T> {
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:105:9
|
105 | impl<T> Unpin for FutureObj<'_, T> {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Send` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:106:16
|
106 | unsafe impl<T> Send for FutureObj<'_, T> {}
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Send` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:111:44
|
111 | pub fn new<F: UnsafeFutureObj<'a, T> + Send>(f: F) -> Self {
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:178:29
|
178 | F: Future<Output = T> + Unpin + 'a,
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/future_obj.rs:187:81
|
187 | unsafe impl<'a, T> UnsafeFutureObj<'a, T> for &'a mut (dyn Future<Output = T> + Unpin + 'a) {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sync` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/noop_waker.rs:47:17
|
47 | unsafe impl Sync for SyncRawWaker {}
| ^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:25:9
|
25 | Ok(())
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.27/src/spawn.rs:50:9
|
50 | Ok(())
| ^^ not found in this scope
Some errors have detailed explanations: E0405, E0412, E0425, E0463.
error: could not compile `futures-task` due to 35 previous errors
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:32:24
|
32 | impl<F: FusedFuture + ?Sized + Unpin> FusedFuture for &mut F {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:32:32
|
32 | impl<F: FusedFuture + ?Sized + Unpin> FusedFuture for &mut F {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:40:19
|
40 | P: DerefMut + Unpin,
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:53:42
|
53 | impl<F, T, E> Sealed for F where F: ?Sized + Future<Output = Result<T, E>> {}
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:53:66
|
53 | impl<F, T, E> Sealed for F where F: ?Sized + Future<Output = Result<T, E>> {}
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:70:69
|
70 | fn try_poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<Self::Ok, Self::Error>>;
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:75:9
|
75 | F: ?Sized + Future<Output = Result<T, E>>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/future.rs:75:33
|
75 | F: ?Sized + Future<Output = Result<T, E>>,
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:66:70
|
66 | fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>>;
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:95:36
|
95 | fn size_hint(&self) -> (usize, Option<usize>) {
| ^^^^^^ not found in this scope
error[E0425]: cannot find value `None` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:96:13
|
96 | (0, None)
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:100:10
|
100 | impl<S: ?Sized + Stream + Unpin> Stream for &mut S {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:100:27
|
100 | impl<S: ?Sized + Stream + Unpin> Stream for &mut S {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:103:74
|
103 | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:107:36
|
107 | fn size_hint(&self) -> (usize, Option<usize>) {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:114:19
|
114 | P: DerefMut + Unpin,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:119:70
|
119 | fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:123:36
|
123 | fn size_hint(&self) -> (usize, Option<usize>) {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:141:10
|
141 | impl<F: ?Sized + FusedStream + Unpin> FusedStream for &mut F {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:141:32
|
141 | impl<F: ?Sized + FusedStream + Unpin> FusedStream for &mut F {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:149:19
|
149 | P: DerefMut + Unpin,
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:162:42
|
162 | impl<S, T, E> Sealed for S where S: ?Sized + Stream<Item = Result<T, E>> {}
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:162:64
|
162 | impl<S, T, E> Sealed for S where S: ?Sized + Stream<Item = Result<T, E>> {}
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:182:15
|
182 | ) -> Poll<Option<Result<Self::Ok, Self::Error>>>;
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:182:22
|
182 | ) -> Poll<Option<Result<Self::Ok, Self::Error>>>;
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:187:9
|
187 | S: ?Sized + Stream<Item = Result<T, E>>,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:187:31
|
187 | S: ?Sized + Stream<Item = Result<T, E>>,
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:195:15
|
195 | ) -> Poll<Option<Result<Self::Ok, Self::Error>>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/stream.rs:195:22
|
195 | ) -> Poll<Option<Result<Self::Ok, Self::Error>>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:98:23
|
98 | waker: UnsafeCell<Option<Waker>>,
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sync` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:209:27
|
209 | trait AssertSync: Sync {}
| ^^^^ not found in this scope
error[E0425]: cannot find value `None` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:212:73
|
212 | Self { state: AtomicUsize::new(WAITING), waker: UnsafeCell::new(None) }
| ^^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:289:25
|
289 | Ok(_) => {
| ^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:296:25
|
296 | Err(actual) => {
| ^^^ not found in this scope
error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:359:16
|
359 | if let Some(waker) = self.take() {
| ^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:372:27
|
372 | pub fn take(&self) -> Option<Waker> {
| ^^^^^^ not found in this scope
error[E0425]: cannot find value `None` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:397:17
|
397 | None
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Default` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:403:6
|
403 | impl Default for AtomicWaker {
| ^^^^^^^ not found in this scope
error[E0405]: cannot find trait `Send` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:415:13
|
415 | unsafe impl Send for AtomicWaker {}
| ^^^^ not found in this scope
error[E0405]: cannot find trait `Sync` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:416:13
|
416 | unsafe impl Sync for AtomicWaker {}
| ^^^^ not found in this scope
error: could not compile `byteorder` due to 89 previous errors
error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
--> /Users/yashwanthsingh/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-core-0.3.27/src/task/__internal/atomic_waker.rs:274:41
|
274 | *self.waker.get() = Some(waker.clone());
| ^^^^ not found in this scope
Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0463, E0531.
error: could not compile `futures-core` due to 60 previous errors
yashwanthsingh@Yashwanths-MacBook-Pro stm32f4 %
yes, it should definitely work. There's something wrong with your Rust installation. Perhaps you have multiple of them, so it's uring the wrong one? Perhaps one through rustup, one not?
I'm having a similar problem. Interestlingly, stm32f4 builds fine for me but nrf52840 is a mess. I've uninstalled and resintalled rust and cargo, WSL in my case.. Would love some help to debug this.
evan@dugsy:~/projects/embassy/examples/nrf52840$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/evan/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
nightly-2023-04-18-x86_64-unknown-linux-gnu
installed targets for active toolchain
--------------------------------------
riscv32imac-unknown-none-elf
thumbv6m-none-eabi
thumbv7em-none-eabi
thumbv7em-none-eabihf
thumbv7m-none-eabi
thumbv8m.main-none-eabihf
wasm32-unknown-unknown
x86_64-unknown-linux-gnu
active toolchain
----------------
nightly-2023-04-18-x86_64-unknown-linux-gnu (overridden by '/home/evan/projects/embassy/rust-toolchain.toml')
rustc 1.71.0-nightly (7908a1d65 2023-04-17)
evan@dugsy:~/projects/embassy/examples/nrf52840$ cargo run --bin blinky 2>&1 | head -40
warning: embassy-nrf52840-examples v0.1.0 (/home/evan/projects/embassy/examples/nrf52840) ignoring invalid dependency `probe-run` which is missing a lib target
Compiling stable_deref_trait v1.2.0
Compiling byteorder v1.4.3
Compiling serde v1.0.163
Compiling num-traits v0.2.15
error[E0463]: can't find crate for `std`
|
= note: the `thumbv7em-none-eabi` target may not support the standard library
= note: `std` is required by `stable_deref_trait` because it does not declare `#![no_std]`
= help: consider building the standard library from source with `cargo build -Zbuild-std`
error[E0463]: can't find crate for `std`
|
= note: the `thumbv7em-none-eabi` target may not support the standard library
= note: `std` is required by `byteorder` because it does not declare `#![no_std]`
= help: consider building the standard library from source with `cargo build -Zbuild-std`
error[E0463]: can't find crate for `std`
--> /home/evan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-traits-0.2.15/src/lib.rs:21:1
|
21 | extern crate std;
| ^^^^^^^^^^^^^^^^^ can't find crate
|
= note: the `thumbv7em-none-eabi` target may not support the standard library
= help: consider building the standard library from source with `cargo build -Zbuild-std`
error[E0463]: can't find crate for `std`
|
= note: the `thumbv7em-none-eabi` target may not support the standard library
= note: `std` is required by `serde` because it does not declare `#![no_std]`
= help: consider building the standard library from source with `cargo build -Zbuild-std`
error[E0432]: unresolved imports `self::core::cmp`, `self::core::iter`, `self::core::mem`, `self::core::num`, `self::core::ptr`, `self::core::slice`, `self::core::str`
--> /home/evan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.163/src/lib.rs:171:26
|
171 | pub use self::core::{cmp, iter, mem, num, ptr, slice, str};
| ^^^ ^^^^ ^^^ ^^^ ^^^ ^^^^^ ^^^ no `str` in `lib::core`
| | | | | | |
| | | | | | no `slice` in `lib::core`
| | | | | no `ptr` in `lib::core`
This results in ~5k errors.
Try deleting and recloning the embassy repo, that worked for me. No idea how it got borked, all did was follow the instructions. Maybe the version I cloned was inconsistent.
I reinstalled everything from scratch recloned the new repository, still the i'm getting same errors. @evanthomas @Dirbaio
make sure you've completely removed /Users/yashwanthsingh/.rustup
, then let rustup redownload all the rust toolchain.
I was able to compile on my new linux machine now, i will remove .rustup and will check in mac.@Dirbaio
@yashwanthsinghm commented on May 17
I was able to compile on my new linux machine now, i will remove .rustup and will check in mac.
Thanks for reporting works on Linux. Please report status on Mac. Closing the issue is also fine.
I have been working on embassy for stm32, i have cloned the lastest repository but facing compiling issue with it. Below are the logs, could you tell me what is that i need to update.
1)Tool chain log
2)error logs