[INFO] fetching crate printpdf 0.5.3... [INFO] building printpdf-0.5.3 against try#0c94de7c1a8f4b82b92d562847c35f513f520c7a for pr-102832-1 [INFO] extracting crate printpdf 0.5.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate printpdf 0.5.3 on toolchain 0c94de7c1a8f4b82b92d562847c35f513f520c7a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate printpdf 0.5.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate printpdf 0.5.3 [INFO] tweaked toml for crates.io crate printpdf 0.5.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate printpdf 0.5.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8add84692dc79b6bd2b305fd128e66b433e46a1545ae26343fecfca7eb77a59 [INFO] running `Command { std: "docker" "start" "-a" "d8add84692dc79b6bd2b305fd128e66b433e46a1545ae26343fecfca7eb77a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8add84692dc79b6bd2b305fd128e66b433e46a1545ae26343fecfca7eb77a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8add84692dc79b6bd2b305fd128e66b433e46a1545ae26343fecfca7eb77a59", kill_on_drop: false }` [INFO] [stdout] d8add84692dc79b6bd2b305fd128e66b433e46a1545ae26343fecfca7eb77a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7723b9e81d2d64060eac8813efe697413fe32674923a99b01812e112917537f2 [INFO] running `Command { std: "docker" "start" "-a" "7723b9e81d2d64060eac8813efe697413fe32674923a99b01812e112917537f2", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling pom v3.2.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling lopdf v0.27.0 [INFO] [stderr] Compiling printpdf v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `icc_profiles` is never read [INFO] [stdout] --> src/pdf_document.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PdfDocument { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) icc_profiles: IccProfileList, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfDocument` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/xobject.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct ImageXObjectRef { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 292 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageXObjectRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/xobject.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 436 | pub struct FormXObjectRef { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 437 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormXObjectRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level1` is never read [INFO] [stdout] --> src/xobject.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 596 | pub struct PostScriptXObject { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 600 | level1: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScriptXObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_document.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | &self.document.borrow_mut().pages[page.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 346 | let _ = &self.document.borrow_mut().pages[page.0]; [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 20.53s [INFO] running `Command { std: "docker" "inspect" "7723b9e81d2d64060eac8813efe697413fe32674923a99b01812e112917537f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7723b9e81d2d64060eac8813efe697413fe32674923a99b01812e112917537f2", kill_on_drop: false }` [INFO] [stdout] 7723b9e81d2d64060eac8813efe697413fe32674923a99b01812e112917537f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5fd6a2dc49c4ea9126c95341bb0eebe190324aa05ee70fe7fb348eeb5ceb0b8 [INFO] running `Command { std: "docker" "start" "-a" "a5fd6a2dc49c4ea9126c95341bb0eebe190324aa05ee70fe7fb348eeb5ceb0b8", kill_on_drop: false }` [INFO] [stderr] Compiling printpdf v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `icc_profiles` is never read [INFO] [stdout] --> src/pdf_document.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PdfDocument { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) icc_profiles: IccProfileList, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfDocument` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/xobject.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct ImageXObjectRef { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 292 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageXObjectRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/xobject.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 436 | pub struct FormXObjectRef { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 437 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormXObjectRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level1` is never read [INFO] [stdout] --> src/xobject.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 596 | pub struct PostScriptXObject { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 600 | level1: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScriptXObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_document.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | &self.document.borrow_mut().pages[page.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 346 | let _ = &self.document.borrow_mut().pages[page.0]; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `calculate_points_for_circle` is imported redundantly [INFO] [stdout] --> examples/circle.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 3 | use printpdf::*; [INFO] [stdout] | ----------- the item `calculate_points_for_circle` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | calculate_points_for_circle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `calculate_points_for_rect` is imported redundantly [INFO] [stdout] --> examples/circle.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 3 | use printpdf::*; [INFO] [stdout] | ----------- the item `calculate_points_for_rect` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | calculate_points_for_rect [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `icc_profiles` is never read [INFO] [stdout] --> src/pdf_document.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct PdfDocument { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) icc_profiles: IccProfileList, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PdfDocument` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/xobject.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct ImageXObjectRef { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 292 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ImageXObjectRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/xobject.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 436 | pub struct FormXObjectRef { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 437 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormXObjectRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level1` is never read [INFO] [stdout] --> src/xobject.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 596 | pub struct PostScriptXObject { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 600 | level1: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PostScriptXObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_document.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | &self.document.borrow_mut().pages[page.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 346 | let _ = &self.document.borrow_mut().pages[page.0]; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.83s [INFO] running `Command { std: "docker" "inspect" "a5fd6a2dc49c4ea9126c95341bb0eebe190324aa05ee70fe7fb348eeb5ceb0b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5fd6a2dc49c4ea9126c95341bb0eebe190324aa05ee70fe7fb348eeb5ceb0b8", kill_on_drop: false }` [INFO] [stdout] a5fd6a2dc49c4ea9126c95341bb0eebe190324aa05ee70fe7fb348eeb5ceb0b8