[INFO] fetching crate libharu-sys 0.0.1... [INFO] checking libharu-sys-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate libharu-sys 0.0.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate libharu-sys 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a848baaad97a49e07377d6f470abeaad1842e5bc8bbaa797c8c2fd836fe0bdfc [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" "a848baaad97a49e07377d6f470abeaad1842e5bc8bbaa797c8c2fd836fe0bdfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a848baaad97a49e07377d6f470abeaad1842e5bc8bbaa797c8c2fd836fe0bdfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a848baaad97a49e07377d6f470abeaad1842e5bc8bbaa797c8c2fd836fe0bdfc", kill_on_drop: false }` [INFO] [stdout] a848baaad97a49e07377d6f470abeaad1842e5bc8bbaa797c8c2fd836fe0bdfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6537ee3a798600a0a33517786cfeb99ec8d6adf77da9076040b41e1f8bc3863c [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" "6537ee3a798600a0a33517786cfeb99ec8d6adf77da9076040b41e1f8bc3863c", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling libharu-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking rayon-core v1.9.0 [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: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] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.19.0 [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] [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 29.19s [INFO] running `Command { std: "docker" "inspect" "6537ee3a798600a0a33517786cfeb99ec8d6adf77da9076040b41e1f8bc3863c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6537ee3a798600a0a33517786cfeb99ec8d6adf77da9076040b41e1f8bc3863c", kill_on_drop: false }` [INFO] [stdout] 6537ee3a798600a0a33517786cfeb99ec8d6adf77da9076040b41e1f8bc3863c