[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] 69fc7cfad3bae8c813747b2598ced31cdbfce334
[INFO] testing hellomephllw/rust-web-sample against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellomephllw%2Frust-web-sample" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hellomephllw/rust-web-sample on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 794cf4e8d460ee1f6c6054d810efb332a9d417c483633e5eb372f417e83ebe4a
[INFO] running `Command { std: "docker" "start" "-a" "794cf4e8d460ee1f6c6054d810efb332a9d417c483633e5eb372f417e83ebe4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "794cf4e8d460ee1f6c6054d810efb332a9d417c483633e5eb372f417e83ebe4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "794cf4e8d460ee1f6c6054d810efb332a9d417c483633e5eb372f417e83ebe4a", kill_on_drop: false }`
[INFO] [stdout] 794cf4e8d460ee1f6c6054d810efb332a9d417c483633e5eb372f417e83ebe4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dc1c204123b32b1f8531d739b34523e834ac1c362631948ad13daab61fb49917
[INFO] running `Command { std: "docker" "start" "-a" "dc1c204123b32b1f8531d739b34523e834ac1c362631948ad13daab61fb49917", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling bindgen v0.72.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling cc v1.2.43
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling compression-core v0.4.29
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling diesel_derives v2.3.4
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling clap_builder v4.5.50
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling downcast-rs v2.0.2
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.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.6.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling compression-codecs v0.4.31
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]    Compiling clap v4.5.50
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling mysqlclient-sys v0.4.7
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling async-compression v0.4.32
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling diesel v2.3.3
[INFO] [stderr]    Compiling rust-web-sample v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `post_create_param::PostCreateParam`
[INFO] [stdout]  --> src/models/params/forum/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use post_create_param::PostCreateParam;
[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 variable: `err`
[INFO] [stdout]   --> src/routes/forum/post_api.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Err(err) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/routes/forum/post_api.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Err(err) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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<String>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn custom(message: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] 
[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: struct `PostCreateParam` is never constructed
[INFO] [stdout]  --> src/models/params/forum/post_create_param.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PostCreateParam {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_published` is never used
[INFO] [stdout]   --> src/models/params/forum/post_create_param.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn default_published() -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `failed_with_data` is never used
[INFO] [stdout]   --> src/models/responses/response.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn failed_with_data(data: Option<T>, message: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create` is never used
[INFO] [stdout]   --> src/services/forum/post_service.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait PostService {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 29 |     async fn create(&self, root_state: &RootState, post: Post) -> Result<Post, CommonError>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `UserService` is never used
[INFO] [stdout]  --> src/services/user/user_service.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait UserService: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "dc1c204123b32b1f8531d739b34523e834ac1c362631948ad13daab61fb49917", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc1c204123b32b1f8531d739b34523e834ac1c362631948ad13daab61fb49917", kill_on_drop: false }`
[INFO] [stdout] dc1c204123b32b1f8531d739b34523e834ac1c362631948ad13daab61fb49917
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 94f09e1b335fdfaa267206f84aa9d7677cc187922f5c0d3561eab26dcbe42147
[INFO] running `Command { std: "docker" "start" "-a" "94f09e1b335fdfaa267206f84aa9d7677cc187922f5c0d3561eab26dcbe42147", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-web-sample v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `post_create_param::PostCreateParam`
[INFO] [stdout]  --> src/models/params/forum/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use post_create_param::PostCreateParam;
[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 variable: `err`
[INFO] [stdout]   --> src/routes/forum/post_api.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Err(err) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/routes/forum/post_api.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Err(err) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[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]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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<String>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn custom(message: impl Into<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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] 
[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: struct `PostCreateParam` is never constructed
[INFO] [stdout]  --> src/models/params/forum/post_create_param.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PostCreateParam {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `default_published` is never used
[INFO] [stdout]   --> src/models/params/forum/post_create_param.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn default_published() -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `failed_with_data` is never used
[INFO] [stdout]   --> src/models/responses/response.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<T> ApiResponse<T> {
[INFO] [stdout]    | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn failed_with_data(data: Option<T>, message: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `create` is never used
[INFO] [stdout]   --> src/services/forum/post_service.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub trait PostService {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 29 |     async fn create(&self, root_state: &RootState, post: Post) -> Result<Post, CommonError>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `UserService` is never used
[INFO] [stdout]  --> src/services/user/user_service.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait UserService: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.11s
[INFO] running `Command { std: "docker" "inspect" "94f09e1b335fdfaa267206f84aa9d7677cc187922f5c0d3561eab26dcbe42147", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94f09e1b335fdfaa267206f84aa9d7677cc187922f5c0d3561eab26dcbe42147", kill_on_drop: false }`
[INFO] [stdout] 94f09e1b335fdfaa267206f84aa9d7677cc187922f5c0d3561eab26dcbe42147
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4f997ec74ca80c650d9f622a57d39cdcb9ec75789ad6012c1cd59a3977f953d4
[INFO] running `Command { std: "docker" "start" "-a" "4f997ec74ca80c650d9f622a57d39cdcb9ec75789ad6012c1cd59a3977f953d4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `post_create_param::PostCreateParam`
[INFO] [stderr]  --> src/models/params/forum/mod.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use post_create_param::PostCreateParam;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/routes/forum/post_api.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |         Err(err) => {
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/routes/forum/post_api.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 |         Err(err) => {
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Biz` is never constructed
[INFO] [stderr]   --> src/enums/errors/common_error.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub enum CommonError {
[INFO] [stderr]    |          ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 18 |     Biz(BusinessError),
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `CommonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `custom` are never used
[INFO] [stderr]   --> src/errors/business_error.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl BusinessError {
[INFO] [stderr]    | ------------------ associated functions in this implementation
[INFO] [stderr] 14 |     pub fn new(code: i32, message: impl Into<String>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn custom(message: impl Into<String>) -> Self {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `INVALID_USERNAME_OR_PASSWORD_CODE` is never used
[INFO] [stderr]  --> src/errors/error_types.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub const INVALID_USERNAME_OR_PASSWORD_CODE: i32 = 10001;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TOKEN_EXPIRED_CODE` is never used
[INFO] [stderr]  --> src/errors/error_types.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub const TOKEN_EXPIRED_CODE: i32 = 10002;
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `invalid_username_or_password` is never used
[INFO] [stderr]  --> src/errors/error_types.rs:6:8
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub fn invalid_username_or_password() -> BusinessError {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `token_expired` is never used
[INFO] [stderr]  --> src/errors/error_types.rs:9:8
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn token_expired() -> BusinessError {
[INFO] [stderr]   |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PostCreateParam` is never constructed
[INFO] [stderr]  --> src/models/params/forum/post_create_param.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct PostCreateParam {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `default_published` is never used
[INFO] [stderr]   --> src/models/params/forum/post_create_param.rs:16:4
[INFO] [stderr]    |
[INFO] [stderr] 16 | fn default_published() -> bool {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `failed_with_data` is never used
[INFO] [stderr]   --> src/models/responses/response.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl<T> ApiResponse<T> {
[INFO] [stderr]    | ---------------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 35 |     pub fn failed_with_data(data: Option<T>, message: String) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `create` is never used
[INFO] [stderr]   --> src/services/forum/post_service.rs:29:14
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub trait PostService {
[INFO] [stderr]    |           ----------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 29 |     async fn create(&self, root_state: &RootState, post: Post) -> Result<Post, CommonError>;
[INFO] [stderr]    |              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `UserService` is never used
[INFO] [stderr]  --> src/services/user/user_service.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub trait UserService: Send + Sync {
[INFO] [stderr]   |           ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-web-sample` (bin "rust-web-sample" test) generated 14 warnings (run `cargo fix --bin "rust-web-sample" -p rust-web-sample --tests` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_web_sample-cdc41f8a6287bf3a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4f997ec74ca80c650d9f622a57d39cdcb9ec75789ad6012c1cd59a3977f953d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f997ec74ca80c650d9f622a57d39cdcb9ec75789ad6012c1cd59a3977f953d4", kill_on_drop: false }`
[INFO] [stdout] 4f997ec74ca80c650d9f622a57d39cdcb9ec75789ad6012c1cd59a3977f953d4
