[INFO] cloning repository https://github.com/marveal-rab/gallery_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marveal-rab/gallery_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarveal-rab%2Fgallery_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarveal-rab%2Fgallery_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73381be7e86dad3dbb62dcac9a5987bd428fd3e7 [INFO] building marveal-rab/gallery_rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarveal-rab%2Fgallery_rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/marveal-rab/gallery_rs [INFO] finished tweaking git repo https://github.com/marveal-rab/gallery_rs [INFO] tweaked toml for git repo https://github.com/marveal-rab/gallery_rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marveal-rab/gallery_rs 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/marveal-rab/gallery_rs 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 multimap v0.9.1 [INFO] [stderr] Downloaded minio v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fbe69e2b2d7f6c13ec447b1e7cfe127738547f6df5f911c6ba2957c41701ffdb [INFO] running `Command { std: "docker" "start" "-a" "fbe69e2b2d7f6c13ec447b1e7cfe127738547f6df5f911c6ba2957c41701ffdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbe69e2b2d7f6c13ec447b1e7cfe127738547f6df5f911c6ba2957c41701ffdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe69e2b2d7f6c13ec447b1e7cfe127738547f6df5f911c6ba2957c41701ffdb", kill_on_drop: false }` [INFO] [stdout] fbe69e2b2d7f6c13ec447b1e7cfe127738547f6df5f911c6ba2957c41701ffdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 209f77b224e0f25d87f2358692bf727e6a62ed9633c2953fd61c928cd6bb84b7 [INFO] running `Command { std: "docker" "start" "-a" "209f77b224e0f25d87f2358692bf727e6a62ed9633c2953fd61c928cd6bb84b7", kill_on_drop: false }` [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling async-executor v1.13.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling os_info v3.8.2 [INFO] [stderr] Compiling multimap v0.9.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling minio v0.1.0 [INFO] [stderr] Compiling gallery_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::base` [INFO] [stdout] --> src/base/response/simple_resp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::base; [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::cmp::PartialEq` [INFO] [stdout] --> src/handler/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::to` [INFO] [stdout] --> src/handler/list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::to; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handler/list.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | base::response::list_resp::{self, ListResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handler/detail.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | base::response::simple_resp::{self, SimpleResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListObjectsArgs` and `SelectObjectContentArgs` [INFO] [stdout] --> src/infrastructure/minio.rs:5:165 [INFO] [stdout] | [INFO] [stdout] 5 | ...resignedObjectUrlArgs, ListObjectsArgs, ListObjectsV2Args, MakeBucketArgs, PostPolicy, SelectObjectContentArgs, UploadObjectArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_name` [INFO] [stdout] --> src/infrastructure/minio.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | pub async fn presign(&self, object_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/base/response/list_resp.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | fn respond_to(self, req: &actix_web::HttpRequest) -> actix_web::HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/base/response/simple_resp.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | fn respond_to(self, req: &actix_web::HttpRequest) -> actix_web::HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/base/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BizError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(code: StatusCode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `upload_object`, `create_multipart_upload`, `presign`, `complete_multipart_upload`, and `abort_multipart_upload` are never used [INFO] [stdout] --> src/infrastructure/minio.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl MinioClient { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn upload_object(&self, full_filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn create_multipart_upload(&self, object_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn presign(&self, object_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn complete_multipart_upload( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn abort_multipart_upload(&self, object_name: &str, upload_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page` and `size` are never read [INFO] [stdout] --> src/model/request.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ListObjectRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 5 | pub dir: Option, [INFO] [stdout] 6 | pub page: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub size: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "209f77b224e0f25d87f2358692bf727e6a62ed9633c2953fd61c928cd6bb84b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "209f77b224e0f25d87f2358692bf727e6a62ed9633c2953fd61c928cd6bb84b7", kill_on_drop: false }` [INFO] [stdout] 209f77b224e0f25d87f2358692bf727e6a62ed9633c2953fd61c928cd6bb84b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1b3daf16e55ed7ddf60a7bf0d57d828a0463b49cf19787ba5f818286098856f8 [INFO] running `Command { std: "docker" "start" "-a" "1b3daf16e55ed7ddf60a7bf0d57d828a0463b49cf19787ba5f818286098856f8", kill_on_drop: false }` [INFO] [stderr] Compiling gallery_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::base` [INFO] [stdout] --> src/base/response/simple_resp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::base; [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::cmp::PartialEq` [INFO] [stdout] --> src/handler/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::to` [INFO] [stdout] --> src/handler/list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web::to; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handler/list.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | base::response::list_resp::{self, ListResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/handler/detail.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | base::response::simple_resp::{self, SimpleResponse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListObjectsArgs` and `SelectObjectContentArgs` [INFO] [stdout] --> src/infrastructure/minio.rs:5:165 [INFO] [stdout] | [INFO] [stdout] 5 | ...resignedObjectUrlArgs, ListObjectsArgs, ListObjectsV2Args, MakeBucketArgs, PostPolicy, SelectObjectContentArgs, UploadObjectArgs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_name` [INFO] [stdout] --> src/infrastructure/minio.rs:143:33 [INFO] [stdout] | [INFO] [stdout] 143 | pub async fn presign(&self, object_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/base/response/list_resp.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | fn respond_to(self, req: &actix_web::HttpRequest) -> actix_web::HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/base/response/simple_resp.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | fn respond_to(self, req: &actix_web::HttpRequest) -> actix_web::HttpResponse { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/base/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl BizError { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new(code: StatusCode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `upload_object`, `create_multipart_upload`, `presign`, `complete_multipart_upload`, and `abort_multipart_upload` are never used [INFO] [stdout] --> src/infrastructure/minio.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl MinioClient { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub async fn upload_object(&self, full_filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub async fn create_multipart_upload(&self, object_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn presign(&self, object_name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn complete_multipart_upload( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn abort_multipart_upload(&self, object_name: &str, upload_id: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page` and `size` are never read [INFO] [stdout] --> src/model/request.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ListObjectRequest { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 5 | pub dir: Option, [INFO] [stdout] 6 | pub page: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub size: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.00s [INFO] running `Command { std: "docker" "inspect" "1b3daf16e55ed7ddf60a7bf0d57d828a0463b49cf19787ba5f818286098856f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3daf16e55ed7ddf60a7bf0d57d828a0463b49cf19787ba5f818286098856f8", kill_on_drop: false }` [INFO] [stdout] 1b3daf16e55ed7ddf60a7bf0d57d828a0463b49cf19787ba5f818286098856f8