[INFO] cloning repository https://github.com/JohnScience/rust_java_lib_host_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohnScience/rust_java_lib_host_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnScience%2Frust_java_lib_host_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnScience%2Frust_java_lib_host_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 864108b40d72b6e5ca6d676bdbb1e5a686d27f4e
[INFO] checking JohnScience/rust_java_lib_host_example against try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnScience%2Frust_java_lib_host_example" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JohnScience/rust_java_lib_host_example on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JohnScience/rust_java_lib_host_example
[INFO] finished tweaking git repo https://github.com/JohnScience/rust_java_lib_host_example
[INFO] tweaked toml for git repo https://github.com/JohnScience/rust_java_lib_host_example written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/JohnScience/rust_java_lib_host_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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6800696a53dd5e5ec65bdf6fd69432ed4ac06ddbf181348fb59671c93c68a4a
[INFO] running `Command { std: "docker" "start" "-a" "e6800696a53dd5e5ec65bdf6fd69432ed4ac06ddbf181348fb59671c93c68a4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6800696a53dd5e5ec65bdf6fd69432ed4ac06ddbf181348fb59671c93c68a4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6800696a53dd5e5ec65bdf6fd69432ed4ac06ddbf181348fb59671c93c68a4a", kill_on_drop: false }`
[INFO] [stdout] e6800696a53dd5e5ec65bdf6fd69432ed4ac06ddbf181348fb59671c93c68a4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb9236248fb5c1edae953c346400ab8fb60d01efb4fe388e94049dfb81d9c60c
[INFO] running `Command { std: "docker" "start" "-a" "cb9236248fb5c1edae953c346400ab8fb60d01efb4fe388e94049dfb81d9c60c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling rustix v0.38.33
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling smol_str v0.2.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling flapigen v0.6.1
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling my_java_lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `my_java_lib 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/my_java_lib-73d3e454e4671846/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr]   thread 'main' panicked at build.rs:34:43:
[INFO] [stderr]   JAVA_HOME env variable not settted: NotPresent
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x636ed7ab9590 - std::backtrace_rs::backtrace::libunwind::trace::hadda5b3c123dc3bb
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stderr]      1:     0x636ed7ab9590 - std::backtrace_rs::backtrace::trace_unsynchronized::h251baf92d3d99d58
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stderr]      2:     0x636ed7ab9590 - std::sys::backtrace::_print_fmt::he064a6bd4bc8a74c
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/sys/backtrace.rs:66:9
[INFO] [stderr]      3:     0x636ed7ab9590 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::haf1177ce001c5aba
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/sys/backtrace.rs:39:26
[INFO] [stderr]      4:     0x636ed7ae2863 - core::fmt::rt::Argument::fmt::h13d92de871fbc7d2
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/core/src/fmt/rt.rs:177:76
[INFO] [stderr]      5:     0x636ed7ae2863 - core::fmt::write::h1a1a904f0a5a0299
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/core/src/fmt/mod.rs:1449:21
[INFO] [stderr]      6:     0x636ed7ab5e13 - std::io::Write::write_fmt::h50a28dda2e43fcfb
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/io/mod.rs:1890:15
[INFO] [stderr]      7:     0x636ed7ab93e2 - std::sys::backtrace::BacktraceLock::print::h157a5b5bafa82524
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/sys/backtrace.rs:42:9
[INFO] [stderr]      8:     0x636ed7aba33f - std::panicking::default_hook::{{closure}}::hbf38c704020fd551
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:298:22
[INFO] [stderr]      9:     0x636ed7aba1aa - std::panicking::default_hook::h3b53f3f0a8a63ac3
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:325:9
[INFO] [stderr]     10:     0x636ed7abad62 - std::panicking::rust_panic_with_hook::h7056095ba66a66e9
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:831:13
[INFO] [stderr]     11:     0x636ed7abaaea - std::panicking::begin_panic_handler::{{closure}}::h5cd21fc1f38bc0b5
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:704:13
[INFO] [stderr]     12:     0x636ed7ab9a99 - std::sys::backtrace::__rust_end_short_backtrace::h870aa48417f960ec
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/sys/backtrace.rs:168:18
[INFO] [stderr]     13:     0x636ed7aba77d - rust_begin_unwind
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:695:5
[INFO] [stderr]     14:     0x636ed7ae0b20 - core::panicking::panic_fmt::h3be781a2b5cd0694
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/core/src/panicking.rs:75:14
[INFO] [stderr]     15:     0x636ed7ae0f96 - core::result::unwrap_failed::h9e220969a3197ca5
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/core/src/result.rs:1704:5
[INFO] [stderr]     16:     0x636ed730e73c - core::result::Result<T,E>::expect::h58a240eb3b12ec1f
[INFO] [stderr]     17:     0x636ed7314064 - build_script_build::gen_jni_bindings::h71323f3b3e99fca6
[INFO] [stderr]     18:     0x636ed73136b3 - build_script_build::main::hea627bfb2611e731
[INFO] [stderr]     19:     0x636ed730d9f3 - core::ops::function::FnOnce::call_once::h2d31ec44deaddd30
[INFO] [stderr]     20:     0x636ed730d776 - std::sys::backtrace::__rust_begin_short_backtrace::h624fd8fb480fd0fc
[INFO] [stderr]     21:     0x636ed730d759 - std::rt::lang_start::{{closure}}::h35768a1ed0d84a35
[INFO] [stderr]     22:     0x636ed7ab03b0 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h1e885987d45d34ff
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/core/src/ops/function.rs:284:13
[INFO] [stderr]     23:     0x636ed7ab03b0 - std::panicking::try::do_call::h8a97b1757e207774
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:587:40
[INFO] [stderr]     24:     0x636ed7ab03b0 - std::panicking::try::h92f474ce5157261d
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:550:19
[INFO] [stderr]     25:     0x636ed7ab03b0 - std::panic::catch_unwind::h90427f977335690d
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panic.rs:358:14
[INFO] [stderr]     26:     0x636ed7ab03b0 - std::rt::lang_start_internal::{{closure}}::h28c58ffd66de695b
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/rt.rs:168:24
[INFO] [stderr]     27:     0x636ed7ab03b0 - std::panicking::try::do_call::he6cef74ecc3ff7c6
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:587:40
[INFO] [stderr]     28:     0x636ed7ab03b0 - std::panicking::try::h6657572b256b949b
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panicking.rs:550:19
[INFO] [stderr]     29:     0x636ed7ab03b0 - std::panic::catch_unwind::h0a856d006a19410f
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/panic.rs:358:14
[INFO] [stderr]     30:     0x636ed7ab03b0 - std::rt::lang_start_internal::h10d6e5d37af84b89
[INFO] [stderr]                                  at /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/rt.rs:164:5
[INFO] [stderr]     31:     0x636ed730d741 - std::rt::lang_start::h6f3e8670e794890b
[INFO] [stderr]     32:     0x636ed73150f5 - main
[INFO] [stderr]     33:     0x7d3cbbe74d90 - <unknown>
[INFO] [stderr]     34:     0x7d3cbbe74e40 - __libc_start_main
[INFO] [stderr]     35:     0x636ed730cfa5 - _start
[INFO] [stderr]     36:                0x0 - <unknown>
[INFO] running `Command { std: "docker" "inspect" "cb9236248fb5c1edae953c346400ab8fb60d01efb4fe388e94049dfb81d9c60c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb9236248fb5c1edae953c346400ab8fb60d01efb4fe388e94049dfb81d9c60c", kill_on_drop: false }`
[INFO] [stdout] cb9236248fb5c1edae953c346400ab8fb60d01efb4fe388e94049dfb81d9c60c
