Created
November 15, 2021 15:04
-
-
Save bobmcwhirter/557d046131f401c138012b62a2958416 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling embassy-net v0.1.0 (/Users/bob/repos/embassy/embassy-net) | |
error[E0061]: this function takes 1 argument but 2 arguments were supplied | |
--> /Users/bob/repos/embassy/embassy-net/src/stack.rs:144:23 | |
| | |
144 | if self.iface.poll(&mut self.sockets, timestamp).is_err() { | |
| ^^^^ ----------------- --------- supplied 2 arguments | |
| | | |
| expected 1 argument | |
| | |
note: associated function defined here | |
--> /Users/bob/.cargo/git/checkouts/smoltcp-62a2c460f6967db5/079ae34/src/iface/interface.rs:702:12 | |
| | |
702 | pub fn poll(&mut self, timestamp: Instant) -> Result<bool> { | |
| ^^^^ | |
error[E0061]: this function takes 1 argument but 2 arguments were supplied | |
--> /Users/bob/repos/embassy/embassy-net/src/stack.rs:163:43 | |
| | |
163 | if let Some(poll_at) = self.iface.poll_at(&self.sockets, timestamp) { | |
| ^^^^^^^ ------------- --------- supplied 2 arguments | |
| | | |
| expected 1 argument | |
| | |
note: associated function defined here | |
--> /Users/bob/.cargo/git/checkouts/smoltcp-62a2c460f6967db5/079ae34/src/iface/interface.rs:730:12 | |
| | |
730 | pub fn poll_at(&self, timestamp: Instant) -> Option<Instant> { | |
| ^^^^^^^ | |
error[E0061]: this function takes 2 arguments but 1 argument was supplied | |
--> /Users/bob/repos/embassy/embassy-net/src/stack.rs:197:17 | |
| | |
197 | let mut b = InterfaceBuilder::new(DeviceAdapter::new(device)); | |
| ^^^^^^^^^^^^^^^^^^^^^ -------------------------- supplied 1 argument | |
| | | |
| expected 2 arguments | |
| | |
note: associated function defined here | |
--> /Users/bob/.cargo/git/checkouts/smoltcp-62a2c460f6967db5/079ae34/src/iface/interface.rs:109:12 | |
| | |
109 | pub fn new<SocketsT>(device: DeviceT, sockets: SocketsT) -> Self | |
| ^^^ | |
error[E0599]: no method named `ethernet_addr` found for struct `InterfaceBuilder` in the current scope | |
--> /Users/bob/repos/embassy/embassy-net/src/stack.rs:202:15 | |
| | |
202 | b = b.ethernet_addr(EthernetAddress(ethernet_addr)); | |
| ^^^^^^^^^^^^^ method not found in `InterfaceBuilder<'_, _>` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment