[INFO] cloning repository https://github.com/qoire/rs-bindgen-cpp-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qoire/rs-bindgen-cpp-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqoire%2Frs-bindgen-cpp-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqoire%2Frs-bindgen-cpp-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1157fa2f9504cea90d7345960074e4eea9b22bfb [INFO] checking qoire/rs-bindgen-cpp-example against try#5ec4d3b0c83717313176eefa7d71e9d36dc83355 for pr-155501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqoire%2Frs-bindgen-cpp-example" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qoire/rs-bindgen-cpp-example [INFO] finished tweaking git repo https://github.com/qoire/rs-bindgen-cpp-example [INFO] tweaked toml for git repo https://github.com/qoire/rs-bindgen-cpp-example written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qoire/rs-bindgen-cpp-example on toolchain 5ec4d3b0c83717313176eefa7d71e9d36dc83355 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qoire/rs-bindgen-cpp-example 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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ea1b3417f496dda7426af369d339348ff532708aa2330e9e4c7eeefa1b43e20 [INFO] running `Command { std: "docker" "start" "-a" "0ea1b3417f496dda7426af369d339348ff532708aa2330e9e4c7eeefa1b43e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ea1b3417f496dda7426af369d339348ff532708aa2330e9e4c7eeefa1b43e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea1b3417f496dda7426af369d339348ff532708aa2330e9e4c7eeefa1b43e20", kill_on_drop: false }` [INFO] [stdout] 0ea1b3417f496dda7426af369d339348ff532708aa2330e9e4c7eeefa1b43e20 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e8249fa11c50dc0f189a9cb08adbdbdb6d2f71ae22e89ffb0adae997ddefc98 [INFO] running `Command { std: "docker" "start" "-a" "7e8249fa11c50dc0f189a9cb08adbdbdb6d2f71ae22e89ffb0adae997ddefc98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rs-bindgen-cpp-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: failed to run custom build command for `rs-bindgen-cpp-example v0.1.0 (/opt/rustwide/workdir)` [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/rs-bindgen-cpp-example-15c32ed8e0934998/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_TOOLCHAIN_FILE = None [INFO] [stderr] CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_GENERATOR = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_PREFIX_PATH = None [INFO] [stderr] CMAKE_x86_64-unknown-linux-gnu = None [INFO] [stderr] CMAKE_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CMAKE = None [INFO] [stderr] CMAKE = None [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out/build" && CMAKE_PREFIX_PATH="" LC_ALL="C" "cmake" "/opt/rustwide/workdir/add-cpp" "-DCMAKE_INSTALL_PREFIX=/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug" [INFO] [stderr] -- The C compiler identification is GNU 13.3.0 [INFO] [stderr] -- The CXX compiler identification is GNU 13.3.0 [INFO] [stderr] -- Detecting C compiler ABI info [INFO] [stderr] -- Detecting C compiler ABI info - done [INFO] [stderr] -- Check for working C compiler: /usr/bin/cc - skipped [INFO] [stderr] -- Detecting C compile features [INFO] [stderr] -- Detecting C compile features - done [INFO] [stderr] -- Detecting CXX compiler ABI info [INFO] [stderr] -- Detecting CXX compiler ABI info - done [INFO] [stderr] -- Check for working CXX compiler: /usr/bin/c++ - skipped [INFO] [stderr] -- Detecting CXX compile features [INFO] [stderr] -- Detecting CXX compile features - done [INFO] [stderr] -- Configuring done (0.3s) [INFO] [stderr] -- Generating done (0.0s) [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out/build [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out/build" && LC_ALL="C" MAKEFLAGS="-j --jobserver-fds=6,7 --jobserver-auth=6,7" "cmake" "--build" "/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out/build" "--target" "install" "--config" "Debug" [INFO] [stderr] [ 25%] Building CXX object CMakeFiles/add_static.dir/src/add.cpp.o [INFO] [stderr] [ 50%] Linking CXX static library libadd_static.a [INFO] [stderr] [ 50%] Built target add_static [INFO] [stderr] [ 75%] Building CXX object CMakeFiles/main.dir/main.cpp.o [INFO] [stderr] [100%] Linking CXX executable main [INFO] [stderr] [100%] Built target main [INFO] [stderr] Install the project... [INFO] [stderr] -- Install configuration: "Debug" [INFO] [stderr] -- Installing: /opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out/build/lib/libadd_static.a [INFO] [stderr] cargo:root=/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-33497fe8b6069c48/out/build/lib [INFO] [stderr] cargo:rustc-link-lib=static=add_static [INFO] [stderr] cargo:rustc-link-lib=stdc++ [INFO] [stderr] cargo:rerun-if-env-changed=TARGET [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu [INFO] [stderr] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS [INFO] [stderr] cargo:rerun-if-changed=add-cpp/src/add.h [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] CMake Warning: [INFO] [stderr] Manually-specified variables were not used by the project: [INFO] [stderr] [INFO] [stderr] CMAKE_ASM_COMPILER [INFO] [stderr] CMAKE_ASM_FLAGS [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] thread 'main' (360) panicked at build.rs:35:10: [INFO] [stderr] Couldn't write bindings: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5af357f700ea - std[6f277ff5891b1f2c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5af357f700ea - std[6f277ff5891b1f2c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5af357f700ea - std[6f277ff5891b1f2c]::sys::backtrace::_print_fmt [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/sys/backtrace.rs:74:9 [INFO] [stderr] 3: 0x5af357f700ea - <::print::DisplayBacktrace as core[7866fe383a43c663]::fmt::Display>::fmt [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/sys/backtrace.rs:44:26 [INFO] [stderr] 4: 0x5af357f877ca - ::fmt [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] 5: 0x5af357f877ca - core[7866fe383a43c663]::fmt::write [INFO] [stderr] 6: 0x5af357f76532 - std[6f277ff5891b1f2c]::io::default_write_fmt:: [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/io/mod.rs:621:11 [INFO] [stderr] 7: 0x5af357f76532 - ::write_fmt [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/io/mod.rs:1976:13 [INFO] [stderr] 8: 0x5af357f4ff7f - ::print [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] 9: 0x5af357f4ff7f - std[6f277ff5891b1f2c]::panicking::default_hook::{closure#0} [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:292:27 [INFO] [stderr] 10: 0x5af357f6a001 - std[6f277ff5891b1f2c]::panicking::default_hook [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:319:9 [INFO] [stderr] 11: 0x5af357f6a27b - std[6f277ff5891b1f2c]::panicking::panic_with_hook [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:825:13 [INFO] [stderr] 12: 0x5af357f50038 - std[6f277ff5891b1f2c]::panicking::panic_handler::{closure#0} [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:698:13 [INFO] [stderr] 13: 0x5af357f47839 - std[6f277ff5891b1f2c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/sys/backtrace.rs:182:18 [INFO] [stderr] 14: 0x5af357f5099d - __rustc[43b2ed8765c84870]::rust_begin_unwind [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:689:5 [INFO] [stderr] 15: 0x5af357f8800c - core[7866fe383a43c663]::panicking::panic_fmt [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/panicking.rs:80:14 [INFO] [stderr] 16: 0x5af357f87d82 - core[7866fe383a43c663]::result::unwrap_failed [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/result.rs:1865:5 [INFO] [stderr] 17: 0x5af357aadda0 - >::expect [INFO] [stderr] 18: 0x5af35798477c - build_script_build[625cbe6edc282ee]::main [INFO] [stderr] 19: 0x5af3579857e3 - >::call_once [INFO] [stderr] 20: 0x5af3579840c6 - std[6f277ff5891b1f2c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] 21: 0x5af3579840d9 - std[6f277ff5891b1f2c]::rt::lang_start::<()>::{closure#0} [INFO] [stderr] 22: 0x5af357f68ff7 - <&dyn core[7866fe383a43c663]::ops::function::Fn<(), Output = i32> + core[7866fe383a43c663]::panic::unwind_safe::RefUnwindSafe + core[7866fe383a43c663]::marker::Sync as core[7866fe383a43c663]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 23: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::panicking::catch_unwind::do_call::<&dyn core[7866fe383a43c663]::ops::function::Fn<(), Output = i32> + core[7866fe383a43c663]::panic::unwind_safe::RefUnwindSafe + core[7866fe383a43c663]::marker::Sync, i32> [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:581:40 [INFO] [stderr] 24: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::panicking::catch_unwind:: + core[7866fe383a43c663]::panic::unwind_safe::RefUnwindSafe + core[7866fe383a43c663]::marker::Sync> [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:544:19 [INFO] [stderr] 25: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::panic::catch_unwind::<&dyn core[7866fe383a43c663]::ops::function::Fn<(), Output = i32> + core[7866fe383a43c663]::panic::unwind_safe::RefUnwindSafe + core[7866fe383a43c663]::marker::Sync, i32> [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::rt::lang_start_internal::{closure#0} [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::panicking::catch_unwind::do_call:: [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:581:40 [INFO] [stderr] 28: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::panicking::catch_unwind:: [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panicking.rs:544:19 [INFO] [stderr] 29: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::panic::catch_unwind:: [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x5af357f68ff7 - std[6f277ff5891b1f2c]::rt::lang_start_internal [INFO] [stderr] at /rustc/5ec4d3b0c83717313176eefa7d71e9d36dc83355/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x5af357983a91 - std[6f277ff5891b1f2c]::rt::lang_start::<()> [INFO] [stderr] 32: 0x5af357985bb5 - main [INFO] [stderr] 33: 0x760a5ab971ca - [INFO] [stderr] 34: 0x760a5ab9728b - __libc_start_main [INFO] [stderr] 35: 0x5af357982af5 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "7e8249fa11c50dc0f189a9cb08adbdbdb6d2f71ae22e89ffb0adae997ddefc98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e8249fa11c50dc0f189a9cb08adbdbdb6d2f71ae22e89ffb0adae997ddefc98", kill_on_drop: false }` [INFO] [stdout] 7e8249fa11c50dc0f189a9cb08adbdbdb6d2f71ae22e89ffb0adae997ddefc98