-
Notifications
You must be signed in to change notification settings - Fork 479
Open
Description
Hi Tim,
It seems like there are two problems with the ch8-mget example, first the default version of smoltcp 0.5 no longer compiles, I updated to 0.6 and that worked. The second is the example seems to have issues with ethernet not being unicast
❯ cargo run http://www.rustinaction.com/ tap-rust -s 8.8.8.8
warning: unused manifest key: profile.release.codegen_units
warning: trait objects without an explicit `dyn` are deprecated
--> src/dns.rs:40:101
|
40 | pub fn resolve(dns_server_address: &str, domain_name: &str) -> Result<Option<std::net::IpAddr>, Box<Error>> {
|
^^^^^ help: use `dyn`: `dyn Error`
|
= note: `#[warn(bare_trait_objects)]` on by default
Finished dev [unoptimized + debuginfo] target(s) in 0.07s
Running `/home/user/build-artifacts/debug/mget 'http://www.rustinaction.com/' tap-rust -s 8.8.8.8`
thread 'main' panicked at 'Ethernet address f7-f0-a7-28-e7-57 is not unicast', /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/smoltcp-0.6.0/src/iface/ethernet.rs:705:13
jiayihu
Metadata
Metadata
Assignees
Labels
No labels