[INFO] fetching crate libharu-sys 0.0.1... [INFO] checking libharu-sys-0.0.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate libharu-sys 0.0.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate libharu-sys 0.0.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef0813f7887d97b28aaecd06d9e423e8700577e08d88dd4eb8bea000dba3bd4c [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" "ef0813f7887d97b28aaecd06d9e423e8700577e08d88dd4eb8bea000dba3bd4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef0813f7887d97b28aaecd06d9e423e8700577e08d88dd4eb8bea000dba3bd4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef0813f7887d97b28aaecd06d9e423e8700577e08d88dd4eb8bea000dba3bd4c", kill_on_drop: false }` [INFO] [stdout] ef0813f7887d97b28aaecd06d9e423e8700577e08d88dd4eb8bea000dba3bd4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37780929816dfa23998628f49fc09816edcaa1d2510bf8bc1d85666ec91d46ad [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" "37780929816dfa23998628f49fc09816edcaa1d2510bf8bc1d85666ec91d46ad", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking libc v0.2.81 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling libharu-sys v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v0.6.13 [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] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [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 42.21s [INFO] running `Command { std: "docker" "inspect" "37780929816dfa23998628f49fc09816edcaa1d2510bf8bc1d85666ec91d46ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37780929816dfa23998628f49fc09816edcaa1d2510bf8bc1d85666ec91d46ad", kill_on_drop: false }` [INFO] [stdout] 37780929816dfa23998628f49fc09816edcaa1d2510bf8bc1d85666ec91d46ad