[INFO] cloning repository https://github.com/noxue/my-god-drive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noxue/my-god-drive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxue%2Fmy-god-drive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxue%2Fmy-god-drive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 015f5183b5c20446f1264b0fff29a71b65aa1270 [INFO] checking noxue/my-god-drive against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxue%2Fmy-god-drive" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/noxue/my-god-drive [INFO] finished tweaking git repo https://github.com/noxue/my-god-drive [INFO] tweaked toml for git repo https://github.com/noxue/my-god-drive written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/noxue/my-god-drive on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/noxue/my-god-drive 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eaad2a7ac8727f815a77596d979991c1dc06b606dbe9d0863abe2a67490b0e4 [INFO] running `Command { std: "docker" "start" "-a" "1eaad2a7ac8727f815a77596d979991c1dc06b606dbe9d0863abe2a67490b0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eaad2a7ac8727f815a77596d979991c1dc06b606dbe9d0863abe2a67490b0e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eaad2a7ac8727f815a77596d979991c1dc06b606dbe9d0863abe2a67490b0e4", kill_on_drop: false }` [INFO] [stdout] 1eaad2a7ac8727f815a77596d979991c1dc06b606dbe9d0863abe2a67490b0e4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cde720eb7d4a71afa7395f9a5b20a4996a666bed2663a5639c095e0ce6c4e3da [INFO] running `Command { std: "docker" "start" "-a" "cde720eb7d4a71afa7395f9a5b20a4996a666bed2663a5639c095e0ce6c4e3da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.3 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Checking sqlformat v0.2.6 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling utoipa-swagger-ui v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling sea-orm-macros v0.12.15 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Checking ouroboros v0.17.2 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking actix-server v2.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking uuid v1.12.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking sea-query v0.30.7 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Checking actix-http v3.9.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking sea-query-binder v0.5.0 [INFO] [stderr] Checking sea-orm v0.12.15 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking actix-multipart v0.6.2 [INFO] [stderr] Checking actix-cors v0.6.5 [INFO] [stderr] Checking actix_rest_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Select` [INFO] [stdout] --> src/api/file.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, QueryFilter, QuerySelect, Select, Set}; [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: `files::Entity as Files` [INFO] [stdout] --> src/db/models.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub use files::Entity as Files; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/middleware/auth.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Select` [INFO] [stdout] --> src/api/file.rs:15:85 [INFO] [stdout] | [INFO] [stdout] 15 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, QueryFilter, QuerySelect, Select, Set}; [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: `files::Entity as Files` [INFO] [stdout] --> src/db/models.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub use files::Entity as Files; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/middleware/auth.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::{debug, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuerySelect` [INFO] [stdout] --> src/api/file.rs:15:72 [INFO] [stdout] | [INFO] [stdout] 15 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, QueryFilter, QuerySelect, Select, Set}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuerySelect` [INFO] [stdout] --> src/api/file.rs:15:72 [INFO] [stdout] | [INFO] [stdout] 15 | use sea_orm::{ActiveModelTrait, ColumnTrait, EntityTrait, QueryFilter, QuerySelect, Select, Set}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware/auth.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [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: variable does not need to be mutable [INFO] [stdout] --> src/middleware/auth.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn call(&self, mut req: ServiceRequest) -> Self::Future { [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: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | NotFoundError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileUpload` is never constructed [INFO] [stdout] --> src/models/file.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct FileUpload { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/file.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | / web::block(move || f.write_all(&data)).await.map_err(|e| { [INFO] [stdout] 83 | | error!("Failed to write chunk: {}", e); [INFO] [stdout] 84 | | AppError::InternalServerError("Failed to save file".into()) [INFO] [stdout] 85 | | })?; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = web::block(move || f.write_all(&data)).await.map_err(|e| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFoundError` is never constructed [INFO] [stdout] --> src/error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AppError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | NotFoundError(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileUpload` is never constructed [INFO] [stdout] --> src/models/file.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct FileUpload { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/file.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | / web::block(move || f.write_all(&data)).await.map_err(|e| { [INFO] [stdout] 83 | | error!("Failed to write chunk: {}", e); [INFO] [stdout] 84 | | AppError::InternalServerError("Failed to save file".into()) [INFO] [stdout] 85 | | })?; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = web::block(move || f.write_all(&data)).await.map_err(|e| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "cde720eb7d4a71afa7395f9a5b20a4996a666bed2663a5639c095e0ce6c4e3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde720eb7d4a71afa7395f9a5b20a4996a666bed2663a5639c095e0ce6c4e3da", kill_on_drop: false }` [INFO] [stdout] cde720eb7d4a71afa7395f9a5b20a4996a666bed2663a5639c095e0ce6c4e3da