[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/864108b40d72b6e5ca6d676bdbb1e5a686d27f4e against try#498fce24f39c1ecbb0abe08824e72162da853341 for pr-129935 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnScience%2Frust_java_lib_host_example" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JohnScience/rust_java_lib_host_example on toolchain 498fce24f39c1ecbb0abe08824e72162da853341 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "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-2-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" "+498fce24f39c1ecbb0abe08824e72162da853341" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking JohnScience/rust_java_lib_host_example/864108b40d72b6e5ca6d676bdbb1e5a686d27f4e against try#498fce24f39c1ecbb0abe08824e72162da853341 for pr-129935 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnScience%2Frust_java_lib_host_example" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JohnScience/rust_java_lib_host_example on toolchain 498fce24f39c1ecbb0abe08824e72162da853341 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "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-2-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" "+498fce24f39c1ecbb0abe08824e72162da853341" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flapigen v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64d4bd83e7894d3b85aabfcd4ca7ea6de33074a235ed55d6cfefc4022fc65c44 [INFO] running `Command { std: "docker" "start" "-a" "64d4bd83e7894d3b85aabfcd4ca7ea6de33074a235ed55d6cfefc4022fc65c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64d4bd83e7894d3b85aabfcd4ca7ea6de33074a235ed55d6cfefc4022fc65c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d4bd83e7894d3b85aabfcd4ca7ea6de33074a235ed55d6cfefc4022fc65c44", kill_on_drop: false }` [INFO] [stdout] 64d4bd83e7894d3b85aabfcd4ca7ea6de33074a235ed55d6cfefc4022fc65c44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+498fce24f39c1ecbb0abe08824e72162da853341" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8577413d8d5058e23663f8a63acd8aa3b706001852b22b8e6416e26b5cf4490 [INFO] running `Command { std: "docker" "start" "-a" "a8577413d8d5058e23663f8a63acd8aa3b706001852b22b8e6416e26b5cf4490", 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 bitflags v2.5.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling rustix v0.38.33 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [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 syn v2.0.60 [INFO] [stderr] Compiling itertools v0.12.1 [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 smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling flapigen v0.6.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [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-84d65365ca127810/build-script-build` (exit status: 101) [INFO] [stderr] --- 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: 0x573acd3af28a - std::backtrace_rs::backtrace::libunwind::trace::h165a742eed8427f3 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x573acd3af28a - std::backtrace_rs::backtrace::trace_unsynchronized::h43d6fdeba113697d [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x573acd3af28a - std::sys::backtrace::_print_fmt::hc28fbdb571bddd23 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x573acd3af28a - ::fmt::hc0916f080df69cbc [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x573acd3d6b3b - core::fmt::rt::Argument::fmt::h63bd0d17574a4673 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x573acd3d6b3b - core::fmt::write::h1cdc4f14a75c5548 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/core/src/fmt/mod.rs:1178:21 [INFO] [stderr] 6: 0x573acd3abc43 - std::io::Write::write_fmt::h0cf64680d2b84aff [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/io/mod.rs:1823:15 [INFO] [stderr] 7: 0x573acd3af0d2 - std::sys::backtrace::BacktraceLock::print::he86d94a18d6e5758 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x573acd3b00c7 - std::panicking::default_hook::{{closure}}::hce82b9dc90a9f218 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:268:22 [INFO] [stderr] 9: 0x573acd3afef6 - std::panicking::default_hook::h4ab8f56609100140 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:295:9 [INFO] [stderr] 10: 0x573acd3b0707 - std::panicking::rust_panic_with_hook::h2f1f068fdfc16fae [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:801:13 [INFO] [stderr] 11: 0x573acd3b05a7 - std::panicking::begin_panic_handler::{{closure}}::hd1e64ad72920dd0b [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:674:13 [INFO] [stderr] 12: 0x573acd3af769 - std::sys::backtrace::__rust_end_short_backtrace::hdcc661ff31a11db0 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/sys/backtrace.rs:170:18 [INFO] [stderr] 13: 0x573acd3b0234 - rust_begin_unwind [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:665:5 [INFO] [stderr] 14: 0x573acd3d4e93 - core::panicking::panic_fmt::h763de88618c68aa5 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/core/src/panicking.rs:74:14 [INFO] [stderr] 15: 0x573acd3d5316 - core::result::unwrap_failed::h43bb02533dca902e [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/core/src/result.rs:1677:5 [INFO] [stderr] 16: 0x573accbf003c - core::result::Result::expect::h9fb8dc5b69295410 [INFO] [stderr] 17: 0x573accbf5c54 - build_script_build::gen_jni_bindings::h0d7bcba5ab42f6f4 [INFO] [stderr] 18: 0x573accbf5273 - build_script_build::main::hb059265bf6ce3afe [INFO] [stderr] 19: 0x573accbef313 - core::ops::function::FnOnce::call_once::hdb1d3be82e5150d9 [INFO] [stderr] 20: 0x573accbef036 - std::sys::backtrace::__rust_begin_short_backtrace::h553c2db8975ba5ca [INFO] [stderr] 21: 0x573accbef019 - std::rt::lang_start::{{closure}}::h3234d730512a5339 [INFO] [stderr] 22: 0x573acd3a7380 - core::ops::function::impls:: for &F>::call_once::h58ed3040d55f03e0 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/core/src/ops/function.rs:284:13 [INFO] [stderr] 23: 0x573acd3a7380 - std::panicking::try::do_call::he04193ea7982fc09 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:557:40 [INFO] [stderr] 24: 0x573acd3a7380 - std::panicking::try::h12f5caa9437a63c2 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:520:19 [INFO] [stderr] 25: 0x573acd3a7380 - std::panic::catch_unwind::h014d0fa80a2ecd22 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panic.rs:345:14 [INFO] [stderr] 26: 0x573acd3a7380 - std::rt::lang_start_internal::{{closure}}::h6c4e7c41d494530e [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/rt.rs:143:48 [INFO] [stderr] 27: 0x573acd3a7380 - std::panicking::try::do_call::h5c459dc34b5c2eff [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:557:40 [INFO] [stderr] 28: 0x573acd3a7380 - std::panicking::try::hf15f163b0568be33 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panicking.rs:520:19 [INFO] [stderr] 29: 0x573acd3a7380 - std::panic::catch_unwind::ha7e67233325d28d7 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/panic.rs:345:14 [INFO] [stderr] 30: 0x573acd3a7380 - std::rt::lang_start_internal::h4622e2e59e6b9187 [INFO] [stderr] at /rustc/498fce24f39c1ecbb0abe08824e72162da853341/library/std/src/rt.rs:143:20 [INFO] [stderr] 31: 0x573accbeeff7 - std::rt::lang_start::h6a978da6a0b5a50c [INFO] [stderr] 32: 0x573accbf6d55 - main [INFO] [stderr] 33: 0x7ed0f18a3d90 - [INFO] [stderr] 34: 0x7ed0f18a3e40 - __libc_start_main [INFO] [stderr] 35: 0x573accbee875 - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "a8577413d8d5058e23663f8a63acd8aa3b706001852b22b8e6416e26b5cf4490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8577413d8d5058e23663f8a63acd8aa3b706001852b22b8e6416e26b5cf4490", kill_on_drop: false }` [INFO] [stdout] a8577413d8d5058e23663f8a63acd8aa3b706001852b22b8e6416e26b5cf4490