[INFO] fetching crate printpdf 0.5.2... [INFO] testing printpdf-0.5.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate printpdf 0.5.2 into /workspace/builds/worker-89/source [INFO] validating manifest of crates.io crate printpdf 0.5.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate printpdf 0.5.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate printpdf 0.5.2 [INFO] tweaked toml for crates.io crate printpdf 0.5.2 written to /workspace/builds/worker-89/source/Cargo.toml [INFO] crate crates.io crate printpdf 0.5.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-vo v0.1.0 [INFO] [stderr] Downloaded unicode-ccc v0.1.2 [INFO] [stderr] Downloaded unicode-script v0.5.4 [INFO] [stderr] Downloaded rctree v0.4.0 [INFO] [stderr] Downloaded fontdb v0.7.0 [INFO] [stderr] Downloaded bytemuck v1.7.3 [INFO] [stderr] Downloaded data-url v0.1.1 [INFO] [stderr] Downloaded owned_ttf_parser v0.12.1 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded pdf-writer v0.4.1 [INFO] [stderr] Downloaded lopdf v0.27.0 [INFO] [stderr] Downloaded usvg v0.19.0 [INFO] [stderr] Downloaded simplecss v0.2.1 [INFO] [stderr] Downloaded kurbo v0.8.3 [INFO] [stderr] Downloaded roxmltree v0.14.1 [INFO] [stderr] Downloaded unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Downloaded unicode-general-category v0.4.0 [INFO] [stderr] Downloaded svgtypes v0.8.0 [INFO] [stderr] Downloaded pom v3.2.0 [INFO] [stderr] Downloaded svg2pdf v0.1.0 [INFO] [stderr] Downloaded xmlwriter v0.1.0 [INFO] [stderr] Downloaded rustybuzz v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f79669b6c6e365e72994fab7046c7caf2ef308644c764fc34e88d1ceda612b3 [INFO] running `Command { std: "docker" "start" "-a" "1f79669b6c6e365e72994fab7046c7caf2ef308644c764fc34e88d1ceda612b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f79669b6c6e365e72994fab7046c7caf2ef308644c764fc34e88d1ceda612b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f79669b6c6e365e72994fab7046c7caf2ef308644c764fc34e88d1ceda612b3", kill_on_drop: false }` [INFO] [stdout] 1f79669b6c6e365e72994fab7046c7caf2ef308644c764fc34e88d1ceda612b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9bc06cabd6c3014a80116aface7ddbe1b1d415a0f553a39341d3cbdfaf8ad3b [INFO] running `Command { std: "docker" "start" "-a" "f9bc06cabd6c3014a80116aface7ddbe1b1d415a0f553a39341d3cbdfaf8ad3b", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling pom v3.2.0 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean 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] Compiling encoding v0.2.33 [INFO] [stderr] Compiling owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling flate2 v1.0.22 [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.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `icc_profiles` [INFO] [stdout] --> src/pdf_document.rs:27:5 [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] --> src/pdf_document.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/xobject.rs:292:5 [INFO] [stdout] | [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] --> src/xobject.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/xobject.rs:437:5 [INFO] [stdout] | [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] --> src/xobject.rs:435:10 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level1` [INFO] [stdout] --> src/xobject.rs:600:5 [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] --> src/xobject.rs:595:10 [INFO] [stdout] | [INFO] [stdout] 595 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_document.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | &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] 291 | 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 1m 01s [INFO] running `Command { std: "docker" "inspect" "f9bc06cabd6c3014a80116aface7ddbe1b1d415a0f553a39341d3cbdfaf8ad3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9bc06cabd6c3014a80116aface7ddbe1b1d415a0f553a39341d3cbdfaf8ad3b", kill_on_drop: false }` [INFO] [stdout] f9bc06cabd6c3014a80116aface7ddbe1b1d415a0f553a39341d3cbdfaf8ad3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fb78f635f6eb35803fae85ab59a5b54458314d1d414621640e1bf7674271a3e [INFO] running `Command { std: "docker" "start" "-a" "5fb78f635f6eb35803fae85ab59a5b54458314d1d414621640e1bf7674271a3e", kill_on_drop: false }` [INFO] [stderr] Compiling printpdf v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `icc_profiles` [INFO] [stdout] --> src/pdf_document.rs:27:5 [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] --> src/pdf_document.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/xobject.rs:292:5 [INFO] [stdout] | [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] --> src/xobject.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/xobject.rs:437:5 [INFO] [stdout] | [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] --> src/xobject.rs:435:10 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level1` [INFO] [stdout] --> src/xobject.rs:600:5 [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] --> src/xobject.rs:595:10 [INFO] [stdout] | [INFO] [stdout] 595 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_document.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | &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] 291 | 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 is never read: `icc_profiles` [INFO] [stdout] --> src/pdf_document.rs:27:5 [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] --> src/pdf_document.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/xobject.rs:292:5 [INFO] [stdout] | [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] --> src/xobject.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/xobject.rs:437:5 [INFO] [stdout] | [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] --> src/xobject.rs:435:10 [INFO] [stdout] | [INFO] [stdout] 435 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level1` [INFO] [stdout] --> src/xobject.rs:600:5 [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] --> src/xobject.rs:595:10 [INFO] [stdout] | [INFO] [stdout] 595 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_document.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | &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] 291 | 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 1.93s [INFO] running `Command { std: "docker" "inspect" "5fb78f635f6eb35803fae85ab59a5b54458314d1d414621640e1bf7674271a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb78f635f6eb35803fae85ab59a5b54458314d1d414621640e1bf7674271a3e", kill_on_drop: false }` [INFO] [stdout] 5fb78f635f6eb35803fae85ab59a5b54458314d1d414621640e1bf7674271a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f0da32c46ccec784aa5bca220679ed8e108cbd4333a9193ec097cb50a9b7f6d [INFO] running `Command { std: "docker" "start" "-a" "9f0da32c46ccec784aa5bca220679ed8e108cbd4333a9193ec097cb50a9b7f6d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `icc_profiles` [INFO] [stderr] --> src/pdf_document.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub(super) icc_profiles: IccProfileList, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PdfDocument` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/pdf_document.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/xobject.rs:292:5 [INFO] [stderr] | [INFO] [stderr] 292 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ImageXObjectRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/xobject.rs:290:10 [INFO] [stderr] | [INFO] [stderr] 290 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/xobject.rs:437:5 [INFO] [stderr] | [INFO] [stderr] 437 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FormXObjectRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/xobject.rs:435:10 [INFO] [stderr] | [INFO] [stderr] 435 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `level1` [INFO] [stderr] --> src/xobject.rs:600:5 [INFO] [stderr] | [INFO] [stderr] 600 | level1: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PostScriptXObject` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/xobject.rs:595:10 [INFO] [stderr] | [INFO] [stderr] 595 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/pdf_document.rs:291:9 [INFO] [stderr] | [INFO] [stderr] 291 | &self.document.borrow_mut().pages[page.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 291 | let _ = &self.document.borrow_mut().pages[page.0]; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `printpdf` (lib) generated 5 warnings [INFO] [stderr] warning: `printpdf` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: the item `calculate_points_for_circle` is imported redundantly [INFO] [stdout] [INFO] [stderr] --> examples/circle.rs:10:9 [INFO] [stdout] running 3 tests [INFO] [stderr] | [INFO] [stdout] test scale::mm_to_point_conversion ... ok [INFO] [stderr] 3 | use printpdf::*; [INFO] [stdout] test scale::point_to_mm_conversion ... ok [INFO] [stderr] | ----------- the item `calculate_points_for_circle` is already imported here [INFO] [stdout] test ctm::test_ctm_translate ... ok [INFO] [stderr] ... [INFO] [stdout] [INFO] [stderr] 10 | calculate_points_for_circle, [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `calculate_points_for_rect` is imported redundantly [INFO] [stderr] --> examples/circle.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 3 | use printpdf::*; [INFO] [stderr] | ----------- the item `calculate_points_for_rect` is already imported here [INFO] [stderr] ... [INFO] [stderr] 11 | calculate_points_for_rect [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `printpdf` (example "circle") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/printpdf-0ccc4b200d8cff64) [INFO] [stderr] Doc-tests printpdf [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/extgstate.rs - extgstate (line 18) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::BlackGenerationFunction::Default (line 824) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::BlackGenerationFunction::WithUnderColorRemoval (line 834) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::NonSeperableBlendMode (line 1199) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SeperableBlendMode::ColorBurn (line 1131) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SeperableBlendMode::ColorDodge (line 1120) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SeperableBlendMode::HardLight (line 1142) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SeperableBlendMode::Overlay (line 1099) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SeperableBlendMode::SoftLight (line 1153) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SpotFunction::Diamond (line 1004) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SpotFunction::Ellipse (line 976) ... ignored [INFO] [stdout] test src/extgstate.rs - extgstate::SpotFunction::Round (line 968) ... ignored [INFO] [stdout] test src/lib.rs - (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stdout] test src/lib.rs - (line 170) ... ok [INFO] [stdout] test src/lib.rs - (line 29) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `image_crate` [INFO] [stdout] --> src/lib.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 17 | let image = Image::try_from(image_crate::bmp::BmpDecoder::new(&mut image_file).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `image_crate` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from` found for struct `printpdf::Image` in the current scope [INFO] [stdout] --> src/lib.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 17 | let image = Image::try_from(image_crate::bmp::BmpDecoder::new(&mut image_file).unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `printpdf::Image` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::TryFrom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 29) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }', src/lib.rs:11:63 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55fe8d15d0fd - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55fe8d15d0fd - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55fe8d15d0fd - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55fe8d15d0fd - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55fe8d17e5dc - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55fe8d15a008 - std::io::Write::write_fmt::h70bc45872f37e7bb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55fe8d15eb97 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55fe8d15eb97 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55fe8d15eb97 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55fe8d15e860 - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:314:9 [INFO] [stdout] 10: 0x55fe8d15f2e9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55fe8d15efd7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55fe8d15d5c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55fe8d15ece9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55fe8d083403 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55fe8d0834f3 - core::result::unwrap_failed::h719f957ed74f93fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x55fe8d0872b5 - core::result::Result::unwrap::h4cc1e12e1986eee2 [INFO] [stdout] 17: 0x55fe8d08400f - rust_out::main::_doctest_main_src_lib_rs_29_0::hab5b915bcdc3e647 [INFO] [stdout] 18: 0x55fe8d083eb6 - rust_out::main::he239c4229bb09803 [INFO] [stdout] 19: 0x55fe8d083d73 - core::ops::function::FnOnce::call_once::h13013349529417b5 [INFO] [stdout] 20: 0x55fe8d0875a9 - std::sys_common::backtrace::__rust_begin_short_backtrace::hf40d275ec09763ca [INFO] [stdout] 21: 0x55fe8d087579 - std::rt::lang_start::{{closure}}::h3f8eb3e9838506c6 [INFO] [stdout] 22: 0x55fe8d15c7e1 - core::ops::function::impls:: for &F>::call_once::hb7014f43484a8b4e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55fe8d15c7e1 - std::panicking::try::do_call::h7bc9dc436daeb8c7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x55fe8d15c7e1 - std::panicking::try::h653d68a27ff5f175 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x55fe8d15c7e1 - std::panic::catch_unwind::h9d739f9f59895e68 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x55fe8d15c7e1 - std::rt::lang_start_internal::{{closure}}::hf006f2bc7ce22bbe [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x55fe8d15c7e1 - std::panicking::try::do_call::hfb39d6df61a2e69f [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x55fe8d15c7e1 - std::panicking::try::h13e2d225134958ac [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x55fe8d15c7e1 - std::panic::catch_unwind::h3bd49b5a5dfb1a50 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x55fe8d15c7e1 - std::rt::lang_start_internal::h2ba92edce36c035e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x55fe8d087561 - std::rt::lang_start::he6b3cd9500177830 [INFO] [stdout] 32: 0x55fe8d087a63 - main [INFO] [stdout] 33: 0x7f052e9eb0b3 - __libc_start_main [INFO] [stdout] 34: 0x55fe8d083c8e - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 121) [INFO] [stdout] src/lib.rs - (line 29) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 12 ignored; 0 measured; 0 filtered out; finished in 1.82s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9f0da32c46ccec784aa5bca220679ed8e108cbd4333a9193ec097cb50a9b7f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0da32c46ccec784aa5bca220679ed8e108cbd4333a9193ec097cb50a9b7f6d", kill_on_drop: false }` [INFO] [stdout] 9f0da32c46ccec784aa5bca220679ed8e108cbd4333a9193ec097cb50a9b7f6d