[INFO] cloning repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fschutt/printpdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fprintpdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fprintpdf'... [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b3f605d1dd94218c518f54476a29fda0de2effa [INFO] checking fschutt/printpdf against try#7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fprintpdf" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fschutt/printpdf on toolchain 7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fschutt/printpdf [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/fschutt/printpdf [INFO] tweaked toml for git repo https://github.com/fschutt/printpdf written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/fschutt/printpdf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: example.0.default-features [INFO] [stderr] warning: unused manifest key: example.1.default-features [INFO] [stderr] warning: unused manifest key: example.2.default-features [INFO] [stderr] warning: unused manifest key: example.3.default-features [INFO] [stderr] warning: unused manifest key: example.4.default-features [INFO] [stderr] warning: unused manifest key: example.5.default-features [INFO] [stderr] warning: unused manifest key: example.6.default-features [INFO] [stderr] warning: unused manifest key: example.7.default-features [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff0b18588be8492ea8213d6af588ff92bbd1cec2a4ea04681d6a7736e02067ac [INFO] running `Command { std: "docker" "start" "-a" "ff0b18588be8492ea8213d6af588ff92bbd1cec2a4ea04681d6a7736e02067ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff0b18588be8492ea8213d6af588ff92bbd1cec2a4ea04681d6a7736e02067ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0b18588be8492ea8213d6af588ff92bbd1cec2a4ea04681d6a7736e02067ac", kill_on_drop: false }` [INFO] [stdout] ff0b18588be8492ea8213d6af588ff92bbd1cec2a4ea04681d6a7736e02067ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7186cef406bf4af90bc4c45284ad848ff0e9408355ae867fa6eef59ceb8e48a4 [INFO] running `Command { std: "docker" "start" "-a" "7186cef406bf4af90bc4c45284ad848ff0e9408355ae867fa6eef59ceb8e48a4", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: example.0.default-features [INFO] [stderr] warning: unused manifest key: example.1.default-features [INFO] [stderr] warning: unused manifest key: example.2.default-features [INFO] [stderr] warning: unused manifest key: example.3.default-features [INFO] [stderr] warning: unused manifest key: example.4.default-features [INFO] [stderr] warning: unused manifest key: example.5.default-features [INFO] [stderr] warning: unused manifest key: example.6.default-features [INFO] [stderr] warning: unused manifest key: example.7.default-features [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking pom v3.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking lopdf v0.27.0 [INFO] [stderr] Checking printpdf v0.5.2 (/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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `PdfDocument` 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 `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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `PdfDocument` 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 `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 dev [unoptimized + debuginfo] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "7186cef406bf4af90bc4c45284ad848ff0e9408355ae867fa6eef59ceb8e48a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7186cef406bf4af90bc4c45284ad848ff0e9408355ae867fa6eef59ceb8e48a4", kill_on_drop: false }` [INFO] [stdout] 7186cef406bf4af90bc4c45284ad848ff0e9408355ae867fa6eef59ceb8e48a4