[INFO] cloning repository https://github.com/elyscence/lambdadrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elyscence/lambdadrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felyscence%2Flambdadrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felyscence%2Flambdadrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4eb7b6f3cdb6ca8e111a0e72ac0ef1ada3e9fd2 [INFO] testing elyscence/lambdadrop against master#562dee4820c458d823175268e41601d4c060588a for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felyscence%2Flambdadrop" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/elyscence/lambdadrop [INFO] finished tweaking git repo https://github.com/elyscence/lambdadrop [INFO] tweaked toml for git repo https://github.com/elyscence/lambdadrop written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elyscence/lambdadrop on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elyscence/lambdadrop 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded redox_syscall v0.6.0 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded base64ct v1.8.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.25 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e73e45fdca890ff41ddd1d0ceec21289d9ef86a4edfbda7315e0302e230285a2 [INFO] running `Command { std: "docker" "start" "-a" "e73e45fdca890ff41ddd1d0ceec21289d9ef86a4edfbda7315e0302e230285a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e73e45fdca890ff41ddd1d0ceec21289d9ef86a4edfbda7315e0302e230285a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e73e45fdca890ff41ddd1d0ceec21289d9ef86a4edfbda7315e0302e230285a2", kill_on_drop: false }` [INFO] [stdout] e73e45fdca890ff41ddd1d0ceec21289d9ef86a4edfbda7315e0302e230285a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a75e2b880aa513685139842a188dad26f346e979da8f4382b62a39bc11fcd675 [INFO] running `Command { std: "docker" "start" "-a" "a75e2b880aa513685139842a188dad26f346e979da8f4382b62a39bc11fcd675", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling zmij v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling lambdadrop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cors` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use tower_http::cors::{Cors, CorsLayer}; [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: `error` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool` and `config` are never read [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | pub pool: sqlx::SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: fields `max_file_size` and `default_expiry_seconds` are never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub max_file_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub default_expiry_seconds: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Drop` is never constructed [INFO] [stdout] --> src/models/drop.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadRequest` is never constructed [INFO] [stdout] --> src/models/drop.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UploadRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadResponse` is never constructed [INFO] [stdout] --> src/models/drop.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct UploadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadResponse` is never constructed [INFO] [stdout] --> src/models/drop.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DownloadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropInfo` is never constructed [INFO] [stdout] --> src/models/drop.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct DropInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_short_id` is never used [INFO] [stdout] --> src/utils/id.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn generate_short_id(length: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedState` is never used [INFO] [stdout] --> src/handlers/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type SharedState = Arc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.68s [INFO] running `Command { std: "docker" "inspect" "a75e2b880aa513685139842a188dad26f346e979da8f4382b62a39bc11fcd675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a75e2b880aa513685139842a188dad26f346e979da8f4382b62a39bc11fcd675", kill_on_drop: false }` [INFO] [stdout] a75e2b880aa513685139842a188dad26f346e979da8f4382b62a39bc11fcd675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13f2d40d275946f236ec82f243446be903eb5455c354bccde03babcae2854ff1 [INFO] running `Command { std: "docker" "start" "-a" "13f2d40d275946f236ec82f243446be903eb5455c354bccde03babcae2854ff1", kill_on_drop: false }` [INFO] [stderr] Compiling lambdadrop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Cors` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use tower_http::cors::{Cors, CorsLayer}; [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: `error` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pool` and `config` are never read [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | pub pool: sqlx::SqlitePool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, 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: fields `max_file_size` and `default_expiry_seconds` are never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub max_file_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub default_expiry_seconds: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AppError` is never used [INFO] [stdout] --> src/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Drop` is never constructed [INFO] [stdout] --> src/models/drop.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadRequest` is never constructed [INFO] [stdout] --> src/models/drop.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UploadRequest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadResponse` is never constructed [INFO] [stdout] --> src/models/drop.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct UploadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DownloadResponse` is never constructed [INFO] [stdout] --> src/models/drop.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DownloadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropInfo` is never constructed [INFO] [stdout] --> src/models/drop.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct DropInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SharedState` is never used [INFO] [stdout] --> src/handlers/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type SharedState = Arc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.11s [INFO] running `Command { std: "docker" "inspect" "13f2d40d275946f236ec82f243446be903eb5455c354bccde03babcae2854ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f2d40d275946f236ec82f243446be903eb5455c354bccde03babcae2854ff1", kill_on_drop: false }` [INFO] [stdout] 13f2d40d275946f236ec82f243446be903eb5455c354bccde03babcae2854ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8453859629f3a97b90fbf76acc0df7f9d7044276f6209b0fd9e70fbd961e176 [INFO] running `Command { std: "docker" "start" "-a" "b8453859629f3a97b90fbf76acc0df7f9d7044276f6209b0fd9e70fbd961e176", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Cors` [INFO] [stderr] --> src/main.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use tower_http::cors::{Cors, CorsLayer}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/main.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing::{info, error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `pool` and `config` are never read [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 20 | struct AppState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 21 | pub pool: sqlx::SqlitePool, [INFO] [stderr] | ^^^^ [INFO] [stderr] 22 | pub config: Config, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `max_file_size` and `default_expiry_seconds` are never read [INFO] [stderr] --> src/config.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | pub max_file_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 9 | pub default_expiry_seconds: i64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `AppError` is never used [INFO] [stderr] --> src/error.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum AppError { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Drop` is never constructed [INFO] [stderr] --> src/models/drop.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Drop { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UploadRequest` is never constructed [INFO] [stderr] --> src/models/drop.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct UploadRequest { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UploadResponse` is never constructed [INFO] [stderr] --> src/models/drop.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub struct UploadResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DownloadResponse` is never constructed [INFO] [stderr] --> src/models/drop.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub struct DownloadResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DropInfo` is never constructed [INFO] [stderr] --> src/models/drop.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct DropInfo { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `SharedState` is never used [INFO] [stderr] --> src/handlers/mod.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | pub type SharedState = Arc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lambdadrop` (bin "lambdadrop" test) generated 11 warnings (run `cargo fix --bin "lambdadrop" -p lambdadrop --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lambdadrop-29f7326a6330d74a) [INFO] [stdout] running 2 tests [INFO] [stdout] test utils::id::tests::test_ids_are_unique ... ok [INFO] [stdout] test utils::id::tests::test_generate_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8453859629f3a97b90fbf76acc0df7f9d7044276f6209b0fd9e70fbd961e176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8453859629f3a97b90fbf76acc0df7f9d7044276f6209b0fd9e70fbd961e176", kill_on_drop: false }` [INFO] [stdout] b8453859629f3a97b90fbf76acc0df7f9d7044276f6209b0fd9e70fbd961e176