[INFO] cloning repository https://github.com/Pwootage/bstruct_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pwootage/bstruct_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPwootage%2Fbstruct_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPwootage%2Fbstruct_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56b88731cd3a16252b244c2aaed1e5ea2a107eae [INFO] checking Pwootage/bstruct_rust/56b88731cd3a16252b244c2aaed1e5ea2a107eae against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPwootage%2Fbstruct_rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pwootage/bstruct_rust on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pwootage/bstruct_rust [INFO] finished tweaking git repo https://github.com/Pwootage/bstruct_rust [INFO] tweaked toml for git repo https://github.com/Pwootage/bstruct_rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pwootage/bstruct_rust 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc99a55bfad32c19daf6a287d9b2882adc9ffd23d3e4123ea822d91bffc510b7 [INFO] running `Command { std: "docker" "start" "-a" "bc99a55bfad32c19daf6a287d9b2882adc9ffd23d3e4123ea822d91bffc510b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc99a55bfad32c19daf6a287d9b2882adc9ffd23d3e4123ea822d91bffc510b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc99a55bfad32c19daf6a287d9b2882adc9ffd23d3e4123ea822d91bffc510b7", kill_on_drop: false }` [INFO] [stdout] bc99a55bfad32c19daf6a287d9b2882adc9ffd23d3e4123ea822d91bffc510b7 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a130b10e6f63e614c5d5464c9e63ee00b1a25b1c95d004d568b9682fcb51e4 [INFO] running `Command { std: "docker" "start" "-a" "e6a130b10e6f63e614c5d5464c9e63ee00b1a25b1c95d004d568b9682fcb51e4", 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.69 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cbindgen v0.26.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling pest v2.7.4 [INFO] [stderr] Compiling pest_meta v2.7.4 [INFO] [stderr] Compiling pest_generator v2.7.4 [INFO] [stderr] Compiling pest_derive v2.7.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bstruct v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bstruct_link.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | CString::from_raw(r.value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 116 | let _ = CString::from_raw(r.value); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | CString::from_raw(r.value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 116 | let _ = CString::from_raw(r.value); [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.78s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling bstruct v0.1.0 (/tmp/fixit) [INFO] [stderr] error: failed to run custom build command for `bstruct v0.1.0 (/tmp/fixit)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/bstruct-2ff2f9446bd7691f/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at build.rs:17:6: [INFO] [stderr] Unable to generate bindings: ParseSyntaxError { crate_name: "bstruct", src_path: "/tmp/fixit/src/lib.rs", error: Error("expected path") } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x57d202576a5a - std::backtrace_rs::backtrace::libunwind::trace::h783ebedc0104095b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x57d202576a5a - std::backtrace_rs::backtrace::trace_unsynchronized::h34818374fc0b6b78 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x57d202576a5a - std::sys::backtrace::_print_fmt::hd5981cd97d9117ef [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x57d202576a5a - ::fmt::hcbd4016134536e7b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x57d20259eeab - core::fmt::rt::Argument::fmt::h78f7d1c688b9afe5 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x57d20259eeab - core::fmt::write::hbd4b08e4de8d6f86 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/mod.rs:1186:21 [INFO] [stderr] 6: 0x57d202573763 - std::io::Write::write_fmt::h4c2d609b5a0eccd1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/io/mod.rs:1823:15 [INFO] [stderr] 7: 0x57d2025768a2 - std::sys::backtrace::BacktraceLock::print::h665a1f85637eba6c [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x57d202577d87 - std::panicking::default_hook::{{closure}}::h9accc11d42952801 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x57d202577bb6 - std::panicking::default_hook::h69a4769a07d287e2 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x57d2025783c7 - std::panicking::rust_panic_with_hook::h74592f259a49b2d6 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x57d202578267 - std::panicking::begin_panic_handler::{{closure}}::hc0a56168fb0a06ce [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x57d202576f39 - std::sys::backtrace::__rust_end_short_backtrace::h6739919067f5762e [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x57d202577ef4 - rust_begin_unwind [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x57d20259d5c3 - core::panicking::panic_fmt::h1308fb333da65a11 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/panicking.rs:74:14 [INFO] [stderr] 15: 0x57d20259da46 - core::result::unwrap_failed::h91567f187ce6fe65 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/result.rs:1689:5 [INFO] [stderr] 16: 0x57d2021caf68 - core::result::Result::expect::h985a9f4dbd0a7322 [INFO] [stderr] 17: 0x57d2021c6e86 - build_script_build::main::h96b92eddf215e1a1 [INFO] [stderr] 18: 0x57d2021bdfa3 - core::ops::function::FnOnce::call_once::haef4c4d784f032b4 [INFO] [stderr] 19: 0x57d2021c3286 - std::sys::backtrace::__rust_begin_short_backtrace::h2bbc0ab1f5cd0535 [INFO] [stderr] 20: 0x57d2021c77a9 - std::rt::lang_start::{{closure}}::hddaae96172de3b9a [INFO] [stderr] 21: 0x57d202570410 - core::ops::function::impls:: for &F>::call_once::he8ef3f06ab422d00 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 22: 0x57d202570410 - std::panicking::try::do_call::h098c245e0dfa6103 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 23: 0x57d202570410 - std::panicking::try::hd059086dad131f0b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 24: 0x57d202570410 - std::panic::catch_unwind::hd036f0b7d6a4c7e1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 25: 0x57d202570410 - std::rt::lang_start_internal::{{closure}}::h8beaecdd4df7cb9f [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:48 [INFO] [stderr] 26: 0x57d202570410 - std::panicking::try::do_call::hf5501abf8d50286a [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 27: 0x57d202570410 - std::panicking::try::hc4096a14bc6803ea [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 28: 0x57d202570410 - std::panic::catch_unwind::h6739a5ceee88f204 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 29: 0x57d202570410 - std::rt::lang_start_internal::h618fdb8d0eec4811 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:20 [INFO] [stderr] 30: 0x57d2021c7787 - std::rt::lang_start::h0a4bcd7b304569db [INFO] [stderr] 31: 0x57d2021c71b5 - main [INFO] [stderr] 32: 0x7c5f4aa46d90 - [INFO] [stderr] 33: 0x7c5f4aa46e40 - __libc_start_main [INFO] [stderr] 34: 0x57d202188dc5 - _start [INFO] [stderr] 35: 0x0 - [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e6a130b10e6f63e614c5d5464c9e63ee00b1a25b1c95d004d568b9682fcb51e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a130b10e6f63e614c5d5464c9e63ee00b1a25b1c95d004d568b9682fcb51e4", kill_on_drop: false }` [INFO] [stdout] e6a130b10e6f63e614c5d5464c9e63ee00b1a25b1c95d004d568b9682fcb51e4