[INFO] cloning repository https://github.com/pureboys/axum-otel-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pureboys/axum-otel-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpureboys%2Faxum-otel-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpureboys%2Faxum-otel-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6eb69d7cf786989c2058f8d7797841302330e9be [INFO] checking pureboys/axum-otel-demo against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpureboys%2Faxum-otel-demo" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pureboys/axum-otel-demo [INFO] finished tweaking git repo https://github.com/pureboys/axum-otel-demo [INFO] tweaked toml for git repo https://github.com/pureboys/axum-otel-demo written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pureboys/axum-otel-demo on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pureboys/axum-otel-demo 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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opentelemetry-http v0.29.0 [INFO] [stderr] Downloaded sea-orm-arrow v2.0.0-rc.3 [INFO] [stderr] Downloaded symbolic-common v12.17.0 [INFO] [stderr] Downloaded opentelemetry-appender-tracing v0.29.1 [INFO] [stderr] Downloaded pprof2 v0.13.1 [INFO] [stderr] Downloaded sea-orm-macros v2.0.0-rc.34 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.29.0 [INFO] [stderr] Downloaded pyroscope v0.5.8 [INFO] [stderr] Downloaded tracing-opentelemetry v0.30.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.29.0 [INFO] [stderr] Downloaded reqwest v0.12.26 [INFO] [stderr] Downloaded symbolic-demangle v12.17.0 [INFO] [stderr] Downloaded opentelemetry v0.29.1 [INFO] [stderr] Downloaded names v0.14.0 [INFO] [stderr] Downloaded opentelemetry-otlp v0.29.0 [INFO] [stderr] Downloaded sea-query-derive v1.0.0-rc.12 [INFO] [stderr] Downloaded sea-query-sqlx v0.8.0-rc.14 [INFO] [stderr] Downloaded sea-query v1.0.0-rc.31 [INFO] [stderr] Downloaded pyroscope_pprofrs v0.2.10 [INFO] [stderr] Downloaded pluralizer v0.5.0 [INFO] [stderr] Downloaded opentelemetry_sdk v0.29.0 [INFO] [stderr] Downloaded sea-schema v0.17.0-rc.17 [INFO] [stderr] Downloaded sea-orm v2.0.0-rc.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56be32964bd2796ef119a5bddb8db35440cba20c96384a636645b00e86420d37 [INFO] running `Command { std: "docker" "start" "-a" "56be32964bd2796ef119a5bddb8db35440cba20c96384a636645b00e86420d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56be32964bd2796ef119a5bddb8db35440cba20c96384a636645b00e86420d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56be32964bd2796ef119a5bddb8db35440cba20c96384a636645b00e86420d37", kill_on_drop: false }` [INFO] [stdout] 56be32964bd2796ef119a5bddb8db35440cba20c96384a636645b00e86420d37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffc66b3ce9408ebb174c7e0b28a035eef6b1229dee3e83e1030d2250487d082e [INFO] running `Command { std: "docker" "start" "-a" "ffc66b3ce9408ebb174c7e0b28a035eef6b1229dee3e83e1030d2250487d082e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling rust_decimal v1.40.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking opentelemetry v0.29.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling cpp_demangle v0.4.5 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling symbolic-demangle v12.17.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling names v0.14.0 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking prost v0.13.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking symbolic-common v12.17.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling sea-query-derive v1.0.0-rc.12 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling inherent v1.0.13 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling pprof2 v0.13.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Checking opentelemetry_sdk v0.29.0 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking sea-query v1.0.0-rc.31 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling pluralizer v0.5.0 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Checking yaml-rust2 v0.10.4 [INFO] [stderr] Checking ron v0.12.0 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Compiling sea-orm-macros v2.0.0-rc.34 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking ouroboros v0.18.5 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.29.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking config v0.15.19 [INFO] [stderr] Checking tracing-opentelemetry v0.30.0 [INFO] [stderr] Checking opentelemetry-appender-tracing v0.29.1 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking axum v0.8.7 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking reqwest v0.12.26 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking sea-query-sqlx v0.8.0-rc.14 [INFO] [stderr] Checking sea-orm v2.0.0-rc.34 [INFO] [stderr] Checking opentelemetry-http v0.29.0 [INFO] [stderr] Checking pyroscope v0.5.8 [INFO] [stderr] Checking opentelemetry-proto v0.29.0 [INFO] [stderr] Checking pyroscope_pprofrs v0.2.10 [INFO] [stderr] Checking opentelemetry-otlp v0.29.0 [INFO] [stderr] Checking axum-otel-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated functions `list_pages` and `get_page_by_slug` are never used [INFO] [stdout] --> src/api/admin/page/service.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl PageService { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 9 | /// 获取所有页面(不分页) [INFO] [stdout] 10 | pub async fn list_pages(state: &AppState) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn get_page_by_slug(state: &AppState, slug: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_category` and `find_by_status` are never used [INFO] [stdout] --> src/repositories/product.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl ProductRepository { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn find_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_parent` and `find_by_slug` are never used [INFO] [stdout] --> src/repositories/category.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl CategoryRepository { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_parent( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_slug` is never used [INFO] [stdout] --> src/repositories/tag.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl TagRepository { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_tag` is never used [INFO] [stdout] --> src/repositories/product_tag.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl ProductTagRepository { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn find_by_tag( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_username` is never used [INFO] [stdout] --> src/repositories/user.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl UserRepository { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_slug`, `find_by_category`, `find_by_status`, and `increment_view_count` are never used [INFO] [stdout] --> src/repositories/news.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl NewsRepository { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn find_by_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub async fn increment_view_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all`, `find_by_slug`, and `find_by_status` are never used [INFO] [stdout] --> src/repositories/page.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl PageRepository { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 8 | /// 查询全部页面 [INFO] [stdout] 9 | pub async fn find_all(db: &DatabaseConnection) -> Result, DbErr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn find_by_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `list_pages` and `get_page_by_slug` are never used [INFO] [stdout] --> src/api/admin/page/service.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl PageService { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 9 | /// 获取所有页面(不分页) [INFO] [stdout] 10 | pub async fn list_pages(state: &AppState) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn get_page_by_slug(state: &AppState, slug: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_category` and `find_by_status` are never used [INFO] [stdout] --> src/repositories/product.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl ProductRepository { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn find_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_parent` and `find_by_slug` are never used [INFO] [stdout] --> src/repositories/category.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl CategoryRepository { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_parent( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_slug` is never used [INFO] [stdout] --> src/repositories/tag.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl TagRepository { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_tag` is never used [INFO] [stdout] --> src/repositories/product_tag.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl ProductTagRepository { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn find_by_tag( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_by_username` is never used [INFO] [stdout] --> src/repositories/user.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl UserRepository { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_by_slug`, `find_by_category`, `find_by_status`, and `increment_view_count` are never used [INFO] [stdout] --> src/repositories/news.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl NewsRepository { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn find_by_category( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub async fn find_by_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub async fn increment_view_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_all`, `find_by_slug`, and `find_by_status` are never used [INFO] [stdout] --> src/repositories/page.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 7 | impl PageRepository { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 8 | /// 查询全部页面 [INFO] [stdout] 9 | pub async fn find_all(db: &DatabaseConnection) -> Result, DbErr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub async fn find_by_slug( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn find_by_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "ffc66b3ce9408ebb174c7e0b28a035eef6b1229dee3e83e1030d2250487d082e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc66b3ce9408ebb174c7e0b28a035eef6b1229dee3e83e1030d2250487d082e", kill_on_drop: false }` [INFO] [stdout] ffc66b3ce9408ebb174c7e0b28a035eef6b1229dee3e83e1030d2250487d082e