[INFO] cloning repository https://github.com/the10thWiz/simple-pdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/the10thWiz/simple-pdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fsimple-pdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fsimple-pdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fe782eb1e8120ecd8a365d08cfe8704ccc7296b [INFO] checking the10thWiz/simple-pdf against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fsimple-pdf" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the10thWiz/simple-pdf on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/the10thWiz/simple-pdf [INFO] finished tweaking git repo https://github.com/the10thWiz/simple-pdf [INFO] tweaked toml for git repo https://github.com/the10thWiz/simple-pdf written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/the10thWiz/simple-pdf 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09e522a308b971df0795232281d6b5d8f216db7a73dcac61f9936198abcb68ae [INFO] running `Command { std: "docker" "start" "-a" "09e522a308b971df0795232281d6b5d8f216db7a73dcac61f9936198abcb68ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09e522a308b971df0795232281d6b5d8f216db7a73dcac61f9936198abcb68ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e522a308b971df0795232281d6b5d8f216db7a73dcac61f9936198abcb68ae", kill_on_drop: false }` [INFO] [stdout] 09e522a308b971df0795232281d6b5d8f216db7a73dcac61f9936198abcb68ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd91fe9e22e34bcb8bfd2c64de26050c3fd9d2e6727f679a0715d9c16b6bb0b5 [INFO] running `Command { std: "docker" "start" "-a" "fd91fe9e22e34bcb8bfd2c64de26050c3fd9d2e6727f679a0715d9c16b6bb0b5", kill_on_drop: false }` [INFO] [stderr] Checking simple_pdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/graphics/context.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::pdf::{types::Stream, Name, ObjRef, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/graphics/context.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::pdf::{types::Stream, Name, ObjRef, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/text.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn fill(mut self, color: Color) -> GraphicText { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/graphics/context.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let (streams, resources) = self.graphics.compile(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/text.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn fill(mut self, color: Color) -> GraphicText { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/graphics/mod.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_font(&mut self, f: Rc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/graphics/context.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let (streams, resources) = self.graphics.compile(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/graphics/mod.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_font(&mut self, f: Rc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `catalog` and `outlines` are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PDF { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | catalog: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | outlines: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/graphics/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GraphicContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | stack: LinkedList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicContext` 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 `MMType1` is never constructed [INFO] [stdout] --> src/graphics/text.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 132 | enum FontType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 133 | Type1, [INFO] [stdout] 134 | MMType1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontType` 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 `first_char`, `last_char`, `widths`, `font_descriptor`, `encoding`, and `to_unicode` are never read [INFO] [stdout] --> src/graphics/text.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct FontObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 150 | first_char: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 151 | last_char: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 152 | widths: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | font_descriptor: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | // Fully optional [INFO] [stdout] 155 | encoding: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | to_unicode: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontObject` 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 `transform`, `clipping_path`, `text_state`, `line_state`, `rendering_intent`, and `blend_state` are never read [INFO] [stdout] --> src/graphics/context.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GraphicParameters { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 40 | context_type: GraphicsContextType, [INFO] [stdout] 41 | transform: (), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | clipping_path: (), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | text_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | line_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | rendering_intent: (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | blend_state: (), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicParameters` 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: method `render` is never used [INFO] [stdout] --> src/graphics/context.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl PatternBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | fn render(self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `catalog` and `outlines` are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PDF { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | catalog: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | outlines: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/graphics/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GraphicContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | stack: LinkedList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicContext` 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 `MMType1` is never constructed [INFO] [stdout] --> src/graphics/text.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 132 | enum FontType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 133 | Type1, [INFO] [stdout] 134 | MMType1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontType` 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 `first_char`, `last_char`, `widths`, `font_descriptor`, `encoding`, and `to_unicode` are never read [INFO] [stdout] --> src/graphics/text.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct FontObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 150 | first_char: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 151 | last_char: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 152 | widths: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | font_descriptor: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | // Fully optional [INFO] [stdout] 155 | encoding: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | to_unicode: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontObject` 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 `transform`, `clipping_path`, `text_state`, `line_state`, `rendering_intent`, and `blend_state` are never read [INFO] [stdout] --> src/graphics/context.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GraphicParameters { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 40 | context_type: GraphicsContextType, [INFO] [stdout] 41 | transform: (), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | clipping_path: (), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | text_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | line_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | rendering_intent: (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | blend_state: (), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicParameters` 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: method `render` is never used [INFO] [stdout] --> src/graphics/context.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl PatternBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | fn render(self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics` [INFO] [stdout] --> examples/text.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use simple_pdf::{graphics, Page, PDF}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/text.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut page = Page::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "fd91fe9e22e34bcb8bfd2c64de26050c3fd9d2e6727f679a0715d9c16b6bb0b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd91fe9e22e34bcb8bfd2c64de26050c3fd9d2e6727f679a0715d9c16b6bb0b5", kill_on_drop: false }` [INFO] [stdout] fd91fe9e22e34bcb8bfd2c64de26050c3fd9d2e6727f679a0715d9c16b6bb0b5 [INFO] checking the10thWiz/simple-pdf against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fsimple-pdf" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the10thWiz/simple-pdf on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/the10thWiz/simple-pdf [INFO] finished tweaking git repo https://github.com/the10thWiz/simple-pdf [INFO] tweaked toml for git repo https://github.com/the10thWiz/simple-pdf written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/the10thWiz/simple-pdf 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc13f7ebfe37d600da1709354c30baff6735ff9c35a7d17cbdb0eeb604ce63ef [INFO] running `Command { std: "docker" "start" "-a" "cc13f7ebfe37d600da1709354c30baff6735ff9c35a7d17cbdb0eeb604ce63ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc13f7ebfe37d600da1709354c30baff6735ff9c35a7d17cbdb0eeb604ce63ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc13f7ebfe37d600da1709354c30baff6735ff9c35a7d17cbdb0eeb604ce63ef", kill_on_drop: false }` [INFO] [stdout] cc13f7ebfe37d600da1709354c30baff6735ff9c35a7d17cbdb0eeb604ce63ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6902e70aaf341e294201b245e51489396d8d23a3696d43d2817e396f9513278b [INFO] running `Command { std: "docker" "start" "-a" "6902e70aaf341e294201b245e51489396d8d23a3696d43d2817e396f9513278b", kill_on_drop: false }` [INFO] [stderr] Checking simple_pdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/graphics/context.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::pdf::{types::Stream, Name, ObjRef, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Object` [INFO] [stdout] --> src/graphics/context.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::pdf::{types::Stream, Name, ObjRef, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/text.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn fill(mut self, color: Color) -> GraphicText { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics/text.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn fill(mut self, color: Color) -> GraphicText { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/graphics/context.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let (streams, resources) = self.graphics.compile(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/graphics/context.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let (streams, resources) = self.graphics.compile(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/graphics/mod.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_font(&mut self, f: Rc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/graphics/mod.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_font(&mut self, f: Rc) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `catalog` and `outlines` are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PDF { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | catalog: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | outlines: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/graphics/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GraphicContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | stack: LinkedList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicContext` 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 `MMType1` is never constructed [INFO] [stdout] --> src/graphics/text.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 132 | enum FontType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 133 | Type1, [INFO] [stdout] 134 | MMType1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontType` 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 `first_char`, `last_char`, `widths`, `font_descriptor`, `encoding`, and `to_unicode` are never read [INFO] [stdout] --> src/graphics/text.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct FontObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 150 | first_char: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 151 | last_char: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 152 | widths: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | font_descriptor: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | // Fully optional [INFO] [stdout] 155 | encoding: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | to_unicode: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontObject` 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 `transform`, `clipping_path`, `text_state`, `line_state`, `rendering_intent`, and `blend_state` are never read [INFO] [stdout] --> src/graphics/context.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GraphicParameters { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 40 | context_type: GraphicsContextType, [INFO] [stdout] 41 | transform: (), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | clipping_path: (), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | text_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | line_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | rendering_intent: (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | blend_state: (), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicParameters` 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: method `render` is never used [INFO] [stdout] --> src/graphics/context.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl PatternBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | fn render(self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `catalog` and `outlines` are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PDF { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | catalog: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | outlines: Rc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/graphics/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GraphicContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | stack: LinkedList, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicContext` 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 `MMType1` is never constructed [INFO] [stdout] --> src/graphics/text.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 132 | enum FontType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 133 | Type1, [INFO] [stdout] 134 | MMType1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontType` 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 `first_char`, `last_char`, `widths`, `font_descriptor`, `encoding`, and `to_unicode` are never read [INFO] [stdout] --> src/graphics/text.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct FontObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 150 | first_char: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 151 | last_char: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 152 | widths: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | font_descriptor: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | // Fully optional [INFO] [stdout] 155 | encoding: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | to_unicode: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FontObject` 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 `transform`, `clipping_path`, `text_state`, `line_state`, `rendering_intent`, and `blend_state` are never read [INFO] [stdout] --> src/graphics/context.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GraphicParameters { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 40 | context_type: GraphicsContextType, [INFO] [stdout] 41 | transform: (), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | clipping_path: (), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | text_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | line_state: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | rendering_intent: (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | blend_state: (), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicParameters` 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: method `render` is never used [INFO] [stdout] --> src/graphics/context.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl PatternBuilder { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | fn render(self) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics` [INFO] [stdout] --> examples/text.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use simple_pdf::{graphics, Page, PDF}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/text.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut page = Page::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "6902e70aaf341e294201b245e51489396d8d23a3696d43d2817e396f9513278b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6902e70aaf341e294201b245e51489396d8d23a3696d43d2817e396f9513278b", kill_on_drop: false }` [INFO] [stdout] 6902e70aaf341e294201b245e51489396d8d23a3696d43d2817e396f9513278b