[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#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiwuwudi123%2Frust-cgo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diwuwudi123/rust-cgo 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/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-1-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ae4c1ed8b8872a6e779bccbdab1a06e8efc5f6697566baa3c5a0bab42ec94a0 [INFO] running `Command { std: "docker" "start" "-a" "1ae4c1ed8b8872a6e779bccbdab1a06e8efc5f6697566baa3c5a0bab42ec94a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ae4c1ed8b8872a6e779bccbdab1a06e8efc5f6697566baa3c5a0bab42ec94a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ae4c1ed8b8872a6e779bccbdab1a06e8efc5f6697566baa3c5a0bab42ec94a0", kill_on_drop: false }` [INFO] [stdout] 1ae4c1ed8b8872a6e779bccbdab1a06e8efc5f6697566baa3c5a0bab42ec94a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d4c44749e30f06d1bc72c19f547ff78f559ab935f92efa53634c287cc948775 [INFO] running `Command { std: "docker" "start" "-a" "0d4c44749e30f06d1bc72c19f547ff78f559ab935f92efa53634c287cc948775", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cbindgen v0.20.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling clap v2.34.0 [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 8.16s [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: 0x57d78388aeba - 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: 0x57d78388aeba - 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: 0x57d78388aeba - std::sys::backtrace::_print_fmt::hd5981cd97d9117ef [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x57d78388aeba - ::fmt::hcbd4016134536e7b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x57d7838b2e4b - core::fmt::rt::Argument::fmt::h78f7d1c688b9afe5 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x57d7838b2e4b - core::fmt::write::hbd4b08e4de8d6f86 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/fmt/mod.rs:1186:21 [INFO] [stderr] 6: 0x57d783887a83 - std::io::Write::write_fmt::h4c2d609b5a0eccd1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/io/mod.rs:1823:15 [INFO] [stderr] 7: 0x57d78388ad02 - std::sys::backtrace::BacktraceLock::print::h665a1f85637eba6c [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x57d78388c1e7 - std::panicking::default_hook::{{closure}}::h9accc11d42952801 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x57d78388c016 - std::panicking::default_hook::h69a4769a07d287e2 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x57d78388c827 - std::panicking::rust_panic_with_hook::h74592f259a49b2d6 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x57d78388c6c7 - std::panicking::begin_panic_handler::{{closure}}::hc0a56168fb0a06ce [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x57d78388b399 - std::sys::backtrace::__rust_end_short_backtrace::h6739919067f5762e [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x57d78388c354 - rust_begin_unwind [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x57d7838b1563 - core::panicking::panic_fmt::h1308fb333da65a11 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/panicking.rs:74:14 [INFO] [stderr] 15: 0x57d7838b19e6 - core::result::unwrap_failed::h91567f187ce6fe65 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/core/src/result.rs:1689:5 [INFO] [stderr] 16: 0x57d78355ae38 - core::result::Result::expect::hae21dba53541bad5 [INFO] [stderr] 17: 0x57d783583cb3 - build_script_build::main::h864defcd415aaa90 [INFO] [stderr] 18: 0x57d783597c83 - core::ops::function::FnOnce::call_once::h3e7c7da5094d5fa8 [INFO] [stderr] 19: 0x57d78356fbe6 - std::sys::backtrace::__rust_begin_short_backtrace::h3abc275e2bcda4e3 [INFO] [stderr] 20: 0x57d783597659 - std::rt::lang_start::{{closure}}::h61ed57242ff769d5 [INFO] [stderr] 21: 0x57d783883cc0 - 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: 0x57d783883cc0 - std::panicking::try::do_call::h098c245e0dfa6103 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 23: 0x57d783883cc0 - std::panicking::try::hd059086dad131f0b [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 24: 0x57d783883cc0 - std::panic::catch_unwind::hd036f0b7d6a4c7e1 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 25: 0x57d783883cc0 - std::rt::lang_start_internal::{{closure}}::h8beaecdd4df7cb9f [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:48 [INFO] [stderr] 26: 0x57d783883cc0 - std::panicking::try::do_call::hf5501abf8d50286a [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:557:40 [INFO] [stderr] 27: 0x57d783883cc0 - std::panicking::try::hc4096a14bc6803ea [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panicking.rs:520:19 [INFO] [stderr] 28: 0x57d783883cc0 - std::panic::catch_unwind::h6739a5ceee88f204 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/panic.rs:348:14 [INFO] [stderr] 29: 0x57d783883cc0 - std::rt::lang_start_internal::h618fdb8d0eec4811 [INFO] [stderr] at /rustc/ccf408f4326a858c00dd845a64a86b16f360a801/library/std/src/rt.rs:143:20 [INFO] [stderr] 30: 0x57d783597637 - std::rt::lang_start::h8b25acf9195289ac [INFO] [stderr] 31: 0x57d783583d95 - main [INFO] [stderr] 32: 0x703fb2316d90 - [INFO] [stderr] 33: 0x703fb2316e40 - __libc_start_main [INFO] [stderr] 34: 0x57d783461e25 - _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" "0d4c44749e30f06d1bc72c19f547ff78f559ab935f92efa53634c287cc948775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4c44749e30f06d1bc72c19f547ff78f559ab935f92efa53634c287cc948775", kill_on_drop: false }` [INFO] [stdout] 0d4c44749e30f06d1bc72c19f547ff78f559ab935f92efa53634c287cc948775