[INFO] fetching crate libbpf-rs 0.24.7... [INFO] checking libbpf-rs-0.24.7 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate libbpf-rs 0.24.7 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate libbpf-rs 0.24.7 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate libbpf-rs 0.24.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libbpf-rs 0.24.7 [INFO] tweaked toml for crates.io crate libbpf-rs 0.24.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding probe v0.3.0 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 971af416914c3caed7e7a0acbbcc8383115b39767147191922322c912203912e [INFO] running `Command { std: "docker" "start" "-a" "971af416914c3caed7e7a0acbbcc8383115b39767147191922322c912203912e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "971af416914c3caed7e7a0acbbcc8383115b39767147191922322c912203912e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "971af416914c3caed7e7a0acbbcc8383115b39767147191922322c912203912e", kill_on_drop: false }` [INFO] [stdout] 971af416914c3caed7e7a0acbbcc8383115b39767147191922322c912203912e [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26b44570155c25313d5a9714c55973fade4bbf62e43cc375b1df124880ec01eb [INFO] running `Command { std: "docker" "start" "-a" "26b44570155c25313d5a9714c55973fade4bbf62e43cc375b1df124880ec01eb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking sdd v3.0.4 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking memmem v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking probe v0.3.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Checking scc v2.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Compiling libbpf-sys v1.5.0+v1.5.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling test-tag v0.1.4 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking libbpf-rs v0.24.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/btf/types.rs (13 fixes) [INFO] [stderr] Fixed src/query.rs (2 fixes) [INFO] [stderr] Migrating tests/test_xdp.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_print.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_tc.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/test.rs:1007:25 [INFO] [stdout] | [INFO] [stdout] 1007 | unsafe { assert_eq!(V1, 1) }; [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/test.rs (1 fix) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/test.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 1008 | unsafe { assert_eq!(V2, 2) }; [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 is discouraged [INFO] [stdout] --> tests/test.rs:1147:25 [INFO] [stdout] | [INFO] [stdout] 1147 | unsafe { assert_eq!(V1, 1) }; [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 is discouraged [INFO] [stdout] --> tests/test.rs:1148:25 [INFO] [stdout] | [INFO] [stdout] 1148 | unsafe { assert_eq!(V2, 2) }; [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 is discouraged [INFO] [stdout] --> tests/test.rs:1162:25 [INFO] [stdout] | [INFO] [stdout] 1162 | unsafe { assert_eq!(V1, 1) }; [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 is discouraged [INFO] [stdout] --> tests/test.rs:1163:25 [INFO] [stdout] | [INFO] [stdout] 1163 | unsafe { assert_eq!(V2, 2) }; [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.80s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking libbpf-rs v0.24.7 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "26b44570155c25313d5a9714c55973fade4bbf62e43cc375b1df124880ec01eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26b44570155c25313d5a9714c55973fade4bbf62e43cc375b1df124880ec01eb", kill_on_drop: false }` [INFO] [stdout] 26b44570155c25313d5a9714c55973fade4bbf62e43cc375b1df124880ec01eb