[INFO] crate libharu-sys 0.0.1 is already in cache [INFO] testing libharu-sys-0.0.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate libharu-sys 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate libharu-sys 0.0.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate libharu-sys 0.0.1 [INFO] finished tweaking crates.io crate libharu-sys 0.0.1 [INFO] tweaked toml for crates.io crate libharu-sys 0.0.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 766734cb6011753d65f10bc54c885421840f75feb031f94c5934db3adafa677d [INFO] running `Command { std: "docker" "start" "-a" "766734cb6011753d65f10bc54c885421840f75feb031f94c5934db3adafa677d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "766734cb6011753d65f10bc54c885421840f75feb031f94c5934db3adafa677d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "766734cb6011753d65f10bc54c885421840f75feb031f94c5934db3adafa677d", kill_on_drop: false }` [INFO] [stdout] 766734cb6011753d65f10bc54c885421840f75feb031f94c5934db3adafa677d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b44b84add1586612ea280295a236b40e5d589e0038cc2a3a1b103070f9e7b250 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b44b84add1586612ea280295a236b40e5d589e0038cc2a3a1b103070f9e7b250", kill_on_drop: false }` [INFO] [stderr] Compiling libharu-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'gcc::Build': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> libharu/build.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | gcc::Build::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> libharu/build.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | gcc::Build::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 318 | 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 were guarded by the 'if' [INFO] [stderr] warning: 321 | 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: 133 | 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: 679 | 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: 1042 | 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: 783 | 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: 818 | 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: 622 | 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: 52 | 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: 50 | 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: 154 | const char *info = NULL; [INFO] [stderr] warning: | ^~~~ [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/lib.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub type HPDF_INT32 = libc::int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/lib.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub type HPDF_UINT32 = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int16_t': Use i16 instead. [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub type HPDF_INT16 = libc::int16_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint16_t': Use u16 instead. [INFO] [stdout] --> src/lib.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub type HPDF_UINT16 = libc::uint16_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/lib.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.65s [INFO] running `Command { std: "docker" "inspect" "b44b84add1586612ea280295a236b40e5d589e0038cc2a3a1b103070f9e7b250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b44b84add1586612ea280295a236b40e5d589e0038cc2a3a1b103070f9e7b250", kill_on_drop: false }` [INFO] [stdout] b44b84add1586612ea280295a236b40e5d589e0038cc2a3a1b103070f9e7b250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8175af0b52bac71bb584da6fa47410ac36bbf98a1cd6596c07cbe2d04e53e963 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8175af0b52bac71bb584da6fa47410ac36bbf98a1cd6596c07cbe2d04e53e963", kill_on_drop: false }` [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] [stdout] warning: use of deprecated item 'gcc::Build': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> libharu/build.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | gcc::Build::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 318 | if (ret != HPDF_OK) [INFO] [stdout] warning: use of deprecated item 'gcc::Build::new': crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> libharu/build.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | gcc::Build::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: | ^~ [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libharu/src/hpdf_annotation.c:321:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: 321 | 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: 133 | 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: 679 | 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: 1042 | 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: 783 | 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: 818 | 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: 622 | static const HPDF_CID_Width BatangChe_W_ARRAY[] = { [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~ [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/lib.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub type HPDF_INT32 = libc::int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libharu/src/hpdf_pages.c:52:29: warning: 'DEF_CMYK_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/lib.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub type HPDF_UINT32 = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: 52 | static const HPDF_CMYKColor DEF_CMYK_COLOR = {0, 0, 0, 0}; [INFO] [stdout] warning: use of deprecated item 'libc::int16_t': Use i16 instead. [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub type HPDF_INT16 = libc::int16_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: 50 | 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: 154 | const char *info = NULL; [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stdout] warning: use of deprecated item 'libc::uint16_t': Use u16 instead. [INFO] [stdout] --> src/lib.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub type HPDF_UINT16 = libc::uint16_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/lib.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling libharu-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'libc::int32_t': Use i32 instead. [INFO] [stdout] --> src/lib.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | pub type HPDF_INT32 = libc::int32_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/lib.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub type HPDF_UINT32 = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::int16_t': Use i16 instead. [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | pub type HPDF_INT16 = libc::int16_t; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint16_t': Use u16 instead. [INFO] [stdout] --> src/lib.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub type HPDF_UINT16 = libc::uint16_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'libc::uint32_t': Use u32 instead. [INFO] [stdout] --> src/lib.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/libharu_sys-c5b843907c50c56d.libharu_sys.71k9nhwk-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-c5b843907c50c56d.libharu_sys.71k9nhwk-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-c5b843907c50c56d.libharu_sys.71k9nhwk-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-c5b843907c50c56d.libharu_sys.71k9nhwk-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-c5b843907c50c56d.libharu_sys.71k9nhwk-cgu.4.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libharu_sys-c5b843907c50c56d" "/opt/rustwide/target/debug/deps/libharu_sys-c5b843907c50c56d.3tjyix20jsagkcqe.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lharu" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-12320b97c89568cd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-700356192fffd298.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-b7642fe67be89b55.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-5281c8ee01ffdf7b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a4e3948fb2172e36.rlib" "/opt/rustwide/target/debug/deps/liblibc-1da13201d615d981.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d66e0ceb8eaec9b8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9717ec0599b569a0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-04369de9ba916647.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-997d622c2e4dbe5c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0359c4288a5ef89f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-1b25ede22d698ab3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-37940b486a68e488.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-06b77c27e794c7c6.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4d07e02a8df36da1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-fb29e0695c0a0f79.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e16188b4cf97e8bb.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-5eb391c8dabdee77.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-b0689b528b222bee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-07-24-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ed072ac495e62e7a.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o): in function `HPDF_String_New': [INFO] [stdout] /opt/rustwide/workdir/libharu/src/hpdf_string.c:32: multiple definition of `HPDF_String_New'; /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o):/opt/rustwide/workdir/libharu/src/hpdf_string.c:32: first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o): in function `HPDF_String_SetValue': [INFO] [stdout] /opt/rustwide/workdir/libharu/src/hpdf_string.c:61: multiple definition of `HPDF_String_SetValue'; /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o):/opt/rustwide/workdir/libharu/src/hpdf_string.c:61: first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o): in function `HPDF_String_Free': [INFO] [stdout] /opt/rustwide/workdir/libharu/src/hpdf_string.c:89: multiple definition of `HPDF_String_Free'; /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o):/opt/rustwide/workdir/libharu/src/hpdf_string.c:89: first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o): in function `HPDF_String_Write': [INFO] [stdout] /opt/rustwide/workdir/libharu/src/hpdf_string.c:104: multiple definition of `HPDF_String_Write'; /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o):/opt/rustwide/workdir/libharu/src/hpdf_string.c:104: first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o): in function `HPDF_String_Cmp': [INFO] [stdout] /opt/rustwide/workdir/libharu/src/hpdf_string.c:198: multiple definition of `HPDF_String_Cmp'; /opt/rustwide/target/debug/build/libharu-sys-62eb13a11e968bf5/out/libharu.a(hpdf_string.o):/opt/rustwide/workdir/libharu/src/hpdf_string.c:198: first defined here [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 318 | 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 were guarded by the 'if' [INFO] [stderr] warning: 321 | 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: 133 | 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: 679 | 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: 1042 | 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: 783 | 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: 818 | 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: 622 | 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: 52 | 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: 50 | 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: 154 | 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 `Command { std: "docker" "inspect" "8175af0b52bac71bb584da6fa47410ac36bbf98a1cd6596c07cbe2d04e53e963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8175af0b52bac71bb584da6fa47410ac36bbf98a1cd6596c07cbe2d04e53e963", kill_on_drop: false }` [INFO] [stdout] 8175af0b52bac71bb584da6fa47410ac36bbf98a1cd6596c07cbe2d04e53e963