[INFO] cloning repository https://github.com/DOLLook/looklapi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DOLLook/looklapi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOLLook%2Flooklapi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOLLook%2Flooklapi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80ee95ff7e14b2e277438054cb6798575f9e8180 [INFO] testing DOLLook/looklapi-rs against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOLLook%2Flooklapi-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DOLLook/looklapi-rs [INFO] finished tweaking git repo https://github.com/DOLLook/looklapi-rs [INFO] tweaked toml for git repo https://github.com/DOLLook/looklapi-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DOLLook/looklapi-rs on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DOLLook/looklapi-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63855c10870656f64a7c25f81cae2b8215cc39a045ae9a255dd1b2c329d9a2d6 [INFO] running `Command { std: "docker" "start" "-a" "63855c10870656f64a7c25f81cae2b8215cc39a045ae9a255dd1b2c329d9a2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63855c10870656f64a7c25f81cae2b8215cc39a045ae9a255dd1b2c329d9a2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63855c10870656f64a7c25f81cae2b8215cc39a045ae9a255dd1b2c329d9a2d6", kill_on_drop: false }` [INFO] [stdout] 63855c10870656f64a7c25f81cae2b8215cc39a045ae9a255dd1b2c329d9a2d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f7aed4fcaf776cc1dc4cc9155f4f81436954fffb6c4ab9dda14b9699b98d8e1 [INFO] running `Command { std: "docker" "start" "-a" "6f7aed4fcaf776cc1dc4cc9155f4f81436954fffb6c4ab9dda14b9699b98d8e1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aws-lc-rs v1.14.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling flagset v0.4.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling oid-registry v0.8.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling aws-lc-sys v0.32.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling rc2 v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling webpki-roots v1.0.3 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling cookie-factory v0.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling slog v2.8.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling mongocrypt-sys v0.1.4+1.12.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling amq-protocol v8.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling ureq-proto v0.5.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling from-attr-core v0.1.3 [INFO] [stderr] Compiling pest_generator v2.8.3 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rudi-core v0.1.0 [INFO] [stderr] Compiling resolv-conf v0.7.5 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling lapin v3.7.0 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling yaml-rust2 v0.10.4 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling rust-ini v0.21.3 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling backon v1.5.2 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling asn1-rs-derive v0.6.0 [INFO] [stderr] Compiling executor-trait v2.1.2 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling from-attr-macro v0.1.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling x509-cert v0.2.5 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling pkcs5 v0.7.1 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling serde_with_macros v3.15.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling asn1-rs v0.7.1 [INFO] [stderr] Compiling from-attr v0.1.3 [INFO] [stderr] Compiling executor-trait v3.1.0 [INFO] [stderr] Compiling pest_derive v2.8.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling typed-builder-macro v0.20.1 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.3.0 [INFO] [stderr] Compiling rudi-macro v0.8.3 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_with v3.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling amq-protocol-types v8.3.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling cms v0.2.3 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling der-parser v10.0.0 [INFO] [stderr] Compiling pkcs12 v0.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling compression-codecs v0.4.31 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling typed-builder v0.20.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rudi v0.8.3 [INFO] [stderr] Compiling x509-parser v0.17.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling looklapi-macro v0.1.0 (/opt/rustwide/workdir/looklapi-macro) [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling amq-protocol-uri v8.3.1 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.32 [INFO] [stderr] Compiling config v0.15.18 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling p12-keystore v0.2.0 [INFO] [stderr] Compiling mongocrypt v0.3.1 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling reactor-trait v3.1.1 [INFO] [stderr] Compiling async-global-executor v3.1.0 [INFO] [stderr] Compiling reactor-trait v2.8.0 [INFO] [stderr] Compiling async-reactor-trait v3.1.1 [INFO] [stderr] Compiling async-global-executor-trait v2.2.0 [INFO] [stderr] Compiling async-global-executor-trait v3.1.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling redis v0.32.7 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling futures-rustls v0.26.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling ureq v3.1.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling mongodb v3.3.0 [INFO] [stderr] Compiling rustls-connector v0.21.11 [INFO] [stderr] Compiling tcp-stream v0.30.9 [INFO] [stderr] Compiling amq-protocol-tcp v8.3.1 [INFO] [stderr] Compiling rs-consul v0.12.1 [INFO] [stderr] Compiling looklapi v0.1.0 (/opt/rustwide/workdir/looklapi) [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> looklapi/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::backtrace` [INFO] [stdout] --> looklapi/src/common/loggers/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::backtrace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `looklapi_macro::proxy` [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use looklapi_macro::proxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mut req: Request, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | mut req: Request, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | async fn test_begin(mut req: Request, next: axum::middleware::Next) -> impl IntoResponse { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/main.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | async fn test_after(mut req: Request, next: axum::middleware::Next) -> impl IntoResponse { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/common/loggers/mongo_logger.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mut writer: Writer<'_>, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> looklapi/src/common/loggers/mongo_logger.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | ctx: &FmtContext<'_, S, N>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> looklapi/src/common/loggers/mongo_logger.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mut writer: Writer<'_>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Mysql { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mysql` 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 `uri` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Mssql { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mssql` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `password`, and `timeout` are never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Redis { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub port: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | /// 超时时间(毫秒) [INFO] [stdout] 37 | pub timeout: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Redis` 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 `address` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct RabbitMQ { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 42 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RabbitMQ` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Consul { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub port: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub secure: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub health_check: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | /// 健康检查间隔(秒) [INFO] [stdout] 52 | pub health_check_interval: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | /// 健康检查超时时间(秒) [INFO] [stdout] 54 | pub health_check_timeout: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | /// 服务注册超时时间(秒) [INFO] [stdout] 56 | pub deregister_critical_service_after: i32, // 秒 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Consul` 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 `developer` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Dev { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 66 | pub developer: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dev` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 83 | pub profile: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | pub server: Server, [INFO] [stdout] 85 | pub mysql: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | pub mssql: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub mongodb: Option, [INFO] [stdout] 88 | pub redis: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | pub rabbitmq: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | pub consul: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub logger: Logger, [INFO] [stdout] 92 | pub dev: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `backtrace` and `span_trace` are never read [INFO] [stdout] --> looklapi/src/app/app_err.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | backtrace: Backtrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | span_trace: tracing_error::SpanTrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `message`, `backtrace`, and `span_trace` are never used [INFO] [stdout] --> looklapi/src/app/app_err.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AppError { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn message(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn backtrace(&self) -> &Backtrace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn span_trace(&self) -> &tracing_error::SpanTrace { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log` is never used [INFO] [stdout] --> looklapi/src/app/app_err.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl AppError { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 86 | /// 记录日志 [INFO] [stdout] 87 | pub fn log(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> looklapi/src/common/loggers/logger.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn error(err: &AppError) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_validator_middleware` is never used [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn login_validator_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manager_validator_middleware` is never used [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn manager_validator_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TestTrait` is never used [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait TestTrait { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestProxy` is never constructed [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestProxy { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `proxy_fn` and `other_fn` are never used [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl TestProxy { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 28 | fn proxy_fn(&self) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn other_fn(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HTTP_REQUEST_HEADER` is never used [INFO] [stdout] --> looklapi/src/request_context.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HTTP_REQUEST_HEADER: HeaderName = HeaderName::from_static("http-request-header"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HTTP_REQUEST_EXTENSIONS` is never used [INFO] [stdout] --> looklapi/src/request_context.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const HTTP_REQUEST_EXTENSIONS: HeaderName = HeaderName::from_static("http-request-extensions"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `login_info` is never read [INFO] [stdout] --> looklapi/src/request_context.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RequestContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | pub header: HeaderMap, [INFO] [stdout] 11 | pub login_info: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestContext` 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: variants `User` and `Admin` are never constructed [INFO] [stdout] --> looklapi/src/request_context.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum LoginInfo { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | User(()), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Admin(()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 42s [INFO] running `Command { std: "docker" "inspect" "6f7aed4fcaf776cc1dc4cc9155f4f81436954fffb6c4ab9dda14b9699b98d8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f7aed4fcaf776cc1dc4cc9155f4f81436954fffb6c4ab9dda14b9699b98d8e1", kill_on_drop: false }` [INFO] [stdout] 6f7aed4fcaf776cc1dc4cc9155f4f81436954fffb6c4ab9dda14b9699b98d8e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 319f9b4b9f8b9ef92b3de6a9d5c11d8ee58940f05056644fe98080b48abfb192 [INFO] running `Command { std: "docker" "start" "-a" "319f9b4b9f8b9ef92b3de6a9d5c11d8ee58940f05056644fe98080b48abfb192", kill_on_drop: false }` [INFO] [stderr] Compiling looklapi-macro v0.1.0 (/opt/rustwide/workdir/looklapi-macro) [INFO] [stderr] Compiling looklapi v0.1.0 (/opt/rustwide/workdir/looklapi) [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> looklapi/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::backtrace` [INFO] [stdout] --> looklapi/src/common/loggers/logger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::backtrace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `looklapi_macro::proxy` [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use looklapi_macro::proxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | mut req: Request, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | mut req: Request, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | async fn test_begin(mut req: Request, next: axum::middleware::Next) -> impl IntoResponse { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/main.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | async fn test_after(mut req: Request, next: axum::middleware::Next) -> impl IntoResponse { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> looklapi/src/common/loggers/mongo_logger.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mut writer: Writer<'_>, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> looklapi/src/common/loggers/mongo_logger.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | ctx: &FmtContext<'_, S, N>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> looklapi/src/common/loggers/mongo_logger.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | mut writer: Writer<'_>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 12 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Mysql { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 18 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mysql` 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 `uri` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Mssql { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mssql` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `port`, `password`, and `timeout` are never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Redis { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | pub port: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | /// 超时时间(毫秒) [INFO] [stdout] 37 | pub timeout: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Redis` 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 `address` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct RabbitMQ { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 42 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RabbitMQ` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Consul { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | pub host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub port: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub secure: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | pub health_check: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | /// 健康检查间隔(秒) [INFO] [stdout] 52 | pub health_check_interval: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | /// 健康检查超时时间(秒) [INFO] [stdout] 54 | pub health_check_timeout: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | /// 服务注册超时时间(秒) [INFO] [stdout] 56 | pub deregister_critical_service_after: i32, // 秒 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Consul` 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 `developer` is never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Dev { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 66 | pub developer: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dev` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> looklapi/src/app/app_config.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct AppConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 83 | pub profile: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 84 | pub server: Server, [INFO] [stdout] 85 | pub mysql: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 86 | pub mssql: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | pub mongodb: Option, [INFO] [stdout] 88 | pub redis: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | pub rabbitmq: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 90 | pub consul: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | pub logger: Logger, [INFO] [stdout] 92 | pub dev: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `backtrace` and `span_trace` are never read [INFO] [stdout] --> looklapi/src/app/app_err.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AppError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | backtrace: Backtrace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | span_trace: tracing_error::SpanTrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `message`, `backtrace`, and `span_trace` are never used [INFO] [stdout] --> looklapi/src/app/app_err.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AppError { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn message(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn backtrace(&self) -> &Backtrace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn span_trace(&self) -> &tracing_error::SpanTrace { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log` is never used [INFO] [stdout] --> looklapi/src/app/app_err.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl AppError { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 86 | /// 记录日志 [INFO] [stdout] 87 | pub fn log(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error` is never used [INFO] [stdout] --> looklapi/src/common/loggers/logger.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn error(err: &AppError) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login_validator_middleware` is never used [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn login_validator_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manager_validator_middleware` is never used [INFO] [stdout] --> looklapi/src/controller/middleware/request_context_middleware.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn manager_validator_middleware( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TestTrait` is never used [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait TestTrait { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestProxy` is never constructed [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestProxy { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `proxy_fn` and `other_fn` are never used [INFO] [stdout] --> looklapi/src/controller/test_controller.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl TestProxy { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 28 | fn proxy_fn(&self) -> Result<(), AppError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn other_fn(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HTTP_REQUEST_HEADER` is never used [INFO] [stdout] --> looklapi/src/request_context.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HTTP_REQUEST_HEADER: HeaderName = HeaderName::from_static("http-request-header"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HTTP_REQUEST_EXTENSIONS` is never used [INFO] [stdout] --> looklapi/src/request_context.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const HTTP_REQUEST_EXTENSIONS: HeaderName = HeaderName::from_static("http-request-extensions"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `login_info` is never read [INFO] [stdout] --> looklapi/src/request_context.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct RequestContext { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | pub header: HeaderMap, [INFO] [stdout] 11 | pub login_info: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestContext` 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: variants `User` and `Admin` are never constructed [INFO] [stdout] --> looklapi/src/request_context.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum LoginInfo { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | User(()), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Admin(()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoginInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "319f9b4b9f8b9ef92b3de6a9d5c11d8ee58940f05056644fe98080b48abfb192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "319f9b4b9f8b9ef92b3de6a9d5c11d8ee58940f05056644fe98080b48abfb192", kill_on_drop: false }` [INFO] [stdout] 319f9b4b9f8b9ef92b3de6a9d5c11d8ee58940f05056644fe98080b48abfb192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9875784c64259b7dc4fabeede97474846c4e437a11a67a4a9b3c1853bcfcbfa0 [INFO] running `Command { std: "docker" "start" "-a" "9875784c64259b7dc4fabeede97474846c4e437a11a67a4a9b3c1853bcfcbfa0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> looklapi/src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::backtrace` [INFO] [stderr] --> looklapi/src/common/loggers/logger.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::backtrace; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `looklapi_macro::proxy` [INFO] [stderr] --> looklapi/src/controller/test_controller.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use looklapi_macro::proxy; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> looklapi/src/controller/middleware/request_context_middleware.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | mut req: Request, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> looklapi/src/controller/middleware/request_context_middleware.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | mut req: Request, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> looklapi/src/main.rs:86:21 [INFO] [stderr] | [INFO] [stderr] 86 | async fn test_begin(mut req: Request, next: axum::middleware::Next) -> impl IntoResponse { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> looklapi/src/main.rs:94:21 [INFO] [stderr] | [INFO] [stderr] 94 | async fn test_after(mut req: Request, next: axum::middleware::Next) -> impl IntoResponse { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> looklapi/src/common/loggers/mongo_logger.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | mut writer: Writer<'_>, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> looklapi/src/common/loggers/mongo_logger.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | ctx: &FmtContext<'_, S, N>, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `writer` [INFO] [stderr] --> looklapi/src/common/loggers/mongo_logger.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | mut writer: Writer<'_>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Server { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 12 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `uri` is never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Mysql { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 18 | pub uri: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mysql` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `uri` is never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Mssql { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 23 | pub uri: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mssql` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `host`, `port`, `password`, and `timeout` are never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Redis { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 33 | pub host: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 34 | pub port: i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 35 | pub password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 36 | /// 超时时间(毫秒) [INFO] [stderr] 37 | pub timeout: i32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Redis` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `address` is never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub struct RabbitMQ { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 42 | pub address: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RabbitMQ` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Consul { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 47 | pub host: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 48 | pub port: i32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 49 | pub secure: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 50 | pub health_check: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 51 | /// 健康检查间隔(秒) [INFO] [stderr] 52 | pub health_check_interval: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | /// 健康检查超时时间(秒) [INFO] [stderr] 54 | pub health_check_timeout: i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 55 | /// 服务注册超时时间(秒) [INFO] [stderr] 56 | pub deregister_critical_service_after: i32, // 秒 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Consul` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `developer` is never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Dev { [INFO] [stderr] | --- field in this struct [INFO] [stderr] 66 | pub developer: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Dev` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> looklapi/src/app/app_config.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 82 | pub struct AppConfig { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 83 | pub profile: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 84 | pub server: Server, [INFO] [stderr] 85 | pub mysql: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 86 | pub mssql: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 87 | pub mongodb: Option, [INFO] [stderr] 88 | pub redis: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 89 | pub rabbitmq: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 90 | pub consul: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 91 | pub logger: Logger, [INFO] [stderr] 92 | pub dev: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `backtrace` and `span_trace` are never read [INFO] [stderr] --> looklapi/src/app/app_err.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct AppError { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | backtrace: Backtrace, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 12 | span_trace: tracing_error::SpanTrace, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `message`, `backtrace`, and `span_trace` are never used [INFO] [stderr] --> looklapi/src/app/app_err.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl AppError { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 16 | pub fn new(message: &str) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn message(&self) -> &str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn backtrace(&self) -> &Backtrace { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn span_trace(&self) -> &tracing_error::SpanTrace { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `log` is never used [INFO] [stderr] --> looklapi/src/app/app_err.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 85 | impl AppError { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 86 | /// 记录日志 [INFO] [stderr] 87 | pub fn log(&self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `error` is never used [INFO] [stderr] --> looklapi/src/common/loggers/logger.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn error(err: &AppError) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `login_validator_middleware` is never used [INFO] [stderr] --> looklapi/src/controller/middleware/request_context_middleware.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | pub async fn login_validator_middleware( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `manager_validator_middleware` is never used [INFO] [stderr] --> looklapi/src/controller/middleware/request_context_middleware.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | pub async fn manager_validator_middleware( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `TestTrait` is never used [INFO] [stderr] --> looklapi/src/controller/test_controller.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | trait TestTrait { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Test` is never constructed [INFO] [stderr] --> looklapi/src/controller/test_controller.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct Test; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TestProxy` is never constructed [INFO] [stderr] --> looklapi/src/controller/test_controller.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | struct TestProxy { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `proxy_fn` and `other_fn` are never used [INFO] [stderr] --> looklapi/src/controller/test_controller.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 27 | impl TestProxy { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] 28 | fn proxy_fn(&self) -> Result<(), AppError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | fn other_fn(&self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HTTP_REQUEST_HEADER` is never used [INFO] [stderr] --> looklapi/src/request_context.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const HTTP_REQUEST_HEADER: HeaderName = HeaderName::from_static("http-request-header"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `HTTP_REQUEST_EXTENSIONS` is never used [INFO] [stderr] --> looklapi/src/request_context.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const HTTP_REQUEST_EXTENSIONS: HeaderName = HeaderName::from_static("http-request-extensions"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `login_info` is never read [INFO] [stderr] --> looklapi/src/request_context.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct RequestContext { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 10 | pub header: HeaderMap, [INFO] [stderr] 11 | pub login_info: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RequestContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `User` and `Admin` are never constructed [INFO] [stderr] --> looklapi/src/request_context.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum LoginInfo { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 17 | User(()), [INFO] [stderr] | ^^^^ [INFO] [stderr] 18 | Admin(()), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LoginInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `looklapi` (bin "looklapi" test) generated 32 warnings (run `cargo fix --bin "looklapi" -p looklapi --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/looklapi-41c0814932f53d9a) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/looklapi_macro-96e4d06010bdc16b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests looklapi_macro [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 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9875784c64259b7dc4fabeede97474846c4e437a11a67a4a9b3c1853bcfcbfa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9875784c64259b7dc4fabeede97474846c4e437a11a67a4a9b3c1853bcfcbfa0", kill_on_drop: false }` [INFO] [stdout] 9875784c64259b7dc4fabeede97474846c4e437a11a67a4a9b3c1853bcfcbfa0