[INFO] cloning repository https://github.com/diwuwudi123/rust-cgo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diwuwudi123/rust-cgo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiwuwudi123%2Frust-cgo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiwuwudi123%2Frust-cgo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c111bcb1f26f7736f6c871f9b3c3377ed3649fcc [INFO] checking diwuwudi123/rust-cgo/c111bcb1f26f7736f6c871f9b3c3377ed3649fcc against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiwuwudi123%2Frust-cgo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diwuwudi123/rust-cgo on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diwuwudi123/rust-cgo [INFO] finished tweaking git repo https://github.com/diwuwudi123/rust-cgo [INFO] tweaked toml for git repo https://github.com/diwuwudi123/rust-cgo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/diwuwudi123/rust-cgo 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ded876599a1cf4ac6424aa92ade90f66ee326066d476cb0edf0e7cbe7d2d9c4 [INFO] running `Command { std: "docker" "start" "-a" "0ded876599a1cf4ac6424aa92ade90f66ee326066d476cb0edf0e7cbe7d2d9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ded876599a1cf4ac6424aa92ade90f66ee326066d476cb0edf0e7cbe7d2d9c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ded876599a1cf4ac6424aa92ade90f66ee326066d476cb0edf0e7cbe7d2d9c4", kill_on_drop: false }` [INFO] [stdout] 0ded876599a1cf4ac6424aa92ade90f66ee326066d476cb0edf0e7cbe7d2d9c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e66731de65ab8f60570346df1b97af8300df30062dca1d20b9967958a44cc654 [INFO] running `Command { std: "docker" "start" "-a" "e66731de65ab8f60570346df1b97af8300df30062dca1d20b9967958a44cc654", 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 serde v1.0.189 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cbindgen v0.20.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling test-window 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/lib.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.50s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling test-window v0.1.0 (/tmp/fixit) [INFO] [stderr] error: failed to run custom build command for `test-window 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/test-window-3ba0a119bad9e665/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] res is Ok(Config { header: None, includes: [], sys_includes: [], after_includes: None, trailer: None, include_guard: None, pragma_once: false, no_includes: false, autogen_warning: None, include_version: false, namespace: None, namespaces: None, using_namespaces: None, braces: SameLine, line_length: 100, tab_width: 2, line_endings: LF, language: C, cpp_compat: false, style: Both, sort_by: None, usize_is_size_t: false, parse: ParseConfig { parse_deps: false, include: None, exclude: [], expand: ParseExpandConfig { crates: [], all_features: false, default_features: true, features: None, profile: Debug }, clean: false, extra_bindings: [] }, export: ExportConfig { include: [], exclude: [], rename: {}, pre_body: {}, body: {}, prefix: None, item_types: [], renaming_overrides_prefixing: false, mangle: MangleConfig { rename_types: None, remove_underscores: false } }, macro_expansion: MacroExpansionConfig { bitflags: false }, layout: LayoutConfig { packed: None, aligned_n: None }, function: FunctionConfig { prefix: None, postfix: None, must_use: None, args: Auto, rename_args: None, swift_name_macro: None, sort_by: None, no_return: None }, structure: StructConfig { rename_fields: None, derive_constructor: false, derive_eq: false, derive_neq: false, derive_lt: false, derive_lte: false, derive_gt: false, derive_gte: false, derive_ostream: false, associated_constants_in_body: false, must_use: None }, enumeration: EnumConfig { rename_variants: None, add_sentinel: false, prefix_with_name: false, derive_helper_methods: false, derive_const_casts: false, derive_mut_casts: false, cast_assert_name: None, must_use: None, derive_tagged_enum_destructor: false, derive_tagged_enum_copy_constructor: false, derive_tagged_enum_copy_assignment: false, derive_ostream: false, enum_class: true, private_default_tagged_enum_constructor: false }, constant: ConstantConfig { allow_static_const: true, allow_constexpr: false, sort_by: None }, defines: {}, documentation: true, documentation_style: Auto, pointer: PtrConfig { non_null_attribute: None }, only_target_dependencies: false, cython: CythonConfig { header: None, cimports: {} } }) [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at build.rs:13:10: [INFO] [stderr] Unable to generate bindings: ParseSyntaxError { crate_name: "test-window", src_path: "/tmp/fixit/src/lib.rs", error: Error("expected path") } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5d7d1641422a - std::backtrace_rs::backtrace::libunwind::trace::h6dc1ecc6eb195610 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x5d7d1641422a - std::backtrace_rs::backtrace::trace_unsynchronized::h13e22390d0cfd6a1 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x5d7d1641422a - std::sys::backtrace::_print_fmt::h8bdaaa7ca9934398 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d7d1641422a - ::fmt::h9345d22ed21706cc [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d7d1643d533 - core::fmt::rt::Argument::fmt::h2cca19b1f66f2d23 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5d7d1643d533 - core::fmt::write::h2500b1352f316079 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/fmt/mod.rs:1189:21 [INFO] [stderr] 6: 0x5d7d16410ef3 - std::io::Write::write_fmt::h36974ea4e6365d05 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/io/mod.rs:1884:15 [INFO] [stderr] 7: 0x5d7d16414072 - std::sys::backtrace::BacktraceLock::print::h0f0d1453e0aceb58 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5d7d1641526c - std::panicking::default_hook::{{closure}}::h88876023b738216e [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x5d7d164150b2 - std::panicking::default_hook::hce1c8b9688f54889 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x5d7d164158a7 - std::panicking::rust_panic_with_hook::h370f6c3f97610c5b [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x5d7d1641573a - std::panicking::begin_panic_handler::{{closure}}::h4a48a69b3d728c8f [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x5d7d16414709 - std::sys::backtrace::__rust_end_short_backtrace::h9223f86cc6cba169 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x5d7d164153cc - rust_begin_unwind [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x5d7d1643bc30 - core::panicking::panic_fmt::h7eb6f19cba4dc104 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/panicking.rs:76:14 [INFO] [stderr] 15: 0x5d7d1643c0b6 - core::result::unwrap_failed::h79016c8ce2cfc7da [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/result.rs:1699:5 [INFO] [stderr] 16: 0x5d7d160dec58 - core::result::Result::expect::h09cbb10b6567b446 [INFO] [stderr] 17: 0x5d7d16121673 - build_script_build::main::ha9ae16ad652c262b [INFO] [stderr] 18: 0x5d7d1611d403 - core::ops::function::FnOnce::call_once::h669d7bf5eb8f015e [INFO] [stderr] 19: 0x5d7d16102406 - std::sys::backtrace::__rust_begin_short_backtrace::h4d96e0f8980260f7 [INFO] [stderr] 20: 0x5d7d160e7eb9 - std::rt::lang_start::{{closure}}::h1680c9140d734b23 [INFO] [stderr] 21: 0x5d7d1640d027 - core::ops::function::impls:: for &F>::call_once::hb0c1b75498f53183 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 22: 0x5d7d1640d027 - std::panicking::try::do_call::hca47d321f039f032 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:557:40 [INFO] [stderr] 23: 0x5d7d1640d027 - std::panicking::try::h71118d95decf49c2 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:520:19 [INFO] [stderr] 24: 0x5d7d1640d027 - std::panic::catch_unwind::h7aef0fc541fa093c [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panic.rs:358:14 [INFO] [stderr] 25: 0x5d7d1640d027 - std::rt::lang_start_internal::{{closure}}::h05bed5f203561daa [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/rt.rs:174:48 [INFO] [stderr] 26: 0x5d7d1640d027 - std::panicking::try::do_call::haba3e4b0f9c87568 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:557:40 [INFO] [stderr] 27: 0x5d7d1640d027 - std::panicking::try::h8ff340311041ebba [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:520:19 [INFO] [stderr] 28: 0x5d7d1640d027 - std::panic::catch_unwind::h51a4d6c7574d7042 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panic.rs:358:14 [INFO] [stderr] 29: 0x5d7d1640d027 - std::rt::lang_start_internal::h98df6e41937416b3 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/rt.rs:174:20 [INFO] [stderr] 30: 0x5d7d160e7e97 - std::rt::lang_start::h9b328211194a8fb9 [INFO] [stderr] 31: 0x5d7d16121755 - main [INFO] [stderr] 32: 0x7559ba4edd90 - [INFO] [stderr] 33: 0x7559ba4ede40 - __libc_start_main [INFO] [stderr] 34: 0x5d7d15fe4ed5 - _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" "e66731de65ab8f60570346df1b97af8300df30062dca1d20b9967958a44cc654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e66731de65ab8f60570346df1b97af8300df30062dca1d20b9967958a44cc654", kill_on_drop: false }` [INFO] [stdout] e66731de65ab8f60570346df1b97af8300df30062dca1d20b9967958a44cc654