[INFO] cloning repository https://github.com/ProgrammerZamanNow/belajar-rust-axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProgrammerZamanNow/belajar-rust-axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgrammerZamanNow%2Fbelajar-rust-axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgrammerZamanNow%2Fbelajar-rust-axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adf4f83f4a69cc8ad8fb2323b7ebcd62d5bf9cdc [INFO] testing ProgrammerZamanNow/belajar-rust-axum against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgrammerZamanNow%2Fbelajar-rust-axum" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ProgrammerZamanNow/belajar-rust-axum [INFO] finished tweaking git repo https://github.com/ProgrammerZamanNow/belajar-rust-axum [INFO] tweaked toml for git repo https://github.com/ProgrammerZamanNow/belajar-rust-axum written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ProgrammerZamanNow/belajar-rust-axum on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ProgrammerZamanNow/belajar-rust-axum 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1a5b9db46edda58dbdb0a471f6585efa63c1451e1631eb495591439d2320dd7 [INFO] running `Command { std: "docker" "start" "-a" "b1a5b9db46edda58dbdb0a471f6585efa63c1451e1631eb495591439d2320dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1a5b9db46edda58dbdb0a471f6585efa63c1451e1631eb495591439d2320dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a5b9db46edda58dbdb0a471f6585efa63c1451e1631eb495591439d2320dd7", kill_on_drop: false }` [INFO] [stdout] b1a5b9db46edda58dbdb0a471f6585efa63c1451e1631eb495591439d2320dd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c0f84a022d4b6797d9132a008d4d3697038aa879cdc01ee65bea5326c16a816 [INFO] running `Command { std: "docker" "start" "-a" "4c0f84a022d4b6797d9132a008d4d3697038aa879cdc01ee65bea5326c16a816", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling zerocopy v0.8.21 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling auto-future v1.0.0 [INFO] [stderr] Compiling bytesize v1.3.2 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling 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.218 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling reserve-port v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rust-multipart-rfc7578_2 v0.7.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling axum-test v17.2.0 [INFO] [stderr] Compiling axum-extra v0.10.0 [INFO] [stderr] Compiling belajar-rust-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::anyhow` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::anyhow; [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 imports: `Body` and `Bytes` [INFO] [stdout] --> src/main.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::body::{Body, Bytes}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::error_handling::HandleError` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::error_handling::HandleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::extract::rejection::JsonRejection` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::extract::rejection::JsonRejection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Multipart`, `Path`, `Query`, and `State` [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::extract::{Multipart, Path, Query, Request, State}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_fn` and `map_request` [INFO] [stdout] --> src/main.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::middleware::{Next, from_fn, map_request}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::routing::{get, post}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension`, `Form`, and `Json` [INFO] [stdout] --> src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::{Extension, Form, Json, Router, serve}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::CookieJar` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use axum_extra::extract::CookieJar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::cookie::Cookie` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use axum_extra::extract::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_test::TestServer` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use axum_test::TestServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultipartForm` and `Part` [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use axum_test::multipart::{MultipartForm, Part}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `HeaderMap`, `HeaderValue`, `Method`, and `Uri` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use http::{Error, HeaderMap, HeaderValue, Method, StatusCode, Uri}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginRequest` is never constructed [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | struct LoginRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoginResponse` is never constructed [INFO] [stdout] --> src/main.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | struct LoginResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_middleware` is never used [INFO] [stdout] --> src/main.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 387 | async fn log_middleware(request: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `request_id_middleware` is never used [INFO] [stdout] --> src/main.rs:394:10 [INFO] [stdout] | [INFO] [stdout] 394 | 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:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | struct AppError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConfig` is never constructed [INFO] [stdout] --> src/main.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.98s [INFO] running `Command { std: "docker" "inspect" "4c0f84a022d4b6797d9132a008d4d3697038aa879cdc01ee65bea5326c16a816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0f84a022d4b6797d9132a008d4d3697038aa879cdc01ee65bea5326c16a816", kill_on_drop: false }` [INFO] [stdout] 4c0f84a022d4b6797d9132a008d4d3697038aa879cdc01ee65bea5326c16a816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e86d92a220fd00d20160770817d2cfe107e1f0cf4f63f83fecac03fe5e22f8df [INFO] running `Command { std: "docker" "start" "-a" "e86d92a220fd00d20160770817d2cfe107e1f0cf4f63f83fecac03fe5e22f8df", kill_on_drop: false }` [INFO] [stderr] Compiling belajar-rust-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use http::{Error, HeaderMap, HeaderValue, Method, StatusCode, Uri}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.73s [INFO] running `Command { std: "docker" "inspect" "e86d92a220fd00d20160770817d2cfe107e1f0cf4f63f83fecac03fe5e22f8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86d92a220fd00d20160770817d2cfe107e1f0cf4f63f83fecac03fe5e22f8df", kill_on_drop: false }` [INFO] [stdout] e86d92a220fd00d20160770817d2cfe107e1f0cf4f63f83fecac03fe5e22f8df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c562c9bd91dfdbcfdecf900f5699ea96c9a58d89b1336003b8648173c0db69a [INFO] running `Command { std: "docker" "start" "-a" "9c562c9bd91dfdbcfdecf900f5699ea96c9a58d89b1336003b8648173c0db69a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | use http::{Error, HeaderMap, HeaderValue, Method, StatusCode, Uri}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `belajar-rust-axum` (bin "belajar-rust-axum" test) generated 1 warning (run `cargo fix --bin "belajar-rust-axum" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/belajar_rust_axum-bd07d19243af7e83) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test test_body_string ... ok [INFO] [stdout] test test_cookie_response ... ok [INFO] [stdout] test test_form ... ok [INFO] [stdout] test test_cookie_request ... ok [INFO] [stdout] test test_header ... ok [INFO] [stdout] test test_axum ... ok [INFO] [stdout] test test_json ... ok [INFO] [stdout] test test_method_routing ... ok [INFO] [stdout] test test_json_error ... ok [INFO] [stdout] test test_middleware ... ok [INFO] [stdout] test test_multiple_route_nest ... ok [INFO] [stdout] test test_path_parameter ... ok [INFO] [stdout] test test_fallback ... ok [INFO] [stdout] test test_query ... ok [INFO] [stdout] test test_response ... ok [INFO] [stdout] test test_response_tuple ... ok [INFO] [stdout] test test_state_closure_capture ... ok [INFO] [stdout] test test_state_extractor ... ok [INFO] [stdout] test test_uri ... ok [INFO] [stdout] test test_response_tuple3 ... ok [INFO] [stdout] test test_unexpected_error ... ok [INFO] [stdout] test test_error_handling ... ok [INFO] [stdout] test test_request ... ok [INFO] [stdout] test test_multiple_route ... ok [INFO] [stdout] test test_response_json ... ok [INFO] [stdout] test test_state_extension ... ok [INFO] [stdout] test test_multipart ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c562c9bd91dfdbcfdecf900f5699ea96c9a58d89b1336003b8648173c0db69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c562c9bd91dfdbcfdecf900f5699ea96c9a58d89b1336003b8648173c0db69a", kill_on_drop: false }` [INFO] [stdout] 9c562c9bd91dfdbcfdecf900f5699ea96c9a58d89b1336003b8648173c0db69a