[INFO] cloning repository https://github.com/YuiYukihira/romanticise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YuiYukihira/romanticise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuiYukihira%2Fromanticise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuiYukihira%2Fromanticise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d1a9511f934aa9de462b64f69a1cab9c32433b3 [INFO] checking YuiYukihira/romanticise against try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuiYukihira%2Fromanticise" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YuiYukihira/romanticise on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/YuiYukihira/romanticise [INFO] finished tweaking git repo https://github.com/YuiYukihira/romanticise [INFO] tweaked toml for git repo https://github.com/YuiYukihira/romanticise written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/YuiYukihira/romanticise 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" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc4516d4e0a977f0d842923e39ed19eb33f13d0c8f74d0a2ea9c6bf96eba2cda [INFO] running `Command { std: "docker" "start" "-a" "fc4516d4e0a977f0d842923e39ed19eb33f13d0c8f74d0a2ea9c6bf96eba2cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc4516d4e0a977f0d842923e39ed19eb33f13d0c8f74d0a2ea9c6bf96eba2cda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4516d4e0a977f0d842923e39ed19eb33f13d0c8f74d0a2ea9c6bf96eba2cda", kill_on_drop: false }` [INFO] [stdout] fc4516d4e0a977f0d842923e39ed19eb33f13d0c8f74d0a2ea9c6bf96eba2cda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d325d60bbd5456d985f09df0c88dc8ff0dc0a2b4a1633ef310a119b2b64e16f4 [INFO] running `Command { std: "docker" "start" "-a" "d325d60bbd5456d985f09df0c88dc8ff0dc0a2b4a1633ef310a119b2b64e16f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking cpufeatures v0.2.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking openssl-sys v0.9.75 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.1 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking mime_guess v2.0.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Compiling romanticise v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.6.1 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking sqlx-core v0.6.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Compiling sqlx-macros v0.6.1 [INFO] [stderr] Checking sqlx v0.6.1 [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/db.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{self, FromRow, query, query_as}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Database` [INFO] [stdout] --> src/image.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::Database; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::AsyncWriteExt` [INFO] [stdout] --> src/image.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::{fs::File, io::AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::Image` [INFO] [stdout] --> src/image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/db.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{self, FromRow, query, query_as}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::Database` [INFO] [stdout] --> src/image.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::Database; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::AsyncWriteExt` [INFO] [stdout] --> src/image.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::{fs::File, io::AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::db::Image` [INFO] [stdout] --> src/image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::db::Image; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/image.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn upload_image<'a, E>(body: impl AsRef<[u8]>, db: E) -> Result [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/image.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn upload_image<'a, E>(body: impl AsRef<[u8]>, db: E) -> Result [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/main.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_by_hash`, `insert`, and `tags` are never used [INFO] [stdout] --> src/db.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub async fn get_by_hash<'a, E>(hash: impl ToString, conn: E) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn insert<'a, E>(image_hash: impl ToString, image_path: impl ToString, conn: E) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn tags<'a, E>(&self, conn: E) -> Result> + 'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `images` is never used [INFO] [stdout] --> src/image.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn images<'a, E>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_image_by_hash` is never used [INFO] [stdout] --> src/image.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_image_by_hash<'a, E>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_image` is never used [INFO] [stdout] --> src/image.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn upload_image<'a, E>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_db` is never used [INFO] [stdout] --> src/image.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn with_db<'a, E>(db: E) -> impl Filter + Clone [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_image` is never used [INFO] [stdout] --> src/image.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn upload_image<'a, E>(body: impl AsRef<[u8]>, db: E) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_image_by_hash` is never used [INFO] [stdout] --> src/image.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn get_image_by_hash<'a, E>(hash: impl ToString, db: E) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/main.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_by_hash`, `insert`, and `tags` are never used [INFO] [stdout] --> src/db.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 21 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 22 | pub async fn get_by_hash<'a, E>(hash: impl ToString, conn: E) -> Result [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn insert<'a, E>(image_hash: impl ToString, image_path: impl ToString, conn: E) -> Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub async fn tags<'a, E>(&self, conn: E) -> Result> + 'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `images` is never used [INFO] [stdout] --> src/image.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn images<'a, E>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_image_by_hash` is never used [INFO] [stdout] --> src/image.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_image_by_hash<'a, E>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_image` is never used [INFO] [stdout] --> src/image.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn upload_image<'a, E>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_db` is never used [INFO] [stdout] --> src/image.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn with_db<'a, E>(db: E) -> impl Filter + Clone [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_image` is never used [INFO] [stdout] --> src/image.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn upload_image<'a, E>(body: impl AsRef<[u8]>, db: E) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_image_by_hash` is never used [INFO] [stdout] --> src/image.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn get_image_by_hash<'a, E>(hash: impl ToString, db: E) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d325d60bbd5456d985f09df0c88dc8ff0dc0a2b4a1633ef310a119b2b64e16f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d325d60bbd5456d985f09df0c88dc8ff0dc0a2b4a1633ef310a119b2b64e16f4", kill_on_drop: false }` [INFO] [stdout] d325d60bbd5456d985f09df0c88dc8ff0dc0a2b4a1633ef310a119b2b64e16f4