[INFO] cloning repository https://github.com/xuxzh/zk-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xuxzh/zk-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuxzh%2Fzk-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuxzh%2Fzk-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd769840d3ab94a9be7140dcc463ed9fbbae8a3b
[INFO] testing xuxzh/zk-api against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxuxzh%2Fzk-api" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xuxzh/zk-api
[INFO] finished tweaking git repo https://github.com/xuxzh/zk-api
[INFO] tweaked toml for git repo https://github.com/xuxzh/zk-api written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xuxzh/zk-api on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xuxzh/zk-api 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b984eb40a3e1d897104b8e691f1ffdf7ce13341458c7f4fcb7b0ed0fe7f39a2
[INFO] running `Command { std: "docker" "start" "-a" "0b984eb40a3e1d897104b8e691f1ffdf7ce13341458c7f4fcb7b0ed0fe7f39a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b984eb40a3e1d897104b8e691f1ffdf7ce13341458c7f4fcb7b0ed0fe7f39a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b984eb40a3e1d897104b8e691f1ffdf7ce13341458c7f4fcb7b0ed0fe7f39a2", kill_on_drop: false }`
[INFO] [stdout] 0b984eb40a3e1d897104b8e691f1ffdf7ce13341458c7f4fcb7b0ed0fe7f39a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 81f67709d39b7985337f92db3becbf02f16ecd8a4c6409b6f4c892e74132b809
[INFO] running `Command { std: "docker" "start" "-a" "81f67709d39b7985337f92db3becbf02f16ecd8a4c6409b6f4c892e74132b809", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling pest v2.8.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling cc v1.2.40
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling pq-sys v0.7.3
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling diesel_derives v2.3.3
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling dlv-list v0.3.0
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling ordered-multimap v0.4.3
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling pest_meta v2.8.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling if_chain v1.0.3
[INFO] [stderr]    Compiling downcast-rs v2.0.2
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling blowfish v0.9.1
[INFO] [stderr]    Compiling rust-ini v0.18.0
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling bcrypt v0.15.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling pest_generator v2.8.3
[INFO] [stderr]    Compiling diesel_table_macro_syntax v0.3.0
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[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.30
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling pest_derive v2.8.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling dsl_auto_type v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ron v0.7.1
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling jsonwebtoken v9.3.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 config v0.13.4
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling deadpool-sync v0.1.4
[INFO] [stderr]    Compiling deadpool v0.12.3
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling validator v0.16.1
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling diesel v2.3.2
[INFO] [stderr]    Compiling deadpool-diesel v0.6.1
[INFO] [stderr]    Compiling axum-rbac-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `get_db_pool` is never used
[INFO] [stdout]   --> src/db/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn get_db_pool() -> &'static DbPool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Forbidden` and `Conflict` are never constructed
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum ApiError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     Forbidden(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Conflict(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserListResponse` is never constructed
[INFO] [stdout]   --> src/handlers/user_handler.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct UserListResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Role` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Role {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Permission` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Permission {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserRole` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct UserRole {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RolePermission` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct RolePermission {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `success_empty` is never used
[INFO] [stdout]   --> src/response.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl ApiResponse<()> {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 65 |     /// 创建空的成功响应
[INFO] [stdout] 66 |     pub fn success_empty() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_message` is never used
[INFO] [stdout]    --> src/response.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | / impl<T> PaginatedResponse<T>
[INFO] [stdout]  87 | | where
[INFO] [stdout]  88 | |     T: Serialize,
[INFO] [stdout]     | |_________________- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |       pub fn new_with_message(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s
[INFO] running `Command { std: "docker" "inspect" "81f67709d39b7985337f92db3becbf02f16ecd8a4c6409b6f4c892e74132b809", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81f67709d39b7985337f92db3becbf02f16ecd8a4c6409b6f4c892e74132b809", kill_on_drop: false }`
[INFO] [stdout] 81f67709d39b7985337f92db3becbf02f16ecd8a4c6409b6f4c892e74132b809
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8d6bb2f63b04c584d0756c18fac34e25e4d1c7688def0281af57674edbdf705
[INFO] running `Command { std: "docker" "start" "-a" "d8d6bb2f63b04c584d0756c18fac34e25e4d1c7688def0281af57674edbdf705", kill_on_drop: false }`
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling axum-rbac-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `get_db_pool` is never used
[INFO] [stdout]   --> src/db/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn get_db_pool() -> &'static DbPool {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Forbidden` and `Conflict` are never constructed
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum ApiError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     Forbidden(String),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Conflict(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserListResponse` is never constructed
[INFO] [stdout]   --> src/handlers/user_handler.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct UserListResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Role` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct Role {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Permission` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct Permission {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserRole` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct UserRole {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RolePermission` is never constructed
[INFO] [stdout]   --> src/models/mod.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct RolePermission {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `success_empty` is never used
[INFO] [stdout]   --> src/response.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl ApiResponse<()> {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 65 |     /// 创建空的成功响应
[INFO] [stdout] 66 |     pub fn success_empty() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_message` is never used
[INFO] [stdout]    --> src/response.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout]  86 | / impl<T> PaginatedResponse<T>
[INFO] [stdout]  87 | | where
[INFO] [stdout]  88 | |     T: Serialize,
[INFO] [stdout]     | |_________________- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |       pub fn new_with_message(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 22.55s
[INFO] running `Command { std: "docker" "inspect" "d8d6bb2f63b04c584d0756c18fac34e25e4d1c7688def0281af57674edbdf705", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8d6bb2f63b04c584d0756c18fac34e25e4d1c7688def0281af57674edbdf705", kill_on_drop: false }`
[INFO] [stdout] d8d6bb2f63b04c584d0756c18fac34e25e4d1c7688def0281af57674edbdf705
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b4036fd8f689bcd2f3917c6aeb92e082900fff73c9779b9e8a3cf1d4879e4a48
[INFO] running `Command { std: "docker" "start" "-a" "b4036fd8f689bcd2f3917c6aeb92e082900fff73c9779b9e8a3cf1d4879e4a48", kill_on_drop: false }`
[INFO] [stderr] warning: function `get_db_pool` is never used
[INFO] [stderr]   --> src/db/mod.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn get_db_pool() -> &'static DbPool {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Forbidden` and `Conflict` are never constructed
[INFO] [stderr]   --> src/error.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub enum ApiError {
[INFO] [stderr]    |          -------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 18 |     Forbidden(String),
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     Conflict(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserListResponse` is never constructed
[INFO] [stderr]   --> src/handlers/user_handler.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub struct UserListResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Role` is never constructed
[INFO] [stderr]   --> src/models/mod.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub struct Role {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Permission` is never constructed
[INFO] [stderr]   --> src/models/mod.rs:59:12
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub struct Permission {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `UserRole` is never constructed
[INFO] [stderr]   --> src/models/mod.rs:80:12
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub struct UserRole {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RolePermission` is never constructed
[INFO] [stderr]   --> src/models/mod.rs:97:12
[INFO] [stderr]    |
[INFO] [stderr] 97 | pub struct RolePermission {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `success_empty` is never used
[INFO] [stderr]   --> src/response.rs:66:12
[INFO] [stderr]    |
[INFO] [stderr] 64 | impl ApiResponse<()> {
[INFO] [stderr]    | -------------------- associated function in this implementation
[INFO] [stderr] 65 |     /// 创建空的成功响应
[INFO] [stderr] 66 |     pub fn success_empty() -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_with_message` is never used
[INFO] [stderr]    --> src/response.rs:118:12
[INFO] [stderr]     |
[INFO] [stderr]  86 | / impl<T> PaginatedResponse<T>
[INFO] [stderr]  87 | | where
[INFO] [stderr]  88 | |     T: Serialize,
[INFO] [stderr]     | |_________________- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 118 |       pub fn new_with_message(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `axum-rbac-backend` (bin "axum-rbac-backend" test) generated 9 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/axum_rbac_backend-e3cb542e1ed0bef6)
[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" "b4036fd8f689bcd2f3917c6aeb92e082900fff73c9779b9e8a3cf1d4879e4a48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4036fd8f689bcd2f3917c6aeb92e082900fff73c9779b9e8a3cf1d4879e4a48", kill_on_drop: false }`
[INFO] [stdout] b4036fd8f689bcd2f3917c6aeb92e082900fff73c9779b9e8a3cf1d4879e4a48
