[INFO] cloning repository https://github.com/FrancescoLuzzi/rust_c_interop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrancescoLuzzi/rust_c_interop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancescoLuzzi%2Frust_c_interop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancescoLuzzi%2Frust_c_interop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bb55ef4c14b3ac276282fdb9643a50549af8a5f [INFO] checking FrancescoLuzzi/rust_c_interop/8bb55ef4c14b3ac276282fdb9643a50549af8a5f against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancescoLuzzi%2Frust_c_interop" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrancescoLuzzi/rust_c_interop 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] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/FrancescoLuzzi/rust_c_interop [INFO] finished tweaking git repo https://github.com/FrancescoLuzzi/rust_c_interop [INFO] tweaked toml for git repo https://github.com/FrancescoLuzzi/rust_c_interop written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FrancescoLuzzi/rust_c_interop 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 77693d4d6efc86634b4151fb10d07e7c80f104bcb6b2fcbf3f4a96d79855cb2c [INFO] running `Command { std: "docker" "start" "-a" "77693d4d6efc86634b4151fb10d07e7c80f104bcb6b2fcbf3f4a96d79855cb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77693d4d6efc86634b4151fb10d07e7c80f104bcb6b2fcbf3f4a96d79855cb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77693d4d6efc86634b4151fb10d07e7c80f104bcb6b2fcbf3f4a96d79855cb2c", kill_on_drop: false }` [INFO] [stdout] 77693d4d6efc86634b4151fb10d07e7c80f104bcb6b2fcbf3f4a96d79855cb2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] cb7e51f37db4cf2aeeaf0e4c8763ebfb32d1e1ba6d5ea45c2c4e76ce2c5811ce [INFO] running `Command { std: "docker" "start" "-a" "cb7e51f37db4cf2aeeaf0e4c8763ebfb32d1e1ba6d5ea45c2c4e76ce2c5811ce", 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.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling cbindgen v0.24.5 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking connection-string v0.2.0 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling enumflags2_derive v0.7.7 [INFO] [stderr] Checking enumflags2 v0.7.7 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking asynchronous-codec v0.6.1 [INFO] [stderr] Checking async-native-tls v0.4.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tiberius v0.12.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling rust_c_interop 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 (6 fixes) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.48s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling rust_c_interop v0.1.0 (/tmp/fixit) [INFO] [stderr] error: failed to run custom build command for `rust_c_interop 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/rust_c_interop-5115095c94fa3ef2/build-script-build` (exit status: 101) [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at build.rs:18:10: [INFO] [stderr] Unable to generate bindings: ParseSyntaxError { crate_name: "rust_c_interop", src_path: "/tmp/fixit/src/lib.rs", error: Error("expected path") } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5596d793f7da - 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: 0x5596d793f7da - 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: 0x5596d793f7da - std::sys::backtrace::_print_fmt::h8bdaaa7ca9934398 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5596d793f7da - ::fmt::h9345d22ed21706cc [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5596d7968ae3 - core::fmt::rt::Argument::fmt::h2cca19b1f66f2d23 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x5596d7968ae3 - core::fmt::write::h2500b1352f316079 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/fmt/mod.rs:1189:21 [INFO] [stderr] 6: 0x5596d793c5e3 - std::io::Write::write_fmt::h36974ea4e6365d05 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/io/mod.rs:1884:15 [INFO] [stderr] 7: 0x5596d793f622 - std::sys::backtrace::BacktraceLock::print::h0f0d1453e0aceb58 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x5596d794081c - std::panicking::default_hook::{{closure}}::h88876023b738216e [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x5596d7940662 - std::panicking::default_hook::hce1c8b9688f54889 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x5596d7940e57 - std::panicking::rust_panic_with_hook::h370f6c3f97610c5b [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x5596d7940cea - std::panicking::begin_panic_handler::{{closure}}::h4a48a69b3d728c8f [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x5596d793fcb9 - std::sys::backtrace::__rust_end_short_backtrace::h9223f86cc6cba169 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x5596d794097c - rust_begin_unwind [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x5596d79671e0 - core::panicking::panic_fmt::h7eb6f19cba4dc104 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/panicking.rs:76:14 [INFO] [stderr] 15: 0x5596d7967666 - core::result::unwrap_failed::h79016c8ce2cfc7da [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/result.rs:1699:5 [INFO] [stderr] 16: 0x5596d760b7e8 - core::result::Result::expect::hfee1f8b02b21c746 [INFO] [stderr] 17: 0x5596d7637075 - build_script_build::main::hbd47b0fd31cd58fa [INFO] [stderr] 18: 0x5596d7640bb3 - core::ops::function::FnOnce::call_once::h7eff724fda8cae57 [INFO] [stderr] 19: 0x5596d7613d46 - std::sys::backtrace::__rust_begin_short_backtrace::ha9d3bdd2164cc8b8 [INFO] [stderr] 20: 0x5596d762e299 - std::rt::lang_start::{{closure}}::h471c641adf7a3063 [INFO] [stderr] 21: 0x5596d7939047 - 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: 0x5596d7939047 - std::panicking::try::do_call::hca47d321f039f032 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:557:40 [INFO] [stderr] 23: 0x5596d7939047 - std::panicking::try::h71118d95decf49c2 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:520:19 [INFO] [stderr] 24: 0x5596d7939047 - std::panic::catch_unwind::h7aef0fc541fa093c [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panic.rs:358:14 [INFO] [stderr] 25: 0x5596d7939047 - std::rt::lang_start_internal::{{closure}}::h05bed5f203561daa [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/rt.rs:174:48 [INFO] [stderr] 26: 0x5596d7939047 - std::panicking::try::do_call::haba3e4b0f9c87568 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:557:40 [INFO] [stderr] 27: 0x5596d7939047 - std::panicking::try::h8ff340311041ebba [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panicking.rs:520:19 [INFO] [stderr] 28: 0x5596d7939047 - std::panic::catch_unwind::h51a4d6c7574d7042 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/panic.rs:358:14 [INFO] [stderr] 29: 0x5596d7939047 - std::rt::lang_start_internal::h98df6e41937416b3 [INFO] [stderr] at /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/rt.rs:174:20 [INFO] [stderr] 30: 0x5596d762e277 - std::rt::lang_start::h61d3db50b5b14fea [INFO] [stderr] 31: 0x5596d76371a5 - main [INFO] [stderr] 32: 0x71b19de76d90 - [INFO] [stderr] 33: 0x71b19de76e40 - __libc_start_main [INFO] [stderr] 34: 0x5596d75156f5 - _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" "cb7e51f37db4cf2aeeaf0e4c8763ebfb32d1e1ba6d5ea45c2c4e76ce2c5811ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7e51f37db4cf2aeeaf0e4c8763ebfb32d1e1ba6d5ea45c2c4e76ce2c5811ce", kill_on_drop: false }` [INFO] [stdout] cb7e51f37db4cf2aeeaf0e4c8763ebfb32d1e1ba6d5ea45c2c4e76ce2c5811ce