[INFO] fetching crate duc2pdf 2.3.1... [INFO] testing duc2pdf-2.3.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate duc2pdf 2.3.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate duc2pdf 2.3.1 [INFO] finished tweaking crates.io crate duc2pdf 2.3.1 [INFO] tweaked toml for crates.io crate duc2pdf 2.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate duc2pdf 2.3.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate duc2pdf 2.3.1 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0916023fc93c3586436d88697e784271c8c22c66700cca3adc690843baa6add [INFO] running `Command { std: "docker" "start" "-a" "a0916023fc93c3586436d88697e784271c8c22c66700cca3adc690843baa6add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0916023fc93c3586436d88697e784271c8c22c66700cca3adc690843baa6add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0916023fc93c3586436d88697e784271c8c22c66700cca3adc690843baa6add", kill_on_drop: false }` [INFO] [stdout] a0916023fc93c3586436d88697e784271c8c22c66700cca3adc690843baa6add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] a29d879dc23926e3e0dd2ed6e9d59b102ff78d45cad8beef7e02cece791a8b35 [INFO] running `Command { std: "docker" "start" "-a" "a29d879dc23926e3e0dd2ed6e9d59b102ff78d45cad8beef7e02cece791a8b35", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling kurbo v0.11.3 [INFO] [stderr] Compiling slotmap v1.1.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling unicode-script v0.5.8 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling flatbuffers v25.9.23 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling kurbo v0.12.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling data-url v0.3.2 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling fontconfig-parser v0.5.8 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling zune-jpeg v0.5.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling ecb v0.1.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling hipdf v1.3.2 [INFO] [stderr] Compiling rangemap v1.7.0 [INFO] [stderr] Compiling duc v2.1.0 [INFO] [stderr] Compiling linebender_resource_handle v0.1.1 [INFO] [stderr] Compiling fontdb v0.23.0 [INFO] [stderr] Compiling color v0.3.2 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling pdf-writer v0.12.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling peniko v0.4.1 [INFO] [stderr] Compiling kurbo v0.9.5 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling bigcolor v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling nom_locate v5.0.0 [INFO] [stderr] Compiling svgtypes v0.12.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling font-types v0.10.1 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling read-fonts v0.35.0 [INFO] [stderr] Compiling lopdf v0.38.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling js-sys v0.3.83 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling resvg v0.45.1 [INFO] [stderr] Compiling web-sys v0.3.83 [INFO] [stderr] Compiling write-fonts v0.43.0 [INFO] [stderr] Compiling skrifa v0.37.0 [INFO] [stderr] Compiling subsetter v0.2.3 [INFO] [stderr] Compiling svg2pdf v0.13.0 [INFO] [stderr] Compiling duc2pdf v2.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_freedraw_bbox` [INFO] [stdout] --> src/streaming/stream_elements.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::utils::freedraw_bounds::{calculate_freedraw_bbox, FreeDrawBounds}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0_x` [INFO] [stdout] --> src/streaming/pdf_linear.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0_y` [INFO] [stdout] --> src/streaming/pdf_linear.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_x` [INFO] [stdout] --> src/streaming/pdf_linear.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_y` [INFO] [stdout] --> src/streaming/pdf_linear.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds_max_x` [INFO] [stdout] --> src/streaming/stream_elements.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let bounds_max_x = bounds_x + bounds_width; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds_max_y` [INFO] [stdout] --> src/streaming/stream_elements.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let bounds_max_y = bounds_y + bounds_height; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_x` [INFO] [stdout] --> src/streaming/stream_elements.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_y` [INFO] [stdout] --> src/streaming/stream_elements.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_manager` [INFO] [stdout] --> src/streaming/stream_elements.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | block_manager: &mut BlockManager, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `svg_converter` is never read [INFO] [stdout] --> src/streaming/stream_resources.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ResourceStreamer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | svg_converter: SvgToPdfConverter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_image_dimensions` is never used [INFO] [stdout] --> src/streaming/stream_resources.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl ResourceStreamer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | fn get_image_dimensions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_element_styles_base` is never used [INFO] [stdout] --> src/utils/style_resolver.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl ResolvedStyles { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | fn apply_element_styles_base(&mut self, styles: &DucElementStylesBase) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "a29d879dc23926e3e0dd2ed6e9d59b102ff78d45cad8beef7e02cece791a8b35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29d879dc23926e3e0dd2ed6e9d59b102ff78d45cad8beef7e02cece791a8b35", kill_on_drop: false }` [INFO] [stdout] a29d879dc23926e3e0dd2ed6e9d59b102ff78d45cad8beef7e02cece791a8b35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 1d085b2ad5a6e65fdef3f4d6f2acf4ece46e4e22e7c3a560b674086b7abd06f9 [INFO] running `Command { std: "docker" "start" "-a" "1d085b2ad5a6e65fdef3f4d6f2acf4ece46e4e22e7c3a560b674086b7abd06f9", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_freedraw_bbox` [INFO] [stdout] --> src/streaming/stream_elements.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::utils::freedraw_bounds::{calculate_freedraw_bbox, FreeDrawBounds}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0_x` [INFO] [stdout] --> src/streaming/pdf_linear.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0_y` [INFO] [stdout] --> src/streaming/pdf_linear.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_x` [INFO] [stdout] --> src/streaming/pdf_linear.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_y` [INFO] [stdout] --> src/streaming/pdf_linear.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds_max_x` [INFO] [stdout] --> src/streaming/stream_elements.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let bounds_max_x = bounds_x + bounds_width; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds_max_y` [INFO] [stdout] --> src/streaming/stream_elements.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let bounds_max_y = bounds_y + bounds_height; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_x` [INFO] [stdout] --> src/streaming/stream_elements.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_y` [INFO] [stdout] --> src/streaming/stream_elements.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_manager` [INFO] [stdout] --> src/streaming/stream_elements.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | block_manager: &mut BlockManager, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `svg_converter` is never read [INFO] [stdout] --> src/streaming/stream_resources.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ResourceStreamer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | svg_converter: SvgToPdfConverter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling duc2pdf v2.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_image_dimensions` is never used [INFO] [stdout] --> src/streaming/stream_resources.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl ResourceStreamer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | fn get_image_dimensions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_element_styles_base` is never used [INFO] [stdout] --> src/utils/style_resolver.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl ResolvedStyles { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | fn apply_element_styles_base(&mut self, styles: &DucElementStylesBase) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_freedraw_bbox` [INFO] [stdout] --> src/streaming/stream_elements.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | use crate::utils::freedraw_bounds::{calculate_freedraw_bbox, FreeDrawBounds}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0_x` [INFO] [stdout] --> src/streaming/pdf_linear.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0_y` [INFO] [stdout] --> src/streaming/pdf_linear.rs:328:20 [INFO] [stdout] | [INFO] [stdout] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_x` [INFO] [stdout] --> src/streaming/pdf_linear.rs:365:26 [INFO] [stdout] | [INFO] [stdout] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c_y` [INFO] [stdout] --> src/streaming/pdf_linear.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds_max_x` [INFO] [stdout] --> src/streaming/stream_elements.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let bounds_max_x = bounds_x + bounds_width; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds_max_y` [INFO] [stdout] --> src/streaming/stream_elements.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let bounds_max_y = bounds_y + bounds_height; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_x` [INFO] [stdout] --> src/streaming/stream_elements.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scroll_y` [INFO] [stdout] --> src/streaming/stream_elements.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_manager` [INFO] [stdout] --> src/streaming/stream_elements.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | block_manager: &mut BlockManager, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `svg_converter` is never read [INFO] [stdout] --> src/streaming/stream_resources.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ResourceStreamer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | svg_converter: SvgToPdfConverter, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_image_dimensions` is never used [INFO] [stdout] --> src/streaming/stream_resources.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl ResourceStreamer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | fn get_image_dimensions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_element_styles_base` is never used [INFO] [stdout] --> src/utils/style_resolver.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl ResolvedStyles { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | fn apply_element_styles_base(&mut self, styles: &DucElementStylesBase) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "1d085b2ad5a6e65fdef3f4d6f2acf4ece46e4e22e7c3a560b674086b7abd06f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d085b2ad5a6e65fdef3f4d6f2acf4ece46e4e22e7c3a560b674086b7abd06f9", kill_on_drop: false }` [INFO] [stdout] 1d085b2ad5a6e65fdef3f4d6f2acf4ece46e4e22e7c3a560b674086b7abd06f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3fb6b5b691c8ebfa99cb50e44a927d4657c3bc43b969c7d20a8c394654b0c346 [INFO] running `Command { std: "docker" "start" "-a" "3fb6b5b691c8ebfa99cb50e44a927d4657c3bc43b969c7d20a8c394654b0c346", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `web_sys::console` [INFO] [stderr] --> src/builder.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use web_sys::console; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `calculate_freedraw_bbox` [INFO] [stderr] --> src/streaming/stream_elements.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | use crate::utils::freedraw_bounds::{calculate_freedraw_bbox, FreeDrawBounds}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p0_x` [INFO] [stderr] --> src/streaming/pdf_linear.rs:328:14 [INFO] [stderr] | [INFO] [stderr] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p0_y` [INFO] [stderr] --> src/streaming/pdf_linear.rs:328:20 [INFO] [stderr] | [INFO] [stderr] 328 | let (p0_x, p0_y) = Self::transform_point_to_pdf(start_point); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_p0_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c_x` [INFO] [stderr] --> src/streaming/pdf_linear.rs:365:26 [INFO] [stderr] | [INFO] [stderr] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c_y` [INFO] [stderr] --> src/streaming/pdf_linear.rs:365:31 [INFO] [stderr] | [INFO] [stderr] 365 | let (c_x, c_y) = Self::transform_handle_to_pdf(h); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_c_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bounds_max_x` [INFO] [stderr] --> src/streaming/stream_elements.rs:243:13 [INFO] [stderr] | [INFO] [stderr] 243 | let bounds_max_x = bounds_x + bounds_width; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bounds_max_y` [INFO] [stderr] --> src/streaming/stream_elements.rs:244:13 [INFO] [stderr] | [INFO] [stderr] 244 | let bounds_max_y = bounds_y + bounds_height; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds_max_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scroll_x` [INFO] [stderr] --> src/streaming/stream_elements.rs:245:14 [INFO] [stderr] | [INFO] [stderr] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scroll_y` [INFO] [stderr] --> src/streaming/stream_elements.rs:245:24 [INFO] [stderr] | [INFO] [stderr] 245 | let (scroll_x, scroll_y) = if let Some(state) = local_state { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scroll_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_manager` [INFO] [stderr] --> src/streaming/stream_elements.rs:362:9 [INFO] [stderr] | [INFO] [stderr] 362 | block_manager: &mut BlockManager, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_manager` [INFO] [stderr] [INFO] [stderr] warning: field `svg_converter` is never read [INFO] [stderr] --> src/streaming/stream_resources.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 54 | pub struct ResourceStreamer { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 60 | svg_converter: SvgToPdfConverter, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_image_dimensions` is never used [INFO] [stderr] --> src/streaming/stream_resources.rs:296:8 [INFO] [stderr] | [INFO] [stderr] 71 | impl ResourceStreamer { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 296 | fn get_image_dimensions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `apply_element_styles_base` is never used [INFO] [stderr] --> src/utils/style_resolver.rs:203:8 [INFO] [stderr] | [INFO] [stderr] 115 | impl ResolvedStyles { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 203 | fn apply_element_styles_base(&mut self, styles: &DucElementStylesBase) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `duc2pdf` (lib) generated 14 warnings (run `cargo fix --lib -p duc2pdf` to apply 11 suggestions) [INFO] [stderr] warning: `duc2pdf` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/duc2pdf/c41b2dbf3495199a/deps/duc2pdf-c41b2dbf3495199a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests duc2pdf [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3fb6b5b691c8ebfa99cb50e44a927d4657c3bc43b969c7d20a8c394654b0c346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fb6b5b691c8ebfa99cb50e44a927d4657c3bc43b969c7d20a8c394654b0c346", kill_on_drop: false }` [INFO] [stdout] 3fb6b5b691c8ebfa99cb50e44a927d4657c3bc43b969c7d20a8c394654b0c346