[INFO] fetching crate packetvisor 1.0.1... [INFO] testing packetvisor-1.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate packetvisor 1.0.1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate packetvisor 1.0.1 [INFO] finished tweaking crates.io crate packetvisor 1.0.1 [INFO] tweaked toml for crates.io crate packetvisor 1.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate packetvisor 1.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate packetvisor 1.0.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bfb434d26b787348ccee27fe72dab32dd055b028a25f7323cff68b3784ace90 [INFO] running `Command { std: "docker" "start" "-a" "4bfb434d26b787348ccee27fe72dab32dd055b028a25f7323cff68b3784ace90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bfb434d26b787348ccee27fe72dab32dd055b028a25f7323cff68b3784ace90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bfb434d26b787348ccee27fe72dab32dd055b028a25f7323cff68b3784ace90", kill_on_drop: false }` [INFO] [stdout] 4bfb434d26b787348ccee27fe72dab32dd055b028a25f7323cff68b3784ace90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fbb3fe2474ffd88c5a4bcece5799f6d316b8de7c5b0c524744a1a866467730a [INFO] running `Command { std: "docker" "start" "-a" "1fbb3fe2474ffd88c5a4bcece5799f6d316b8de7c5b0c524744a1a866467730a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling pnet_base v0.33.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling pnet_macros_support v0.33.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling pnet v0.33.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling pnet_sys v0.33.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling pnet_macros v0.33.0 [INFO] [stderr] Compiling pnet_packet v0.33.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling pnet_datalink v0.33.0 [INFO] [stderr] Compiling pnet_transport v0.33.0 [INFO] [stderr] Compiling packetvisor v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | if unsafe { POOL.as_ref() }.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | POOL.as_mut().unwrap().refcount += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:576:17 [INFO] [stdout] | [INFO] [stdout] 576 | POOL.as_mut().unwrap().umem, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | match unsafe { POOL.as_ref().unwrap().refcount } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:589:47 [INFO] [stdout] | [INFO] [stdout] 589 | unsafe { xsk_umem__delete(POOL.as_mut().unwrap().umem) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:612:21 [INFO] [stdout] | [INFO] [stdout] 612 | POOL.as_mut().unwrap().umem, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:615:26 [INFO] [stdout] | [INFO] [stdout] 615 | &mut POOL.as_mut().unwrap().umem_fq, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:616:26 [INFO] [stdout] | [INFO] [stdout] 616 | &mut POOL.as_mut().unwrap().umem_cq, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:641:21 [INFO] [stdout] | [INFO] [stdout] 641 | if unsafe { POOL.as_ref().unwrap().refcount == 0 } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:642:37 [INFO] [stdout] | [INFO] [stdout] 642 | self.umem_fq = unsafe { POOL.as_ref().unwrap().umem_fq }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:643:37 [INFO] [stdout] | [INFO] [stdout] 643 | self.umem_cq = unsafe { POOL.as_ref().unwrap().umem_cq }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | POOL.as_mut().unwrap().umem_fq = std::ptr::read(fq_ptr.cast::()); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:649:17 [INFO] [stdout] | [INFO] [stdout] 649 | POOL.as_mut().unwrap().umem_cq = std::ptr::read(cq_ptr.cast::()); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:653:32 [INFO] [stdout] | [INFO] [stdout] 653 | let fq_size = unsafe { POOL.as_mut().unwrap().buffer_pool.borrow().fq_size }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:671:18 [INFO] [stdout] | [INFO] [stdout] 671 | unsafe { POOL.as_mut().unwrap().try_alloc_packet() } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().send( [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().recv( [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:704:18 [INFO] [stdout] | [INFO] [stdout] 704 | &POOL.as_mut().unwrap().buffer_pool, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | POOL.as_mut().unwrap().refcount -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "1fbb3fe2474ffd88c5a4bcece5799f6d316b8de7c5b0c524744a1a866467730a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbb3fe2474ffd88c5a4bcece5799f6d316b8de7c5b0c524744a1a866467730a", kill_on_drop: false }` [INFO] [stdout] 1fbb3fe2474ffd88c5a4bcece5799f6d316b8de7c5b0c524744a1a866467730a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16a5813edc2e3174f9594ab75e5b84fc32bd9bdf5cf677c0d8c6041d2c3cd35b [INFO] running `Command { std: "docker" "start" "-a" "16a5813edc2e3174f9594ab75e5b84fc32bd9bdf5cf677c0d8c6041d2c3cd35b", kill_on_drop: false }` [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | if unsafe { POOL.as_ref() }.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | POOL.as_mut().unwrap().refcount += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:576:17 [INFO] [stdout] | [INFO] [stdout] 576 | POOL.as_mut().unwrap().umem, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | match unsafe { POOL.as_ref().unwrap().refcount } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:589:47 [INFO] [stdout] | [INFO] [stdout] 589 | unsafe { xsk_umem__delete(POOL.as_mut().unwrap().umem) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:612:21 [INFO] [stdout] | [INFO] [stdout] 612 | POOL.as_mut().unwrap().umem, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:615:26 [INFO] [stdout] | [INFO] [stdout] 615 | &mut POOL.as_mut().unwrap().umem_fq, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:616:26 [INFO] [stdout] | [INFO] [stdout] 616 | &mut POOL.as_mut().unwrap().umem_cq, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:641:21 [INFO] [stdout] | [INFO] [stdout] 641 | if unsafe { POOL.as_ref().unwrap().refcount == 0 } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:642:37 [INFO] [stdout] | [INFO] [stdout] 642 | self.umem_fq = unsafe { POOL.as_ref().unwrap().umem_fq }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:643:37 [INFO] [stdout] | [INFO] [stdout] 643 | self.umem_cq = unsafe { POOL.as_ref().unwrap().umem_cq }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | POOL.as_mut().unwrap().umem_fq = std::ptr::read(fq_ptr.cast::()); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:649:17 [INFO] [stdout] | [INFO] [stdout] 649 | POOL.as_mut().unwrap().umem_cq = std::ptr::read(cq_ptr.cast::()); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:653:32 [INFO] [stdout] | [INFO] [stdout] 653 | let fq_size = unsafe { POOL.as_mut().unwrap().buffer_pool.borrow().fq_size }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:671:18 [INFO] [stdout] | [INFO] [stdout] 671 | unsafe { POOL.as_mut().unwrap().try_alloc_packet() } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().send( [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().recv( [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:704:18 [INFO] [stdout] | [INFO] [stdout] 704 | &POOL.as_mut().unwrap().buffer_pool, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | POOL.as_mut().unwrap().refcount -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling packetvisor v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:381:21 [INFO] [stdout] | [INFO] [stdout] 381 | if unsafe { POOL.as_ref() }.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:540:21 [INFO] [stdout] | [INFO] [stdout] 540 | POOL.as_mut().unwrap().refcount += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:576:17 [INFO] [stdout] | [INFO] [stdout] 576 | POOL.as_mut().unwrap().umem, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | match unsafe { POOL.as_ref().unwrap().refcount } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:589:47 [INFO] [stdout] | [INFO] [stdout] 589 | unsafe { xsk_umem__delete(POOL.as_mut().unwrap().umem) }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:592:25 [INFO] [stdout] | [INFO] [stdout] 592 | POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:612:21 [INFO] [stdout] | [INFO] [stdout] 612 | POOL.as_mut().unwrap().umem, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:615:26 [INFO] [stdout] | [INFO] [stdout] 615 | &mut POOL.as_mut().unwrap().umem_fq, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:616:26 [INFO] [stdout] | [INFO] [stdout] 616 | &mut POOL.as_mut().unwrap().umem_cq, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:641:21 [INFO] [stdout] | [INFO] [stdout] 641 | if unsafe { POOL.as_ref().unwrap().refcount == 0 } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:642:37 [INFO] [stdout] | [INFO] [stdout] 642 | self.umem_fq = unsafe { POOL.as_ref().unwrap().umem_fq }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:643:37 [INFO] [stdout] | [INFO] [stdout] 643 | self.umem_cq = unsafe { POOL.as_ref().unwrap().umem_cq }; [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | POOL.as_mut().unwrap().umem_fq = std::ptr::read(fq_ptr.cast::()); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:649:17 [INFO] [stdout] | [INFO] [stdout] 649 | POOL.as_mut().unwrap().umem_cq = std::ptr::read(cq_ptr.cast::()); [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:653:32 [INFO] [stdout] | [INFO] [stdout] 653 | let fq_size = unsafe { POOL.as_mut().unwrap().buffer_pool.borrow().fq_size }; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:655:13 [INFO] [stdout] | [INFO] [stdout] 655 | POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:671:18 [INFO] [stdout] | [INFO] [stdout] 671 | unsafe { POOL.as_mut().unwrap().try_alloc_packet() } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().send( [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().recv( [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:704:18 [INFO] [stdout] | [INFO] [stdout] 704 | &POOL.as_mut().unwrap().buffer_pool, [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:854:13 [INFO] [stdout] | [INFO] [stdout] 854 | POOL.as_mut().unwrap().refcount -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 33.23s [INFO] running `Command { std: "docker" "inspect" "16a5813edc2e3174f9594ab75e5b84fc32bd9bdf5cf677c0d8c6041d2c3cd35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a5813edc2e3174f9594ab75e5b84fc32bd9bdf5cf677c0d8c6041d2c3cd35b", kill_on_drop: false }` [INFO] [stdout] 16a5813edc2e3174f9594ab75e5b84fc32bd9bdf5cf677c0d8c6041d2c3cd35b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 08b66325a4288d5c4e9ee30f93889d6258a5b8f3213c53ad485ebf242e990662 [INFO] running `Command { std: "docker" "start" "-a" "08b66325a4288d5c4e9ee30f93889d6258a5b8f3213c53ad485ebf242e990662", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:381:21 [INFO] [stderr] | [INFO] [stderr] 381 | if unsafe { POOL.as_ref() }.is_none() { [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:540:21 [INFO] [stderr] | [INFO] [stderr] 540 | POOL.as_mut().unwrap().refcount += 1; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:576:17 [INFO] [stderr] | [INFO] [stderr] 576 | POOL.as_mut().unwrap().umem, [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:586:28 [INFO] [stderr] | [INFO] [stderr] 586 | match unsafe { POOL.as_ref().unwrap().refcount } { [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:589:47 [INFO] [stderr] | [INFO] [stderr] 589 | unsafe { xsk_umem__delete(POOL.as_mut().unwrap().umem) }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:592:25 [INFO] [stderr] | [INFO] [stderr] 592 | POOL.as_mut() [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:612:21 [INFO] [stderr] | [INFO] [stderr] 612 | POOL.as_mut().unwrap().umem, [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:615:26 [INFO] [stderr] | [INFO] [stderr] 615 | &mut POOL.as_mut().unwrap().umem_fq, [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:616:26 [INFO] [stderr] | [INFO] [stderr] 616 | &mut POOL.as_mut().unwrap().umem_cq, [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:641:21 [INFO] [stderr] | [INFO] [stderr] 641 | if unsafe { POOL.as_ref().unwrap().refcount == 0 } { [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:642:37 [INFO] [stderr] | [INFO] [stderr] 642 | self.umem_fq = unsafe { POOL.as_ref().unwrap().umem_fq }; [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:643:37 [INFO] [stderr] | [INFO] [stderr] 643 | self.umem_cq = unsafe { POOL.as_ref().unwrap().umem_cq }; [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:648:17 [INFO] [stderr] | [INFO] [stderr] 648 | POOL.as_mut().unwrap().umem_fq = std::ptr::read(fq_ptr.cast::()); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:649:17 [INFO] [stderr] | [INFO] [stderr] 649 | POOL.as_mut().unwrap().umem_cq = std::ptr::read(cq_ptr.cast::()); [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:653:32 [INFO] [stderr] | [INFO] [stderr] 653 | let fq_size = unsafe { POOL.as_mut().unwrap().buffer_pool.borrow().fq_size }; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:655:13 [INFO] [stderr] | [INFO] [stderr] 655 | POOL.as_mut() [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:671:18 [INFO] [stderr] | [INFO] [stderr] 671 | unsafe { POOL.as_mut().unwrap().try_alloc_packet() } [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:683:13 [INFO] [stderr] | [INFO] [stderr] 683 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().send( [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:703:13 [INFO] [stderr] | [INFO] [stderr] 703 | POOL.as_mut().unwrap().buffer_pool.borrow_mut().recv( [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:704:18 [INFO] [stderr] | [INFO] [stderr] 704 | &POOL.as_mut().unwrap().buffer_pool, [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:854:13 [INFO] [stderr] | [INFO] [stderr] 854 | POOL.as_mut().unwrap().refcount -= 1; [INFO] [stderr] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `packetvisor` (lib) generated 21 warnings [INFO] [stderr] warning: `packetvisor` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pv-2e6f6837d810ac71) [INFO] [stdout] [INFO] [stdout] running 291 tests [INFO] [stdout] test bindings::bindgen_test_layout__G_fpos64_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout__IO_FILE ... ok [INFO] [stdout] test bindings::bindgen_test_layout___atomic_wide_counter ... ok [INFO] [stdout] test bindings::bindgen_test_layout___atomic_wide_counter__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___kernel_fd_set ... ok [INFO] [stdout] test bindings::bindgen_test_layout___kernel_fsid_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout___kernel_sockaddr_storage__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___kernel_sockaddr_storage ... ok [INFO] [stdout] test bindings::bindgen_test_layout___kernel_sockaddr_storage__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___mbstate_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout___locale_struct ... ok [INFO] [stdout] test bindings::bindgen_test_layout___mbstate_t__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___once_flag ... ok [INFO] [stdout] test bindings::bindgen_test_layout___pthread_cond_s ... ok [INFO] [stdout] test bindings::bindgen_test_layout__IO_cookie_io_functions_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout___pthread_mutex_s ... ok [INFO] [stdout] test bindings::bindgen_test_layout___pthread_internal_slist ... ok [INFO] [stdout] test bindings::bindgen_test_layout___sk_buff ... ok [INFO] [stdout] test bindings::bindgen_test_layout___sk_buff__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_10__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___sigset_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_11 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_12 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___sk_buff__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_10 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___va_list_tag ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_6 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_6__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_7 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_8 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_8__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_15 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___fsid_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_15__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_15__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_18 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_16 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_19 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_2__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___pthread_internal_list ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_4__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_5 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_6 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_6__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_6__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_4 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_10__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_4 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_7 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_17 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_8 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_8__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout___pthread_rwlock_arch_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_9 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_btf_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_btf_load_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_cgroup_dev_ctx ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_core_relo ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_cpumap_val ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_cpumap_val__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_devmap_val ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_devmap_val__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_cgroup_storage_key ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_fib_lookup ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_fib_lookup__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_fib_lookup__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_fib_lookup__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_dynptr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_fib_lookup__bindgen_ty_4 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_flow_keys__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_flow_keys__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_fib_lookup__bindgen_ty_5__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_flow_keys__bindgen_ty_1__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_fib_lookup__bindgen_ty_5 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_func_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_iter_link_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_iter_link_info__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_flow_keys ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_iter_link_info__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_iter_num ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_kprobe_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_ksyscall_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_iter_attach_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_line_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_create_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_create_opts__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_create_opts__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_iter_link_info__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_insn ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_create_opts__bindgen_ty_1__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_kprobe_multi_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_10 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1__bindgen_ty_4 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_13 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_12 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_5 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_6 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_7 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_4 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_8 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_2__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_9 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_4__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_list_head ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_list_node ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_lpm_trie_key ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_lpm_trie_key_hdr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_lpm_trie_key_u8 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_lpm_trie_key_u8__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_update_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_linker_file_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_linker_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_map_batch_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_map_create_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_map_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_map_skeleton ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_obj_get_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_object_open_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_object_skeleton ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_object_subskeleton ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_perf_event_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_11 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_info__bindgen_ty_1__bindgen_ty_11__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_prog_attach_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_perf_event_value ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_prog_bind_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_prog_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_prog_query_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_pidns_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_prog_test_run_attr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_prog_load_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_rb_node ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_rb_root ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_prog_skeleton ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_redir_neigh__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_raw_tracepoint_args ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sk_lookup ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sk_lookup__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sk_lookup__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_redir_neigh ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_addr__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_ops__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_ops__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_ops ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_ops__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_ops__bindgen_ty_4 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_addr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_refcount ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_tuple ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_tuple__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_tuple__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sock_tuple__bindgen_ty_1__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sockopt__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sockopt__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sockopt__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sockopt ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_stack_build_id ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_stack_build_id__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tc_hook ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tc_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_spin_lock ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_sysctl ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_test_run_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_timer ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_trace_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tcp_sock ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tracepoint_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tunnel_key__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_uprobe_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tunnel_key ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tunnel_key__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_usdt_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_var_skeleton ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_xdp_attach_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_xdp_query_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_xdp_sock ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_xfrm_state ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_xfrm_state__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_btf_ptr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_datarec ... ok [INFO] [stdout] test bindings::bindgen_test_layout_datarec__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_fd_set ... ok [INFO] [stdout] test bindings::bindgen_test_layout_gen_loader_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_if_stats_msg ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_bridge_id ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_tunnel_key__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_cacheinfo ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_spoofchk ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_xdp_set_link_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_port_vsi ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_rmnet_flags ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_guid ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_link_state ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_broadcast ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vlan_qos_mapping ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_rss_query_en ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_tx_rate ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_trust ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vlan_flags ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_vlan ... ok [INFO] [stdout] test bindings::bindgen_test_layout_nl_mmap_hdr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_libbpf_prog_handler_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vxlan_port_range ... ok [INFO] [stdout] test bindings::bindgen_test_layout_max_align_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_mac ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_vlan_info ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_link_create_opts__bindgen_ty_1__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ifla_vf_rate ... ok [INFO] [stdout] test bindings::bindgen_test_layout_nla_bitfield32 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_nlattr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_nlmsgerr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_nlmsghdr ... ok [INFO] [stdout] test bindings::bindgen_test_layout_perf_buffer_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_perf_buffer_raw_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_attr_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_barrier_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_condattr_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_mutex_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_barrierattr_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_rwlock_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_rwlockattr_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_mutexattr_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_ring_buffer_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_rtnl_hw_stats64 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_rtnl_link_ifmap ... ok [INFO] [stdout] test bindings::bindgen_test_layout_rtnl_link_stats64 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_msg_md ... ok [INFO] [stdout] test bindings::bindgen_test_layout_pthread_cond_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_rtnl_link_stats ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_reuseport_md__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_msg_md__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_reuseport_md ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_reuseport_md__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_reuseport_md__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_msg_md__bindgen_ty_3 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_reuseport_md__bindgen_ty_4 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sockaddr_nl ... ok [INFO] [stdout] test bindings::bindgen_test_layout_timeval ... ok [INFO] [stdout] test bindings::bindgen_test_layout_tunnel_msg ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_desc ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_dispatcher_config ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_options ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_mmap_offsets ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_md ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_statistics ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_ring_offset ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_stats_record ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_program_opts ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_stats_record__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_stats_record__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xdp_umem_reg ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_ring_cons ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_socket_config ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_ring_prod ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_socket_config__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_tx_metadata ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_tx_metadata__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_tx_metadata__bindgen_ty_1__bindgen_ty_1 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_tx_metadata__bindgen_ty_1__bindgen_ty_2 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_xsk_umem_config ... ok [INFO] [stdout] test bindings::bindgen_test_layout_timespec ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sockaddr_xdp ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_13 ... ok [INFO] [stdout] test bindings::bindgen_test_layout_bpf_attr__bindgen_ty_14__bindgen_ty_3__bindgen_ty_5 ... ok [INFO] [stdout] test bindings::bindgen_test_layout__G_fpos_t ... ok [INFO] [stdout] test bindings::bindgen_test_layout_nl_mmap_req ... ok [INFO] [stdout] test bindings::bindgen_test_layout_nl_pktinfo ... ok [INFO] [stdout] test bindings::bindgen_test_layout_sk_msg_md__bindgen_ty_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 291 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "08b66325a4288d5c4e9ee30f93889d6258a5b8f3213c53ad485ebf242e990662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b66325a4288d5c4e9ee30f93889d6258a5b8f3213c53ad485ebf242e990662", kill_on_drop: false }` [INFO] [stdout] 08b66325a4288d5c4e9ee30f93889d6258a5b8f3213c53ad485ebf242e990662