[INFO] crate libharu-sys 0.0.1 is already in cache [INFO] extracting crate libharu-sys 0.0.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/libharu-sys/0.0.1 [INFO] extracting crate libharu-sys 0.0.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/libharu-sys/0.0.1 [INFO] validating manifest of libharu-sys-0.0.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of libharu-sys-0.0.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing libharu-sys-0.0.1 [INFO] finished frobbing libharu-sys-0.0.1 [INFO] frobbed toml for libharu-sys-0.0.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/libharu-sys/0.0.1/Cargo.toml [INFO] started frobbing libharu-sys-0.0.1 [INFO] finished frobbing libharu-sys-0.0.1 [INFO] frobbed toml for libharu-sys-0.0.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/libharu-sys/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing libharu-sys-0.0.1 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/libharu-sys/0.0.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] abbb1fb5797bdc3185aac0ffb2379217bc0f3df20027018e5df72b0d1ed46e99 [INFO] running `"docker" "start" "-a" "abbb1fb5797bdc3185aac0ffb2379217bc0f3df20027018e5df72b0d1ed46e99"` [INFO] [stderr] Compiling libharu-sys v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'gcc::Build': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> libharu/build.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | gcc::Build::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> libharu/build.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | gcc::Build::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: libharu/src/hpdf_annotation.c: In function 'HPDF_LinkAnnot_SetJavaScript': [INFO] [stderr] warning: libharu/src/hpdf_annotation.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: if (ret != HPDF_OK) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: libharu/src/hpdf_annotation.c:321:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [INFO] [stderr] warning: ret += HPDF_Dict_Add (action, "JS", javascript); [INFO] [stderr] warning: ^~~ [INFO] [stderr] warning: libharu/src/hpdf_encoder_utf.c: In function 'UTF8_Encoder_ToUnicode_Func': [INFO] [stderr] warning: libharu/src/hpdf_encoder_utf.c:133:46: warning: unused parameter 'code' [-Wunused-parameter] [INFO] [stderr] warning: HPDF_UINT16 code) [INFO] [stderr] warning: ^~~~ [INFO] [stderr] warning: libharu/src/hpdf_font_cid.c: In function 'MeasureText': [INFO] [stderr] warning: libharu/src/hpdf_font_cid.c:679:19: warning: variable 'last_btype' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: HPDF_ByteType last_btype = HPDF_BYTE_TYPE_TRIAL; [INFO] [stderr] warning: ^~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_jp.c:1042:29: warning: 'MS_PMincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width MS_PMincho_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_jp.c:783:29: warning: 'MS_Mincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width MS_Mincho_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_kr.c:818:29: warning: 'Batang_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width Batang_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_kr.c:622:29: warning: 'BatangChe_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width BatangChe_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pages.c:52:29: warning: 'DEF_CMYK_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CMYKColor DEF_CMYK_COLOR = {0, 0, 0, 0}; [INFO] [stderr] warning: ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pages.c:50:28: warning: 'DEF_RGB_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_RGBColor DEF_RGB_COLOR = {0, 0, 0}; [INFO] [stderr] warning: ^~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pdfa.c: In function 'HPDF_PDFA_SetPDFAConformance': [INFO] [stderr] warning: libharu/src/hpdf_pdfa.c:154:17: warning: unused variable 'info' [-Wunused-variable] [INFO] [stderr] warning: const char *info = NULL; [INFO] [stderr] warning: ^~~~ [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/lib.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | pub type HPDF_INT32 = libc::int32_t; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/lib.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | pub type HPDF_UINT32 = libc::uint32_t; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int16_t': Use i16 instead. [INFO] [stderr] --> src/lib.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | pub type HPDF_INT16 = libc::int16_t; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint16_t': Use u16 instead. [INFO] [stderr] --> src/lib.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | pub type HPDF_UINT16 = libc::uint16_t; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/lib.rs:49:26 [INFO] [stderr] | [INFO] [stderr] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.24s [INFO] running `"docker" "inspect" "abbb1fb5797bdc3185aac0ffb2379217bc0f3df20027018e5df72b0d1ed46e99"` [INFO] running `"docker" "rm" "-f" "abbb1fb5797bdc3185aac0ffb2379217bc0f3df20027018e5df72b0d1ed46e99"` [INFO] [stdout] abbb1fb5797bdc3185aac0ffb2379217bc0f3df20027018e5df72b0d1ed46e99 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/libharu-sys/0.0.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 899ad3fdec01f4d6201f85b734d5e24dca90768271303860404beeaf3bb436fc [INFO] running `"docker" "start" "-a" "899ad3fdec01f4d6201f85b734d5e24dca90768271303860404beeaf3bb436fc"` [INFO] [stderr] warning: libharu/src/hpdf_annotation.c: In function 'HPDF_LinkAnnot_SetJavaScript': [INFO] [stderr] warning: libharu/src/hpdf_annotation.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: if (ret != HPDF_OK) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: libharu/src/hpdf_annotation.c:321:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [INFO] [stderr] warning: ret += HPDF_Dict_Add (action, "JS", javascript); [INFO] [stderr] warning: ^~~ [INFO] [stderr] warning: libharu/src/hpdf_encoder_utf.c: In function 'UTF8_Encoder_ToUnicode_Func': [INFO] [stderr] warning: libharu/src/hpdf_encoder_utf.c:133:46: warning: unused parameter 'code' [-Wunused-parameter] [INFO] [stderr] warning: HPDF_UINT16 code) [INFO] [stderr] warning: ^~~~ [INFO] [stderr] warning: libharu/src/hpdf_font_cid.c: In function 'MeasureText': [INFO] [stderr] warning: libharu/src/hpdf_font_cid.c:679:19: warning: variable 'last_btype' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: HPDF_ByteType last_btype = HPDF_BYTE_TYPE_TRIAL; [INFO] [stderr] warning: ^~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_jp.c:1042:29: warning: 'MS_PMincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width MS_PMincho_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_jp.c:783:29: warning: 'MS_Mincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width MS_Mincho_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_kr.c:818:29: warning: 'Batang_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width Batang_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_kr.c:622:29: warning: 'BatangChe_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width BatangChe_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pages.c:52:29: warning: 'DEF_CMYK_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CMYKColor DEF_CMYK_COLOR = {0, 0, 0, 0}; [INFO] [stderr] warning: ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pages.c:50:28: warning: 'DEF_RGB_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_RGBColor DEF_RGB_COLOR = {0, 0, 0}; [INFO] [stderr] warning: ^~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pdfa.c: In function 'HPDF_PDFA_SetPDFAConformance': [INFO] [stderr] warning: libharu/src/hpdf_pdfa.c:154:17: warning: unused variable 'info' [-Wunused-variable] [INFO] [stderr] warning: const char *info = NULL; [INFO] [stderr] warning: ^~~~ [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling libharu-sys v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stderr] --> src/lib.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | pub type HPDF_INT32 = libc::int32_t; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/lib.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | pub type HPDF_UINT32 = libc::uint32_t; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::int16_t': Use i16 instead. [INFO] [stderr] --> src/lib.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | pub type HPDF_INT16 = libc::int16_t; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint16_t': Use u16 instead. [INFO] [stderr] --> src/lib.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | pub type HPDF_UINT16 = libc::uint16_t; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stderr] --> src/lib.rs:49:26 [INFO] [stderr] | [INFO] [stderr] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/libharu_sys-176e4f0653530e0f.libharu_sys.ccq0nfzf-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/libharu_sys-176e4f0653530e0f.libharu_sys.ccq0nfzf-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/libharu_sys-176e4f0653530e0f.libharu_sys.ccq0nfzf-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/libharu_sys-176e4f0653530e0f.libharu_sys.ccq0nfzf-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/libharu_sys-176e4f0653530e0f.libharu_sys.ccq0nfzf-cgu.4.rcgu.o" "-o" "/opt/crater/target/debug/deps/libharu_sys-176e4f0653530e0f" "/opt/crater/target/debug/deps/libharu_sys-176e4f0653530e0f.3r5v3higme4leitr.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lharu" "-Wl,--no-whole-archive" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-f0d86b2ef6410e4f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-28a84d78fba0104f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-625008d0a6744ece.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-b85c11af396739da.rlib" "/opt/crater/target/debug/deps/liblibc-37f3d1c853b3b7bd.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-1d6d86bd078a28e9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e9721e46a424e2a9.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-c07193698f282147.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6da45690f3863086.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-690797036dd27680.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-d3896ccbfd8eda2b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7cccc3739e3d7623.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5e9ba178a513cd29.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ca9f83bf63d1f4b.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bba1c7ef9e950882.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e23c9de62012deb5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9b59dffdcd513d5d.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-17392340ab2e4a97.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-08-13-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ac21508a81e3f7f3.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o): In function `HPDF_String_New': [INFO] [stderr] /opt/crater/workdir/libharu/src/hpdf_string.c:32: multiple definition of `HPDF_String_New' [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o):/opt/crater/workdir/libharu/src/hpdf_string.c:32: first defined here [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o): In function `HPDF_String_SetValue': [INFO] [stderr] hpdf_string.c:(.text.HPDF_String_SetValue+0x0): multiple definition of `HPDF_String_SetValue' [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o):hpdf_string.c:(.text.HPDF_String_SetValue+0x0): first defined here [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o): In function `HPDF_String_Free': [INFO] [stderr] hpdf_string.c:(.text.HPDF_String_Free+0x0): multiple definition of `HPDF_String_Free' [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o):hpdf_string.c:(.text.HPDF_String_Free+0x0): first defined here [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o): In function `HPDF_String_Write': [INFO] [stderr] hpdf_string.c:(.text.HPDF_String_Write+0x0): multiple definition of `HPDF_String_Write' [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o):hpdf_string.c:(.text.HPDF_String_Write+0x0): first defined here [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o): In function `HPDF_String_Cmp': [INFO] [stderr] hpdf_string.c:(.text.HPDF_String_Cmp+0x0): multiple definition of `HPDF_String_Cmp' [INFO] [stderr] /opt/crater/target/debug/build/libharu-sys-f9b8425e7adb6926/out/libharu.a(hpdf_string.o):hpdf_string.c:(.text.HPDF_String_Cmp+0x0): first defined here [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: libharu/src/hpdf_annotation.c: In function 'HPDF_LinkAnnot_SetJavaScript': [INFO] [stderr] warning: libharu/src/hpdf_annotation.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: if (ret != HPDF_OK) [INFO] [stderr] warning: ^~ [INFO] [stderr] warning: libharu/src/hpdf_annotation.c:321:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' [INFO] [stderr] warning: ret += HPDF_Dict_Add (action, "JS", javascript); [INFO] [stderr] warning: ^~~ [INFO] [stderr] warning: libharu/src/hpdf_encoder_utf.c: In function 'UTF8_Encoder_ToUnicode_Func': [INFO] [stderr] warning: libharu/src/hpdf_encoder_utf.c:133:46: warning: unused parameter 'code' [-Wunused-parameter] [INFO] [stderr] warning: HPDF_UINT16 code) [INFO] [stderr] warning: ^~~~ [INFO] [stderr] warning: libharu/src/hpdf_font_cid.c: In function 'MeasureText': [INFO] [stderr] warning: libharu/src/hpdf_font_cid.c:679:19: warning: variable 'last_btype' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: HPDF_ByteType last_btype = HPDF_BYTE_TYPE_TRIAL; [INFO] [stderr] warning: ^~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_jp.c:1042:29: warning: 'MS_PMincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width MS_PMincho_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_jp.c:783:29: warning: 'MS_Mincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width MS_Mincho_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_kr.c:818:29: warning: 'Batang_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width Batang_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_fontdef_kr.c:622:29: warning: 'BatangChe_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CID_Width BatangChe_W_ARRAY[] = { [INFO] [stderr] warning: ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pages.c:52:29: warning: 'DEF_CMYK_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_CMYKColor DEF_CMYK_COLOR = {0, 0, 0, 0}; [INFO] [stderr] warning: ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pages.c:50:28: warning: 'DEF_RGB_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: static const HPDF_RGBColor DEF_RGB_COLOR = {0, 0, 0}; [INFO] [stderr] warning: ^~~~~~~~~~~~~ [INFO] [stderr] warning: libharu/src/hpdf_pdfa.c: In function 'HPDF_PDFA_SetPDFAConformance': [INFO] [stderr] warning: libharu/src/hpdf_pdfa.c:154:17: warning: unused variable 'info' [-Wunused-variable] [INFO] [stderr] warning: const char *info = NULL; [INFO] [stderr] warning: ^~~~ [INFO] [stderr] [INFO] [stderr] error: Could not compile `libharu-sys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "899ad3fdec01f4d6201f85b734d5e24dca90768271303860404beeaf3bb436fc"` [INFO] running `"docker" "rm" "-f" "899ad3fdec01f4d6201f85b734d5e24dca90768271303860404beeaf3bb436fc"` [INFO] [stdout] 899ad3fdec01f4d6201f85b734d5e24dca90768271303860404beeaf3bb436fc