[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkakoc%2Fmyox_tcp" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kakoc/myox_tcp on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.0.3 [INFO] [stderr] Downloaded derive-new v0.5.8 [INFO] [stderr] Downloaded syn v1.0.41 [INFO] [stderr] Downloaded ipnetwork v0.12.8 [INFO] [stderr] Downloaded ctrlc v3.1.6 [INFO] [stderr] Downloaded pnet_transport v0.26.0 [INFO] [stderr] Downloaded pnet_datalink v0.26.0 [INFO] [stderr] Downloaded pnet_base v0.26.0 [INFO] [stderr] Downloaded syntex_errors v0.42.0 [INFO] [stderr] Downloaded pnet_packet v0.26.0 [INFO] [stderr] Downloaded pnet_sys v0.26.0 [INFO] [stderr] Downloaded managed v0.7.2 [INFO] [stderr] Downloaded tokio-core v0.1.17 [INFO] [stderr] Downloaded etherparse v0.9.0 [INFO] [stderr] Downloaded syntex v0.42.2 [INFO] [stderr] Downloaded pnet v0.16.0 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded ipnetwork v0.16.0 [INFO] [stderr] Downloaded tun-tap v0.1.2 [INFO] [stderr] Downloaded packet-builder v0.5.0 [INFO] [stderr] Downloaded pnet_macros_support v0.26.0 [INFO] [stderr] Downloaded pnet v0.26.0 [INFO] [stderr] Downloaded syntex_pos v0.42.0 [INFO] [stderr] Downloaded pnet_macros v0.15.0 [INFO] [stderr] Downloaded syntex_syntax v0.42.0 [INFO] [stderr] Downloaded pnet_macros v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 410950ac8ed563c20ae3db163f96bde2efb6d9c0d203005782d7feeb76985e20 [INFO] running `Command { std: "docker" "start" "-a" "410950ac8ed563c20ae3db163f96bde2efb6d9c0d203005782d7feeb76985e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "410950ac8ed563c20ae3db163f96bde2efb6d9c0d203005782d7feeb76985e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410950ac8ed563c20ae3db163f96bde2efb6d9c0d203005782d7feeb76985e20", kill_on_drop: false }` [INFO] [stdout] 410950ac8ed563c20ae3db163f96bde2efb6d9c0d203005782d7feeb76985e20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2b46c4c294df66ad9db617a27977c2834f510a5aa9a35c33861cdda9318bf26 [INFO] running `Command { std: "docker" "start" "-a" "c2b46c4c294df66ad9db617a27977c2834f510a5aa9a35c33861cdda9318bf26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking pnet_base v0.26.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [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 nix v0.17.0 [INFO] [stderr] Compiling pnet v0.26.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking managed v0.7.2 [INFO] [stderr] Checking ipnetwork v0.12.8 [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] Checking lock_api v0.3.4 [INFO] [stderr] Checking syntex_pos v0.42.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking pnet_macros_support v0.26.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking etherparse v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tun-tap v0.1.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking syntex_errors v0.42.0 [INFO] [stderr] Checking pnet_sys v0.26.0 [INFO] [stderr] Checking smoltcp v0.6.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking ipnetwork v0.16.0 [INFO] [stderr] Checking pnet_datalink v0.26.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking tokio-io v0.1.13 [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-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [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: could not find `mine` in the crate root [INFO] [stdout] --> src/arp/channel.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ could not find `mine` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mine` in the crate root [INFO] [stdout] --> src/arp/channel.rs:363:16 [INFO] [stdout] | [INFO] [stdout] 363 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ could not find `mine` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mine` in the crate root [INFO] [stdout] --> src/arp/channel.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ could not find `mine` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mine` in the crate root [INFO] [stdout] --> src/arp/channel.rs:363:16 [INFO] [stdout] | [INFO] [stdout] 363 | use crate::mine::network_interface::{ [INFO] [stdout] | ^^^^ could not find `mine` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mine` in the crate root [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] | ^^^^ could not find `mine` in the crate root [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 `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 `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 `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 `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 `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 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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = help: use `//` for a plain comment [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] error[E0433]: failed to resolve: could not find `mine` in the crate root [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] | ^^^^ could not find `mine` in the crate root [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 `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 `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] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / enum_with_unknown! { [INFO] [stdout] 93 | | /// Ethernet protocol type. [INFO] [stdout] 94 | | pub enum Protocol(u16) { [INFO] [stdout] 95 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / enum_with_unknown! { [INFO] [stdout] 93 | | /// Ethernet protocol type. [INFO] [stdout] 94 | | pub enum Protocol(u16) { [INFO] [stdout] 95 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / enum_with_unknown! { [INFO] [stdout] 102 | | /// ARP hardware type. [INFO] [stdout] 103 | | pub enum Hardware(u16) { [INFO] [stdout] 104 | | Ethernet = 1 [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [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] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | / enum_with_unknown! { [INFO] [stdout] 109 | | /// ARP operation type. [INFO] [stdout] 110 | | pub enum Operation(u16) { [INFO] [stdout] 111 | | Request = 1, [INFO] [stdout] 112 | | Reply = 2 [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `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 `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] 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] 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] 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] 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 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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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] = help: use `//` for a plain comment [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/arp/network_interface.rs:93:55 [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: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / enum_with_unknown! { [INFO] [stdout] 93 | | /// Ethernet protocol type. [INFO] [stdout] 94 | | pub enum Protocol(u16) { [INFO] [stdout] 95 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_doc_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | / enum_with_unknown! { [INFO] [stdout] 93 | | /// Ethernet protocol type. [INFO] [stdout] 94 | | pub enum Protocol(u16) { [INFO] [stdout] 95 | | Ipv4 = 0x0800, [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] 99 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | / enum_with_unknown! { [INFO] [stdout] 102 | | /// ARP hardware type. [INFO] [stdout] 103 | | pub enum Hardware(u16) { [INFO] [stdout] 104 | | Ethernet = 1 [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown `doc` attribute `shown` [INFO] [stdout] --> src/arp/arp.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | $( #[doc(shown)] $variant = $value ),+ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | / enum_with_unknown! { [INFO] [stdout] 109 | | /// ARP operation type. [INFO] [stdout] 110 | | pub enum Operation(u16) { [INFO] [stdout] 111 | | Request = 1, [INFO] [stdout] 112 | | Reply = 2 [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82730 [INFO] [stdout] = note: this warning originates in the macro `enum_with_unknown` (in Nightly builds, run with -Z macro-backtrace for more info) [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:55 [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; 22 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` due to 29 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 28 previous errors; 22 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: build failed [INFO] running `Command { std: "docker" "inspect" "c2b46c4c294df66ad9db617a27977c2834f510a5aa9a35c33861cdda9318bf26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b46c4c294df66ad9db617a27977c2834f510a5aa9a35c33861cdda9318bf26", kill_on_drop: false }` [INFO] [stdout] c2b46c4c294df66ad9db617a27977c2834f510a5aa9a35c33861cdda9318bf26