Skip to content

Instantly share code, notes, and snippets.

@steveruizok
Created December 1, 2023 10:58
Show Gist options
  • Save steveruizok/7e2ef31bddaeaedfe738237eeb3d7048 to your computer and use it in GitHub Desktop.
Save steveruizok/7e2ef31bddaeaedfe738237eeb3d7048 to your computer and use it in GitHub Desktop.
error log
➜ reducer git:(master) ✗ cargo build --target wasm32-unknown-unknown --release
Compiling proc-macro2 v1.0.70
Compiling futures-sink v0.3.29
Compiling pin-utils v0.1.0
Compiling futures-core v0.3.29
Compiling slab v0.4.9
Compiling futures-task v0.3.29
Compiling futures-channel v0.3.29
Compiling serde v1.0.193
Compiling futures-util v0.3.29
Compiling pin-project-lite v0.2.13
error[E0463]: can't find crate for `core`
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0463]: can't find crate for `compiler_builtins`
error[E0463]: can't find crate for `core`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-utils-0.1.0/src/lib.rs:11:13
|
11 | pub use core::*;
| ^^^^ can't find crate
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0463]: can't find crate for `core`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1622:9
|
1622 | use core::mem::ManuallyDrop;
| ^^^^ can't find crate
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0463]: can't find crate for `core`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1624:13
|
1624 | pub use core::{
| ^^^^ can't find crate
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1633:32
|
1633 | pub struct AlwaysUnpin<T: ?Sized>(PhantomData<T>);
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1635:14
|
1635 | impl<T: ?Sized> Unpin for AlwaysUnpin<T> {}
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1639:43
|
1639 | pub struct UnsafeDropInPlaceGuard<T: ?Sized>(*mut T);
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1641:14
|
1641 | impl<T: ?Sized> UnsafeDropInPlaceGuard<T> {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pin-project-lite-0.2.13/src/lib.rs:1648:14
|
1648 | impl<T: ?Sized> Drop for UnsafeDropInPlaceGuard<T> {
| ^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0463]: can't find crate for `alloc`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:19:1
|
19 | extern crate alloc;
| ^^^^^^^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `core`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:21:5
|
21 | use core::ops::DerefMut;
| ^^^^ can't find crate
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0463]: can't find crate for `core`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:22:5
|
22 | use core::pin::Pin;
| ^^^^ can't find crate
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0463]: can't find crate for `core`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:23:5
|
23 | use core::task::{Context, Poll};
| ^^^^ can't find crate
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error[E0463]: can't find crate for `core`
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:166:9
|
166 | use core::convert::Infallible as Never;
| ^^^^ can't find crate
|
= note: the `wasm32-unknown-unknown` target may not be installed
= help: consider downloading the target with `rustup target add wasm32-unknown-unknown`
error: could not compile `pin-utils` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
Some errors have detailed explanations: E0405, E0463.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `pin-project-lite` (lib) due to 9 previous errors
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:141:19
|
141 | P: DerefMut + Unpin,
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:150:56
|
150 | 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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/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[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:171:74
|
171 | fn poll_ready(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:175:57
|
175 | fn start_send(self: Pin<&mut Self>, item: T) -> Result<(), Self::Error> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:181:74
|
181 | fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:185:74
|
185 | fn poll_close(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:193:74
|
193 | fn poll_ready(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:197:57
|
197 | fn start_send(self: Pin<&mut Self>, item: T) -> Result<(), Self::Error> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:203:74
|
203 | fn poll_flush(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:207:74
|
207 | fn poll_close(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:212:14
|
212 | impl<S: ?Sized + Sink<Item> + Unpin, Item> Sink<Item> for alloc::boxed::Box<S> {
| ^^^^^ not found in this scope
error[E0405]: cannot find trait `Unpin` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:212:35
|
212 | impl<S: ?Sized + Sink<Item> + Unpin, Item> Sink<Item> for alloc::boxed::Box<S> {
| ^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:218:19
|
218 | ) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:222:64
|
222 | fn start_send(mut self: Pin<&mut Self>, item: Item) -> Result<(), Self::Error> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:229:19
|
229 | ) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:236:19
|
236 | ) -> Poll<Result<(), Self::Error>> {
| ^^^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:172:25
|
172 | Poll::Ready(Ok(()))
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:178:13
|
178 | Ok(())
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:182:25
|
182 | Poll::Ready(Ok(()))
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:186:25
|
186 | Poll::Ready(Ok(()))
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:194:25
|
194 | Poll::Ready(Ok(()))
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:200:13
|
200 | Ok(())
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:204:25
|
204 | Poll::Ready(Ok(()))
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /Users/stephenruiz/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-sink-0.3.29/src/lib.rs:208:25
|
208 | Poll::Ready(Ok(()))
| ^^ not found in this scope
Some errors have detailed explanations: E0405, E0412, E0425, E0463.
error: could not compile `futures-sink` (lib) due to 43 previous errors
➜ reducer git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment