Skip to content

build failed, - WebAssembly #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
idevorel opened this issue Jun 19, 2022 · 1 comment
Closed

build failed, - WebAssembly #315

idevorel opened this issue Jun 19, 2022 · 1 comment

Comments

@idevorel
Copy link

warning: build failed, waiting for other jobs to finish...
error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/socket.rs:1776:23
|
1776 | from!(net::TcpStream, Socket);
| ^^^^^^ expected struct Socket, found ()
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/lib.rs:104:16
|
104 | fn from(socket: $from) -> $for {
| ---- implicitly returns () as its body has no tail or return expression

error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/socket.rs:1777:25
|
1777 | from!(net::TcpListener, Socket);
| ^^^^^^ expected struct Socket, found ()
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/lib.rs:104:16
|
104 | fn from(socket: $from) -> $for {
| ---- implicitly returns () as its body has no tail or return expression

error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/socket.rs:1778:23
|
1778 | from!(net::UdpSocket, Socket);
| ^^^^^^ expected struct Socket, found ()
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/lib.rs:104:16
|
104 | fn from(socket: $from) -> $for {
| ---- implicitly returns () as its body has no tail or return expression

error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/socket.rs:1779:15
|
1779 | from!(Socket, net::TcpStream);
| ^^^^^^^^^^^^^^ expected struct TcpStream, found ()
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/lib.rs:104:16
|
104 | fn from(socket: $from) -> $for {
| ---- implicitly returns () as its body has no tail or return expression

error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/socket.rs:1780:15
|
1780 | from!(Socket, net::TcpListener);
| ^^^^^^^^^^^^^^^^ expected struct TcpListener, found ()
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/lib.rs:104:16
|
104 | fn from(socket: $from) -> $for {
| ---- implicitly returns () as its body has no tail or return expression

error[E0308]: mismatched types
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/socket.rs:1781:15
|
1781 | from!(Socket, net::UdpSocket);
| ^^^^^^^^^^^^^^ expected struct UdpSocket, found ()
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.4/src/lib.rs:104:16
|
104 | fn from(socket: $from) -> $for {
| ---- implicitly returns () as its body has no tail or return expression

@Thomasdezeeuw
Copy link
Collaborator

Duplicate of #268.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants