[INFO] cloning repository https://github.com/pfjhyyj/document-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pfjhyyj/document-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfjhyyj%2Fdocument-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfjhyyj%2Fdocument-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51abeee4e24530a9ea2e05ed4b14f2a9c71d00fd [INFO] building pfjhyyj/document-generator against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfjhyyj%2Fdocument-generator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pfjhyyj/document-generator [INFO] finished tweaking git repo https://github.com/pfjhyyj/document-generator [INFO] tweaked toml for git repo https://github.com/pfjhyyj/document-generator written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pfjhyyj/document-generator on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pfjhyyj/document-generator 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8155433f94d03cecc99d5bdd6ecc9c196a9c10da4d856b73602e6d31c652dd3f [INFO] running `Command { std: "docker" "start" "-a" "8155433f94d03cecc99d5bdd6ecc9c196a9c10da4d856b73602e6d31c652dd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8155433f94d03cecc99d5bdd6ecc9c196a9c10da4d856b73602e6d31c652dd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8155433f94d03cecc99d5bdd6ecc9c196a9c10da4d856b73602e6d31c652dd3f", kill_on_drop: false }` [INFO] [stdout] 8155433f94d03cecc99d5bdd6ecc9c196a9c10da4d856b73602e6d31c652dd3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91242365f205b31bc4ae63b488c98f1967e9258d3c66f9a7129042d0c90aa5c6 [INFO] running `Command { std: "docker" "start" "-a" "91242365f205b31bc4ae63b488c98f1967e9258d3c66f9a7129042d0c90aa5c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bitstream-io v2.4.2 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.4.0 [INFO] [stderr] Compiling rgb v0.8.40 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zip v2.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ravif v0.11.7 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling deflate64 v0.1.8 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling docx-rs v0.4.17 [INFO] [stderr] Compiling document-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/generator/mod.rs:4:79 [INFO] [stdout] | [INFO] [stdout] 4 | use parser::{data_item::SingleValue, data_source::DataSource, render_format::{self, ImageFormat, NumberFormat, RenderFormat, RenderMode},... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_run_property` is never read [INFO] [stdout] --> src/generator/renderer/paragraph.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut current_run_property: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_document` is never used [INFO] [stdout] --> src/generator/utils/document.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn print_document(document: &Document) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIXEL_PER_EMU` is never used [INFO] [stdout] --> src/generator/utils/http.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PIXEL_PER_EMU: u32 = 9525; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_picture_by_url` is never used [INFO] [stdout] --> src/generator/utils/http.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn get_picture_by_url(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_render_format_into_image_format` is never used [INFO] [stdout] --> src/generator/mod.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn parse_render_format_into_image_format(render_format: &RenderFormat) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidParameterError` and `UnknowError` are never constructed [INFO] [stdout] --> src/error/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum GeneratorError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | InvalidParameterError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | UnknowError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EMPTY`, `TABLE`, `LIST`, `CHECKBOX`, and `TEMPLATE` are never constructed [INFO] [stdout] --> src/generator/renderer/replacement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Replacement { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 4 | EMPTY, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | TABLE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | LIST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | CHECKBOX(CheckboxReplacement), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | TEMPLATE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Replacement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 06s [INFO] running `Command { std: "docker" "inspect" "91242365f205b31bc4ae63b488c98f1967e9258d3c66f9a7129042d0c90aa5c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91242365f205b31bc4ae63b488c98f1967e9258d3c66f9a7129042d0c90aa5c6", kill_on_drop: false }` [INFO] [stdout] 91242365f205b31bc4ae63b488c98f1967e9258d3c66f9a7129042d0c90aa5c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1199a6c3422b4079c12fa28b36614965dad688450296891a21ec467e943fb9c9 [INFO] running `Command { std: "docker" "start" "-a" "1199a6c3422b4079c12fa28b36614965dad688450296891a21ec467e943fb9c9", kill_on_drop: false }` [INFO] [stderr] Compiling document-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/generator/mod.rs:4:79 [INFO] [stdout] | [INFO] [stdout] 4 | use parser::{data_item::SingleValue, data_source::DataSource, render_format::{self, ImageFormat, NumberFormat, RenderFormat, RenderMode},... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_run_property` is never read [INFO] [stdout] --> src/generator/renderer/paragraph.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut current_run_property: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_render_format_into_image_format` is never used [INFO] [stdout] --> src/generator/mod.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn parse_render_format_into_image_format(render_format: &RenderFormat) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EMPTY`, `TABLE`, `LIST`, `CHECKBOX`, and `TEMPLATE` are never constructed [INFO] [stdout] --> src/generator/renderer/replacement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Replacement { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 4 | EMPTY, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | TABLE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | LIST, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | CHECKBOX(CheckboxReplacement), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | TEMPLATE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Replacement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_document` is never used [INFO] [stdout] --> src/generator/utils/document.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn print_document(document: &Document) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PIXEL_PER_EMU` is never used [INFO] [stdout] --> src/generator/utils/http.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PIXEL_PER_EMU: u32 = 9525; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_picture_by_url` is never used [INFO] [stdout] --> src/generator/utils/http.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub async fn get_picture_by_url(url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidParameterError` and `UnknowError` are never constructed [INFO] [stdout] --> src/error/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum GeneratorError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | InvalidParameterError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | UnknowError, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GeneratorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.93s [INFO] running `Command { std: "docker" "inspect" "1199a6c3422b4079c12fa28b36614965dad688450296891a21ec467e943fb9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1199a6c3422b4079c12fa28b36614965dad688450296891a21ec467e943fb9c9", kill_on_drop: false }` [INFO] [stdout] 1199a6c3422b4079c12fa28b36614965dad688450296891a21ec467e943fb9c9