[INFO] cloning repository https://github.com/insptop/panshi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/insptop/panshi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsptop%2Fpanshi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsptop%2Fpanshi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd36781b4be20b7a6339764c685274ba55907f48 [INFO] testing insptop/panshi against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finsptop%2Fpanshi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/insptop/panshi on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/insptop/panshi [INFO] finished tweaking git repo https://github.com/insptop/panshi [INFO] tweaked toml for git repo https://github.com/insptop/panshi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/insptop/panshi 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3498bf5e2389ef5d4a1e5ec553a90fa82f6791ee970e0a74222ebf8aef1a7e6e [INFO] running `Command { std: "docker" "start" "-a" "3498bf5e2389ef5d4a1e5ec553a90fa82f6791ee970e0a74222ebf8aef1a7e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3498bf5e2389ef5d4a1e5ec553a90fa82f6791ee970e0a74222ebf8aef1a7e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3498bf5e2389ef5d4a1e5ec553a90fa82f6791ee970e0a74222ebf8aef1a7e6e", kill_on_drop: false }` [INFO] [stdout] 3498bf5e2389ef5d4a1e5ec553a90fa82f6791ee970e0a74222ebf8aef1a7e6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04ae094f3402375424a2a5eb19662ed7a481aff2d23584c403860e2bc0ec606f [INFO] running `Command { std: "docker" "start" "-a" "04ae094f3402375424a2a5eb19662ed7a481aff2d23584c403860e2bc0ec606f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling rustls v0.23.18 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bigdecimal v0.4.6 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling crc16 v0.4.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling bstr v1.11.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling sqlx-postgres v0.8.2 [INFO] [stderr] Compiling sqlx-mysql v0.8.2 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nonempty v0.7.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling sea-query v0.32.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling forwarded-header-value v0.1.1 [INFO] [stderr] Compiling sqlx-sqlite v0.8.2 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling redis v0.27.5 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.4 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling async-compression v0.4.18 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling ouroboros v0.18.4 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling axum_session v0.14.4 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.1 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling rust-ini v0.20.0 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling btparse-stable v0.1.2 [INFO] [stderr] Compiling byte-unit v4.0.19 [INFO] [stderr] Compiling backtrace_printer v1.3.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling config v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling sea-orm v1.1.1 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling daemonize v0.5.0 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling redis_pool v0.6.0 [INFO] [stderr] Compiling axum_session_redispool v0.3.0 [INFO] [stderr] Compiling panshi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `with-db` [INFO] [stdout] --> src/http/route.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(feature = "with-db")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-db` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyConnection` [INFO] [stdout] --> src/component/session.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::component::redis::{AnyClient, AnyConnection, AnyRedisPool}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabaseError` and `DatabasePool` [INFO] [stdout] --> src/component/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | DatabaseError, DatabasePool, SessionAnyPool, SessionConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/component/database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::DbConn as DB` [INFO] [stdout] --> src/component/database.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sea_orm::DbConn as DB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/component/session.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | config: Self::Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dotenv` [INFO] [stdout] --> src/cli.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let dotenv = resolve_dotenv_file(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dotenv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let config = env.load_config().expect("Failed to load config"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_response` is never used [INFO] [stdout] --> src/http/message.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn json_response(data: T) -> Json> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Resp` is never used [INFO] [stdout] --> src/http/message.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Resp = crate::error::Result>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ok` is never used [INFO] [stdout] --> src/http/message.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn ok(data: T) -> Resp { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/http/message.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn empty() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/http/message.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn text(t: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json` is never used [INFO] [stdout] --> src/http/message.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn json(t: T) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_json` is never used [INFO] [stdout] --> src/http/message.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn empty_json() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html` is never used [INFO] [stdout] --> src/http/message.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn html(content: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redirect` is never used [INFO] [stdout] --> src/http/message.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn redirect(to: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view` is never used [INFO] [stdout] --> src/http/message.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn view(v: &V, key: &str, data: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `listen` is never read [INFO] [stdout] --> src/http/app.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pub listen: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `routes` is never used [INFO] [stdout] --> src/http/app.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AppTrait: BaseAppTrait { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 13 | /// Register application routes [INFO] [stdout] 14 | async fn routes(app: AppContext) -> crate::error::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_signal` is never used [INFO] [stdout] --> src/http/app.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn shutdown_signal() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DESCRIBE_METHOD_ACTION` is never used [INFO] [stdout] --> src/http/route.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static DESCRIBE_METHOD_ACTION: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_describe_method_action` is never used [INFO] [stdout] --> src/http/route.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_describe_method_action() -> &'static Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_action` is never used [INFO] [stdout] --> src/http/route.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn method_action(method: &MethodRouter>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NORMALIZE_URL` is never used [INFO] [stdout] --> src/http/route.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | static NORMALIZE_URL: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_normalize_url` is never used [INFO] [stdout] --> src/http/route.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_normalize_url() -> &'static Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix` and `handlers` are never read [INFO] [stdout] --> src/http/route.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Routes [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub prefix: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub handlers: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Routes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri`, `method`, and `actions` are never read [INFO] [stdout] --> src/http/route.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Handler [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | pub method: axum::routing::MethodRouter>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | pub actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handler` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `at`, `add`, `prefix`, and `layer` are never used [INFO] [stdout] --> src/http/route.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Routes [INFO] [stdout] 89 | | where [INFO] [stdout] 90 | | T: AppTrait, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn at(prefix: &str) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn add(mut self, uri: &str, method: axum::routing::MethodRouter>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn prefix(mut self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn layer(self, layer: L) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppRoutes` is never constructed [INFO] [stdout] --> src/http/route.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct AppRoutes [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppRoutes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/http/route.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ListRoutes [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | pub method: axum::routing::MethodRouter>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListRoutes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/http/route.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 183 | / impl AppRoutes [INFO] [stdout] 184 | | where [INFO] [stdout] 185 | | T: AppTrait, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn with_default_routes() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn collect(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn get_prefix(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_routes(&self) -> &[Routes] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn prefix(mut self, prefix: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn add_route(mut self, route: Routes) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn add_routes(mut self, mounts: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn to_router( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Health` is never constructed [INFO] [stdout] --> src/http/route.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | struct Health { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping` is never used [INFO] [stdout] --> src/http/route.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | async fn ping() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/http/route.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn routes() -> Routes [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG` is never used [INFO] [stdout] --> src/config.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const LOG: &'static str = "log"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER` is never used [INFO] [stdout] --> src/config.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const SERVER: &'static str = "server"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `environment` are never read [INFO] [stdout] --> src/app.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppContext [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub environment: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl AppContext [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: AppTrait, [INFO] [stdout] | |________________- associated function in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new(app: T, config: Config, environment: Environment) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `app_name` and `init` are never used [INFO] [stdout] --> src/app.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait AppTrait: Sized + Clone + Send + Sync + 'static { [INFO] [stdout] | -------- associated functions in this trait [INFO] [stdout] 43 | fn app_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | async fn init(config: Config, environment: Environment) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_app` is never used [INFO] [stdout] --> src/app.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) async fn create_app(config: Config, environment: Environment) -> Result> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/view/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ViewRenderer { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn render(&self, key: &str, data: S) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `template` is never used [INFO] [stdout] --> src/view/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn template(template: &str, data: S) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIEWS_DIR` is never used [INFO] [stdout] --> src/view/engines.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const VIEWS_DIR: &str = "assets/views"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_context` is never read [INFO] [stdout] --> src/view/engines.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TeraView { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub default_context: tera::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TeraView` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `build` and `from_custom_dir` are never used [INFO] [stdout] --> src/view/engines.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TeraView { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn build() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_custom_dir>(path: &P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_filters` is never used [INFO] [stdout] --> src/view/engines.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn register_filters(tera: &mut tera::Tera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_with_delimiter` is never used [INFO] [stdout] --> src/view/engines.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn number_with_delimiter(value: &Value, _: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_human_size` is never used [INFO] [stdout] --> src/view/engines.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn number_to_human_size(value: &Value, _: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_percentage` is never used [INFO] [stdout] --> src/view/engines.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn number_to_percentage(value: &Value, options: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn main() -> crate::error::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 47s [INFO] running `Command { std: "docker" "inspect" "04ae094f3402375424a2a5eb19662ed7a481aff2d23584c403860e2bc0ec606f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ae094f3402375424a2a5eb19662ed7a481aff2d23584c403860e2bc0ec606f", kill_on_drop: false }` [INFO] [stdout] 04ae094f3402375424a2a5eb19662ed7a481aff2d23584c403860e2bc0ec606f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18f4cf6918509fefa4012253dfd1dd7b67b64d637c67a78e040c99b6858f7602 [INFO] running `Command { std: "docker" "start" "-a" "18f4cf6918509fefa4012253dfd1dd7b67b64d637c67a78e040c99b6858f7602", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `with-db` [INFO] [stdout] --> src/http/route.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(feature = "with-db")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-db` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyConnection` [INFO] [stdout] --> src/component/session.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::component::redis::{AnyClient, AnyConnection, AnyRedisPool}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabaseError` and `DatabasePool` [INFO] [stdout] --> src/component/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | DatabaseError, DatabasePool, SessionAnyPool, SessionConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/component/database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::DbConn as DB` [INFO] [stdout] --> src/component/database.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sea_orm::DbConn as DB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/component/session.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | config: Self::Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dotenv` [INFO] [stdout] --> src/cli.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let dotenv = resolve_dotenv_file(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dotenv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let config = env.load_config().expect("Failed to load config"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_response` is never used [INFO] [stdout] --> src/http/message.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn json_response(data: T) -> Json> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling panshi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `Resp` is never used [INFO] [stdout] --> src/http/message.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Resp = crate::error::Result>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ok` is never used [INFO] [stdout] --> src/http/message.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn ok(data: T) -> Resp { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/http/message.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn empty() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/http/message.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn text(t: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json` is never used [INFO] [stdout] --> src/http/message.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn json(t: T) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_json` is never used [INFO] [stdout] --> src/http/message.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn empty_json() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html` is never used [INFO] [stdout] --> src/http/message.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn html(content: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redirect` is never used [INFO] [stdout] --> src/http/message.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn redirect(to: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view` is never used [INFO] [stdout] --> src/http/message.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn view(v: &V, key: &str, data: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `listen` is never read [INFO] [stdout] --> src/http/app.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pub listen: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `routes` is never used [INFO] [stdout] --> src/http/app.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AppTrait: BaseAppTrait { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 13 | /// Register application routes [INFO] [stdout] 14 | async fn routes(app: AppContext) -> crate::error::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_signal` is never used [INFO] [stdout] --> src/http/app.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn shutdown_signal() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DESCRIBE_METHOD_ACTION` is never used [INFO] [stdout] --> src/http/route.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static DESCRIBE_METHOD_ACTION: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_describe_method_action` is never used [INFO] [stdout] --> src/http/route.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_describe_method_action() -> &'static Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_action` is never used [INFO] [stdout] --> src/http/route.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn method_action(method: &MethodRouter>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NORMALIZE_URL` is never used [INFO] [stdout] --> src/http/route.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | static NORMALIZE_URL: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_normalize_url` is never used [INFO] [stdout] --> src/http/route.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_normalize_url() -> &'static Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix` and `handlers` are never read [INFO] [stdout] --> src/http/route.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Routes [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub prefix: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub handlers: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Routes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri`, `method`, and `actions` are never read [INFO] [stdout] --> src/http/route.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Handler [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | pub method: axum::routing::MethodRouter>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | pub actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handler` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `at`, `add`, `prefix`, and `layer` are never used [INFO] [stdout] --> src/http/route.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Routes [INFO] [stdout] 89 | | where [INFO] [stdout] 90 | | T: AppTrait, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn at(prefix: &str) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn add(mut self, uri: &str, method: axum::routing::MethodRouter>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn prefix(mut self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn layer(self, layer: L) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppRoutes` is never constructed [INFO] [stdout] --> src/http/route.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct AppRoutes [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppRoutes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/http/route.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ListRoutes [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | pub method: axum::routing::MethodRouter>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListRoutes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/http/route.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 183 | / impl AppRoutes [INFO] [stdout] 184 | | where [INFO] [stdout] 185 | | T: AppTrait, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn with_default_routes() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn collect(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn get_prefix(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_routes(&self) -> &[Routes] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn prefix(mut self, prefix: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn add_route(mut self, route: Routes) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn add_routes(mut self, mounts: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn to_router( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Health` is never constructed [INFO] [stdout] --> src/http/route.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | struct Health { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping` is never used [INFO] [stdout] --> src/http/route.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | async fn ping() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/http/route.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn routes() -> Routes [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG` is never used [INFO] [stdout] --> src/config.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const LOG: &'static str = "log"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER` is never used [INFO] [stdout] --> src/config.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const SERVER: &'static str = "server"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `environment` are never read [INFO] [stdout] --> src/app.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppContext [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub environment: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl AppContext [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: AppTrait, [INFO] [stdout] | |________________- associated function in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new(app: T, config: Config, environment: Environment) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `app_name` and `init` are never used [INFO] [stdout] --> src/app.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait AppTrait: Sized + Clone + Send + Sync + 'static { [INFO] [stdout] | -------- associated functions in this trait [INFO] [stdout] 43 | fn app_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | async fn init(config: Config, environment: Environment) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_app` is never used [INFO] [stdout] --> src/app.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) async fn create_app(config: Config, environment: Environment) -> Result> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/view/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ViewRenderer { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn render(&self, key: &str, data: S) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `template` is never used [INFO] [stdout] --> src/view/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn template(template: &str, data: S) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIEWS_DIR` is never used [INFO] [stdout] --> src/view/engines.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const VIEWS_DIR: &str = "assets/views"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_context` is never read [INFO] [stdout] --> src/view/engines.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TeraView { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub default_context: tera::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TeraView` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `build` and `from_custom_dir` are never used [INFO] [stdout] --> src/view/engines.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TeraView { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn build() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_custom_dir>(path: &P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_filters` is never used [INFO] [stdout] --> src/view/engines.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn register_filters(tera: &mut tera::Tera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_with_delimiter` is never used [INFO] [stdout] --> src/view/engines.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn number_with_delimiter(value: &Value, _: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_human_size` is never used [INFO] [stdout] --> src/view/engines.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn number_to_human_size(value: &Value, _: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_percentage` is never used [INFO] [stdout] --> src/view/engines.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn number_to_percentage(value: &Value, options: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn main() -> crate::error::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `with-db` [INFO] [stdout] --> src/http/route.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(feature = "with-db")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-db` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyConnection` [INFO] [stdout] --> src/component/session.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::component::redis::{AnyClient, AnyConnection, AnyRedisPool}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabaseError` and `DatabasePool` [INFO] [stdout] --> src/component/session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | DatabaseError, DatabasePool, SessionAnyPool, SessionConfig, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/component/database.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::DbConn as DB` [INFO] [stdout] --> src/component/database.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use sea_orm::DbConn as DB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/component/session.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | config: Self::Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dotenv` [INFO] [stdout] --> src/cli.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let dotenv = resolve_dotenv_file(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dotenv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/cli.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let config = env.load_config().expect("Failed to load config"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_response` is never used [INFO] [stdout] --> src/http/message.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn json_response(data: T) -> Json> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Resp` is never used [INFO] [stdout] --> src/http/message.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Resp = crate::error::Result>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ok` is never used [INFO] [stdout] --> src/http/message.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn ok(data: T) -> Resp { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty` is never used [INFO] [stdout] --> src/http/message.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn empty() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/http/message.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn text(t: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json` is never used [INFO] [stdout] --> src/http/message.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn json(t: T) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_json` is never used [INFO] [stdout] --> src/http/message.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn empty_json() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html` is never used [INFO] [stdout] --> src/http/message.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn html(content: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redirect` is never used [INFO] [stdout] --> src/http/message.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn redirect(to: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `view` is never used [INFO] [stdout] --> src/http/message.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn view(v: &V, key: &str, data: S) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `listen` is never read [INFO] [stdout] --> src/http/app.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pub listen: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `routes` is never used [INFO] [stdout] --> src/http/app.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AppTrait: BaseAppTrait { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 13 | /// Register application routes [INFO] [stdout] 14 | async fn routes(app: AppContext) -> crate::error::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shutdown_signal` is never used [INFO] [stdout] --> src/http/app.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | async fn shutdown_signal() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DESCRIBE_METHOD_ACTION` is never used [INFO] [stdout] --> src/http/route.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static DESCRIBE_METHOD_ACTION: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_describe_method_action` is never used [INFO] [stdout] --> src/http/route.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_describe_method_action() -> &'static Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method_action` is never used [INFO] [stdout] --> src/http/route.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn method_action(method: &MethodRouter>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NORMALIZE_URL` is never used [INFO] [stdout] --> src/http/route.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | static NORMALIZE_URL: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_normalize_url` is never used [INFO] [stdout] --> src/http/route.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_normalize_url() -> &'static Regex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prefix` and `handlers` are never read [INFO] [stdout] --> src/http/route.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Routes [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub prefix: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub handlers: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Routes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uri`, `method`, and `actions` are never read [INFO] [stdout] --> src/http/route.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct Handler [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | pub method: axum::routing::MethodRouter>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | pub actions: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Handler` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `at`, `add`, `prefix`, and `layer` are never used [INFO] [stdout] --> src/http/route.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 88 | / impl Routes [INFO] [stdout] 89 | | where [INFO] [stdout] 90 | | T: AppTrait, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn at(prefix: &str) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn add(mut self, uri: &str, method: axum::routing::MethodRouter>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn prefix(mut self, uri: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn layer(self, layer: L) -> Self [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppRoutes` is never constructed [INFO] [stdout] --> src/http/route.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct AppRoutes [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppRoutes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `method` is never read [INFO] [stdout] --> src/http/route.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct ListRoutes [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | pub method: axum::routing::MethodRouter>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListRoutes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/http/route.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 183 | / impl AppRoutes [INFO] [stdout] 184 | | where [INFO] [stdout] 185 | | T: AppTrait, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn with_default_routes() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn collect(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn get_prefix(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_routes(&self) -> &[Routes] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn prefix(mut self, prefix: &str) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn add_route(mut self, route: Routes) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn add_routes(mut self, mounts: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn to_router( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Health` is never constructed [INFO] [stdout] --> src/http/route.rs:336:16 [INFO] [stdout] | [INFO] [stdout] 336 | struct Health { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ping` is never used [INFO] [stdout] --> src/http/route.rs:341:18 [INFO] [stdout] | [INFO] [stdout] 341 | async fn ping() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `routes` is never used [INFO] [stdout] --> src/http/route.rs:346:16 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn routes() -> Routes [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOG` is never used [INFO] [stdout] --> src/config.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const LOG: &'static str = "log"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER` is never used [INFO] [stdout] --> src/config.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const SERVER: &'static str = "server"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `environment` are never read [INFO] [stdout] --> src/app.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct AppContext [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub environment: Arc, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl AppContext [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | T: AppTrait, [INFO] [stdout] | |________________- associated function in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new(app: T, config: Config, environment: Environment) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `app_name` and `init` are never used [INFO] [stdout] --> src/app.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait AppTrait: Sized + Clone + Send + Sync + 'static { [INFO] [stdout] | -------- associated functions in this trait [INFO] [stdout] 43 | fn app_name() -> &'static str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | async fn init(config: Config, environment: Environment) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_app` is never used [INFO] [stdout] --> src/app.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) async fn create_app(config: Config, environment: Environment) -> Result> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/view/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait ViewRenderer { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn render(&self, key: &str, data: S) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `template` is never used [INFO] [stdout] --> src/view/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn template(template: &str, data: S) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VIEWS_DIR` is never used [INFO] [stdout] --> src/view/engines.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const VIEWS_DIR: &str = "assets/views"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_context` is never read [INFO] [stdout] --> src/view/engines.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TeraView { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub default_context: tera::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TeraView` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `build` and `from_custom_dir` are never used [INFO] [stdout] --> src/view/engines.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TeraView { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn build() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_custom_dir>(path: &P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_filters` is never used [INFO] [stdout] --> src/view/engines.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn register_filters(tera: &mut tera::Tera) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_with_delimiter` is never used [INFO] [stdout] --> src/view/engines.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn number_with_delimiter(value: &Value, _: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_human_size` is never used [INFO] [stdout] --> src/view/engines.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn number_to_human_size(value: &Value, _: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `number_to_percentage` is never used [INFO] [stdout] --> src/view/engines.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn number_to_percentage(value: &Value, options: &HashMap) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/cli.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn main() -> crate::error::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.34s [INFO] running `Command { std: "docker" "inspect" "18f4cf6918509fefa4012253dfd1dd7b67b64d637c67a78e040c99b6858f7602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f4cf6918509fefa4012253dfd1dd7b67b64d637c67a78e040c99b6858f7602", kill_on_drop: false }` [INFO] [stdout] 18f4cf6918509fefa4012253dfd1dd7b67b64d637c67a78e040c99b6858f7602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e1b7033187231b59b1021147db3438adb80e0e97f729aff97708c60b8bf757ca [INFO] running `Command { std: "docker" "start" "-a" "e1b7033187231b59b1021147db3438adb80e0e97f729aff97708c60b8bf757ca", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `with-db` [INFO] [stderr] --> src/http/route.rs:191:15 [INFO] [stderr] | [INFO] [stderr] 191 | #[cfg(feature = "with-db")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `with-db` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AnyConnection` [INFO] [stderr] --> src/component/session.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::component::redis::{AnyClient, AnyConnection, AnyRedisPool}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DatabaseError` and `DatabasePool` [INFO] [stderr] --> src/component/session.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | DatabaseError, DatabasePool, SessionAnyPool, SessionConfig, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> src/component/database.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sea_orm::DbConn as DB` [INFO] [stderr] --> src/component/database.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use sea_orm::DbConn as DB; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/component/session.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | config: Self::Config, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dotenv` [INFO] [stderr] --> src/cli.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let dotenv = resolve_dotenv_file(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_dotenv` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/cli.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let config = env.load_config().expect("Failed to load config"); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: function `json_response` is never used [INFO] [stderr] --> src/http/message.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn json_response(data: T) -> Json> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Resp` is never used [INFO] [stderr] --> src/http/message.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | pub type Resp = crate::error::Result>>; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ok` is never used [INFO] [stderr] --> src/http/message.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn ok(data: T) -> Resp { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `empty` is never used [INFO] [stderr] --> src/http/message.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn empty() -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `text` is never used [INFO] [stderr] --> src/http/message.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn text(t: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `json` is never used [INFO] [stderr] --> src/http/message.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn json(t: T) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `empty_json` is never used [INFO] [stderr] --> src/http/message.rs:123:8 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn empty_json() -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `html` is never used [INFO] [stderr] --> src/http/message.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn html(content: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `redirect` is never used [INFO] [stderr] --> src/http/message.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn redirect(to: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `view` is never used [INFO] [stderr] --> src/http/message.rs:135:8 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn view(v: &V, key: &str, data: S) -> Result [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `listen` is never read [INFO] [stderr] --> src/http/app.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ServerConfig { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 8 | pub listen: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `routes` is never used [INFO] [stderr] --> src/http/app.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 12 | pub trait AppTrait: BaseAppTrait { [INFO] [stderr] | -------- associated function in this trait [INFO] [stderr] 13 | /// Register application routes [INFO] [stderr] 14 | async fn routes(app: AppContext) -> crate::error::Result>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `shutdown_signal` is never used [INFO] [stderr] --> src/http/app.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | async fn shutdown_signal() { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `DESCRIBE_METHOD_ACTION` is never used [INFO] [stderr] --> src/http/route.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | static DESCRIBE_METHOD_ACTION: OnceLock = OnceLock::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_describe_method_action` is never used [INFO] [stderr] --> src/http/route.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | fn get_describe_method_action() -> &'static Regex { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `method_action` is never used [INFO] [stderr] --> src/http/route.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn method_action(method: &MethodRouter>) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `NORMALIZE_URL` is never used [INFO] [stderr] --> src/http/route.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | static NORMALIZE_URL: OnceLock = OnceLock::new(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_normalize_url` is never used [INFO] [stderr] --> src/http/route.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | fn get_normalize_url() -> &'static Regex { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `prefix` and `handlers` are never read [INFO] [stderr] --> src/http/route.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Routes [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 60 | pub prefix: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 61 | pub handlers: Vec>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Routes` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `uri`, `method`, and `actions` are never read [INFO] [stderr] --> src/http/route.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 79 | pub struct Handler [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 83 | pub uri: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 84 | pub method: axum::routing::MethodRouter>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 85 | pub actions: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Handler` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `at`, `add`, `prefix`, and `layer` are never used [INFO] [stderr] --> src/http/route.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 88 | / impl Routes [INFO] [stderr] 89 | | where [INFO] [stderr] 90 | | T: AppTrait, [INFO] [stderr] | |________________- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn at(prefix: &str) -> Self { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn add(mut self, uri: &str, method: axum::routing::MethodRouter>) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | pub fn prefix(mut self, uri: &str) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn layer(self, layer: L) -> Self [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AppRoutes` is never constructed [INFO] [stderr] --> src/http/route.rs:149:12 [INFO] [stderr] | [INFO] [stderr] 149 | pub struct AppRoutes [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppRoutes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `method` is never read [INFO] [stderr] --> src/http/route.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 158 | pub struct ListRoutes [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 164 | pub method: axum::routing::MethodRouter>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ListRoutes` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/http/route.rs:189:12 [INFO] [stderr] | [INFO] [stderr] 183 | / impl AppRoutes [INFO] [stderr] 184 | | where [INFO] [stderr] 185 | | T: AppTrait, [INFO] [stderr] | |________________- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 189 | pub fn with_default_routes() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 199 | pub fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 207 | pub fn collect(&self) -> Vec> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 248 | pub fn get_prefix(&self) -> Option<&String> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 254 | pub fn get_routes(&self) -> &[Routes] { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 259 | pub fn prefix(mut self, prefix: &str) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 266 | pub fn add_route(mut self, route: Routes) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 273 | pub fn add_routes(mut self, mounts: Vec>) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 287 | pub fn to_router( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Health` is never constructed [INFO] [stderr] --> src/http/route.rs:336:16 [INFO] [stderr] | [INFO] [stderr] 336 | struct Health { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `ping` is never used [INFO] [stderr] --> src/http/route.rs:341:18 [INFO] [stderr] | [INFO] [stderr] 341 | async fn ping() -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `routes` is never used [INFO] [stderr] --> src/http/route.rs:346:16 [INFO] [stderr] | [INFO] [stderr] 346 | pub fn routes() -> Routes [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `LOG` is never used [INFO] [stderr] --> src/config.rs:20:15 [INFO] [stderr] | [INFO] [stderr] 20 | pub const LOG: &'static str = "log"; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SERVER` is never used [INFO] [stderr] --> src/config.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | pub const SERVER: &'static str = "server"; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `config` and `environment` are never read [INFO] [stderr] --> src/app.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct AppContext [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub config: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 13 | pub environment: Arc, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/app.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 16 | / impl AppContext [INFO] [stderr] 17 | | where [INFO] [stderr] 18 | | T: AppTrait, [INFO] [stderr] | |________________- associated function in this implementation [INFO] [stderr] 19 | { [INFO] [stderr] 20 | pub fn new(app: T, config: Config, environment: Environment) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `app_name` and `init` are never used [INFO] [stderr] --> src/app.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub trait AppTrait: Sized + Clone + Send + Sync + 'static { [INFO] [stderr] | -------- associated functions in this trait [INFO] [stderr] 43 | fn app_name() -> &'static str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 44 | [INFO] [stderr] 45 | async fn init(config: Config, environment: Environment) -> Result; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_app` is never used [INFO] [stderr] --> src/app.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | pub(crate) async fn create_app(config: Config, environment: Environment) -> Result> [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `render` is never used [INFO] [stderr] --> src/view/mod.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait ViewRenderer { [INFO] [stderr] | ------------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 13 | fn render(&self, key: &str, data: S) -> Result; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `template` is never used [INFO] [stderr] --> src/view/mod.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn template(template: &str, data: S) -> Result [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VIEWS_DIR` is never used [INFO] [stderr] --> src/view/engines.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const VIEWS_DIR: &str = "assets/views"; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `default_context` is never read [INFO] [stderr] --> src/view/engines.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct TeraView { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | pub default_context: tera::Context, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TeraView` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `build` and `from_custom_dir` are never used [INFO] [stderr] --> src/view/engines.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl TeraView { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn build() -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn from_custom_dir>(path: &P) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `register_filters` is never used [INFO] [stderr] --> src/view/engines.rs:91:16 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn register_filters(tera: &mut tera::Tera) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `number_with_delimiter` is never used [INFO] [stderr] --> src/view/engines.rs:118:20 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn number_with_delimiter(value: &Value, _: &HashMap) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `number_to_human_size` is never used [INFO] [stderr] --> src/view/engines.rs:137:20 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn number_to_human_size(value: &Value, _: &HashMap) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `number_to_percentage` is never used [INFO] [stderr] --> src/view/engines.rs:161:20 [INFO] [stderr] | [INFO] [stderr] 161 | pub fn number_to_percentage(value: &Value, options: &HashMap) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `main` is never used [INFO] [stderr] --> src/cli.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn main() -> crate::error::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `panshi` (lib) generated 51 warnings (run `cargo fix --lib -p panshi` to apply 4 suggestions) [INFO] [stderr] warning: `panshi` (lib test) generated 51 warnings (51 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/panshi-909db56a2717e0db) [INFO] [stderr] Doc-tests panshi [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/view/engines.rs - view::engines::tera_builtins::filters::number::number_to_human_size (line 129) ... ignored [INFO] [stdout] test src/view/engines.rs - view::engines::tera_builtins::filters::number::number_to_percentage (line 152) ... ignored [INFO] [stdout] test src/view/engines.rs - view::engines::tera_builtins::filters::number::number_with_delimiter (line 110) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e1b7033187231b59b1021147db3438adb80e0e97f729aff97708c60b8bf757ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b7033187231b59b1021147db3438adb80e0e97f729aff97708c60b8bf757ca", kill_on_drop: false }` [INFO] [stdout] e1b7033187231b59b1021147db3438adb80e0e97f729aff97708c60b8bf757ca