[INFO] cloning repository https://github.com/hellomephllw/rust-web-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hellomephllw/rust-web-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellomephllw%2Frust-web-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellomephllw%2Frust-web-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7346919cb4760dfb8730b76dbddf09e8dd6cf384 [INFO] building hellomephllw/rust-web-sample against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellomephllw%2Frust-web-sample" "/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/hellomephllw/rust-web-sample [INFO] finished tweaking git repo https://github.com/hellomephllw/rust-web-sample [INFO] tweaked toml for git repo https://github.com/hellomephllw/rust-web-sample written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hellomephllw/rust-web-sample 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/hellomephllw/rust-web-sample 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] warning: unused manifest key: build [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] 1f7439bac4f85f7472ef2759b183521baf65a2cf8e52b00d922e0b267d80618e [INFO] running `Command { std: "docker" "start" "-a" "1f7439bac4f85f7472ef2759b183521baf65a2cf8e52b00d922e0b267d80618e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f7439bac4f85f7472ef2759b183521baf65a2cf8e52b00d922e0b267d80618e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7439bac4f85f7472ef2759b183521baf65a2cf8e52b00d922e0b267d80618e", kill_on_drop: false }` [INFO] [stdout] 1f7439bac4f85f7472ef2759b183521baf65a2cf8e52b00d922e0b267d80618e [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] bf3a90d080f35098ab97043732e5eeb134e5279f45b5e87d06462dc2a57f3397 [INFO] running `Command { std: "docker" "start" "-a" "bf3a90d080f35098ab97043732e5eeb134e5279f45b5e87d06462dc2a57f3397", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mysqlclient-sys v0.4.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli v8.0.0 [INFO] [stderr] Compiling hdrhistogram v7.5.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling diesel_derives v2.2.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling async-compression v0.4.23 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling diesel v2.2.10 [INFO] [stderr] Compiling rust-web-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `INVALID_USERNAME_OR_PASSWORD_CODE` is never used [INFO] [stdout] --> src/errors/error_types.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INVALID_USERNAME_OR_PASSWORD_CODE: i32 = 10001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `failed_with_data` are never used [INFO] [stdout] --> src/models/responses/response.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ApiResponse { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn success(data: Option) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn failed_with_data(code: i32, data: Option, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUCCESS_CODE` is never used [INFO] [stdout] --> src/constants/error_code_const.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const SUCCESS_CODE: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `custom` are never used [INFO] [stdout] --> src/errors/business_error.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BusinessError { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 14 | pub fn new(code: i32, message: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn custom(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_EXPIRED_CODE` is never used [INFO] [stdout] --> src/errors/error_types.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const TOKEN_EXPIRED_CODE: i32 = 10002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid_username_or_password` is never used [INFO] [stdout] --> src/errors/error_types.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn invalid_username_or_password() -> BusinessError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token_expired` is never used [INFO] [stdout] --> src/errors/error_types.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn token_expired() -> BusinessError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Biz` is never constructed [INFO] [stdout] --> src/enums/errors/common_error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CommonError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Biz(BusinessError), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "bf3a90d080f35098ab97043732e5eeb134e5279f45b5e87d06462dc2a57f3397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3a90d080f35098ab97043732e5eeb134e5279f45b5e87d06462dc2a57f3397", kill_on_drop: false }` [INFO] [stdout] bf3a90d080f35098ab97043732e5eeb134e5279f45b5e87d06462dc2a57f3397 [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] b708f9b449427b3802aaf6f1d8da12412fb61b48a4d5f1608b2f460b443a97ec [INFO] running `Command { std: "docker" "start" "-a" "b708f9b449427b3802aaf6f1d8da12412fb61b48a4d5f1608b2f460b443a97ec", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling rust-web-sample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `INVALID_USERNAME_OR_PASSWORD_CODE` is never used [INFO] [stdout] --> src/errors/error_types.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INVALID_USERNAME_OR_PASSWORD_CODE: i32 = 10001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOKEN_EXPIRED_CODE` is never used [INFO] [stdout] --> src/errors/error_types.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const TOKEN_EXPIRED_CODE: i32 = 10002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invalid_username_or_password` is never used [INFO] [stdout] --> src/errors/error_types.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn invalid_username_or_password() -> BusinessError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `token_expired` is never used [INFO] [stdout] --> src/errors/error_types.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn token_expired() -> BusinessError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Biz` is never constructed [INFO] [stdout] --> src/enums/errors/common_error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum CommonError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Biz(BusinessError), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `custom` are never used [INFO] [stdout] --> src/errors/business_error.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BusinessError { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 14 | pub fn new(code: i32, message: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn custom(message: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUCCESS_CODE` is never used [INFO] [stdout] --> src/constants/error_code_const.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const SUCCESS_CODE: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `failed_with_data` are never used [INFO] [stdout] --> src/models/responses/response.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ApiResponse { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn success(data: Option) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn failed_with_data(code: i32, data: Option, message: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "b708f9b449427b3802aaf6f1d8da12412fb61b48a4d5f1608b2f460b443a97ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b708f9b449427b3802aaf6f1d8da12412fb61b48a4d5f1608b2f460b443a97ec", kill_on_drop: false }` [INFO] [stdout] b708f9b449427b3802aaf6f1d8da12412fb61b48a4d5f1608b2f460b443a97ec