[INFO] fetching crate hdfs-sys 0.3.0...
[INFO] testing hdfs-sys-0.3.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate hdfs-sys 0.3.0 into /workspace/builds/worker-3-tc1/source
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate hdfs-sys 0.3.0
[INFO] finished tweaking crates.io crate hdfs-sys 0.3.0
[INFO] tweaked toml for crates.io crate hdfs-sys 0.3.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hdfs-sys 0.3.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 5 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded java-locator v0.1.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 068ebd2a3a1a9e239b9a6d5d5a59baf360ad0d51e878cd448959b30b75f0ff42
[INFO] running `Command { std: "docker" "start" "-a" "068ebd2a3a1a9e239b9a6d5d5a59baf360ad0d51e878cd448959b30b75f0ff42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "068ebd2a3a1a9e239b9a6d5d5a59baf360ad0d51e878cd448959b30b75f0ff42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "068ebd2a3a1a9e239b9a6d5d5a59baf360ad0d51e878cd448959b30b75f0ff42", kill_on_drop: false }`
[INFO] [stdout] 068ebd2a3a1a9e239b9a6d5d5a59baf360ad0d51e878cd448959b30b75f0ff42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29a6e204178b2767d30d26412e6e17ed9485dc1699fe63da550c374730737902
[INFO] running `Command { std: "docker" "start" "-a" "29a6e204178b2767d30d26412e6e17ed9485dc1699fe63da550c374730737902", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling java-locator v0.1.9
[INFO] [stderr]    Compiling hdfs-sys v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing
[INFO] [stdout]   --> build.rs:79:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |     builder.static_flag(true);
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: hdfs-sys@0.3.0: In file included from libhdfs/hdfs_2_6/exception.c:19:
[INFO] [stderr] warning: hdfs-sys@0.3.0: libhdfs/hdfs_2_6/exception.h:39:10: fatal error: jni.h: No such file or directory
[INFO] [stderr] warning: hdfs-sys@0.3.0:    39 | #include <jni.h>
[INFO] [stderr] warning: hdfs-sys@0.3.0:       |          ^~~~~~~
[INFO] [stderr] warning: hdfs-sys@0.3.0: compilation terminated.
[INFO] [stderr] error: failed to run custom build command for `hdfs-sys v0.3.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/hdfs-sys-c94a849768b39970/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rustc-link-lib=jvm
[INFO] [stderr]   cargo:rustc-link-search=native=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
[INFO] [stderr]   cargo:rerun-if-env-changed=HDFS_LIB_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=HDFS_STATIC
[INFO] [stderr]   cargo:rerun-if-env-changed=HADOOP_HOME
[INFO] [stderr]   cargo:rustc-link-lib=static=hdfs
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_FORCE_DISABLE
[INFO] [stderr]   CC_FORCE_DISABLE = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
[INFO] [stderr]   CC_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
[INFO] [stderr]   CC_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CC
[INFO] [stderr]   HOST_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CFLAGS
[INFO] [stderr]   HOST_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
[INFO] [stderr]   CFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
[INFO] [stderr]   CFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CFLAGS
[INFO] [stderr]   HOST_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
[INFO] [stderr]   CFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
[INFO] [stderr]   CFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=HOST_CFLAGS
[INFO] [stderr]   HOST_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
[INFO] [stderr]   CFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
[INFO] [stderr]   CFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   cargo:warning=In file included from libhdfs/hdfs_2_6/exception.c:19:
[INFO] [stderr]   cargo:warning=libhdfs/hdfs_2_6/exception.h:39:10: fatal error: jni.h: No such file or directory
[INFO] [stderr]   cargo:warning=   39 | #include <jni.h>
[INFO] [stderr]   cargo:warning=      |          ^~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-static" "-I" "/usr/lib/jvm/java-8-openjdk-amd64/jre/include" "-I" "/usr/lib/jvm/java-8-openjdk-amd64/jre/include/linux" "-I" "libhdfs" "-I" "libhdfs/hdfs_2_6" "-I" "libhdfs/hdfs_2_6/os" "-I" "libhdfs/hdfs_2_6/os/posix" "-I" "libhdfs/hdfs_2_6/common" "-w" "-fvisibility=hidden" "-fcommon" "-w" "-o" "/opt/rustwide/target/debug/build/hdfs-sys-e62f0b1ec7c2d49c/out/ea99cf57bf2eff91-exception.o" "-c" "libhdfs/hdfs_2_6/exception.c"
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "29a6e204178b2767d30d26412e6e17ed9485dc1699fe63da550c374730737902", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29a6e204178b2767d30d26412e6e17ed9485dc1699fe63da550c374730737902", kill_on_drop: false }`
[INFO] [stdout] 29a6e204178b2767d30d26412e6e17ed9485dc1699fe63da550c374730737902
