[INFO] cloning repository https://github.com/vs-mark-graham-smith/pdf-compiler-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vs-mark-graham-smith/pdf-compiler-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvs-mark-graham-smith%2Fpdf-compiler-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvs-mark-graham-smith%2Fpdf-compiler-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aebbb870724c9187566260c0c2fcc89083fda715 [INFO] checking vs-mark-graham-smith/pdf-compiler-prototype against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvs-mark-graham-smith%2Fpdf-compiler-prototype" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vs-mark-graham-smith/pdf-compiler-prototype on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vs-mark-graham-smith/pdf-compiler-prototype [INFO] finished tweaking git repo https://github.com/vs-mark-graham-smith/pdf-compiler-prototype [INFO] tweaked toml for git repo https://github.com/vs-mark-graham-smith/pdf-compiler-prototype written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vs-mark-graham-smith/pdf-compiler-prototype already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f2071d057500f33c70d90a04e626fa531acd3721a7355025921079cb5fde6f [INFO] running `Command { std: "docker" "start" "-a" "58f2071d057500f33c70d90a04e626fa531acd3721a7355025921079cb5fde6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f2071d057500f33c70d90a04e626fa531acd3721a7355025921079cb5fde6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f2071d057500f33c70d90a04e626fa531acd3721a7355025921079cb5fde6f", kill_on_drop: false }` [INFO] [stdout] 58f2071d057500f33c70d90a04e626fa531acd3721a7355025921079cb5fde6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8c3072f5f11b5bbe431948a2048cf25175244029f4594de613b13b27cc132a1 [INFO] running `Command { std: "docker" "start" "-a" "c8c3072f5f11b5bbe431948a2048cf25175244029f4594de613b13b27cc132a1", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking parser-v2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pdf_page::PDFPages` [INFO] [stdout] --> src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pdf_page::PDFPages, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parser.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | if ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 59 | | self.start_tag_opened [INFO] [stdout] | |________________________^ [INFO] [stdout] 60 | && self.start_tag_closed [INFO] [stdout] 61 | && self.end_tag_opened [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 62 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 ~ if self.start_tag_opened [INFO] [stdout] 59 | && self.start_tag_closed [INFO] [stdout] 60 ~ && self.end_tag_opened { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf_page::PDFPages` [INFO] [stdout] --> src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pdf_page::PDFPages, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/parser.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | if ( [INFO] [stdout] | ________________________^ [INFO] [stdout] 59 | | self.start_tag_opened [INFO] [stdout] | |________________________^ [INFO] [stdout] 60 | && self.start_tag_closed [INFO] [stdout] 61 | && self.end_tag_opened [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 62 | | ) { [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 ~ if self.start_tag_opened [INFO] [stdout] 59 | && self.start_tag_closed [INFO] [stdout] 60 ~ && self.end_tag_opened { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | Attribute((String, String)), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | Attribute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | Content(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 60 | Content(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/pdf_document/pdf_page.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PDFPage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | objects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFPage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `children` are never read [INFO] [stdout] --> src/pdf_document/pdf_page/pdf_object.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct PDFObject { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | kind: PDFObjectKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | children: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Text` is never constructed [INFO] [stdout] --> src/pdf_document/pdf_page/pdf_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PDFObjectKind { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 9 | Text(String) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFObjectKind` 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 `0` is never read [INFO] [stdout] --> src/token.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | Attribute((String, String)), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 59 | Attribute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | Content(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 60 | Content(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/pdf_document/pdf_page.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct PDFPage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 63 | objects: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFPage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `children` are never read [INFO] [stdout] --> src/pdf_document/pdf_page/pdf_object.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct PDFObject { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | kind: PDFObjectKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | children: Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Text` is never constructed [INFO] [stdout] --> src/pdf_document/pdf_page/pdf_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum PDFObjectKind { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 9 | Text(String) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFObjectKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "c8c3072f5f11b5bbe431948a2048cf25175244029f4594de613b13b27cc132a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c3072f5f11b5bbe431948a2048cf25175244029f4594de613b13b27cc132a1", kill_on_drop: false }` [INFO] [stdout] c8c3072f5f11b5bbe431948a2048cf25175244029f4594de613b13b27cc132a1