[INFO] fetching crate xdpsock 0.1.0... [INFO] testing xdpsock-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate xdpsock 0.1.0 into /workspace/builds/worker-38/source [INFO] validating manifest of crates.io crate xdpsock 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xdpsock 0.1.0 [INFO] finished tweaking crates.io crate xdpsock 0.1.0 [INFO] tweaked toml for crates.io crate xdpsock 0.1.0 written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate crates.io crate xdpsock 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae97aca10c1eeb295b8c5133094ff0aec27183743db8eb43af2ae27a9f66146c [INFO] running `Command { std: "docker" "start" "-a" "ae97aca10c1eeb295b8c5133094ff0aec27183743db8eb43af2ae27a9f66146c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae97aca10c1eeb295b8c5133094ff0aec27183743db8eb43af2ae27a9f66146c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae97aca10c1eeb295b8c5133094ff0aec27183743db8eb43af2ae27a9f66146c", kill_on_drop: false }` [INFO] [stdout] ae97aca10c1eeb295b8c5133094ff0aec27183743db8eb43af2ae27a9f66146c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31dec71f797caa9f957c797df26923883985caafda10c0417104480f96c1cfb6 [INFO] running `Command { std: "docker" "start" "-a" "31dec71f797caa9f957c797df26923883985caafda10c0417104480f96c1cfb6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling etherparse v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling libbpf-sys v0.3.0-1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling errno v0.2.7 [INFO] [stderr] Compiling core_affinity v0.5.10 [INFO] [stderr] Compiling xdpsock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Arc`, `AtomicBool`, `Ordering` [INFO] [stdout] --> src/xsk/tx.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 7 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::xsk::rx::*` [INFO] [stdout] --> src/xsk/xsk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::xsk::rx::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/xsk/xsk.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/xsk/xsk.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `etherparse::ReadError` [INFO] [stdout] --> src/xsk/xsk.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use etherparse::ReadError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `owned_mem_range` [INFO] [stdout] --> src/umem/mmap.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn owned_mem_range(&mut self, offset: &usize, len: &usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mmap_from_raw_parts` [INFO] [stdout] --> src/umem/mmap.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn mmap_from_raw_parts(ptr: *mut libc::c_void, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split` [INFO] [stdout] --> src/umem/mmap.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | pub(in crate::umem) fn split(self, offset: usize) -> (Self, Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_size` [INFO] [stdout] --> src/umem/umem.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | frame_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `umem_len` [INFO] [stdout] --> src/umem/umem.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | umem_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/umem/umem.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FillQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/umem/umem.rs:420:10 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/umem/umem.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CompQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/umem/umem.rs:532:10 [INFO] [stdout] | [INFO] [stdout] 532 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.51s [INFO] running `Command { std: "docker" "inspect" "31dec71f797caa9f957c797df26923883985caafda10c0417104480f96c1cfb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31dec71f797caa9f957c797df26923883985caafda10c0417104480f96c1cfb6", kill_on_drop: false }` [INFO] [stdout] 31dec71f797caa9f957c797df26923883985caafda10c0417104480f96c1cfb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9979f43e36b1439e4b7c95e2bd733af5aef4b52644614d924fa5a30bfcb4f1b8 [INFO] running `Command { std: "docker" "start" "-a" "9979f43e36b1439e4b7c95e2bd733af5aef4b52644614d924fa5a30bfcb4f1b8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.24 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stdout] warning: unused imports: `Arc`, `AtomicBool`, `Ordering` [INFO] [stdout] --> src/xsk/tx.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 7 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::xsk::rx::*` [INFO] [stdout] --> src/xsk/xsk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::xsk::rx::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/xsk/xsk.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/xsk/xsk.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `etherparse::ReadError` [INFO] [stdout] --> src/xsk/xsk.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use etherparse::ReadError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `owned_mem_range` [INFO] [stdout] --> src/umem/mmap.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn owned_mem_range(&mut self, offset: &usize, len: &usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mmap_from_raw_parts` [INFO] [stdout] --> src/umem/mmap.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn mmap_from_raw_parts(ptr: *mut libc::c_void, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split` [INFO] [stdout] --> src/umem/mmap.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | pub(in crate::umem) fn split(self, offset: usize) -> (Self, Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_size` [INFO] [stdout] --> src/umem/umem.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | frame_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `umem_len` [INFO] [stdout] --> src/umem/umem.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | umem_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/umem/umem.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FillQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/umem/umem.rs:420:10 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/umem/umem.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CompQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/umem/umem.rs:532:10 [INFO] [stdout] | [INFO] [stdout] 532 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling regex v1.5.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling netlink-packet-utils v0.4.0 [INFO] [stderr] Compiling netlink-packet-utils v0.2.0 [INFO] [stderr] Compiling netlink-packet-core v0.2.4 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling netlink-packet-route v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling netlink-sys v0.4.0 [INFO] [stderr] Compiling netlink-proto v0.4.1 [INFO] [stderr] Compiling rtnetlink v0.3.0 [INFO] [stderr] Compiling xdpsock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> examples/dev2_to_dev1.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SocketConfig`, `UmemConfig` [INFO] [stdout] --> examples/dev2_to_dev1.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | socket::{BindFlags, SocketConfig, SocketConfigBuilder, XdpFlags}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | umem::{UmemConfig, UmemConfigBuilder}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> examples/synacker.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tick` [INFO] [stdout] --> examples/synacker.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use crossbeam_channel::{bounded, select, tick, Receiver}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ethernet2HeaderSlice`, `IpHeader`, `PacketBuilderStep`, `PacketHeaders`, `TransportHeader`, `UdpHeader` [INFO] [stdout] --> examples/synacker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Ethernet2HeaderSlice, InternetSlice, IpHeader, LinkSlice, PacketBuilder, PacketBuilderStep, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | PacketHeaders, SlicedPacket, TransportHeader, TransportSlice, UdpHeader, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_PACKET_SIZE`, `SocketConfig`, `UmemConfig` [INFO] [stdout] --> examples/synacker.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | socket::{BindFlags, SocketConfig, SocketConfigBuilder, XdpFlags}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | umem::{UmemConfig, UmemConfigBuilder}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | xsk::{Xsk2, MAX_PACKET_SIZE}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `veth_util_rs` [INFO] [stdout] --> tests/setup/veth_setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use veth_util_rs::{add_veth_link, VethConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `veth_util_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `veth_util_rs` [INFO] [stdout] --> tests/setup/veth_setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use veth_util_rs::{add_veth_link, VethConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `veth_util_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusty_fork::rusty_fork_test` [INFO] [stdout] --> tests/send_recv_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusty_fork::rusty_fork_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::Ipv4Addr` [INFO] [stdout] --> tests/send_recv_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::Ipv4Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroU32` [INFO] [stdout] --> src/umem/umem.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | use std::num::NonZeroU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `AtomicBool`, `Ordering` [INFO] [stdout] --> src/xsk/tx.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | atomic::{AtomicBool, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 7 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::xsk::rx::*` [INFO] [stdout] --> src/xsk/xsk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::xsk::rx::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/xsk/xsk.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/xsk/xsk.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `etherparse::ReadError` [INFO] [stdout] --> src/xsk/xsk.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use etherparse::ReadError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `veth_util_rs` [INFO] [stdout] --> tests/setup/veth_setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use veth_util_rs::{add_veth_link, VethConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `veth_util_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `veth_util_rs` [INFO] [stdout] --> tests/setup/veth_setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use veth_util_rs::{add_veth_link, VethConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `veth_util_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `veth_util_rs` [INFO] [stdout] --> tests/setup/veth_setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use veth_util_rs::{add_veth_link, VethConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `veth_util_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xdpsock` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/synacker.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut xsk = Xsk2::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xdpsock` due to 2 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/dev2_to_dev1.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let mut xsk = Xsk2::new( [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xdpsock` due to 2 previous errors [INFO] [stdout] warning: field is never read: `verbose` [INFO] [stdout] --> examples/synacker.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | verbose: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/synacker.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone, Clap)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xdpsock` due to 2 previous errors [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xdpsock` due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: field is never read: `verbose` [INFO] [stdout] --> examples/dev2_to_dev1.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | verbose: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> examples/dev2_to_dev1.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone, Clap)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `owned_mem_range` [INFO] [stdout] --> src/umem/mmap.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn owned_mem_range(&mut self, offset: &usize, len: &usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mmap_from_raw_parts` [INFO] [stdout] --> src/umem/mmap.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn mmap_from_raw_parts(ptr: *mut libc::c_void, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split` [INFO] [stdout] --> src/umem/mmap.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | pub(in crate::umem) fn split(self, offset: usize) -> (Self, Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_size` [INFO] [stdout] --> src/umem/umem.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | frame_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `umem_len` [INFO] [stdout] --> src/umem/umem.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | umem_len: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/umem/umem.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FillQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/umem/umem.rs:420:10 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/umem/umem.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CompQueue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/umem/umem.rs:532:10 [INFO] [stdout] | [INFO] [stdout] 532 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9979f43e36b1439e4b7c95e2bd733af5aef4b52644614d924fa5a30bfcb4f1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9979f43e36b1439e4b7c95e2bd733af5aef4b52644614d924fa5a30bfcb4f1b8", kill_on_drop: false }` [INFO] [stdout] 9979f43e36b1439e4b7c95e2bd733af5aef4b52644614d924fa5a30bfcb4f1b8