[INFO] fetching crate libharu-sys 0.0.1...
[INFO] testing libharu-sys-0.0.1 against 1.54.0 for beta-1.55-1
[INFO] extracting crate libharu-sys 0.0.1 into /workspace/builds/worker-20/source
[INFO] validating manifest of crates.io crate libharu-sys 0.0.1 on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-20/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7549740790a112c09539426143b5bc13ab6f3898c3b15dd6f28429ba04e4a3f
[INFO] running `Command { std: "docker" "start" "-a" "c7549740790a112c09539426143b5bc13ab6f3898c3b15dd6f28429ba04e4a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7549740790a112c09539426143b5bc13ab6f3898c3b15dd6f28429ba04e4a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7549740790a112c09539426143b5bc13ab6f3898c3b15dd6f28429ba04e4a3f", kill_on_drop: false }`
[INFO] [stdout] c7549740790a112c09539426143b5bc13ab6f3898c3b15dd6f28429ba04e4a3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c88f1ccff6c2763a601bc5db7df26176ab4b2e72b87bdac4fb86c00e04900a7d
[INFO] running `Command { std: "docker" "start" "-a" "c88f1ccff6c2763a601bc5db7df26176ab4b2e72b87bdac4fb86c00e04900a7d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling libharu-sys v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `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 associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]   --> libharu/build.rs:20:17
[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 type alias `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 type alias `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 type alias `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 type alias `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 type alias `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 8.25s
[INFO] running `Command { std: "docker" "inspect" "c88f1ccff6c2763a601bc5db7df26176ab4b2e72b87bdac4fb86c00e04900a7d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c88f1ccff6c2763a601bc5db7df26176ab4b2e72b87bdac4fb86c00e04900a7d", kill_on_drop: false }`
[INFO] [stdout] c88f1ccff6c2763a601bc5db7df26176ab4b2e72b87bdac4fb86c00e04900a7d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0d4cdd118658c9991ee461b402b5229430ed31d76cf433dbf64b6ef318b7eec
[INFO] running `Command { std: "docker" "start" "-a" "e0d4cdd118658c9991ee461b402b5229430ed31d76cf433dbf64b6ef318b7eec", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stdout] warning: use of deprecated struct `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]    Compiling gif v0.10.3
[INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained
[INFO] [stdout]   --> libharu/build.rs:20:17
[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 type alias `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 type alias `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 type alias `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 type alias `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 type alias `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.22
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling image v0.19.0
[INFO] [stderr]    Compiling libharu-sys v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated type alias `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 type alias `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 type alias `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 type alias `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 type alias `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 status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.libharu_sys.cg9qw2wz-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.libharu_sys.cg9qw2wz-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.libharu_sys.cg9qw2wz-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.libharu_sys.cg9qw2wz-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.libharu_sys.cg9qw2wz-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.libharu_sys.cg9qw2wz-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.libharu_sys.cg9qw2wz-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e.rn6xtmsql5j7xh5.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/libharu-sys-1de817c68e3871bd/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.54.0-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/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-3599c5491d44663f.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-1d56ea45a67842c8.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-9749f7c936ebf9a7.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-627a220173eefff1.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-16ed15e5bfe21b9b.rlib" "/opt/rustwide/target/debug/deps/liblibc-ef703b7b559de845.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2420485b9e5ef5e1.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-785e3cb61c4b1960.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-087191a88bdaa22d.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9981842c02975178.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-6fb405869b015fde.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d05c5c3c56004b7b.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-42d74d2097528b38.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb36534c113d2209.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b56b9042c12b6535.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-491902d6cb3e76df.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-61834e0981b8c367.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-f78aa99d613a55bc.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-53ee54cd7fed2c57.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-544ecdbd6cda3c58.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-379cc252b6943a79.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8063eea38dcc5e62.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5b228734afae15ee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d6c7a399d95d173f.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libharu_sys-53ed17a935a5787e" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/build/libharu-sys-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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-1de817c68e3871bd/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" "e0d4cdd118658c9991ee461b402b5229430ed31d76cf433dbf64b6ef318b7eec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0d4cdd118658c9991ee461b402b5229430ed31d76cf433dbf64b6ef318b7eec", kill_on_drop: false }`
[INFO] [stdout] e0d4cdd118658c9991ee461b402b5229430ed31d76cf433dbf64b6ef318b7eec
