[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#88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c for pr-154887 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqoire%2Frs-bindgen-cpp-example" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qoire/rs-bindgen-cpp-example on toolchain 88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "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" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 605fde6a5661de861bdac18d378daca54b645f28a4d7635b72a12aa6035364e0 [INFO] running `Command { std: "docker" "start" "-a" "605fde6a5661de861bdac18d378daca54b645f28a4d7635b72a12aa6035364e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "605fde6a5661de861bdac18d378daca54b645f28a4d7635b72a12aa6035364e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "605fde6a5661de861bdac18d378daca54b645f28a4d7635b72a12aa6035364e0", kill_on_drop: false }` [INFO] [stdout] 605fde6a5661de861bdac18d378daca54b645f28a4d7635b72a12aa6035364e0 [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=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" "+88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58e130162d3e63ddc7dfa6ed3a72191e21dbd580bf8a990808d44409c9713c92 [INFO] running `Command { std: "docker" "start" "-a" "58e130162d3e63ddc7dfa6ed3a72191e21dbd580bf8a990808d44409c9713c92", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling bitflags v2.9.0 [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 nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [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-99129f9d216a33ce/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-051d9d037c621973/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-051d9d037c621973/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.5s) [INFO] [stderr] -- Generating done (0.0s) [INFO] [stderr] -- Build files have been written to: /opt/rustwide/target/debug/build/rs-bindgen-cpp-example-051d9d037c621973/out/build [INFO] [stderr] running: cd "/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-051d9d037c621973/out/build" && LC_ALL="C" MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "cmake" "--build" "/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-051d9d037c621973/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-051d9d037c621973/out/build/lib/libadd_static.a [INFO] [stderr] cargo:root=/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-051d9d037c621973/out [INFO] [stderr] cargo:rustc-link-search=native=/opt/rustwide/target/debug/build/rs-bindgen-cpp-example-051d9d037c621973/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' (378) 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: 0x591bbf4eea8a - std[fb0be1524d814480]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x591bbf4eea8a - std[fb0be1524d814480]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x591bbf4eea8a - std[fb0be1524d814480]::sys::backtrace::_print_fmt [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/sys/backtrace.rs:74:9 [INFO] [stderr] 3: 0x591bbf4eea8a - <::print::DisplayBacktrace as core[7d3afe705a026c7c]::fmt::Display>::fmt [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/sys/backtrace.rs:44:26 [INFO] [stderr] 4: 0x591bbf5060aa - ::fmt [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] 5: 0x591bbf5060aa - core[7d3afe705a026c7c]::fmt::write [INFO] [stderr] 6: 0x591bbf4f4ed2 - std[fb0be1524d814480]::io::default_write_fmt:: [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/io/mod.rs:621:11 [INFO] [stderr] 7: 0x591bbf4f4ed2 - ::write_fmt [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/io/mod.rs:1976:13 [INFO] [stderr] 8: 0x591bbf4ceadf - ::print [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] 9: 0x591bbf4ceadf - std[fb0be1524d814480]::panicking::default_hook::{closure#0} [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:292:27 [INFO] [stderr] 10: 0x591bbf4e89f1 - std[fb0be1524d814480]::panicking::default_hook [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:319:9 [INFO] [stderr] 11: 0x591bbf4e8c6b - std[fb0be1524d814480]::panicking::panic_with_hook [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:825:13 [INFO] [stderr] 12: 0x591bbf4ceb98 - std[fb0be1524d814480]::panicking::panic_handler::{closure#0} [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:698:13 [INFO] [stderr] 13: 0x591bbf4c6399 - std[fb0be1524d814480]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/sys/backtrace.rs:182:18 [INFO] [stderr] 14: 0x591bbf4cf4fd - __rustc[6f459eaef5dc7015]::rust_begin_unwind [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:689:5 [INFO] [stderr] 15: 0x591bbf5068ec - core[7d3afe705a026c7c]::panicking::panic_fmt [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/panicking.rs:80:14 [INFO] [stderr] 16: 0x591bbf506662 - core[7d3afe705a026c7c]::result::unwrap_failed [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/result.rs:1865:5 [INFO] [stderr] 17: 0x591bbf09d300 - >::expect [INFO] [stderr] 18: 0x591bbef01aac - build_script_build[7e6f864789309551]::main [INFO] [stderr] 19: 0x591bbef02b13 - >::call_once [INFO] [stderr] 20: 0x591bbef013f6 - std[fb0be1524d814480]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] 21: 0x591bbef01409 - std[fb0be1524d814480]::rt::lang_start::<()>::{closure#0} [INFO] [stderr] 22: 0x591bbf4e79e4 - <&dyn core[7d3afe705a026c7c]::ops::function::Fn<(), Output = i32> + core[7d3afe705a026c7c]::marker::Sync + core[7d3afe705a026c7c]::panic::unwind_safe::RefUnwindSafe as core[7d3afe705a026c7c]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 23: 0x591bbf4e79e4 - std[fb0be1524d814480]::panicking::catch_unwind::do_call::<&dyn core[7d3afe705a026c7c]::ops::function::Fn<(), Output = i32> + core[7d3afe705a026c7c]::marker::Sync + core[7d3afe705a026c7c]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:581:40 [INFO] [stderr] 24: 0x591bbf4e79e4 - std[fb0be1524d814480]::panicking::catch_unwind:: + core[7d3afe705a026c7c]::marker::Sync + core[7d3afe705a026c7c]::panic::unwind_safe::RefUnwindSafe> [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:544:19 [INFO] [stderr] 25: 0x591bbf4e79e4 - std[fb0be1524d814480]::panic::catch_unwind::<&dyn core[7d3afe705a026c7c]::ops::function::Fn<(), Output = i32> + core[7d3afe705a026c7c]::marker::Sync + core[7d3afe705a026c7c]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x591bbf4e79e4 - std[fb0be1524d814480]::rt::lang_start_internal::{closure#0} [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x591bbf4e79e4 - std[fb0be1524d814480]::panicking::catch_unwind::do_call:: [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:581:40 [INFO] [stderr] 28: 0x591bbf4e79e4 - std[fb0be1524d814480]::panicking::catch_unwind:: [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panicking.rs:544:19 [INFO] [stderr] 29: 0x591bbf4e79e4 - std[fb0be1524d814480]::panic::catch_unwind:: [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x591bbf4e79e4 - std[fb0be1524d814480]::rt::lang_start_internal [INFO] [stderr] at /rustc/88b8a1c6e3a6f6f8a2ed6b6a9a74e0ef1862f72c/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x591bbef013e1 - std[fb0be1524d814480]::rt::lang_start::<()> [INFO] [stderr] 32: 0x591bbef02ee5 - main [INFO] [stderr] 33: 0x7f3aeadf91ca - [INFO] [stderr] 34: 0x7f3aeadf928b - __libc_start_main [INFO] [stderr] 35: 0x591bbeeffe25 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "58e130162d3e63ddc7dfa6ed3a72191e21dbd580bf8a990808d44409c9713c92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58e130162d3e63ddc7dfa6ed3a72191e21dbd580bf8a990808d44409c9713c92", kill_on_drop: false }` [INFO] [stdout] 58e130162d3e63ddc7dfa6ed3a72191e21dbd580bf8a990808d44409c9713c92