Compiling turkos-ethernet-frame v0.0.1 (/reports/os-implementation/K1860-icmp-echo-staging-local-Zb2wDo/source/os-ethernet-frame) Compiling turkos-ipv4-packet v0.0.1 (/reports/os-implementation/K1860-icmp-echo-staging-local-Zb2wDo/source/os-ipv4-packet) Compiling turkos-ipv4-fragments v0.0.1 (/reports/os-implementation/K1860-icmp-echo-staging-local-Zb2wDo/source/os-ipv4-fragments) Compiling turkos-icmp-echo v0.0.1 (/reports/os-implementation/K1860-icmp-echo-staging-local-Zb2wDo/source/os-icmp-echo) error[E0308]: mismatched types --> src/echo.rs:33:11 | 33 | if pack(frame.destination())!=s.mac||frame.source()==[0;6]||frame.source()[0]&1!=0{return Err(Error::Ethernet);} | ---- ^^^^^^^^^^^^^^^^^^^ expected `[u8; 6]`, found `Destination` | | | arguments to this function are incorrect | note: function defined here --> src/echo.rs:19:4 | 19 | fn pack(mac:[u8;6])->u64 { mac.into_iter().fold(0,|a,b|(a<<8)|u64::from(b)) } | ^^^^ ---------- error[E0308]: mismatched types --> src/echo.rs:54:94 | 54 | ...rame.source());out[6..12].copy_from_slice(&frame.destination());out[12..14].copy_from_slice(&[8,0]); | --------------- ^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Destination` | | | arguments to this method are incorrect | = note: expected reference `&[u8]` found reference `&turkos_ethernet_frame::frame::Destination` note: method defined here --> /.rustup/toolchains/nightly-2026-08-19-aarch64-apple-darwin/lib/rustlib/src/rust/library/core/src/slice/mod.rs:4339:18 | 4339 | pub const fn copy_from_slice(&mut self, src: &[T]) | ^^^^^^^^^^^^^^^ For more information about this error, try `rustc --explain E0308`. error: could not compile `turkos-icmp-echo` (lib) due to 2 previous errors