[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe10thWiz%2Fsimple-pdf" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the10thWiz/simple-pdf 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/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-6-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3140b69353d9c8aab65a06f2b8e1254af8cb7ef47e9b002418eb6f7d7371bb22 [INFO] running `Command { std: "docker" "start" "-a" "3140b69353d9c8aab65a06f2b8e1254af8cb7ef47e9b002418eb6f7d7371bb22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3140b69353d9c8aab65a06f2b8e1254af8cb7ef47e9b002418eb6f7d7371bb22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3140b69353d9c8aab65a06f2b8e1254af8cb7ef47e9b002418eb6f7d7371bb22", kill_on_drop: false }` [INFO] [stdout] 3140b69353d9c8aab65a06f2b8e1254af8cb7ef47e9b002418eb6f7d7371bb22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] da10f76483121c61035381bd9f6eb577212eb8c4b713482c6802dd2eb20fd9f5 [INFO] running `Command { std: "docker" "start" "-a" "da10f76483121c61035381bd9f6eb577212eb8c4b713482c6802dd2eb20fd9f5", 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.22s [INFO] running `Command { std: "docker" "inspect" "da10f76483121c61035381bd9f6eb577212eb8c4b713482c6802dd2eb20fd9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da10f76483121c61035381bd9f6eb577212eb8c4b713482c6802dd2eb20fd9f5", kill_on_drop: false }` [INFO] [stdout] da10f76483121c61035381bd9f6eb577212eb8c4b713482c6802dd2eb20fd9f5