2023-04-11T20:08:21.561027Z INFO 📡 server listening at http://127.0.0.1:8080
^C% peterweyand@Peters-MacBook-Pro homepage % sudo cargo add sheets
Updating crates.io index
Adding sheets v0.6.0 to dependencies.
Features:
+ pem
+ ring
+ rustls-tls
- dirs
- httpcache
- native-tls
- openssl
Updating crates.io index
peterweyand@Peters-MacBook-Pro homepage % sudo trunk serve
2023-04-11T20:08:44.532538Z INFO 📦 starting build
2023-04-11T20:08:44.532966Z INFO spawning asset pipelines
2023-04-11T20:08:44.693188Z INFO building yew_page
2023-04-11T20:08:44.693217Z INFO copying directory path="static"
2023-04-11T20:08:44.703713Z INFO finished copying directory path="static"
Compiling serde v1.0.160
Compiling thiserror v1.0.40
Compiling web-sys v0.3.61
Compiling futures-util v0.3.28
Compiling tracing v0.1.37
Compiling getrandom v0.2.9
Compiling tokio v1.27.0
Compiling num-traits v0.2.15
error: the wasm*-unknown-unknown targets are not supported by default, you may need to enable the "js" feature. For more information see: https://docs.rs/getrandom/#webassembly-support
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.9/src/lib.rs:281:9
|
281 | / compile_error!("the wasm*-unknown-unknown targets are not supported by \
282 | | default, you may need to enable the \"js\" feature. \
283 | | For more information see: \
284 | | https://docs.rs/getrandom/#webassembly-support");
| |________________________________________________________________________^
So, it needs an import of the js feature in a dependency called getrandom. So I import that into my project and I have -
023-04-11T20:08:48.930949Z INFO 📡 serving static assets at -> /
2023-04-11T20:08:48.931010Z INFO 📡 server listening at http://127.0.0.1:8080
2023-04-11T20:12:32.949798Z INFO 📦 starting build
2023-04-11T20:12:32.956951Z INFO spawning asset pipelines
2023-04-11T20:12:33.093950Z INFO copying directory path="static"
2023-04-11T20:12:33.093963Z INFO building yew_page
2023-04-11T20:12:33.102228Z INFO finished copying directory path="static"
Compiling serde_json v1.0.95
Compiling bytes v1.4.0
Compiling log v0.4.17
Compiling gloo-events v0.1.2
Compiling futures-executor v0.3.28
Compiling serde_urlencoded v0.7.1
Compiling bincode v1.3.3
Compiling getrandom v0.2.9
Compiling futures v0.3.28
Compiling mio v0.8.6
Compiling gloo-file v0.2.3
Compiling parking_lot v0.12.1
Compiling ring v0.16.20
Compiling http v0.2.9
error[E0432]: unresolved import `crate::sys::IoSourceState`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:12:5
|
12 | use crate::sys::IoSourceState;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys`
error[E0432]: unresolved import `crate::sys::tcp`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:15:17
|
15 | use crate::sys::tcp::{bind, listen, new_for_addr};
| ^^^ could not find `tcp` in `sys`
error[E0432]: unresolved import `crate::sys::tcp`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/stream.rs:13:17
|
13 | use crate::sys::tcp::{connect, new_for_addr};
| ^^^ could not find `tcp` in `sys`
error[E0433]: failed to resolve: could not find `Selector` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/poll.rs:301:18
|
301 | sys::Selector::new().map(|selector| Poll {
| ^^^^^^^^ could not find `Selector` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:24:14
|
24 | sys::event::token(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:38:14
|
38 | sys::event::is_readable(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:43:14
|
43 | sys::event::is_writable(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:68:14
|
68 | sys::event::is_error(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:99:14
|
99 | sys::event::is_read_closed(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:129:14
|
129 | sys::event::is_write_closed(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:151:14
|
151 | sys::event::is_priority(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:173:14
|
173 | sys::event::is_aio(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:183:14
|
183 | sys::event::is_lio(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:221:26
|
221 | sys::event::debug_details(f, self.0)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `tcp` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:103:18
|
103 | sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr))
| ^^^ could not find `tcp` in `sys`
error[E0433]: failed to resolve: could not find `udp` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/udp.rs:122:14
|
122 | sys::udp::bind(addr).map(UdpSocket::from_std)
| ^^^ could not find `udp` in `sys`
error[E0433]: failed to resolve: could not find `udp` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/udp.rs:544:14
|
544 | sys::udp::only_v6(&self.inner)
| ^^^ could not find `udp` in `sys`
error[E0412]: cannot find type `Selector` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/poll.rs:255:20
|
255 | selector: sys::Selector,
| ^^^^^^^^ not found in `sys`
error[E0412]: cannot find type `Selector` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/poll.rs:689:44
|
689 | pub(crate) fn selector(&self) -> &sys::Selector {
| ^^^^^^^^ not found in `sys`
error[E0412]: cannot find type `Waker` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/waker.rs:79:17
|
79 | inner: sys::Waker,
| ^^^^^ not found in `sys`
|
help: consider importing one of these items
|
1 | use core::task::Waker;
|
1 | use crate::Waker;
|
1 | use std::task::Waker;
|
help: if you import `Waker`, refer to it directly
|
79 - inner: sys::Waker,
79 + inner: Waker,
|
error[E0433]: failed to resolve: could not find `Waker` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/waker.rs:87:14
|
87 | sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
| ^^^^^ could not find `Waker` in `sys`
|
help: consider importing one of these items
|
1 | use core::task::Waker;
|
1 | use crate::Waker;
|
1 | use std::task::Waker;
|
help: if you import `Waker`, refer to it directly
|
87 - sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
87 + Waker::new(registry.selector(), token).map(|inner| Waker { inner })
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:18:17
|
18 | inner: sys::Event,
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
18 - inner: sys::Event,
18 + inner: Event,
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:187:55
|
187 | pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
187 - pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {
187 + pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event {
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:191:41
|
191 | &*(sys_event as *const sys::Event as *const Event)
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
191 - &*(sys_event as *const sys::Event as *const Event)
191 + &*(sys_event as *const Event as *const Event)
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:217:46
|
217 | struct EventDetails<'a>(&'a sys::Event);
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
217 - struct EventDetails<'a>(&'a sys::Event);
217 + struct EventDetails<'a>(&'a Event);
|
error[E0412]: cannot find type `Events` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/events.rs:43:17
|
43 | inner: sys::Events,
| ^^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::Events;
|
help: if you import `Events`, refer to it directly
|
43 - inner: sys::Events,
43 + inner: Events,
|
error[E0433]: failed to resolve: could not find `Events` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/events.rs:94:25
|
94 | inner: sys::Events::with_capacity(capacity),
| ^^^^^^ could not find `Events` in `sys`
|
help: consider importing this struct
|
1 | use crate::Events;
|
help: if you import `Events`, refer to it directly
|
94 - inner: sys::Events::with_capacity(capacity),
94 + inner: Events::with_capacity(capacity),
|
error[E0412]: cannot find type `Events` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/events.rs:189:47
|
189 | pub(crate) fn sys(&mut self) -> &mut sys::Events {
| ^^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::Events;
|
help: if you import `Events`, refer to it directly
|
189 - pub(crate) fn sys(&mut self) -> &mut sys::Events {
189 + pub(crate) fn sys(&mut self) -> &mut Events {
|
error[E0425]: cannot find value `listener` in this scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:74:24
|
74 | set_reuseaddr(&listener.inner, true)?;
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `listener` in this scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:76:15
|
76 | bind(&listener.inner, addr)?;
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `listener` in this scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:77:17
|
77 | listen(&listener.inner, 1024)?;
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `listener` in this scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:78:12
|
78 | Ok(listener)
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `stream` in this scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/stream.rs:90:18
|
90 | connect(&stream.inner, addr)?;
| ^^^^^^ not found in this scope
error[E0425]: cannot find value `stream` in this scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/stream.rs:91:12
|
91 | Ok(stream)
| ^^^^^^ not found in this scope
error[E0425]: cannot find function `set_reuseaddr` in this scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:74:9
|
74 | set_reuseaddr(&listener.inner, true)?;
| ^^^^^^^^^^^^^ not found in this scope
error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpListener>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:146:20
|
146 | self.inner.register(registry, token, interests)
| ^^^^^^^^ method not found in `IoSource<TcpListener>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `register` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `register`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpListener>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:155:20
|
155 | self.inner.reregister(registry, token, interests)
| ^^^^^^^^^^ method not found in `IoSource<TcpListener>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `reregister` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `reregister`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpListener>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:159:20
|
159 | self.inner.deregister(registry)
| ^^^^^^^^^^ method not found in `IoSource<TcpListener>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `deregister` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `deregister`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `register` found for struct `IoSource<std::net::TcpStream>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/stream.rs:325:20
|
325 | self.inner.register(registry, token, interests)
| ^^^^^^^^ method not found in `IoSource<TcpStream>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `register` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `register`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
Compiling unicase v2.6.0
error[E0599]: no method named `reregister` found for struct `IoSource<std::net::TcpStream>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/stream.rs:334:20
|
334 | self.inner.reregister(registry, token, interests)
| ^^^^^^^^^^ method not found in `IoSource<TcpStream>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `reregister` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `reregister`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `deregister` found for struct `IoSource<std::net::TcpStream>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/stream.rs:338:20
|
338 | self.inner.deregister(registry)
| ^^^^^^^^^^ method not found in `IoSource<TcpStream>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `deregister` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `deregister`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `register` found for struct `IoSource<std::net::UdpSocket>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/udp.rs:622:20
|
622 | self.inner.register(registry, token, interests)
| ^^^^^^^^ method not found in `IoSource<UdpSocket>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `register` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `register`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `reregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/udp.rs:631:20
|
631 | self.inner.reregister(registry, token, interests)
| ^^^^^^^^^^ method not found in `IoSource<UdpSocket>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `reregister` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `reregister`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
error[E0599]: no method named `deregister` found for struct `IoSource<std::net::UdpSocket>` in the current scope
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/udp.rs:635:20
|
635 | self.inner.deregister(registry)
| ^^^^^^^^^^ method not found in `IoSource<UdpSocket>`
|
::: /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:62:1
|
62 | pub struct IoSource<T> {
| ---------------------- method `deregister` not found for this struct
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `deregister`, perhaps you need to implement it
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/source.rs:75:1
|
75 | pub trait Source {
| ^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `mio` (lib) due to 44 previous errors
warning: build failed, waiting for other jobs to finish...
2023-04-11T20:12:34.160655Z ERROR ❌ error
error from HTML pipeline
Caused by:
0: error from asset pipeline
1: error during cargo build execution
2: cargo call returned a bad status
2023-04-11T20:12:34.161758Z INFO 📦 starting build
2023-04-11T20:12:34.165101Z INFO spawning asset pipelines
^[[A2023-04-11T20:12:34.298534Z INFO copying directory path="static"
2023-04-11T20:12:34.298550Z INFO building yew_page
2023-04-11T20:12:34.307379Z INFO finished copying directory path="static"
Compiling gloo-utils v0.1.6
Compiling mio v0.8.6
Compiling gloo-dialogs v0.1.1
Compiling gloo-render v0.1.1
Compiling tokio-macros v2.0.0
Compiling num-integer v0.1.45
Compiling async-trait v0.1.68
Compiling unicase v2.6.0
error[E0432]: unresolved import `crate::sys::IoSourceState`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/io_source.rs:12:5
|
12 | use crate::sys::IoSourceState;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys`
error[E0432]: unresolved import `crate::sys::tcp`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:15:17
|
15 | use crate::sys::tcp::{bind, listen, new_for_addr};
| ^^^ could not find `tcp` in `sys`
error[E0432]: unresolved import `crate::sys::tcp`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/stream.rs:13:17
|
13 | use crate::sys::tcp::{connect, new_for_addr};
| ^^^ could not find `tcp` in `sys`
error[E0433]: failed to resolve: could not find `Selector` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/poll.rs:301:18
|
301 | sys::Selector::new().map(|selector| Poll {
| ^^^^^^^^ could not find `Selector` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:24:14
|
24 | sys::event::token(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:38:14
|
38 | sys::event::is_readable(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:43:14
|
43 | sys::event::is_writable(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:68:14
|
68 | sys::event::is_error(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:99:14
|
99 | sys::event::is_read_closed(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:129:14
|
129 | sys::event::is_write_closed(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:151:14
|
151 | sys::event::is_priority(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:173:14
|
173 | sys::event::is_aio(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:183:14
|
183 | sys::event::is_lio(&self.inner)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `event` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:221:26
|
221 | sys::event::debug_details(f, self.0)
| ^^^^^ could not find `event` in `sys`
error[E0433]: failed to resolve: could not find `tcp` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/tcp/listener.rs:103:18
|
103 | sys::tcp::accept(inner).map(|(stream, addr)| (TcpStream::from_std(stream), addr))
| ^^^ could not find `tcp` in `sys`
error[E0433]: failed to resolve: could not find `udp` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/udp.rs:122:14
|
122 | sys::udp::bind(addr).map(UdpSocket::from_std)
| ^^^ could not find `udp` in `sys`
error[E0433]: failed to resolve: could not find `udp` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/net/udp.rs:544:14
|
544 | sys::udp::only_v6(&self.inner)
| ^^^ could not find `udp` in `sys`
error[E0412]: cannot find type `Selector` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/poll.rs:255:20
|
255 | selector: sys::Selector,
| ^^^^^^^^ not found in `sys`
error[E0412]: cannot find type `Selector` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/poll.rs:689:44
|
689 | pub(crate) fn selector(&self) -> &sys::Selector {
| ^^^^^^^^ not found in `sys`
error[E0412]: cannot find type `Waker` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/waker.rs:79:17
|
79 | inner: sys::Waker,
| ^^^^^ not found in `sys`
|
help: consider importing one of these items
|
1 | use core::task::Waker;
|
1 | use crate::Waker;
|
1 | use std::task::Waker;
|
help: if you import `Waker`, refer to it directly
|
79 - inner: sys::Waker,
79 + inner: Waker,
|
error[E0433]: failed to resolve: could not find `Waker` in `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/waker.rs:87:14
|
87 | sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
| ^^^^^ could not find `Waker` in `sys`
|
help: consider importing one of these items
|
1 | use core::task::Waker;
|
1 | use crate::Waker;
|
1 | use std::task::Waker;
|
help: if you import `Waker`, refer to it directly
|
87 - sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
87 + Waker::new(registry.selector(), token).map(|inner| Waker { inner })
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:18:17
|
18 | inner: sys::Event,
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
18 - inner: sys::Event,
18 + inner: Event,
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:187:55
|
187 | pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
187 - pub(crate) fn from_sys_event_ref(sys_event: &sys::Event) -> &Event {
187 + pub(crate) fn from_sys_event_ref(sys_event: &Event) -> &Event {
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:191:41
|
191 | &*(sys_event as *const sys::Event as *const Event)
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
191 - &*(sys_event as *const sys::Event as *const Event)
191 + &*(sys_event as *const Event as *const Event)
|
error[E0412]: cannot find type `Event` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/event.rs:217:46
|
217 | struct EventDetails<'a>(&'a sys::Event);
| ^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::event::Event;
|
help: if you import `Event`, refer to it directly
|
217 - struct EventDetails<'a>(&'a sys::Event);
217 + struct EventDetails<'a>(&'a Event);
|
error[E0412]: cannot find type `Events` in module `sys`
--> /Users/peterweyand/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.6/src/event/events.rs:43:17
|
43 | inner: sys::Events,
| ^^^^^^ not found in `sys`
|
help: consider importing this struct
|
1 | use crate::Events;
|
help: if you import `Events`, refer to it directly
|
43 - inner: sys::Events,
So, it needs an import of the js feature in a dependency called
getrandom
. So I import that into my project and I have -And on and on.