[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] checking elyscence/lambdadrop against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felyscence%2Flambdadrop" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elyscence/lambdadrop on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2ba147bd28b6c6ae0ebf9a8619366b6386a9b21c906b8760b7df01edffcb0a7 [INFO] running `Command { std: "docker" "start" "-a" "c2ba147bd28b6c6ae0ebf9a8619366b6386a9b21c906b8760b7df01edffcb0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2ba147bd28b6c6ae0ebf9a8619366b6386a9b21c906b8760b7df01edffcb0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ba147bd28b6c6ae0ebf9a8619366b6386a9b21c906b8760b7df01edffcb0a7", kill_on_drop: false }` [INFO] [stdout] c2ba147bd28b6c6ae0ebf9a8619366b6386a9b21c906b8760b7df01edffcb0a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c4970edbc19e014778b179c5e374c4d3c38ff68b9e85f695dca125bd32500a1 [INFO] running `Command { std: "docker" "start" "-a" "6c4970edbc19e014778b179c5e374c4d3c38ff68b9e85f695dca125bd32500a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking itoa v1.0.16 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling zmij v0.1.8 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [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 event-listener v5.4.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.21 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking 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] Checking sqlx v0.8.6 [INFO] [stderr] Checking 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: 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] [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 `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "6c4970edbc19e014778b179c5e374c4d3c38ff68b9e85f695dca125bd32500a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c4970edbc19e014778b179c5e374c4d3c38ff68b9e85f695dca125bd32500a1", kill_on_drop: false }` [INFO] [stdout] 6c4970edbc19e014778b179c5e374c4d3c38ff68b9e85f695dca125bd32500a1