[INFO] fetching crate ixgbe-driver 0.1.1... [INFO] testing ixgbe-driver-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ixgbe-driver 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate ixgbe-driver 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ixgbe-driver 0.1.1 [INFO] tweaked toml for crates.io crate ixgbe-driver 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ixgbe-driver 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ixgbe-driver 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded defmt v0.3.100 [INFO] [stderr] Downloaded managed v0.8.0 [INFO] [stderr] Downloaded volatile v0.3.0 [INFO] [stderr] Downloaded core_detect v1.0.0 [INFO] [stderr] Downloaded smoltcp v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fc7fbf9d8e5156b319d43718cbd254db86b79f5bfaafa98f186f7638a9edd90 [INFO] running `Command { std: "docker" "start" "-a" "7fc7fbf9d8e5156b319d43718cbd254db86b79f5bfaafa98f186f7638a9edd90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fc7fbf9d8e5156b319d43718cbd254db86b79f5bfaafa98f186f7638a9edd90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc7fbf9d8e5156b319d43718cbd254db86b79f5bfaafa98f186f7638a9edd90", kill_on_drop: false }` [INFO] [stdout] 7fc7fbf9d8e5156b319d43718cbd254db86b79f5bfaafa98f186f7638a9edd90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f37129d7516bb5bdb3d99f067cebd631738f5cf3cdcba6f2782d8da129206e8 [INFO] running `Command { std: "docker" "start" "-a" "7f37129d7516bb5bdb3d99f067cebd631738f5cf3cdcba6f2782d8da129206e8", kill_on_drop: false }` [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling smoltcp v0.12.0 [INFO] [stderr] Compiling managed v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling core_detect v1.0.0 [INFO] [stderr] Compiling volatile v0.3.0 [INFO] [stderr] Compiling ixgbe-driver v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.09s [INFO] running `Command { std: "docker" "inspect" "7f37129d7516bb5bdb3d99f067cebd631738f5cf3cdcba6f2782d8da129206e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f37129d7516bb5bdb3d99f067cebd631738f5cf3cdcba6f2782d8da129206e8", kill_on_drop: false }` [INFO] [stdout] 7f37129d7516bb5bdb3d99f067cebd631738f5cf3cdcba6f2782d8da129206e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d87aafe176aed63a0e8fc2476f5c24355f7fc2d48c6a1bc2575e40fcac4c8765 [INFO] running `Command { std: "docker" "start" "-a" "d87aafe176aed63a0e8fc2476f5c24355f7fc2d48c6a1bc2575e40fcac4c8765", kill_on_drop: false }` [INFO] [stderr] Compiling ixgbe-driver v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `paddr` [INFO] [stdout] --> tests/memory_test.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe fn dma_dealloc(paddr: usize, vaddr: core::ptr::NonNull, size: usize) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paddr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> tests/memory_test.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn mmio_phys_to_virt(paddr: usize, size: usize) -> core::ptr::NonNull { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> tests/memory_test.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe fn mmio_virt_to_phys(vaddr: core::ptr::NonNull, size: usize) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> tests/memory_test.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn wait_until(duration: core::time::Duration) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paddr` [INFO] [stdout] --> tests/hal_test.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe fn dma_dealloc(paddr: usize, vaddr: NonNull, size: usize) -> i32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paddr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> tests/hal_test.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe fn mmio_phys_to_virt(paddr: usize, size: usize) -> NonNull { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> tests/hal_test.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe fn mmio_virt_to_phys(vaddr: NonNull, size: usize) -> usize { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> tests/hal_test.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | fn wait_until(duration: Duration) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet2` [INFO] [stdout] --> tests/memory_test.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let packet2 = alloc_pkt(&pool, 1500).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(DMA_ALLOC_COUNT, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(DMA_DEALLOC_COUNT, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returned pointer of `as_ptr` call is never null, so checking it for null will always return false [INFO] [stdout] --> tests/hal_test.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(!virt_ptr.as_ptr().is_null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(DMA_ALLOC_COUNT, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(DMA_DEALLOC_COUNT, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(DMA_ALLOC_COUNT, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(DMA_DEALLOC_COUNT, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(DMA_ALLOC_COUNT, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> tests/hal_test.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(DMA_DEALLOC_COUNT, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "d87aafe176aed63a0e8fc2476f5c24355f7fc2d48c6a1bc2575e40fcac4c8765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87aafe176aed63a0e8fc2476f5c24355f7fc2d48c6a1bc2575e40fcac4c8765", kill_on_drop: false }` [INFO] [stdout] d87aafe176aed63a0e8fc2476f5c24355f7fc2d48c6a1bc2575e40fcac4c8765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f24bc341b9a6bd6e6277918bc1f193c0480b02a6835bf3a7dcf1c37195e68db [INFO] running `Command { std: "docker" "start" "-a" "9f24bc341b9a6bd6e6277918bc1f193c0480b02a6835bf3a7dcf1c37195e68db", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `paddr` [INFO] [stderr] --> tests/memory_test.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | unsafe fn dma_dealloc(paddr: usize, vaddr: core::ptr::NonNull, size: usize) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paddr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> tests/memory_test.rs:32:47 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe fn mmio_phys_to_virt(paddr: usize, size: usize) -> core::ptr::NonNull { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> tests/memory_test.rs:37:64 [INFO] [stderr] | [INFO] [stderr] 37 | unsafe fn mmio_virt_to_phys(vaddr: core::ptr::NonNull, size: usize) -> usize { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> tests/memory_test.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | fn wait_until(duration: core::time::Duration) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `packet2` [INFO] [stderr] --> tests/memory_test.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | let packet2 = alloc_pkt(&pool, 1500).unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet2` [INFO] [stderr] [INFO] [stderr] warning: `ixgbe-driver` (test "memory_test") generated 5 warnings (run `cargo fix --test "memory_test" -p ixgbe-driver` to apply 5 suggestions) [INFO] [stderr] warning: unused variable: `paddr` [INFO] [stderr] --> tests/hal_test.rs:36:27 [INFO] [stderr] | [INFO] [stderr] 36 | unsafe fn dma_dealloc(paddr: usize, vaddr: NonNull, size: usize) -> i32 { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_paddr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> tests/hal_test.rs:47:47 [INFO] [stderr] | [INFO] [stderr] 47 | unsafe fn mmio_phys_to_virt(paddr: usize, size: usize) -> NonNull { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> tests/hal_test.rs:52:53 [INFO] [stderr] | [INFO] [stderr] 52 | unsafe fn mmio_virt_to_phys(vaddr: NonNull, size: usize) -> usize { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> tests/hal_test.rs:57:19 [INFO] [stderr] | [INFO] [stderr] 57 | fn wait_until(duration: Duration) -> Result<(), &'static str> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | assert_eq!(DMA_ALLOC_COUNT, 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | assert_eq!(DMA_DEALLOC_COUNT, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: returned pointer of `as_ptr` call is never null, so checking it for null will always return false [INFO] [stderr] --> tests/hal_test.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | assert!(!virt_ptr.as_ptr().is_null()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(useless_ptr_null_checks)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(DMA_ALLOC_COUNT, 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:88:20 [INFO] [stderr] | [INFO] [stderr] 88 | assert_eq!(DMA_DEALLOC_COUNT, 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:134:20 [INFO] [stderr] | [INFO] [stderr] 134 | assert_eq!(DMA_ALLOC_COUNT, 5); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:135:20 [INFO] [stderr] | [INFO] [stderr] 135 | assert_eq!(DMA_DEALLOC_COUNT, 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:145:20 [INFO] [stderr] | [INFO] [stderr] 145 | assert_eq!(DMA_ALLOC_COUNT, 5); [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> tests/hal_test.rs:146:20 [INFO] [stderr] | [INFO] [stderr] 146 | assert_eq!(DMA_DEALLOC_COUNT, 5); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `ixgbe-driver` (test "hal_test") generated 13 warnings (run `cargo fix --test "hal_test" -p ixgbe-driver` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ixgbe_driver-c1bbaff792c5e4d8) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test descriptor::tests::test_rx_status_bit_operations ... ok [INFO] [stdout] test descriptor::tests::test_rx_status_constants ... ok [INFO] [stdout] test descriptor::tests::test_tx_command_bit_operations ... ok [INFO] [stdout] test descriptor::tests::test_tx_command_constants ... ok [INFO] [stdout] test descriptor::tests::test_tx_paylen_shift ... ok [INFO] [stdout] test memory::tests::test_constants ... ok [INFO] [stdout] test descriptor::tests::test_tx_status_constants ... ok [INFO] [stdout] test memory::tests::test_mempool_entry_size_default ... ok [INFO] [stdout] test descriptor::tests::test_tx_descriptor_type ... ok [INFO] [stdout] test tests::test_device_stats_default ... ok [INFO] [stdout] test tests::test_vendor_device_constants ... ok [INFO] [stdout] test memory::tests::test_prefetch_eq ... ok [INFO] [stdout] test memory::tests::test_prefetch_ord ... ok [INFO] [stdout] test tests::test_device_stats_copy_clone ... ok [INFO] [stdout] test memory::tests::test_mempool_allocation_alignment ... ok [INFO] [stdout] test memory::tests::test_mempool_invalid_alignment ... ok [INFO] [stdout] test memory::tests::test_prefetch_copy ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/descriptor_test.rs (/opt/rustwide/target/debug/deps/descriptor_test-ceb36feb9625e831) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test test_descriptor_constants_consistency ... ok [INFO] [stdout] test test_rx_descriptor_address_setting ... ok [INFO] [stdout] test test_rx_descriptor_packet_info ... ok [INFO] [stdout] test test_rx_descriptor_packet_type ... ok [INFO] [stdout] test test_rx_descriptor_initialization ... ok [INFO] [stdout] test test_rx_descriptor_status_flags ... ok [INFO] [stdout] test test_rx_descriptor_status_reset ... ok [INFO] [stdout] test test_tx_descriptor_command_flags ... ok [INFO] [stdout] test test_rx_descriptor_rss_info ... ok [INFO] [stdout] test test_tx_descriptor_send_setup ... ok [INFO] [stdout] test test_descriptor_bit_field_operations ... ok [INFO] [stdout] test test_tx_descriptor_initialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/hal_test.rs (/opt/rustwide/target/debug/deps/hal_test-82d46b1be125c31a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_failing_hal_error_handling ... ok [INFO] [stdout] test test_dma_memory_lifecycle ... ok [INFO] [stdout] test test_mmio_address_translation ... ok [INFO] [stdout] test test_multiple_dma_allocations ... ok [INFO] [stdout] test test_wait_until_functionality ... ok [INFO] [stdout] test test_error_handling_in_hal ... ok [INFO] [stdout] test test_failing_hal_allocation - should panic ... ok [INFO] [stdout] test test_hal_trait_object_safety ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-0bbf5a806ec2fd4a) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_error_propagation ... ok [INFO] [stdout] test test_memory_pool_packet_integration ... ok [INFO] [stdout] test test_performance_baseline ... ok [INFO] [stdout] test test_resource_management ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/memory_test.rs (/opt/rustwide/target/debug/deps/memory_test-7fb97ba45bb813a1) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_memory_pool_invalid_size ... ok [INFO] [stdout] test test_memory_pool_allocation ... ok [INFO] [stdout] test test_packet_allocation_too_large ... ok [INFO] [stdout] test test_memory_pool_exhaustion ... ok [INFO] [stdout] test test_packet_data_access ... ok [INFO] [stdout] test test_packet_clone ... ok [INFO] [stdout] test test_packet_headroom_access ... ok [INFO] [stdout] test test_packet_allocation_and_deallocation ... ok [INFO] [stdout] test test_packet_headroom_too_large - should panic ... ok [INFO] [stderr] Doc-tests ixgbe_driver [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/hal.rs - hal (line 21) ... ignored [INFO] [stdout] test src/ixgbe.rs - ixgbe (line 35) ... ignored [INFO] [stdout] test src/lib.rs - (line 19) ... ignored [INFO] [stdout] test src/lib.rs - NicDevice (line 149) ... ignored [INFO] [stdout] test src/lib.rs - NicDevice::receive_packets (line 226) ... ignored [INFO] [stdout] test src/memory.rs - memory (line 18) ... ignored [INFO] [stdout] test src/memory.rs - memory::MemPool (line 76) ... ignored [INFO] [stdout] test src/memory.rs - memory::Packet (line 257) ... ignored [INFO] [stdout] test src/memory.rs - memory::alloc_pkt (line 412) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 9 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9f24bc341b9a6bd6e6277918bc1f193c0480b02a6835bf3a7dcf1c37195e68db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f24bc341b9a6bd6e6277918bc1f193c0480b02a6835bf3a7dcf1c37195e68db", kill_on_drop: false }` [INFO] [stdout] 9f24bc341b9a6bd6e6277918bc1f193c0480b02a6835bf3a7dcf1c37195e68db