[INFO] fetching crate libharu-sys 0.0.1... [INFO] testing libharu-sys-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate libharu-sys 0.0.1 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libharu-sys 0.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding image v0.19.0 (available: v0.25.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faf80be377ab7a30f891240c5ec2e88df8fb3d486152df8bc7aa4dca922ad357 [INFO] running `Command { std: "docker" "start" "-a" "faf80be377ab7a30f891240c5ec2e88df8fb3d486152df8bc7aa4dca922ad357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faf80be377ab7a30f891240c5ec2e88df8fb3d486152df8bc7aa4dca922ad357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf80be377ab7a30f891240c5ec2e88df8fb3d486152df8bc7aa4dca922ad357", kill_on_drop: false }` [INFO] [stdout] faf80be377ab7a30f891240c5ec2e88df8fb3d486152df8bc7aa4dca922ad357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b63181d23bd6c2ac360ae3842fc5a7596b5154cdffd4f7e784944669edaae630 [INFO] running `Command { std: "docker" "start" "-a" "b63181d23bd6c2ac360ae3842fc5a7596b5154cdffd4f7e784944669edaae630", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:10 [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] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c: In function 'HPDF_LinkAnnot_SetJavaScript': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libharu-sys@0.0.1: 318 | if (ret != HPDF_OK) [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c:321:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libharu-sys@0.0.1: 321 | ret += HPDF_Dict_Add (action, "JS", javascript); [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_encoder_utf.c: In function 'UTF8_Encoder_ToUnicode_Func': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_encoder_utf.c:133:46: warning: unused parameter 'code' [-Wunused-parameter] [INFO] [stderr] warning: libharu-sys@0.0.1: 133 | HPDF_UINT16 code) [INFO] [stderr] warning: libharu-sys@0.0.1: | ~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_font_cid.c: In function 'MeasureText': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_font_cid.c:679:19: warning: variable 'last_btype' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: libharu-sys@0.0.1: 679 | HPDF_ByteType last_btype = HPDF_BYTE_TYPE_TRIAL; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_jp.c:1042:29: warning: 'MS_PMincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 1042 | static const HPDF_CID_Width MS_PMincho_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_jp.c:783:29: warning: 'MS_Mincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 783 | static const HPDF_CID_Width MS_Mincho_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_kr.c:818:29: warning: 'Batang_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 818 | static const HPDF_CID_Width Batang_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_kr.c:622:29: warning: 'BatangChe_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 622 | static const HPDF_CID_Width BatangChe_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pages.c:52:29: warning: 'DEF_CMYK_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 52 | static const HPDF_CMYKColor DEF_CMYK_COLOR = {0, 0, 0, 0}; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pages.c:50:28: warning: 'DEF_RGB_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 50 | static const HPDF_RGBColor DEF_RGB_COLOR = {0, 0, 0}; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pdfa.c: In function 'HPDF_PDFA_SetPDFAConformance': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pdfa.c:154:17: warning: unused variable 'info' [-Wunused-variable] [INFO] [stderr] warning: libharu-sys@0.0.1: 154 | const char *info = NULL; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~ [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1143:1 [INFO] [stdout] | [INFO] [stdout] 1143 | extern{ [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1144:38 [INFO] [stdout] | [INFO] [stdout] 1144 | pub fn HPDF_New (user_error_fn: extern fn(HPDF_STATUS, HPDF_STATUS, HPDF_HANDLE), user_data: HPDF_HANDLE) -> HPDF_Doc; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.16s [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/lib.rs:11:31 [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:32 [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:31 [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:32 [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:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b63181d23bd6c2ac360ae3842fc5a7596b5154cdffd4f7e784944669edaae630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63181d23bd6c2ac360ae3842fc5a7596b5154cdffd4f7e784944669edaae630", kill_on_drop: false }` [INFO] [stdout] b63181d23bd6c2ac360ae3842fc5a7596b5154cdffd4f7e784944669edaae630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e437d04dc43a2c0d964b51a3f500050f26bb7a8ed27d64109248b43842e82352 [INFO] running `Command { std: "docker" "start" "-a" "e437d04dc43a2c0d964b51a3f500050f26bb7a8ed27d64109248b43842e82352", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c: In function 'HPDF_LinkAnnot_SetJavaScript': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [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:10 [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] [stderr] warning: libharu-sys@0.0.1: 318 | if (ret != HPDF_OK) [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c:321:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libharu-sys@0.0.1: 321 | ret += HPDF_Dict_Add (action, "JS", javascript); [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_encoder_utf.c: In function 'UTF8_Encoder_ToUnicode_Func': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_encoder_utf.c:133:46: warning: unused parameter 'code' [-Wunused-parameter] [INFO] [stderr] warning: libharu-sys@0.0.1: 133 | HPDF_UINT16 code) [INFO] [stderr] warning: libharu-sys@0.0.1: | ~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_font_cid.c: In function 'MeasureText': [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1143:1 [INFO] [stdout] | [INFO] [stdout] 1143 | extern{ [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_font_cid.c:679:19: warning: variable 'last_btype' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: libharu-sys@0.0.1: 679 | HPDF_ByteType last_btype = HPDF_BYTE_TYPE_TRIAL; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_jp.c:1042:29: warning: 'MS_PMincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 1042 | static const HPDF_CID_Width MS_PMincho_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_jp.c:783:29: warning: 'MS_Mincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 783 | static const HPDF_CID_Width MS_Mincho_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_kr.c:818:29: warning: 'Batang_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 818 | static const HPDF_CID_Width Batang_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_kr.c:622:29: warning: 'BatangChe_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 622 | static const HPDF_CID_Width BatangChe_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pages.c:52:29: warning: 'DEF_CMYK_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 52 | static const HPDF_CMYKColor DEF_CMYK_COLOR = {0, 0, 0, 0}; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pages.c:50:28: warning: 'DEF_RGB_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1144:38 [INFO] [stdout] | [INFO] [stdout] 1144 | pub fn HPDF_New (user_error_fn: extern fn(HPDF_STATUS, HPDF_STATUS, HPDF_HANDLE), user_data: HPDF_HANDLE) -> HPDF_Doc; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libharu-sys@0.0.1: 50 | static const HPDF_RGBColor DEF_RGB_COLOR = {0, 0, 0}; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pdfa.c: In function 'HPDF_PDFA_SetPDFAConformance': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pdfa.c:154:17: warning: unused variable 'info' [-Wunused-variable] [INFO] [stderr] warning: libharu-sys@0.0.1: 154 | const char *info = NULL; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~ [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/lib.rs:11:31 [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:32 [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:31 [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:32 [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:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling libharu-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1143:1 [INFO] [stdout] | [INFO] [stdout] 1143 | extern{ [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:1144:38 [INFO] [stdout] | [INFO] [stdout] 1144 | pub fn HPDF_New (user_error_fn: extern fn(HPDF_STATUS, HPDF_STATUS, HPDF_HANDLE), user_data: HPDF_HANDLE) -> HPDF_Doc; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/lib.rs:11:31 [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:32 [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:31 [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:32 [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:32 [INFO] [stdout] | [INFO] [stdout] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.58s [INFO] running `Command { std: "docker" "inspect" "e437d04dc43a2c0d964b51a3f500050f26bb7a8ed27d64109248b43842e82352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e437d04dc43a2c0d964b51a3f500050f26bb7a8ed27d64109248b43842e82352", kill_on_drop: false }` [INFO] [stdout] e437d04dc43a2c0d964b51a3f500050f26bb7a8ed27d64109248b43842e82352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3deeee97eb292d73083569bb06f5bc2562a6e396a37ac0f65a3eb348ba9c0c4 [INFO] running `Command { std: "docker" "start" "-a" "d3deeee97eb292d73083569bb06f5bc2562a6e396a37ac0f65a3eb348ba9c0c4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated struct `gcc::Build`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> libharu/build.rs:20:10 [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 associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> libharu/build.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | gcc::Build::new() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `libharu-sys` (build script) generated 2 warnings [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c: In function 'HPDF_LinkAnnot_SetJavaScript': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c:318:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libharu-sys@0.0.1: 318 | if (ret != HPDF_OK) [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_annotation.c:321:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libharu-sys@0.0.1: 321 | ret += HPDF_Dict_Add (action, "JS", javascript); [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_encoder_utf.c: In function 'UTF8_Encoder_ToUnicode_Func': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_encoder_utf.c:133:46: warning: unused parameter 'code' [-Wunused-parameter] [INFO] [stderr] warning: libharu-sys@0.0.1: 133 | HPDF_UINT16 code) [INFO] [stderr] warning: libharu-sys@0.0.1: | ~~~~~~~~~~~~~~~^~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_font_cid.c: In function 'MeasureText': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_font_cid.c:679:19: warning: variable 'last_btype' set but not used [-Wunused-but-set-variable] [INFO] [stderr] warning: libharu-sys@0.0.1: 679 | HPDF_ByteType last_btype = HPDF_BYTE_TYPE_TRIAL; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_jp.c:1042:29: warning: 'MS_PMincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 1042 | static const HPDF_CID_Width MS_PMincho_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_jp.c:783:29: warning: 'MS_Mincho_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 783 | static const HPDF_CID_Width MS_Mincho_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_kr.c:818:29: warning: 'Batang_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 818 | static const HPDF_CID_Width Batang_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_fontdef_kr.c:622:29: warning: 'BatangChe_W_ARRAY' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 622 | static const HPDF_CID_Width BatangChe_W_ARRAY[] = { [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pages.c:52:29: warning: 'DEF_CMYK_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 52 | static const HPDF_CMYKColor DEF_CMYK_COLOR = {0, 0, 0, 0}; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pages.c:50:28: warning: 'DEF_RGB_COLOR' defined but not used [-Wunused-const-variable=] [INFO] [stderr] warning: libharu-sys@0.0.1: 50 | static const HPDF_RGBColor DEF_RGB_COLOR = {0, 0, 0}; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pdfa.c: In function 'HPDF_PDFA_SetPDFAConformance': [INFO] [stderr] warning: libharu-sys@0.0.1: libharu/src/hpdf_pdfa.c:154:17: warning: unused variable 'info' [-Wunused-variable] [INFO] [stderr] warning: libharu-sys@0.0.1: 154 | const char *info = NULL; [INFO] [stderr] warning: libharu-sys@0.0.1: | ^~~~ [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:1143:1 [INFO] [stderr] | [INFO] [stderr] 1143 | extern{ [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:1144:38 [INFO] [stderr] | [INFO] [stderr] 1144 | pub fn HPDF_New (user_error_fn: extern fn(HPDF_STATUS, HPDF_STATUS, HPDF_HANDLE), user_data: HPDF_HANDLE) -> HPDF_Doc; [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stderr] --> src/lib.rs:11:31 [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 type alias `libc::uint32_t`: Use u32 instead. [INFO] [stderr] --> src/lib.rs:12:32 [INFO] [stderr] | [INFO] [stderr] 12 | pub type HPDF_UINT32 = libc::uint32_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::int16_t`: Use i16 instead. [INFO] [stderr] --> src/lib.rs:17:31 [INFO] [stderr] | [INFO] [stderr] 17 | pub type HPDF_INT16 = libc::int16_t; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead. [INFO] [stderr] --> src/lib.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | pub type HPDF_UINT16 = libc::uint16_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stderr] --> src/lib.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | pub type HPDF_STATUS = libc::uint32_t; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libharu-sys` (lib) generated 7 warnings (run `cargo fix --lib -p libharu-sys` to apply 2 suggestions) [INFO] [stderr] warning: `libharu-sys` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libharu_sys-1f0df4e4355c1b8b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libharu_sys [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d3deeee97eb292d73083569bb06f5bc2562a6e396a37ac0f65a3eb348ba9c0c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3deeee97eb292d73083569bb06f5bc2562a6e396a37ac0f65a3eb348ba9c0c4", kill_on_drop: false }` [INFO] [stdout] d3deeee97eb292d73083569bb06f5bc2562a6e396a37ac0f65a3eb348ba9c0c4