[INFO] cloning repository https://github.com/samsieber/pdfium-render-text-garbage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samsieber/pdfium-render-text-garbage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamsieber%2Fpdfium-render-text-garbage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamsieber%2Fpdfium-render-text-garbage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 483fe8f537ce44854eea7683557beac9ff7901f4 [INFO] checking samsieber/pdfium-render-text-garbage against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamsieber%2Fpdfium-render-text-garbage" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/samsieber/pdfium-render-text-garbage [INFO] finished tweaking git repo https://github.com/samsieber/pdfium-render-text-garbage [INFO] tweaked toml for git repo https://github.com/samsieber/pdfium-render-text-garbage written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/samsieber/pdfium-render-text-garbage on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/samsieber/pdfium-render-text-garbage 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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "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 vecmath v1.0.0 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded pdfium-render v0.8.26 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d22b1251539cdc28cf8561f539cdedb69e4dc12fd0a1d6bfb9fa7cd3d10427d7 [INFO] running `Command { std: "docker" "start" "-a" "d22b1251539cdc28cf8561f539cdedb69e4dc12fd0a1d6bfb9fa7cd3d10427d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d22b1251539cdc28cf8561f539cdedb69e4dc12fd0a1d6bfb9fa7cd3d10427d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22b1251539cdc28cf8561f539cdedb69e4dc12fd0a1d6bfb9fa7cd3d10427d7", kill_on_drop: false }` [INFO] [stdout] d22b1251539cdc28cf8561f539cdedb69e4dc12fd0a1d6bfb9fa7cd3d10427d7 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f63c9d3342637520f4c006f56a4406b84c57874bff6f358f78d56a9046990b3e [INFO] running `Command { std: "docker" "start" "-a" "f63c9d3342637520f4c006f56a4406b84c57874bff6f358f78d56a9046990b3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking image-webp v0.2.0 [INFO] [stderr] Compiling pdfium-render v0.8.26 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking utf16string v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.45 [INFO] [stderr] Checking web-sys v0.3.72 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking pdfium-render-text-garbage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `Pdfium` in this scope [INFO] [stdout] --> src/text.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_text_doc<'a>(pdfium: &'a Pdfium, text: String, size: f32,) -> Result, PdfiumError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::Pdfium; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PdfDocument` in this scope [INFO] [stdout] --> src/text.rs:4:86 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_text_doc<'a>(pdfium: &'a Pdfium, text: String, size: f32,) -> Result, PdfiumError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Pdfium` in this scope [INFO] [stdout] --> src/text.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_text_doc<'a>(pdfium: &'a Pdfium, text: String, size: f32,) -> Result, PdfiumError> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::Pdfium; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PdfiumError` in this scope [INFO] [stdout] --> src/text.rs:4:103 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_text_doc<'a>(pdfium: &'a Pdfium, text: String, size: f32,) -> Result, PdfiumError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfiumError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPagePaperSize` [INFO] [stdout] --> src/text.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | let mut page = document.pages_mut().create_page_at_start(PdfPagePaperSize::new_custom( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `PdfPagePaperSize` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPagePaperSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PdfDocument` in this scope [INFO] [stdout] --> src/text.rs:4:86 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_text_doc<'a>(pdfium: &'a Pdfium, text: String, size: f32,) -> Result, PdfiumError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfDocument; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | PdfPoints::new(max_point_width as f32), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | PdfPoints::new(point_height * 1.4) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `PdfiumError` in this scope [INFO] [stdout] --> src/text.rs:4:103 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_text_doc<'a>(pdfium: &'a Pdfium, text: String, size: f32,) -> Result, PdfiumError> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfiumError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let font_size = PdfPoints::new(size); // Replace with your desired font size [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPageTextObject` [INFO] [stdout] --> src/text.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let mut text_object = PdfPageTextObject::new(&document, line, font, font_size)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `PdfPageTextObject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPageTextObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPagePaperSize` [INFO] [stdout] --> src/text.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | let mut page = document.pages_mut().create_page_at_start(PdfPagePaperSize::new_custom( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `PdfPagePaperSize` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPagePaperSize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfColor` [INFO] [stdout] --> src/text.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | text_object.set_fill_color(PdfColor::new(0, 0, 0, 255))?; // Set text color to black [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PdfColor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | PdfPoints::new(max_point_width as f32), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | text_object.translate(PdfPoints::new(0.0), y_offset)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | PdfPoints::new(point_height * 1.4) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | y_offset -= PdfPoints::new(font_size.value * 1.4); // Adjust `y_offset` with `PdfPoints` [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let font_size = PdfPoints::new(size); // Replace with your desired font size [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPageTextObject` [INFO] [stdout] --> src/text.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let mut text_object = PdfPageTextObject::new(&document, line, font, font_size)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `PdfPageTextObject` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPageTextObject; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfColor` [INFO] [stdout] --> src/text.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | text_object.set_fill_color(PdfColor::new(0, 0, 0, 255))?; // Set text color to black [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PdfColor` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | text_object.translate(PdfPoints::new(0.0), y_offset)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PdfPoints` [INFO] [stdout] --> src/text.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | y_offset -= PdfPoints::new(font_size.value * 1.4); // Adjust `y_offset` with `PdfPoints` [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PdfPoints` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use pdfium_render::prelude::PdfPoints; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pdfium-render-text-garbage` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `pdfium-render-text-garbage` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "f63c9d3342637520f4c006f56a4406b84c57874bff6f358f78d56a9046990b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63c9d3342637520f4c006f56a4406b84c57874bff6f358f78d56a9046990b3e", kill_on_drop: false }` [INFO] [stdout] f63c9d3342637520f4c006f56a4406b84c57874bff6f358f78d56a9046990b3e