[INFO] cloning repository https://github.com/suharjin01/rust-axum-web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suharjin01/rust-axum-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuharjin01%2Frust-axum-web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuharjin01%2Frust-axum-web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6177c11a4a7497f1914ef96bca44d0c53899fd79 [INFO] checking suharjin01/rust-axum-web against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuharjin01%2Frust-axum-web" "/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/suharjin01/rust-axum-web [INFO] finished tweaking git repo https://github.com/suharjin01/rust-axum-web [INFO] tweaked toml for git repo https://github.com/suharjin01/rust-axum-web written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/suharjin01/rust-axum-web on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/suharjin01/rust-axum-web 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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reserve-port v2.1.0 [INFO] [stderr] Downloaded rust-multipart-rfc7578_2 v0.7.0 [INFO] [stderr] Downloaded axum-test v17.2.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09e502d7508ec530749b5eaa10e72dd381ac3f9acbfd9d1f0651106f5ed266bc [INFO] running `Command { std: "docker" "start" "-a" "09e502d7508ec530749b5eaa10e72dd381ac3f9acbfd9d1f0651106f5ed266bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09e502d7508ec530749b5eaa10e72dd381ac3f9acbfd9d1f0651106f5ed266bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e502d7508ec530749b5eaa10e72dd381ac3f9acbfd9d1f0651106f5ed266bc", kill_on_drop: false }` [INFO] [stdout] 09e502d7508ec530749b5eaa10e72dd381ac3f9acbfd9d1f0651106f5ed266bc [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c980d74e133b149d0c9320a5ff90ab02d88a5c2fc637dad2f7f1dffdf311ae54 [INFO] running `Command { std: "docker" "start" "-a" "c980d74e133b149d0c9320a5ff90ab02d88a5c2fc637dad2f7f1dffdf311ae54", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking bytesize v1.3.2 [INFO] [stderr] Checking auto-future v1.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking axum-core v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rust-multipart-rfc7578_2 v0.7.0 [INFO] [stderr] Checking reserve-port v2.1.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking axum v0.8.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking axum-extra v0.10.0 [INFO] [stderr] Checking axum-test v17.2.0 [INFO] [stderr] Checking rust-axum-web v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashMap` and `sync::Arc` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `body`, `response`, and `self` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_extra::{body, extract::{cookie::{self, Cookie}, CookieJar}, response}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `header`, `method`, and `request` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use http::{header, method, request, HeaderMap, HeaderValue, Method, StatusCode, Uri}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::anyhow; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Body`, `Bytes`, `Extension`, `Form`, `Json`, `Multipart`, `Path`, `Query`, `State`, `error_handling::HandleError`, `from_fn`, `map_request`, `post`, and `rejection::JsonRejection` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{Body, Bytes}, error_handling::HandleError, extract::{rejection::JsonRejection, Multipart, Path, Query, Request, State}, middleware::{from_fn, map_request, Next}, response::{IntoResponse, Response}, routing::{get, post}, serve, Extension, Form, Json, R... [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CookieJar`, `Cookie`, `body`, `response`, and `self` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_extra::{body, extract::{cookie::{self, Cookie}, CookieJar}, response}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultipartForm`, `Part`, and `TestServer` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use axum_test::{multipart::{MultipartForm, Part}, TestServer}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap`, `HeaderValue`, `Method`, `Uri`, `header`, `method`, and `request` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use http::{header, method, request, HeaderMap, HeaderValue, Method, StatusCode, Uri}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_middleware` is never used [INFO] [stdout] --> src/main.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | async fn log_middleware(request: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_id_middleware` is never used [INFO] [stdout] --> src/main.rs:472:10 [INFO] [stdout] | [INFO] [stdout] 472 | async fn request_id_middleware(mut request: Request) -> Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppError` is never constructed [INFO] [stdout] --> src/main.rs:504:8 [INFO] [stdout] | [INFO] [stdout] 504 | struct AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConfig` is never constructed [INFO] [stdout] --> src/main.rs:579:8 [INFO] [stdout] | [INFO] [stdout] 579 | struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.47s [INFO] running `Command { std: "docker" "inspect" "c980d74e133b149d0c9320a5ff90ab02d88a5c2fc637dad2f7f1dffdf311ae54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c980d74e133b149d0c9320a5ff90ab02d88a5c2fc637dad2f7f1dffdf311ae54", kill_on_drop: false }` [INFO] [stdout] c980d74e133b149d0c9320a5ff90ab02d88a5c2fc637dad2f7f1dffdf311ae54