[INFO] cloning repository https://github.com/bezaleel22/webpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bezaleel22/webpdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbezaleel22%2Fwebpdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbezaleel22%2Fwebpdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b8b84aab1c7d8a79c43657a83237b40648a7513 [INFO] testing bezaleel22/webpdf against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbezaleel22%2Fwebpdf" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bezaleel22/webpdf [INFO] finished tweaking git repo https://github.com/bezaleel22/webpdf [INFO] tweaked toml for git repo https://github.com/bezaleel22/webpdf written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bezaleel22/webpdf on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bezaleel22/webpdf 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adobe-cmap-parser v0.4.1 [INFO] [stderr] Downloaded grid v0.17.0 [INFO] [stderr] Downloaded parley v0.5.0 [INFO] [stderr] Downloaded web_atoms v0.1.3 [INFO] [stderr] Downloaded type1-encoding-parser v0.1.0 [INFO] [stderr] Downloaded selectors v0.31.0 [INFO] [stderr] Downloaded ecb v0.1.2 [INFO] [stderr] Downloaded nom_locate v5.0.0 [INFO] [stderr] Downloaded subsetter v0.2.2 [INFO] [stderr] Downloaded core_maths v0.1.0 [INFO] [stderr] Downloaded krilla v0.4.0 [INFO] [stderr] Downloaded skrifa v0.30.0 [INFO] [stderr] Downloaded html5ever v0.35.0 [INFO] [stderr] Downloaded xml5ever v0.35.0 [INFO] [stderr] Downloaded markup5ever_rcdom v0.35.0+unofficial [INFO] [stderr] Downloaded postscript v0.14.1 [INFO] [stderr] Downloaded cff-parser v0.1.0 [INFO] [stderr] Downloaded match_token v0.35.0 [INFO] [stderr] Downloaded xmp-writer v0.3.2 [INFO] [stderr] Downloaded pom v1.1.0 [INFO] [stderr] Downloaded taffy v0.8.3 [INFO] [stderr] Downloaded font-types v0.8.4 [INFO] [stderr] Downloaded read-fonts v0.28.0 [INFO] [stderr] Downloaded markup5ever v0.35.0 [INFO] [stderr] Downloaded jiff v0.2.1 [INFO] [stderr] Downloaded fontique v0.5.0 [INFO] [stderr] Downloaded pdf-writer v0.13.0 [INFO] [stderr] Downloaded lopdf v0.36.0 [INFO] [stderr] Downloaded pdf-extract v0.9.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a6c2752adb47ada02f0f969dc0d1f3b082f2fe6ad5e32be4d2e49ba792c984f [INFO] running `Command { std: "docker" "start" "-a" "2a6c2752adb47ada02f0f969dc0d1f3b082f2fe6ad5e32be4d2e49ba792c984f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a6c2752adb47ada02f0f969dc0d1f3b082f2fe6ad5e32be4d2e49ba792c984f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6c2752adb47ada02f0f969dc0d1f3b082f2fe6ad5e32be4d2e49ba792c984f", kill_on_drop: false }` [INFO] [stdout] 2a6c2752adb47ada02f0f969dc0d1f3b082f2fe6ad5e32be4d2e49ba792c984f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 177576bc4475409323846a9882afc794a9eb0d603412903d6f6d71fbd5aca140 [INFO] running `Command { std: "docker" "start" "-a" "177576bc4475409323846a9882afc794a9eb0d603412903d6f6d71fbd5aca140", kill_on_drop: false }` [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zlib-rs v0.5.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling core_maths v0.1.0 [INFO] [stderr] Compiling kurbo v0.11.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling color v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling selectors v0.31.0 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling subsetter v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling web_atoms v0.1.3 [INFO] [stderr] Compiling pdf-writer v0.13.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling servo_arc v0.4.1 [INFO] [stderr] Compiling peniko v0.4.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling grid v0.17.0 [INFO] [stderr] Compiling xmp-writer v0.3.2 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling taffy v0.8.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling libz-rs-sys v0.5.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling match_token v0.35.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.35.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling font-types v0.9.0 [INFO] [stderr] Compiling font-types v0.8.4 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fontconfig-cache-parser v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling read-fonts v0.28.0 [INFO] [stderr] Compiling read-fonts v0.29.3 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling markup5ever v0.35.0 [INFO] [stderr] Compiling xml5ever v0.35.0 [INFO] [stderr] Compiling html5ever v0.35.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.35.0+unofficial [INFO] [stderr] Compiling skrifa v0.31.3 [INFO] [stderr] Compiling fontique v0.5.0 [INFO] [stderr] Compiling skrifa v0.30.0 [INFO] [stderr] Compiling krilla v0.4.0 [INFO] [stderr] Compiling swash v0.2.5 [INFO] [stderr] Compiling parley v0.5.0 [INFO] [stderr] Compiling webpdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/utils/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/utils/cache.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::{WebPdfError, WebPdfResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebPdfError` and `WebPdfResult` [INFO] [stdout] --> src/utils/diagnostics.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::{WebPdfError, WebPdfResult}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecoveryStrategy` [INFO] [stdout] --> src/parser/html.rs:7:77 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{DocumentFragment, DocumentMetadata, ParseError, ParsedDocument, RecoveryStrategy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/parser/html.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WebPdfError` and `WebPdfResult` [INFO] [stdout] --> src/parser/mod.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::utils::{WebPdfError, WebPdfResult}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/style/cascade.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::{WebPdfError, WebPdfResult, config::StyleConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CascadedRule` [INFO] [stdout] --> src/style/computed.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::style::{ElementId, StyleContext, cascade::{CascadeResult, CascadedRule}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/style/tree.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils::{config::StyleConfig, WebPdfError, WebPdfResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CssRule` [INFO] [stdout] --> src/style/mod.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::parser::{ParsedDocument, Stylesheet, CssRule, Declaration}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `markup5ever_rcdom::Handle` [INFO] [stdout] --> src/style/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use markup5ever_rcdom::Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComputedStyle` [INFO] [stdout] --> src/layout/mod.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::style::{ComputedStyleSet, ComputedStyle, ElementId}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/layout/mod.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::utils::{WebPdfError, WebPdfResult, cache::LruCache, config::LayoutConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RcDom` [INFO] [stdout] --> src/layout/engine.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use markup5ever_rcdom::{Handle, NodeData, RcDom}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/layout/text.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::{WebPdfError, WebPdfResult, config::LayoutConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementInfo` [INFO] [stdout] --> src/layout/box_model.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::style::computed::{LengthUnit, ElementInfo}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayoutNodeContext` [INFO] [stdout] --> src/render/pdf.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::layout::{LayoutNodeContext, LayoutNodeType, LayoutTree}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LinearGradient`, `SpreadMethod`, and `Stop` [INFO] [stdout] --> src/render/pdf.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | use krilla::paint::{Fill, FillRule, LinearGradient, SpreadMethod, Stop}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GlyphId` and `KrillaGlyph` [INFO] [stdout] --> src/render/pdf.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use krilla::text::{Font, GlyphId, KrillaGlyph, TextDirection}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layout` [INFO] [stdout] --> src/render/pdf.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use taffy::{Layout, NodeId, Size as TaffySize}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fill` and `Transform` [INFO] [stdout] --> src/render/graphics/paths.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{GraphicsRenderer, Fill, Stroke, Rectangle, Transform}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuilder` and `Rect` [INFO] [stdout] --> src/render/graphics/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use krilla::geom::{PathBuilder, Point, Rect}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `krilla::surface::Surface` [INFO] [stdout] --> src/render/graphics/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use krilla::surface::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/render/graphics/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/render/text/measurement.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::error::{WebPdfError, WebPdfResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/render/text/glyphs.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::error::{WebPdfError, WebPdfResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layout::LayoutNodeContext` [INFO] [stdout] --> src/render/text/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::layout::LayoutNodeContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementInfo` [INFO] [stdout] --> src/render/text/mod.rs:11:60 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::style::computed::{ComputedStyle, PropertyValue, ElementInfo}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/render/text/mod.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::error::{WebPdfError, WebPdfResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/render/text/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayoutNodeContext` and `LayoutNodeType` [INFO] [stdout] --> src/render/mod.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::layout::{LayoutTree, LayoutNodeContext, LayoutNodeType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ComputedStyle` [INFO] [stdout] --> src/render/mod.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::style::{ComputedStyleSet, ComputedStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/render/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::utils::{WebPdfError, WebPdfResult, config::RenderConfig}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `WebPdfError` [INFO] [stdout] --> src/document/context.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::utils::{WebPdfError, WebPdfResult, Config, cache::LruCache}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PipelineConfig` [INFO] [stdout] --> src/document/api.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::document::pipeline::{DocumentPipeline, PipelineConfig, PipelineMetrics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParsedDocument` and `Stylesheet` [INFO] [stdout] --> src/document/mod.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | use crate::parser::{ParsedDocument, Stylesheet}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComputedStyleSet` and `StyleTree` [INFO] [stdout] --> src/document/mod.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::style::{ComputedStyleSet, StyleTree}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LayoutTree` and `Viewport` [INFO] [stdout] --> src/document/mod.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | use crate::layout::{LayoutTree, Viewport}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render::PdfDocument` [INFO] [stdout] --> src/document/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | use crate::render::PdfDocument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Margins` [INFO] [stdout] --> src/legacy_compat/core.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::document::api::{DocumentBuilder, Margins}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layout::Viewport` [INFO] [stdout] --> src/legacy_compat/core.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::layout::Viewport; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DocumentConfig` and `DocumentProcessor` [INFO] [stdout] --> src/legacy_compat/embedded.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::document::api::{DocumentBuilder, DocumentProcessor, DocumentConfig, Margins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Config` [INFO] [stdout] --> src/legacy_compat/embedded.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::utils::{WebPdfError, WebPdfResult, Config, validate_string_input, clamp}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/legacy_compat/embedded.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_text_brush_from_css` [INFO] [stdout] --> src/legacy_compat/text.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | create_text_brush_from_css, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::style::computed::ComputedStyle` [INFO] [stdout] --> src/legacy_compat/text.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::style::computed::ComputedStyle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebPdfError` [INFO] [stdout] --> src/legacy_compat/text.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::utils::{WebPdfError, WebPdfResult, clamp}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/legacy_compat/text.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | use std::sync::{Arc, Mutex, OnceLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `krilla::image::Image` [INFO] [stdout] --> src/prototype/pdf_renderer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use krilla::image::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::core::Document`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/mod.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | pub use core::{Document, Pipeline, LegacyConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::core::Pipeline`: Use DocumentPipeline or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/mod.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | pub use core::{Document, Pipeline, LegacyConfig}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `legacy_compat::core::LegacyConfig`: Use Config directly instead [INFO] [stdout] --> src/legacy_compat/mod.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | pub use core::{Document, Pipeline, LegacyConfig}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::EmbeddedDocument`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/mod.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | pub use embedded::{EmbeddedDocument, EmbeddedDocumentBuilder, ValidationLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::EmbeddedDocumentBuilder`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/mod.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | pub use embedded::{EmbeddedDocument, EmbeddedDocumentBuilder, ValidationLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `legacy_compat::embedded::ValidationLevel`: Validation is always enabled in the new architecture [INFO] [stdout] --> src/legacy_compat/mod.rs:44:63 [INFO] [stdout] | [INFO] [stdout] 44 | pub use embedded::{EmbeddedDocument, EmbeddedDocumentBuilder, ValidationLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::FontManager`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/mod.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub use text::{FontManager as LegacyFontManager, Typography, TextLayout as LegacyTextLayout}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/mod.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | pub use text::{FontManager as LegacyFontManager, Typography, TextLayout as LegacyTextLayout}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::TextLayout`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/mod.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | pub use text::{FontManager as LegacyFontManager, Typography, TextLayout as LegacyTextLayout}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::core::Document`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | impl Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::core::Pipeline`: Use DocumentPipeline or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | impl Pipeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::core::LegacyConfigBuilder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 165 | impl LegacyConfigBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::EmbeddedDocument`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | impl EmbeddedDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::EmbeddedDocumentBuilder`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | impl EmbeddedDocumentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `legacy_compat::embedded::ValidationLevel`: Validation is always enabled in the new architecture [INFO] [stdout] --> src/legacy_compat/embedded.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | pub level: ValidationLevel, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::ValidationIssue`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:390:21 [INFO] [stdout] | [INFO] [stdout] 390 | pub issues: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::ValidationResult`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn validate(&self) -> WebPdfResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::ValidationIssue`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | issues.push(ValidationIssue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::ValidationIssue`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | issues.push(ValidationIssue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::ValidationIssue`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 123 | issues.push(ValidationIssue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::ValidationResult`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(ValidationResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::DocumentMetadata`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn metadata(&self) -> DocumentMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::DocumentMetadata`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | DocumentMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `legacy_compat::embedded::ValidationLevel`: Validation is always enabled in the new architecture [INFO] [stdout] --> src/legacy_compat/embedded.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn set_validation(&mut self, level: ValidationLevel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `legacy_compat::embedded::ValidationLevel::Strict`: Validation is always enabled in the new architecture [INFO] [stdout] --> src/legacy_compat/embedded.rs:279:30 [INFO] [stdout] | [INFO] [stdout] 279 | ValidationLevel::Strict [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `legacy_compat::embedded::ValidationLevel::None`: Validation is always enabled in the new architecture [INFO] [stdout] --> src/legacy_compat/embedded.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | ValidationLevel::None [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `legacy_compat::embedded::ValidationLevel`: Validation is always enabled in the new architecture [INFO] [stdout] --> src/legacy_compat/embedded.rs:290:46 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn validation_level(mut self, level: ValidationLevel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::EmbeddedDocument`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:299:40 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn build(self) -> WebPdfResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::embedded::EmbeddedDocument`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 311 | Ok(EmbeddedDocument { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `legacy_compat::embedded::ValidationLevel::Basic`: Validation is always enabled in the new architecture [INFO] [stdout] --> src/legacy_compat/embedded.rs:361:37 [INFO] [stdout] | [INFO] [stdout] 361 | level: ValidationLevel::Basic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::FontManager`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | impl FontManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 142 | impl Typography { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | impl Default for Typography { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | pub typography: Typography, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::TextLayout`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:244:6 [INFO] [stdout] | [INFO] [stdout] 244 | impl TextLayout { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | pub typography: Typography, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::TextStyle`: Use CSS styles in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:484:6 [INFO] [stdout] | [INFO] [stdout] 484 | impl TextStyle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::TextStyle`: Use CSS styles in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:505:18 [INFO] [stdout] | [INFO] [stdout] 505 | impl Default for TextStyle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::FontManager`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:515:52 [INFO] [stdout] | [INFO] [stdout] 515 | pub fn get_global_font_manager() -> &'static Mutex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::FontManager`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | Mutex::new(FontManager::new().expect("Failed to create legacy font manager")) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::FontManager`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:516:48 [INFO] [stdout] | [INFO] [stdout] 516 | static LEGACY_FONT_MANAGER: OnceLock> = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::FontManager`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:249:46 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(content: &str, font_manager: &FontManager) -> WebPdfResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | typography: Typography::default(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:262:45 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn typography(mut self, typography: Typography) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | typography: Typography::default(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `legacy_compat::text::Typography`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:499:45 [INFO] [stdout] | [INFO] [stdout] 499 | pub fn typography(mut self, typography: Typography) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Document::processor`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(Self { processor }) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Document::processor`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(Self { processor }) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Document::processor`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | self.processor.html_to_pdf(html) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Document::processor`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | self.processor.html_css_to_pdf(html, css) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Document::processor`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | self.processor.file_to_pdf(path) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Document::processor`: Use DocumentProcessor or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | self.processor.clear_cache(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Pipeline::pipeline`: Use DocumentPipeline or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | Ok(Self { pipeline }) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Pipeline::pipeline`: Use DocumentPipeline or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(Self { pipeline }) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Pipeline::pipeline`: Use DocumentPipeline or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | self.pipeline.process_document(html, css) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::Pipeline::pipeline`: Use DocumentPipeline or DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/core.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | self.pipeline.clear_cache(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | builder: Config::builder(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | self.builder = self.builder.viewport(width, height); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | self.builder = self.builder.viewport(width, height); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | self.builder = self.builder.dpi(dpi); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | self.builder = self.builder.dpi(dpi); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | self.builder = self.builder.default_font(font); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | self.builder = self.builder.default_font(font); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | self.builder = self.builder.font_size(size); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 208 | self.builder = self.builder.font_size(size); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::core::LegacyConfigBuilder::builder`: Use Config::builder() instead [INFO] [stdout] --> src/legacy_compat/core.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | self.builder.build() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | html_content: html.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | css_content: css.map(|s| s.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | config: EmbeddedConfig::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::validation`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | validation: ValidationSettings::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | .html(&self.html_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some(css) = &self.css_content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | builder = builder.viewport(self.config.viewport); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | builder = builder.font_family(&self.config.font_family); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | builder = builder.font_size(self.config.font_size); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:87:34 [INFO] [stdout] | [INFO] [stdout] 87 | builder = builder.margin(self.config.margins.top); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | if self.html_content.trim().is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::severity`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | severity: IssueSeverity::Error, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::message`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | message: "HTML content is empty".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::location`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | location: None, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::suggestion`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | suggestion: Some("Provide valid HTML content".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | if !self.html_content.contains('<') || !self.html_content.contains('>') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | if !self.html_content.contains('<') || !self.html_content.contains('>') { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::severity`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | severity: IssueSeverity::Warning, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::message`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | message: "HTML content may not contain valid markup".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::location`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | location: None, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::suggestion`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | suggestion: Some("Ensure HTML contains valid tags".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(css) = &self.css_content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::severity`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | severity: IssueSeverity::Warning, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::message`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | message: "CSS content is empty".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::location`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | location: None, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::suggestion`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | suggestion: Some("Remove empty CSS or provide valid styles".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationResult::is_valid`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | is_valid: issues.iter().all(|i| i.severity != IssueSeverity::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationIssue::severity`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | is_valid: issues.iter().all(|i| i.severity != IssueSeverity::Error), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::ValidationResult::issues`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | issues, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::DocumentMetadata::html_size`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | html_size: self.html_content.len(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | html_size: self.html_content.len(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::DocumentMetadata::css_size`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | css_size: self.css_content.as_ref().map(|c| c.len()).unwrap_or(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | css_size: self.css_content.as_ref().map(|c| c.len()).unwrap_or(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::DocumentMetadata::estimated_pages`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | estimated_pages: 1, // Simplified estimation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::DocumentMetadata::has_css`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | has_css: self.css_content.is_some(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | has_css: self.css_content.is_some(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::DocumentMetadata::font_family`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | font_family: self.config.font_family.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | font_family: self.config.font_family.clone(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::DocumentMetadata::viewport`: Use document processing metrics instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | viewport: self.config.viewport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | viewport: self.config.viewport, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | self.config.viewport = Viewport::new( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | self.config.font_family = family.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | self.config.font_size = clamp(size, 6.0, 72.0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::validation`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | self.validation.level = level; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | html_content: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | css_content: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | config: EmbeddedConfig::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::validation`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | validation: ValidationSettings::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | self.html_content = Some(html.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | self.css_content = Some(css.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | self.config.viewport = Viewport::new( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | self.config.font_family = family.to_string(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | self.config.font_size = clamp(size, 6.0, 72.0); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | self.config.margins = Margins { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::validation`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | self.validation.level = if enable { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::validation`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | self.validation.level = level; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | let html_content = self.html_content.ok_or_else(|| WebPdfError::ValidationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:307:32 [INFO] [stdout] | [INFO] [stdout] 307 | if let Some(ref css) = self.css_content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::html_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | html_content, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | css_content: self.css_content, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::css_content`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:313:26 [INFO] [stdout] | [INFO] [stdout] 313 | css_content: self.css_content, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | config: self.config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::config`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | config: self.config, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocument::validation`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:315:13 [INFO] [stdout] | [INFO] [stdout] 315 | validation: self.validation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::embedded::EmbeddedDocumentBuilder::validation`: Use DocumentBuilder instead [INFO] [stdout] --> src/legacy_compat/embedded.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | validation: self.validation, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::inner`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | inner: NewFontManager::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::loaded_fonts`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | loaded_fonts: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::inner`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | let font_family = self.inner.get_font_family(&descriptor); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::loaded_fonts`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | let font_id = FontId(self.loaded_fonts.len() as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::loaded_fonts`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | self.loaded_fonts.insert(family.to_string(), FontInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::loaded_fonts`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | self.loaded_fonts.get(family) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::loaded_fonts`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | self.loaded_fonts.values().collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::inner`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | self.inner.clear_caches(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::FontManager::loaded_fonts`: Use render::text::fonts::FontManager instead [INFO] [stdout] --> src/legacy_compat/text.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | self.loaded_fonts.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_family`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | self.font_family = family.to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_size`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | self.font_size = clamp(size, 6.0, 72.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::line_height`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | self.line_height = clamp(height, 0.5, 3.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::color`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | self.color = color; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::weight`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | self.weight = weight; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_family`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | self.font_family, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_size`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | self.font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::line_height`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | self.line_height, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::color`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | self.color.to_css(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::weight`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | self.weight.to_css(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::style`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | self.style.to_css() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_family`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | font_family: "system-ui".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_size`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | font_size: 16.0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::line_height`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | line_height: 1.4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::letter_spacing`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | letter_spacing: 0.0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::word_spacing`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | word_spacing: 1.0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::color`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | color: TextColor::Black, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::weight`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | weight: FontWeight::Normal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::style`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | style: FontVariant::Normal, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::content`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | content: content.to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::typography`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | typography: Typography::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::bounds`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | bounds: TextBounds::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::metrics`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | metrics: None, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::typography`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | self.typography = typography; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::bounds`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | self.bounds = bounds; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::content`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:282:26 [INFO] [stdout] | [INFO] [stdout] 282 | let char_count = self.content.chars().count(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::typography`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:283:51 [INFO] [stdout] | [INFO] [stdout] 283 | let estimated_width = char_count as f32 * self.typography.font_size * 0.6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_size`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:283:51 [INFO] [stdout] | [INFO] [stdout] 283 | let estimated_width = char_count as f32 * self.typography.font_size * 0.6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::bounds`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:284:45 [INFO] [stdout] | [INFO] [stdout] 284 | let line_count = (estimated_width / self.bounds.width).ceil().max(1.0) as usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::typography`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:285:42 [INFO] [stdout] | [INFO] [stdout] 285 | let height = line_count as f32 * self.typography.font_size * self.typography.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_size`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:285:42 [INFO] [stdout] | [INFO] [stdout] 285 | let height = line_count as f32 * self.typography.font_size * self.typography.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::typography`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:285:70 [INFO] [stdout] | [INFO] [stdout] 285 | let height = line_count as f32 * self.typography.font_size * self.typography.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::line_height`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:285:70 [INFO] [stdout] | [INFO] [stdout] 285 | let height = line_count as f32 * self.typography.font_size * self.typography.line_height; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::metrics`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | self.metrics = Some(TextMetrics { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::bounds`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:288:40 [INFO] [stdout] | [INFO] [stdout] 288 | width: estimated_width.min(self.bounds.width), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::typography`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:292:23 [INFO] [stdout] | [INFO] [stdout] 292 | baseline: self.typography.font_size * 0.8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::Typography::font_size`: Use DocumentBuilder font settings instead [INFO] [stdout] --> src/legacy_compat/text.rs:292:23 [INFO] [stdout] | [INFO] [stdout] 292 | baseline: self.typography.font_size * 0.8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::metrics`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 295 | Ok(self.metrics.as_ref().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextLayout::metrics`: Text layout is handled automatically in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | self.metrics.as_ref() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextStyle::typography`: Use CSS styles in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | typography: Typography::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `legacy_compat::text::TextStyle::typography`: Use CSS styles in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 500 | self.typography = typography; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `legacy_compat::text::TextStyle::new`: Use CSS styles in the new system [INFO] [stdout] --> src/legacy_compat/text.rs:507:15 [INFO] [stdout] | [INFO] [stdout] 507 | Self::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `legacy_compat::text::FontManager::new`: Use render::text::fonts::FontManager::new() instead [INFO] [stdout] --> src/legacy_compat/text.rs:518:33 [INFO] [stdout] | [INFO] [stdout] 518 | Mutex::new(FontManager::new().expect("Failed to create legacy font manager")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ancestor` [INFO] [stdout] --> src/parser/selector.rs:254:38 [INFO] [stdout] | [INFO] [stdout] 254 | SelectorType::Descendant(ancestor, descendant) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ancestor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element_part` is never read [INFO] [stdout] --> src/parser/mod.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let mut element_part = word; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_id` [INFO] [stdout] --> src/style/cascade.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | element_id: ElementId, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_info` [INFO] [stdout] --> src/style/cascade.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | element_info: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `element_part` is never read [INFO] [stdout] --> src/style/cascade.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | let mut element_part = word; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `document` [INFO] [stdout] --> src/style/computed.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | document: &crate::parser::ParsedDocument, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/style/computed.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | context: &StyleContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/style/computed.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | context: &StyleContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/layout/box_model.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | _ => *val, // Default to pixels [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/layout/box_model.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 326 | LengthUnit::Px => *val, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 327 | LengthUnit::Em => *val * self.default_font_size, [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 328 | LengthUnit::Rem => *val * self.default_font_size, [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 329 | LengthUnit::Pt => *val * 1.33, // Convert pt to px [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 334 | _ => *val, // Default to pixels [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_id` [INFO] [stdout] --> src/render/pdf.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let element_id = layout_tree [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/render/pdf.rs:500:17 [INFO] [stdout] | [INFO] [stdout] 499 | PropertyValue::String(s) => s.parse::().ok(), [INFO] [stdout] | ------------------------ matches all the relevant values [INFO] [stdout] 500 | PropertyValue::String(s) => match s.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/render/pdf.rs:587:35 [INFO] [stdout] | [INFO] [stdout] 587 | fn create_document(&mut self, config: &RenderConfig) -> WebPdfResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_element_id` [INFO] [stdout] --> src/render/pdf.rs:612:13 [INFO] [stdout] | [INFO] [stdout] 612 | let root_element_id = layout_tree [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_element_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/render/graphics/images.rs:67:81 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn draw_image_at(&self, surface: &mut Surface<'_>, image: &RasterImage, position: Point) -> WebPdfResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/render/graphics/images.rs:81:85 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn draw_image_scaled(&self, surface: &mut Surface<'_>, image: &RasterImage, position: Point, scale: f32) -> WebPdfResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `x_offset` is assigned to, but never used [INFO] [stdout] --> src/render/text/glyphs.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | let mut x_offset = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_x_offset` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_id` [INFO] [stdout] --> src/document/context.rs:434:32 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn get_resource(&self, resource_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/legacy_compat/core.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn set_viewport(&mut self, width: f32, height: f32) -> WebPdfResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/legacy_compat/core.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn set_viewport(&mut self, width: f32, height: f32) -> WebPdfResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font_manager` [INFO] [stdout] --> src/legacy_compat/text.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn new(content: &str, font_manager: &FontManager) -> WebPdfResult { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/diagnostics.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Timer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 26 | /// Operation name being timed [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/utils/diagnostics.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Profiler { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 36 | /// Session name [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/parser/selector.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SelectorMatcher { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 26 | /// Configuration for selector matching [INFO] [stdout] 27 | config: ParserConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `specificity_calc` are never read [INFO] [stdout] --> src/style/cascade.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CascadeEngine { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 15 | /// Engine configuration [INFO] [stdout] 16 | config: StyleConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | /// Specificity calculator [INFO] [stdout] 18 | specificity_calc: SpecificityCalculator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CascadeEngine` 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 `config` is never read [INFO] [stdout] --> src/style/computed.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ComputedStyleSystem { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 15 | /// Configuration for style computation [INFO] [stdout] 16 | config: StyleConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComputedStyleSystem` 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 `config` is never read [INFO] [stdout] --> src/style/tree.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct StyleTreeBuilder { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 18 | /// Configuration for tree building [INFO] [stdout] 19 | config: StyleConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyleTreeBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_attributes` is never used [INFO] [stdout] --> src/layout/engine.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl LayoutEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 492 | fn extract_attributes(&self, _attrs: &str) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `style` and `parent_context` are never read [INFO] [stdout] --> src/render/pdf.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 84 | struct NodeRenderContext { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | style: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 91 | /// Parent context for inheritance [INFO] [stdout] 92 | parent_context: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeRenderContext` 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 `context` is never read [INFO] [stdout] --> src/document/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct Document { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 114 | context: DocumentContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_resource` is never used [INFO] [stdout] --> src/document/context.rs:584:8 [INFO] [stdout] | [INFO] [stdout] 511 | impl ResourceManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | fn get_resource(&mut self, resource_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/document/api.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct DocumentProcessor { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | config: ProcessorConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentProcessor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/diagnostics.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 473 | unsafe { GLOBAL_METRICS.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/utils/diagnostics.rs:478:14 [INFO] [stdout] | [INFO] [stdout] 478 | unsafe { GLOBAL_MEMORY_TRACKER.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/style/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | self.cache.insert(cache_key, computed_styles.clone(), 1024); // Approximate size in bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 200 | let _ = self.cache.insert(cache_key, computed_styles.clone(), 1024); // Approximate size in bytes [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/layout/engine.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | layout_tree.cache.insert(cache_key, layout_result, 1024); // Rough size estimate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 479 | let _ = layout_tree.cache.insert(cache_key, layout_result, 1024); // Rough size estimate [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/document/context.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | self.fonts.insert(family_name.to_string(), font_resource, 1024); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 543 | let _ = self.fonts.insert(family_name.to_string(), font_resource, 1024); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/document/context.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | self.images.insert(image_id.clone(), image_resource, 1024); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 561 | let _ = self.images.insert(image_id.clone(), image_resource, 1024); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/document/context.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | self.external.insert(resource_id.clone(), external_resource, 512); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 578 | let _ = self.external.insert(resource_id.clone(), external_resource, 512); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.17s [INFO] running `Command { std: "docker" "inspect" "177576bc4475409323846a9882afc794a9eb0d603412903d6f6d71fbd5aca140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177576bc4475409323846a9882afc794a9eb0d603412903d6f6d71fbd5aca140", kill_on_drop: false }` [INFO] [stdout] 177576bc4475409323846a9882afc794a9eb0d603412903d6f6d71fbd5aca140 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ac68bdc7214c2d09d8088fbb48bab64682251761d5f4dfa8542ba230ee22b0a9 [INFO] running `Command { std: "docker" "start" "-a" "ac68bdc7214c2d09d8088fbb48bab64682251761d5f4dfa8542ba230ee22b0a9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling pom v1.1.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling rangemap v1.6.0 [INFO] [stderr] Compiling jiff v0.2.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling adobe-cmap-parser v0.4.1 [INFO] [stderr] Compiling ecb v0.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling pdf-writer v0.13.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling type1-encoding-parser v0.1.0 [INFO] [stderr] Compiling selectors v0.31.0 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling cff-parser v0.1.0 [INFO] [stderr] Compiling postscript v0.14.1 [INFO] [stderr] error: could not compile `serde` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc --crate-name serde --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=75afa0fd9ae9e453 -C extra-filename=-27860a4ccb32fca0 --out-dir /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps --target x86_64-unknown-linux-musl -L dependency=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-1b599b165102c31d.so --cap-lints allow --cap-lints=forbid --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `clap_builder` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/bin/rustc --crate-name clap_builder --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/clap_builder-4.5.42/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub --allow=unnameable_types '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--allow=clippy::needless_continue' '--warn=clippy::mutex_integer' '--allow=clippy::multiple_bound_locations' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' '--allow=clippy::blocks_in_conditions' '--allow=clippy::assigning_clones' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("cargo", "color", "debug", "default", "deprecated", "env", "error-context", "help", "std", "string", "suggestions", "unicode", "unstable-doc", "unstable-ext", "unstable-styles", "unstable-v5", "usage", "wrap_help"))' -C metadata=9f5da6a0c7ea25b2 -C extra-filename=-41b73dee33a5b94c --out-dir /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps --target x86_64-unknown-linux-musl -L dependency=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anstyle=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libanstyle-fcc5c3f0dc5a830d.rmeta --extern clap_lex=/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libclap_lex-f9d0b9ae25e6f22b.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "ac68bdc7214c2d09d8088fbb48bab64682251761d5f4dfa8542ba230ee22b0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac68bdc7214c2d09d8088fbb48bab64682251761d5f4dfa8542ba230ee22b0a9", kill_on_drop: false }` [INFO] [stdout] ac68bdc7214c2d09d8088fbb48bab64682251761d5f4dfa8542ba230ee22b0a9