[INFO] cloning repository https://github.com/timmyjose/rust-ffi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timmyjose/rust-ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimmyjose%2Frust-ffi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimmyjose%2Frust-ffi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d465177f6021b14c02cee4471981aca6f23dbe4b
[INFO] checking timmyjose/rust-ffi against master#818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc for pr-156114-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimmyjose%2Frust-ffi" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/timmyjose/rust-ffi
[INFO] finished tweaking git repo https://github.com/timmyjose/rust-ffi
[INFO] tweaked toml for git repo https://github.com/timmyjose/rust-ffi written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/timmyjose/rust-ffi on toolchain 818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/timmyjose/rust-ffi 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" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95b99c1ed99cce4a07b28fa8a28281a2a65948431a4c68de32ca6f3d4bb5f5ab
[INFO] running `Command { std: "docker" "start" "-a" "95b99c1ed99cce4a07b28fa8a28281a2a65948431a4c68de32ca6f3d4bb5f5ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95b99c1ed99cce4a07b28fa8a28281a2a65948431a4c68de32ca6f3d4bb5f5ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95b99c1ed99cce4a07b28fa8a28281a2a65948431a4c68de32ca6f3d4bb5f5ab", kill_on_drop: false }`
[INFO] [stdout] 95b99c1ed99cce4a07b28fa8a28281a2a65948431a4c68de32ca6f3d4bb5f5ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85fca5a110675fefbdb64787c40b5c41c84337e593d65633ddcc017ea7320eb9
[INFO] running `Command { std: "docker" "start" "-a" "85fca5a110675fefbdb64787c40b5c41c84337e593d65633ddcc017ea7320eb9", kill_on_drop: false }`
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]     Checking indenter v0.3.3
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling call-c-from-rust-raw-dynamic v0.1.0 (/opt/rustwide/workdir/pkg/call-c-from-rust-raw-dynamic)
[INFO] [stderr]    Compiling call-c-from-rust-raw v0.1.0 (/opt/rustwide/workdir/pkg/call-c-from-rust-raw)
[INFO] [stderr] error: failed to run custom build command for `call-c-from-rust-raw-dynamic v0.1.0 (/opt/rustwide/workdir/pkg/call-c-from-rust-raw-dynamic)`
[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/call-c-from-rust-raw-dynamic-c5cd74a8af96adbe/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stderr
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: y
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: n
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: m
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: i
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: c
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: l
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: i
[INFO] [stderr]   cc1: warning: unrecognized gcc debugging option: b
[INFO] [stderr]   /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
[INFO] [stderr]   (.text+0x1b): undefined reference to `main'
[INFO] [stderr]   collect2: error: ld returned 1 exit status
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' (176) panicked at pkg/call-c-from-rust-raw-dynamic/build.rs:17:5:
[INFO] [stderr]   libmath build failed
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x561aad447b68 - std[ecb0d957611a9953]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]      1:     0x561aad447b68 - std[ecb0d957611a9953]::backtrace_rs::backtrace::trace_unsynchronized::<std[ecb0d957611a9953]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]      2:     0x561aad447b68 - std[ecb0d957611a9953]::sys::backtrace::_print_fmt
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]      3:     0x561aad447b68 - <<std[ecb0d957611a9953]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[e2c6bfcbedad3d19]::fmt::Display>::fmt
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]      4:     0x561aad458eba - <core[e2c6bfcbedad3d19]::fmt::rt::Argument>::fmt
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]      5:     0x561aad458eba - core[e2c6bfcbedad3d19]::fmt::write
[INFO] [stderr]      6:     0x561aad44bbb2 - std[ecb0d957611a9953]::io::default_write_fmt::<std[ecb0d957611a9953]::sys::stdio::unix::Stderr>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/io/mod.rs:621:11
[INFO] [stderr]      7:     0x561aad44bbb2 - <std[ecb0d957611a9953]::sys::stdio::unix::Stderr as std[ecb0d957611a9953]::io::Write>::write_fmt
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/io/mod.rs:1976:13
[INFO] [stderr]      8:     0x561aad42dca6 - <std[ecb0d957611a9953]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]      9:     0x561aad42dca6 - std[ecb0d957611a9953]::panicking::default_hook::{closure#0}
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:292:27
[INFO] [stderr]     10:     0x561aad443ad1 - std[ecb0d957611a9953]::panicking::default_hook
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:319:9
[INFO] [stderr]     11:     0x561aad443c8b - std[ecb0d957611a9953]::panicking::panic_with_hook
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:825:13
[INFO] [stderr]     12:     0x561aad42dd94 - std[ecb0d957611a9953]::panicking::panic_handler::{closure#0}
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:691:13
[INFO] [stderr]     13:     0x561aad4259a9 - std[ecb0d957611a9953]::sys::backtrace::__rust_end_short_backtrace::<std[ecb0d957611a9953]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]     14:     0x561aad42e5cd - __rustc[f0d91e6d27a59826]::rust_begin_unwind
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:689:5
[INFO] [stderr]     15:     0x561aad4595ac - core[e2c6bfcbedad3d19]::panicking::panic_fmt
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/core/src/panicking.rs:80:14
[INFO] [stderr]     16:     0x561aad41491f - build_script_build[7adefeca8743cb1]::main
[INFO] [stderr]     17:     0x561aad417113 - <fn() as core[e2c6bfcbedad3d19]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]     18:     0x561aad414026 - std[ecb0d957611a9953]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stderr]     19:     0x561aad414519 - std[ecb0d957611a9953]::rt::lang_start::<()>::{closure#0}
[INFO] [stderr]     20:     0x561aad442d87 - <&dyn core[e2c6bfcbedad3d19]::ops::function::Fn<(), Output = i32> + core[e2c6bfcbedad3d19]::marker::Sync + core[e2c6bfcbedad3d19]::panic::unwind_safe::RefUnwindSafe as core[e2c6bfcbedad3d19]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/core/src/ops/function.rs:287:21
[INFO] [stderr]     21:     0x561aad442d87 - std[ecb0d957611a9953]::panicking::catch_unwind::do_call::<&dyn core[e2c6bfcbedad3d19]::ops::function::Fn<(), Output = i32> + core[e2c6bfcbedad3d19]::marker::Sync + core[e2c6bfcbedad3d19]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:581:40
[INFO] [stderr]     22:     0x561aad442d87 - std[ecb0d957611a9953]::panicking::catch_unwind::<i32, &dyn core[e2c6bfcbedad3d19]::ops::function::Fn<(), Output = i32> + core[e2c6bfcbedad3d19]::marker::Sync + core[e2c6bfcbedad3d19]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:544:19
[INFO] [stderr]     23:     0x561aad442d87 - std[ecb0d957611a9953]::panic::catch_unwind::<&dyn core[e2c6bfcbedad3d19]::ops::function::Fn<(), Output = i32> + core[e2c6bfcbedad3d19]::marker::Sync + core[e2c6bfcbedad3d19]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panic.rs:359:14
[INFO] [stderr]     24:     0x561aad442d87 - std[ecb0d957611a9953]::rt::lang_start_internal::{closure#0}
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/rt.rs:175:24
[INFO] [stderr]     25:     0x561aad442d87 - std[ecb0d957611a9953]::panicking::catch_unwind::do_call::<std[ecb0d957611a9953]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:581:40
[INFO] [stderr]     26:     0x561aad442d87 - std[ecb0d957611a9953]::panicking::catch_unwind::<isize, std[ecb0d957611a9953]::rt::lang_start_internal::{closure#0}>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panicking.rs:544:19
[INFO] [stderr]     27:     0x561aad442d87 - std[ecb0d957611a9953]::panic::catch_unwind::<std[ecb0d957611a9953]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/panic.rs:359:14
[INFO] [stderr]     28:     0x561aad442d87 - std[ecb0d957611a9953]::rt::lang_start_internal
[INFO] [stderr]                                  at /rustc/818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc/library/std/src/rt.rs:171:5
[INFO] [stderr]     29:     0x561aad413fa1 - std[ecb0d957611a9953]::rt::lang_start::<()>
[INFO] [stderr]     30:     0x561aad417475 - main
[INFO] [stderr]     31:     0x7d1def7071ca - <unknown>
[INFO] [stderr]     32:     0x7d1def70728b - __libc_start_main
[INFO] [stderr]     33:     0x561aad412d05 - _start
[INFO] [stderr]     34:                0x0 - <unknown>
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: call-c-from-rust-raw@0.1.0: In file included from c_src/math.c:1:
[INFO] [stderr] warning: call-c-from-rust-raw@0.1.0: c_src/math.h:4:20: warning: extra tokens at end of #ifdef directive
[INFO] [stderr] warning: call-c-from-rust-raw@0.1.0:     4 | #ifdef __cplusplus {
[INFO] [stderr] warning: call-c-from-rust-raw@0.1.0:       |                    ^
[INFO] running `Command { std: "docker" "inspect" "85fca5a110675fefbdb64787c40b5c41c84337e593d65633ddcc017ea7320eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85fca5a110675fefbdb64787c40b5c41c84337e593d65633ddcc017ea7320eb9", kill_on_drop: false }`
[INFO] [stdout] 85fca5a110675fefbdb64787c40b5c41c84337e593d65633ddcc017ea7320eb9
