[INFO] cloning repository https://github.com/kakoc/myox_tcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kakoc/myox_tcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoc%2Fmyox_tcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoc%2Fmyox_tcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac4133f95c93339fb1a7564457da6e57b7b9c923 [INFO] checking kakoc/myox_tcp against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoc%2Fmyox_tcp" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kakoc/myox_tcp on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kakoc/myox_tcp [INFO] finished tweaking git repo https://github.com/kakoc/myox_tcp [INFO] tweaked toml for git repo https://github.com/kakoc/myox_tcp written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kakoc/myox_tcp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c0deeb7a1126e06bc6f352448a2222191866a1828a26c373cff966102395f348 [INFO] running `Command { std: "docker" "start" "-a" "c0deeb7a1126e06bc6f352448a2222191866a1828a26c373cff966102395f348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0deeb7a1126e06bc6f352448a2222191866a1828a26c373cff966102395f348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0deeb7a1126e06bc6f352448a2222191866a1828a26c373cff966102395f348", kill_on_drop: false }` [INFO] [stdout] c0deeb7a1126e06bc6f352448a2222191866a1828a26c373cff966102395f348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ede9c06baa2de73a483c928f798a75bf1952ca9ebf31b9686bb9214b7f105af9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ede9c06baa2de73a483c928f798a75bf1952ca9ebf31b9686bb9214b7f105af9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking pnet_base v0.26.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-xid v0.0.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling pnet v0.26.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ipnetwork v0.12.8 [INFO] [stderr] Checking managed v0.7.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking pnet_macros_support v0.26.0 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking ipnetwork v0.16.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking etherparse v0.9.0 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking syntex_pos v0.42.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking pnet_sys v0.26.0 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking smoltcp v0.6.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking pnet_datalink v0.26.0 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking ctrlc v3.1.6 [INFO] [stderr] Checking syntex v0.42.2 [INFO] [stderr] Checking pnet_macros v0.15.0 [INFO] [stderr] Compiling pnet_macros v0.26.0 [INFO] [stderr] Compiling pnet_packet v0.26.0 [INFO] [stderr] Compiling pnet v0.16.0 [INFO] [stderr] Checking pnet_transport v0.26.0 [INFO] [stderr] Checking packet-builder v0.5.0 [INFO] [stderr] Checking myox_tcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `mine`? [INFO] [stdout] --> src/arp/channel.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ maybe a missing crate `mine`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `mine`? [INFO] [stdout] --> src/arp/channel.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ maybe a missing crate `mine`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `mine`? [INFO] [stdout] --> src/arp/channel.rs:363:16 [INFO] [stdout] | [INFO] [stdout] 363 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ maybe a missing crate `mine`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `mine`? [INFO] [stdout] --> src/arp/channel.rs:363:16 [INFO] [stdout] | [INFO] [stdout] 363 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ maybe a missing crate `mine`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `mine`? [INFO] [stdout] --> src/arp/other.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(crate::mine::channel::Channel::Ethernet(tx, rx)) => (tx, rx), [INFO] [stdout] | ^^^^ maybe a missing crate `mine`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | dst: *const SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | slen: SockLen, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `mine`? [INFO] [stdout] --> src/arp/other.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(crate::mine::channel::Channel::Ethernet(tx, rx)) => (tx, rx), [INFO] [stdout] | ^^^^ maybe a missing crate `mine`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | dst: *const SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | slen: SockLen, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Buf` in this scope [INFO] [stdout] --> src/arp/channel.rs:315:36 [INFO] [stdout] | [INFO] [stdout] 315 | buffer.as_ptr() as Buf, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::Buf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Buf` in this scope [INFO] [stdout] --> src/arp/channel.rs:315:36 [INFO] [stdout] | [INFO] [stdout] 315 | buffer.as_ptr() as Buf, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::Buf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:316:33 [INFO] [stdout] | [INFO] [stdout] 316 | buffer.len() as BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:316:33 [INFO] [stdout] | [INFO] [stdout] 316 | buffer.len() as BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddrStorage` in this scope [INFO] [stdout] --> src/arp/channel.rs:333:21 [INFO] [stdout] | [INFO] [stdout] 333 | caddr: *mut SockAddrStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddrStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddrStorage` in this scope [INFO] [stdout] --> src/arp/channel.rs:335:43 [INFO] [stdout] | [INFO] [stdout] 335 | let mut caddrlen = mem::size_of::() as SockLen; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddrStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:335:65 [INFO] [stdout] | [INFO] [stdout] 335 | let mut caddrlen = mem::size_of::() as SockLen; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutBuf` in this scope [INFO] [stdout] --> src/arp/channel.rs:339:36 [INFO] [stdout] | [INFO] [stdout] 339 | buffer.as_ptr() as MutBuf, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::MutBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:340:33 [INFO] [stdout] | [INFO] [stdout] 340 | buffer.len() as BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:342:31 [INFO] [stdout] | [INFO] [stdout] 342 | caddr as *mut SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddrStorage` in this scope [INFO] [stdout] --> src/arp/channel.rs:333:21 [INFO] [stdout] | [INFO] [stdout] 333 | caddr: *mut SockAddrStorage, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddrStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddrStorage` in this scope [INFO] [stdout] --> src/arp/channel.rs:335:43 [INFO] [stdout] | [INFO] [stdout] 335 | let mut caddrlen = mem::size_of::() as SockLen; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddrStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:335:65 [INFO] [stdout] | [INFO] [stdout] 335 | let mut caddrlen = mem::size_of::() as SockLen; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutBuf` in this scope [INFO] [stdout] --> src/arp/channel.rs:339:36 [INFO] [stdout] | [INFO] [stdout] 339 | buffer.as_ptr() as MutBuf, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::MutBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:340:33 [INFO] [stdout] | [INFO] [stdout] 340 | buffer.len() as BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:342:31 [INFO] [stdout] | [INFO] [stdout] 342 | caddr as *mut SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 282 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | pub unsafe fn close(sock: CSocket) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Buf` in this scope [INFO] [stdout] --> src/arp/channel.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | buf: Buf, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::Buf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | len: BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | pub unsafe fn close(sock: CSocket) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | addr: *const SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | addrlen: SockLen, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Buf` in this scope [INFO] [stdout] --> src/arp/channel.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | buf: Buf, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::Buf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CouldFail` in this scope [INFO] [stdout] --> src/arp/channel.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | ) -> CouldFail { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CouldFail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | len: BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | addr: *const SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutBuf` in this scope [INFO] [stdout] --> src/arp/channel.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | buf: MutBuf, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::MutBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:377:18 [INFO] [stdout] | [INFO] [stdout] 377 | addrlen: SockLen, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:385:14 [INFO] [stdout] | [INFO] [stdout] 385 | len: BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CouldFail` in this scope [INFO] [stdout] --> src/arp/channel.rs:378:10 [INFO] [stdout] | [INFO] [stdout] 378 | ) -> CouldFail { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CouldFail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CSocket` in this scope [INFO] [stdout] --> src/arp/channel.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | socket: CSocket, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutBuf` in this scope [INFO] [stdout] --> src/arp/channel.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 384 | buf: MutBuf, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::MutBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:385:14 [INFO] [stdout] | [INFO] [stdout] 385 | len: BufLen, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::BufLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | addr: *mut SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockAddr` in this scope [INFO] [stdout] --> src/arp/channel.rs:387:20 [INFO] [stdout] | [INFO] [stdout] 387 | addr: *mut SockAddr, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | addrlen: *mut SockLen, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CouldFail` in this scope [INFO] [stdout] --> src/arp/channel.rs:389:10 [INFO] [stdout] | [INFO] [stdout] 389 | ) -> CouldFail { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CouldFail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SockLen` in this scope [INFO] [stdout] --> src/arp/channel.rs:388:23 [INFO] [stdout] | [INFO] [stdout] 388 | addrlen: *mut SockLen, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::SockLen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CouldFail` in this scope [INFO] [stdout] --> src/arp/channel.rs:389:10 [INFO] [stdout] | [INFO] [stdout] 389 | ) -> CouldFail { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 363 | use crate::arp::network_interface::CouldFail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `SocketAddr`, `TryFrom`, `TryInto` [INFO] [stdout] --> src/arp/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | fmt::Display, [INFO] [stdout] 4 | net::{IpAddr, Ipv4Addr, SocketAddr}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IpAddr`, `SocketAddr`, `TryFrom`, `TryInto` [INFO] [stdout] --> src/arp/mod.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | convert::{TryFrom, TryInto}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 3 | fmt::Display, [INFO] [stdout] 4 | net::{IpAddr, Ipv4Addr, SocketAddr}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ethernet` [INFO] [stdout] --> src/arp/channel.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | ether::{network_addr_to_sockaddr, EtherType, Ethernet, EthernetPacket, Packet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | Ethernet(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkSender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | Ethernet(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:229:38 [INFO] [stdout] | [INFO] [stdout] 229 | fn iter<'a>(&'a mut self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkChannelIterator + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ethernet` [INFO] [stdout] --> src/arp/channel.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | ether::{network_addr_to_sockaddr, EtherType, Ethernet, EthernetPacket, Packet}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | Ethernet(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkSender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | Ethernet(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:229:38 [INFO] [stdout] | [INFO] [stdout] 229 | fn iter<'a>(&'a mut self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkChannelIterator + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | fn iter<'a>(&'a mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkChannelIterator + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `packet_mreq` should have an upper camel case name [INFO] [stdout] --> src/arp/channel.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | pub struct packet_mreq { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PacketMreq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ether::PrimitiveValues` [INFO] [stdout] --> src/arp/network_interface.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ether::PrimitiveValues; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv6Addr` [INFO] [stdout] --> src/arp/network_interface.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/arp/network_interface.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4}; [INFO] [stdout] | ------ the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 136 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SocketAddr` is imported redundantly [INFO] [stdout] --> src/arp/network_interface.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4}; [INFO] [stdout] | ---------- the item `SocketAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 136 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/arp/other.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/arp/other.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/arp/other.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / /// ethernet_packet = Ethernet { [INFO] [stdout] 36 | | /// destination: [0xff, 0xff, 0xff, 0xff, 0xff, 0xff], [INFO] [stdout] 37 | | /// source: [0x28, 0xef, 0xf9, 0x5f, 0x8e, 0x2b], [INFO] [stdout] 38 | | /// ethertype: [0x08, 0x06], // Arp(0x0806) [INFO] [stdout] ... | [INFO] [stdout] 52 | | /// payload: [], [INFO] [stdout] 53 | | /// } [INFO] [stdout] | |_________^ [INFO] [stdout] 54 | let mut ethernet_buffer = [0u8; 42]; [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arp::Packet` [INFO] [stdout] --> src/arp/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use arp::Packet; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/arp/channel.rs:276:38 [INFO] [stdout] | [INFO] [stdout] 276 | fn iter<'a>(&'a mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn EthernetDataLinkChannelIterator + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `packet_mreq` should have an upper camel case name [INFO] [stdout] --> src/arp/channel.rs:400:16 [INFO] [stdout] | [INFO] [stdout] 400 | pub struct packet_mreq { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PacketMreq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ether::PrimitiveValues` [INFO] [stdout] --> src/arp/network_interface.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ether::PrimitiveValues; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ipv6Addr` [INFO] [stdout] --> src/arp/network_interface.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IpAddr` is imported redundantly [INFO] [stdout] --> src/arp/network_interface.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4}; [INFO] [stdout] | ------ the item `IpAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 136 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SocketAddr` is imported redundantly [INFO] [stdout] --> src/arp/network_interface.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4}; [INFO] [stdout] | ---------- the item `SocketAddr` is already imported here [INFO] [stdout] ... [INFO] [stdout] 136 | use std::net::{IpAddr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/arp/other.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/arp/other.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/arp/other.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | / /// ethernet_packet = Ethernet { [INFO] [stdout] 36 | | /// destination: [0xff, 0xff, 0xff, 0xff, 0xff, 0xff], [INFO] [stdout] 37 | | /// source: [0x28, 0xef, 0xf9, 0x5f, 0x8e, 0x2b], [INFO] [stdout] 38 | | /// ethertype: [0x08, 0x06], // Arp(0x0806) [INFO] [stdout] ... | [INFO] [stdout] 52 | | /// payload: [], [INFO] [stdout] 53 | | /// } [INFO] [stdout] | |_________^ [INFO] [stdout] 54 | let mut ethernet_buffer = [0u8; 42]; [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `arp::Packet` [INFO] [stdout] --> src/arp/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use arp::Packet; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arp/channel.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arp/channel.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arp/channel.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/arp/channel.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/arp/network_interface.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | let mut addrs: *mut libc::ifaddrs = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/arp/network_interface.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | let mut addrs: *mut libc::ifaddrs = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `myox_tcp` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ede9c06baa2de73a483c928f798a75bf1952ca9ebf31b9686bb9214b7f105af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede9c06baa2de73a483c928f798a75bf1952ca9ebf31b9686bb9214b7f105af9", kill_on_drop: false }` [INFO] [stdout] ede9c06baa2de73a483c928f798a75bf1952ca9ebf31b9686bb9214b7f105af9