[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 master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhellomephllw%2Frust-web-sample" "/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/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hellomephllw/rust-web-sample on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dsl_auto_type v0.2.0
[INFO] [stderr]   Downloaded diesel_table_macro_syntax v0.3.0
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded openssl-sys v0.9.110
[INFO] [stderr]   Downloaded diesel_derives v2.3.4
[INFO] [stderr]   Downloaded openssl v0.10.74
[INFO] [stderr]   Downloaded diesel v2.3.3
[INFO] [stderr]   Downloaded mysqlclient-sys v0.4.7
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a1faa168ba93bb00c41b7e6ac3f3410b4a056b2b6a1c7d0a87ca9937d1b845e9
[INFO] running `Command { std: "docker" "start" "-a" "a1faa168ba93bb00c41b7e6ac3f3410b4a056b2b6a1c7d0a87ca9937d1b845e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a1faa168ba93bb00c41b7e6ac3f3410b4a056b2b6a1c7d0a87ca9937d1b845e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1faa168ba93bb00c41b7e6ac3f3410b4a056b2b6a1c7d0a87ca9937d1b845e9", kill_on_drop: false }`
[INFO] [stdout] a1faa168ba93bb00c41b7e6ac3f3410b4a056b2b6a1c7d0a87ca9937d1b845e9
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc964f402c3c6e7fc970838bfaf6db78e92ed108822cacfe90326fe3e8e4b525
[INFO] running `Command { std: "docker" "start" "-a" "bc964f402c3c6e7fc970838bfaf6db78e92ed108822cacfe90326fe3e8e4b525", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling bindgen v0.72.1
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling cc v1.2.43
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling compression-core v0.4.29
[INFO] [stderr]    Compiling diesel_derives v2.3.4
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstream v0.6.21
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling clap_lex v0.7.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling clap_builder v4.5.50
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[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 regex v1.12.2
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling downcast-rs v2.0.2
[INFO] [stderr]    Compiling compression-codecs v0.4.31
[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 zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling clap v4.5.50
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[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 tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[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 idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling hyper v1.7.0
[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 mysqlclient-sys v0.4.7
[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 30s
[INFO] running `Command { std: "docker" "inspect" "bc964f402c3c6e7fc970838bfaf6db78e92ed108822cacfe90326fe3e8e4b525", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc964f402c3c6e7fc970838bfaf6db78e92ed108822cacfe90326fe3e8e4b525", kill_on_drop: false }`
[INFO] [stdout] bc964f402c3c6e7fc970838bfaf6db78e92ed108822cacfe90326fe3e8e4b525
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 424d2d88de5404dd50ad0117975f85ba8fe6aff83df7d11c7e0f9e9913d3cc1b
[INFO] running `Command { std: "docker" "start" "-a" "424d2d88de5404dd50ad0117975f85ba8fe6aff83df7d11c7e0f9e9913d3cc1b", 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 2.53s
[INFO] running `Command { std: "docker" "inspect" "424d2d88de5404dd50ad0117975f85ba8fe6aff83df7d11c7e0f9e9913d3cc1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "424d2d88de5404dd50ad0117975f85ba8fe6aff83df7d11c7e0f9e9913d3cc1b", kill_on_drop: false }`
[INFO] [stdout] 424d2d88de5404dd50ad0117975f85ba8fe6aff83df7d11c7e0f9e9913d3cc1b
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a72a0f7e19380edc6ac504ef123a3e11121b2287adf6627e5f96f245d4559449
[INFO] running `Command { std: "docker" "start" "-a" "a72a0f7e19380edc6ac504ef123a3e11121b2287adf6627e5f96f245d4559449", 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 0.68s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_web_sample-8ef2bc075bee18f3)
[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" "a72a0f7e19380edc6ac504ef123a3e11121b2287adf6627e5f96f245d4559449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a72a0f7e19380edc6ac504ef123a3e11121b2287adf6627e5f96f245d4559449", kill_on_drop: false }`
[INFO] [stdout] a72a0f7e19380edc6ac504ef123a3e11121b2287adf6627e5f96f245d4559449
