[INFO] cloning repository https://github.com/apple-x-co/rs-pdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apple-x-co/rs-pdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapple-x-co%2Frs-pdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapple-x-co%2Frs-pdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07cecedf933ec90db1110e45a6e3df31b61a61e6 [INFO] testing apple-x-co/rs-pdf against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapple-x-co%2Frs-pdf" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/apple-x-co/rs-pdf on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/apple-x-co/rs-pdf [INFO] finished tweaking git repo https://github.com/apple-x-co/rs-pdf [INFO] tweaked toml for git repo https://github.com/apple-x-co/rs-pdf written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/apple-x-co/rs-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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded referencing v0.29.0 [INFO] [stderr] Downloaded jsonschema v0.29.0 [INFO] [stderr] Downloaded pom v3.4.0 [INFO] [stderr] Downloaded printpdf v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 324930413d56a7b8c18eddc4258b68905d6e21aeb9065dd1200b736e3370229c [INFO] running `Command { std: "docker" "start" "-a" "324930413d56a7b8c18eddc4258b68905d6e21aeb9065dd1200b736e3370229c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "324930413d56a7b8c18eddc4258b68905d6e21aeb9065dd1200b736e3370229c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324930413d56a7b8c18eddc4258b68905d6e21aeb9065dd1200b736e3370229c", kill_on_drop: false }` [INFO] [stdout] 324930413d56a7b8c18eddc4258b68905d6e21aeb9065dd1200b736e3370229c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab3498096fc4fcb807b5f08665562e619f5a4e3d0199e7fb15a6b9d6f32dd359 [INFO] running `Command { std: "docker" "start" "-a" "ab3498096fc4fcb807b5f08665562e619f5a4e3d0199e7fb15a6b9d6f32dd359", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling borrow-or-share v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling ttf-parser v0.19.2 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling owned_ttf_parser v0.19.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pom v3.4.0 [INFO] [stderr] Compiling lopdf v0.31.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling printpdf v0.7.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling referencing v0.29.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling jsonschema v0.29.0 [INFO] [stderr] Compiling rs-pdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Space` [INFO] [stdout] --> src/block_document/document_json.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | BorderStyle, RgbColor, Space, Style, TextOutlineStyle, TextStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inset` is never used [INFO] [stdout] --> src/block_document/geometry.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Bounds { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn inset(&self, space: &Space) -> Bounds { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Space` and `Alignment` are never constructed [INFO] [stdout] --> src/block_document/style.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Style { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Space(Space), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Alignment(Alignment) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Style` 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: fields `top`, `right`, `bottom`, and `left` are never read [INFO] [stdout] --> src/block_document/style.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Space { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub top: f32, // NOTE: mm [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | pub right: f32, // NOTE: mm [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub bottom: f32, // NOTE: mm [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub left: f32, // NOTE: mm [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Space` 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: variants `Left`, `Center`, and `Right` are never constructed [INFO] [stdout] --> src/block_document/style.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum HorizontalAlignment { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 51 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalAlignment` 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: variants `Top`, `Center`, and `Bottom` are never constructed [INFO] [stdout] --> src/block_document/style.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum VerticalAlignment { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 58 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalAlignment` 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: fields `horizontal` and `vertical` are never read [INFO] [stdout] --> src/block_document/style.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Alignment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 65 | pub horizontal: HorizontalAlignment, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | pub vertical: VerticalAlignment, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "ab3498096fc4fcb807b5f08665562e619f5a4e3d0199e7fb15a6b9d6f32dd359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3498096fc4fcb807b5f08665562e619f5a4e3d0199e7fb15a6b9d6f32dd359", kill_on_drop: false }` [INFO] [stdout] ab3498096fc4fcb807b5f08665562e619f5a4e3d0199e7fb15a6b9d6f32dd359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d271a1764c2970485419f4cdba5f104651c3eb0f58ba952bf041977e23b88d1e [INFO] running `Command { std: "docker" "start" "-a" "d271a1764c2970485419f4cdba5f104651c3eb0f58ba952bf041977e23b88d1e", kill_on_drop: false }` [INFO] [stderr] Compiling rs-pdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Space` [INFO] [stdout] --> src/block_document/document_json.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | BorderStyle, RgbColor, Space, Style, TextOutlineStyle, TextStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inset` is never used [INFO] [stdout] --> src/block_document/geometry.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Bounds { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn inset(&self, space: &Space) -> Bounds { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Space` and `Alignment` are never constructed [INFO] [stdout] --> src/block_document/style.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Style { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Space(Space), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Alignment(Alignment) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Style` 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: fields `top`, `right`, `bottom`, and `left` are never read [INFO] [stdout] --> src/block_document/style.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Space { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 43 | pub top: f32, // NOTE: mm [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | pub right: f32, // NOTE: mm [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub bottom: f32, // NOTE: mm [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub left: f32, // NOTE: mm [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Space` 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: variants `Left`, `Center`, and `Right` are never constructed [INFO] [stdout] --> src/block_document/style.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum HorizontalAlignment { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 51 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HorizontalAlignment` 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: variants `Top`, `Center`, and `Bottom` are never constructed [INFO] [stdout] --> src/block_document/style.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum VerticalAlignment { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 58 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | Center, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | Bottom, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerticalAlignment` 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: fields `horizontal` and `vertical` are never read [INFO] [stdout] --> src/block_document/style.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Alignment { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 65 | pub horizontal: HorizontalAlignment, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | pub vertical: VerticalAlignment, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Alignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "d271a1764c2970485419f4cdba5f104651c3eb0f58ba952bf041977e23b88d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d271a1764c2970485419f4cdba5f104651c3eb0f58ba952bf041977e23b88d1e", kill_on_drop: false }` [INFO] [stdout] d271a1764c2970485419f4cdba5f104651c3eb0f58ba952bf041977e23b88d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 914666e7da3067a21293be8685b58b549e4556d1ef1ddef81448793b87fd4c59 [INFO] running `Command { std: "docker" "start" "-a" "914666e7da3067a21293be8685b58b549e4556d1ef1ddef81448793b87fd4c59", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Space` [INFO] [stderr] --> src/block_document/document_json.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | BorderStyle, RgbColor, Space, Style, TextOutlineStyle, TextStyle, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `inset` is never used [INFO] [stderr] --> src/block_document/geometry.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Bounds { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 70 | pub fn inset(&self, space: &Space) -> Bounds { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Space` and `Alignment` are never constructed [INFO] [stderr] --> src/block_document/style.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub enum Style { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 11 | Space(Space), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 12 | Alignment(Alignment) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Style` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `top`, `right`, `bottom`, and `left` are never read [INFO] [stderr] --> src/block_document/style.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct Space { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 43 | pub top: f32, // NOTE: mm [INFO] [stderr] | ^^^ [INFO] [stderr] 44 | pub right: f32, // NOTE: mm [INFO] [stderr] | ^^^^^ [INFO] [stderr] 45 | pub bottom: f32, // NOTE: mm [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 46 | pub left: f32, // NOTE: mm [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Space` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Left`, `Center`, and `Right` are never constructed [INFO] [stderr] --> src/block_document/style.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 50 | pub enum HorizontalAlignment { [INFO] [stderr] | ------------------- variants in this enum [INFO] [stderr] 51 | Left, [INFO] [stderr] | ^^^^ [INFO] [stderr] 52 | Center, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 53 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HorizontalAlignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Top`, `Center`, and `Bottom` are never constructed [INFO] [stderr] --> src/block_document/style.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 57 | pub enum VerticalAlignment { [INFO] [stderr] | ----------------- variants in this enum [INFO] [stderr] 58 | Top, [INFO] [stderr] | ^^^ [INFO] [stderr] 59 | Center, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 60 | Bottom, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VerticalAlignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `horizontal` and `vertical` are never read [INFO] [stderr] --> src/block_document/style.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct Alignment { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 65 | pub horizontal: HorizontalAlignment, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 66 | pub vertical: VerticalAlignment, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Alignment` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rs-pdf` (bin "rs-pdf" test) generated 7 warnings (run `cargo fix --bin "rs-pdf" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rs_pdf-104983697ead6f6f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "914666e7da3067a21293be8685b58b549e4556d1ef1ddef81448793b87fd4c59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "914666e7da3067a21293be8685b58b549e4556d1ef1ddef81448793b87fd4c59", kill_on_drop: false }` [INFO] [stdout] 914666e7da3067a21293be8685b58b549e4556d1ef1ddef81448793b87fd4c59