[INFO] cloning repository https://github.com/Zedonboy/rust_file_uploader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zedonboy/rust_file_uploader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Frust_file_uploader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Frust_file_uploader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8c50d4a26e60f994612b29e7a0a155e2be1a9f1 [INFO] building Zedonboy/rust_file_uploader against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZedonboy%2Frust_file_uploader" "/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/Zedonboy/rust_file_uploader [INFO] finished tweaking git repo https://github.com/Zedonboy/rust_file_uploader [INFO] tweaked toml for git repo https://github.com/Zedonboy/rust_file_uploader written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Zedonboy/rust_file_uploader on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Zedonboy/rust_file_uploader 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a43d251fe2ad86f64765200c65ef792bf6b9816152a9a0cf4f501eab38e78c50 [INFO] running `Command { std: "docker" "start" "-a" "a43d251fe2ad86f64765200c65ef792bf6b9816152a9a0cf4f501eab38e78c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a43d251fe2ad86f64765200c65ef792bf6b9816152a9a0cf4f501eab38e78c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43d251fe2ad86f64765200c65ef792bf6b9816152a9a0cf4f501eab38e78c50", kill_on_drop: false }` [INFO] [stdout] a43d251fe2ad86f64765200c65ef792bf6b9816152a9a0cf4f501eab38e78c50 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 218eeb9dc1466203808aecc5a16976d9e82e36b982318707c13243ea3aa49ede [INFO] running `Command { std: "docker" "start" "-a" "218eeb9dc1466203808aecc5a16976d9e82e36b982318707c13243ea3aa49ede", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling file-upload-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::{Stream, StreamExt, TryStreamExt}; [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: `UploadResponse` [INFO] [stdout] --> src/main.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use models::{DocumentPart, UploadResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::{Stream, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/rejections.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BadRequest { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 4 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadRequest` 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: fields `id` and `name` are never read [INFO] [stdout] --> src/models.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DocumentPart { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentPart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadResponse` is never constructed [INFO] [stdout] --> src/models.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UploadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 11s [INFO] running `Command { std: "docker" "inspect" "218eeb9dc1466203808aecc5a16976d9e82e36b982318707c13243ea3aa49ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218eeb9dc1466203808aecc5a16976d9e82e36b982318707c13243ea3aa49ede", kill_on_drop: false }` [INFO] [stdout] 218eeb9dc1466203808aecc5a16976d9e82e36b982318707c13243ea3aa49ede [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 037055f2cb23ca021248fb3368eb8599acd38da4d83249bc51f120b02f260516 [INFO] running `Command { std: "docker" "start" "-a" "037055f2cb23ca021248fb3368eb8599acd38da4d83249bc51f120b02f260516", kill_on_drop: false }` [INFO] [stderr] Compiling file-upload-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::{Stream, StreamExt, TryStreamExt}; [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: `UploadResponse` [INFO] [stdout] --> src/main.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use models::{DocumentPart, UploadResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt` and `AsyncWriteExt` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::io::{AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/models.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::{Stream, StreamExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/models.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DocumentPart { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DocumentPart` 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 `UploadResponse` is never constructed [INFO] [stdout] --> src/models.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UploadResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/rejections.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BadRequest { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 4 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "037055f2cb23ca021248fb3368eb8599acd38da4d83249bc51f120b02f260516", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037055f2cb23ca021248fb3368eb8599acd38da4d83249bc51f120b02f260516", kill_on_drop: false }` [INFO] [stdout] 037055f2cb23ca021248fb3368eb8599acd38da4d83249bc51f120b02f260516