[INFO] cloning repository https://github.com/FalconHorse/DocumentGenerator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FalconHorse/DocumentGenerator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFalconHorse%2FDocumentGenerator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFalconHorse%2FDocumentGenerator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 780b187cecf5b677e1354a82d82757cf3644f8c9 [INFO] building FalconHorse/DocumentGenerator against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFalconHorse%2FDocumentGenerator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FalconHorse/DocumentGenerator [INFO] finished tweaking git repo https://github.com/FalconHorse/DocumentGenerator [INFO] tweaked toml for git repo https://github.com/FalconHorse/DocumentGenerator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FalconHorse/DocumentGenerator on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FalconHorse/DocumentGenerator 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.3.6 [INFO] [stderr] Downloaded const_fn v0.4.9 [INFO] [stderr] Downloaded pin-project-internal v1.1.4 [INFO] [stderr] Downloaded http-body-util v0.1.0 [INFO] [stderr] Downloaded multer v3.0.0 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded genpdf v0.2.0 [INFO] [stderr] Downloaded http v1.0.0 [INFO] [stderr] Downloaded pin-project v1.1.4 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded pom v3.3.0 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded lopdf v0.26.0 [INFO] [stderr] Downloaded chrono v0.4.34 [INFO] [stderr] Downloaded h2 v0.4.2 [INFO] [stderr] Downloaded axum v0.7.4 [INFO] [stderr] Downloaded printpdf v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60b8537f101f78c7a12b316e5cccca47544cf18521f127ee1efcdee13b09028a [INFO] running `Command { std: "docker" "start" "-a" "60b8537f101f78c7a12b316e5cccca47544cf18521f127ee1efcdee13b09028a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60b8537f101f78c7a12b316e5cccca47544cf18521f127ee1efcdee13b09028a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b8537f101f78c7a12b316e5cccca47544cf18521f127ee1efcdee13b09028a", kill_on_drop: false }` [INFO] [stdout] 60b8537f101f78c7a12b316e5cccca47544cf18521f127ee1efcdee13b09028a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c04270d81b61649df843aea25d6714f77e3c00c41b84c73eb5e0df89cb2595 [INFO] running `Command { std: "docker" "start" "-a" "e2c04270d81b61649df843aea25d6714f77e3c00c41b84c73eb5e0df89cb2595", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling multer v3.0.0 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling pom v3.3.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling lopdf v0.26.0 [INFO] [stderr] Compiling printpdf v0.3.4 [INFO] [stderr] Compiling genpdf v0.2.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling DocumentGenerator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `extract::multipart` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Router, extract::multipart}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/controller.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controller.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{Json, Router}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::connect_info::ResponseFuture` [INFO] [stdout] --> src/controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::extract::connect_info::ResponseFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/zipper.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | async fn identify_type_and_transform_handler(mut multipart: Multipart) -> impl IntoResponse { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/generator.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | zip_and_return(out).await.unwrap_or_else(|err| Vec::new()) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/generator.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | unimplemented!("transform_to_pdf_from_html function is not implemented yet"); [INFO] [stdout] | ---------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 87 | let mut doc = default_pdf_settings(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/generator.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut doc = default_pdf_settings(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/generator.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | fn transform_to_pdf_from_html(field: &Field, file_name: &str) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/generator.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | fn transform_to_pdf_from_html(field: &Field, file_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "e2c04270d81b61649df843aea25d6714f77e3c00c41b84c73eb5e0df89cb2595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c04270d81b61649df843aea25d6714f77e3c00c41b84c73eb5e0df89cb2595", kill_on_drop: false }` [INFO] [stdout] e2c04270d81b61649df843aea25d6714f77e3c00c41b84c73eb5e0df89cb2595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12b3a406f3ec1583caf9b0d849d7906abc51f90b4f5ca6839942434e53badb63 [INFO] running `Command { std: "docker" "start" "-a" "12b3a406f3ec1583caf9b0d849d7906abc51f90b4f5ca6839942434e53badb63", kill_on_drop: false }` [INFO] [stderr] Compiling DocumentGenerator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `extract::multipart` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Router, extract::multipart}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/controller.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Json` [INFO] [stdout] --> src/controller.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{Json, Router}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::connect_info::ResponseFuture` [INFO] [stdout] --> src/controller.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::extract::connect_info::ResponseFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/zipper.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Cursor, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | async fn identify_type_and_transform_handler(mut multipart: Multipart) -> impl IntoResponse { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/generator.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | zip_and_return(out).await.unwrap_or_else(|err| Vec::new()) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/generator.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | unimplemented!("transform_to_pdf_from_html function is not implemented yet"); [INFO] [stdout] | ---------------------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 87 | let mut doc = default_pdf_settings(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/generator.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut doc = default_pdf_settings(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/generator.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | fn transform_to_pdf_from_html(field: &Field, file_name: &str) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/generator.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | fn transform_to_pdf_from_html(field: &Field, file_name: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "12b3a406f3ec1583caf9b0d849d7906abc51f90b4f5ca6839942434e53badb63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12b3a406f3ec1583caf9b0d849d7906abc51f90b4f5ca6839942434e53badb63", kill_on_drop: false }` [INFO] [stdout] 12b3a406f3ec1583caf9b0d849d7906abc51f90b4f5ca6839942434e53badb63