[INFO] fetching crate libbpf-cargo 0.24.7... [INFO] checking libbpf-cargo-0.24.7 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate libbpf-cargo 0.24.7 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate libbpf-cargo 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] started tweaking crates.io crate libbpf-cargo 0.24.7 [INFO] finished tweaking crates.io crate libbpf-cargo 0.24.7 [INFO] tweaked toml for crates.io crate libbpf-cargo 0.24.7 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate libbpf-cargo 0.24.7 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4bc91f72c874841f82a596ad4b8e5a2728a49222af0ed3770d00d9a843494f30 [INFO] running `Command { std: "docker" "start" "-a" "4bc91f72c874841f82a596ad4b8e5a2728a49222af0ed3770d00d9a843494f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bc91f72c874841f82a596ad4b8e5a2728a49222af0ed3770d00d9a843494f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc91f72c874841f82a596ad4b8e5a2728a49222af0ed3770d00d9a843494f30", kill_on_drop: false }` [INFO] [stdout] 4bc91f72c874841f82a596ad4b8e5a2728a49222af0ed3770d00d9a843494f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4f35af23503033a300c0baece79b4c1229a98455ea0d544ad1bc18e17f9d61bc [INFO] running `Command { std: "docker" "start" "-a" "4f35af23503033a300c0baece79b4c1229a98455ea0d544ad1bc18e17f9d61bc", 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 proc-macro2 v1.0.74 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling camino v1.1.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling vsprintf v2.0.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking tempfile v3.11.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling libbpf-sys v1.5.0+v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking goblin v0.9.2 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking libbpf-rs v0.24.7 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking cargo_metadata v0.15.4 [INFO] [stderr] Checking libbpf-cargo v0.24.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | gen::gen_single( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | gen::OutputDest::File(output.as_ref()), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gen/mod.rs:1037:13 [INFO] [stdout] | [INFO] [stdout] 1037 | let gen = GenStructOps::new(btf)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gen/mod.rs:1038:18 [INFO] [stdout] | [INFO] [stdout] 1038 | let () = gen.gen_struct_ops_def(&mut skel)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gen/mod.rs:1048:18 [INFO] [stdout] | [INFO] [stdout] 1048 | let () = gen.gen_dependent_types(&mut processed, &mut skel)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/gen/mod.rs:1355:8 [INFO] [stdout] | [INFO] [stdout] 1355 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/make.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/make.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | gen::gen(debug, manifest_path, None, rustfmt_path).context("Failed to generate skeletons")?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/make.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | gen::gen(debug, manifest_path, None, rustfmt_path).context("Failed to generate skeletons")?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::gen::btf::GenBtf; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::gen::btf::GenStructOps; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test.rs:2846:9 [INFO] [stdout] | [INFO] [stdout] 2846 | let gen = GenStructOps::new(&btf).unwrap(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test.rs:2847:14 [INFO] [stdout] | [INFO] [stdout] 2847 | let () = gen.gen_struct_ops_def(&mut def).unwrap(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test.rs:2848:14 [INFO] [stdout] | [INFO] [stdout] 2848 | let () = gen.gen_dependent_types(&mut processed, &mut def).unwrap(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/test.rs:1135:57 [INFO] [stdout] | [INFO] [stdout] 1135 | ($btf:ident, $btf_type:path, $name:literal, $substr:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1135 | ($btf:ident, $btf_type:path, $name:literal, $substr:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `vmlinux` [INFO] [stdout] --> src/test.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | .write_all(vmlinux::VMLINUX) [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `vmlinux` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libbpf-cargo` (lib test) due to 1 previous error; 16 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stderr] Fixed src/gen/mod.rs (6 fixes) [INFO] [stderr] Fixed src/make.rs (3 fixes) [INFO] [stderr] Fixed src/gen/btf.rs (1 fix) [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4f35af23503033a300c0baece79b4c1229a98455ea0d544ad1bc18e17f9d61bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f35af23503033a300c0baece79b4c1229a98455ea0d544ad1bc18e17f9d61bc", kill_on_drop: false }` [INFO] [stdout] 4f35af23503033a300c0baece79b4c1229a98455ea0d544ad1bc18e17f9d61bc