[INFO] cloning repository https://github.com/X3ne/matcha [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/X3ne/matcha" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FX3ne%2Fmatcha", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FX3ne%2Fmatcha'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6651b78692a309651d0a8bebe3813b49a4bcedb9 [INFO] testing X3ne/matcha against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FX3ne%2Fmatcha" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/X3ne/matcha on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/X3ne/matcha [INFO] finished tweaking git repo https://github.com/X3ne/matcha [INFO] tweaked toml for git repo https://github.com/X3ne/matcha written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/X3ne/matcha 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded opentelemetry_sdk v0.26.0 [INFO] [stderr] Downloaded opentelemetry v0.26.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.27.0 [INFO] [stderr] Downloaded zxcvbn v3.1.0 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded garde_derive v0.20.0 [INFO] [stderr] Downloaded garde v0.20.0 [INFO] [stderr] Downloaded garde-actix-web v0.9.0 [INFO] [stderr] Downloaded apistos-gen v0.3.6 [INFO] [stderr] Downloaded apistos-models v0.3.6 [INFO] [stderr] Downloaded apistos-plugins v0.3.6 [INFO] [stderr] Downloaded proc_macro2_helper v0.2.10 [INFO] [stderr] Downloaded apistos-scalar v0.3.6 [INFO] [stderr] Downloaded rand_derive2 v0.1.21 [INFO] [stderr] Downloaded garde v0.21.0 [INFO] [stderr] Downloaded garde_derive v0.21.0 [INFO] [stderr] Downloaded apistos-core v0.3.6 [INFO] [stderr] Downloaded apistos v0.3.6 [INFO] [stderr] Downloaded apistos-swagger-ui v0.3.6 [INFO] [stderr] Downloaded apistos-core v0.4.2 [INFO] [stderr] Downloaded apistos-gen v0.4.2 [INFO] [stderr] Downloaded apistos-models v0.4.2 [INFO] [stderr] Downloaded apistos-plugins v0.4.2 [INFO] [stderr] Downloaded apistos v0.4.2 [INFO] [stderr] Downloaded config v0.15.4 [INFO] [stderr] Downloaded fake v3.1.0 [INFO] [stderr] Downloaded postgres-protocol v0.6.7 [INFO] [stderr] Downloaded postgres-types v0.2.8 [INFO] [stderr] Downloaded apistos-redoc v0.3.6 [INFO] [stderr] Downloaded wkt v0.11.1 [INFO] [stderr] Downloaded apistos-scalar v0.4.2 [INFO] [stderr] Downloaded geozero v0.14.0 [INFO] [stderr] Downloaded apistos-schemars_derive v0.8.21 [INFO] [stderr] Downloaded apistos-schemars v0.8.21 [INFO] [stderr] Downloaded phf_codegen v0.11.3 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded opentelemetry-proto v0.26.1 [INFO] [stderr] Downloaded hyper-timeout v0.5.2 [INFO] [stderr] Downloaded tonic v0.12.3 [INFO] [stderr] Downloaded opentelemetry-otlp v0.26.0 [INFO] [stderr] Downloaded rs-snowflake v0.6.0 [INFO] [stderr] Downloaded impl-more v0.1.9 [INFO] [stderr] Downloaded tracing-actix-web v0.7.15 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.10 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded yaml-rust2 v0.9.0 [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] [stderr] Downloaded email-encoding v0.3.1 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded lettre v0.11.11 [INFO] [stderr] Downloaded parse-size v1.1.0 [INFO] [stderr] Downloaded actix-multipart v0.6.2 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39932dfb69f798e12171809ec22b61b202bef48c3cc6dbe3914aa2def7bfe08a [INFO] running `Command { std: "docker" "start" "-a" "39932dfb69f798e12171809ec22b61b202bef48c3cc6dbe3914aa2def7bfe08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39932dfb69f798e12171809ec22b61b202bef48c3cc6dbe3914aa2def7bfe08a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39932dfb69f798e12171809ec22b61b202bef48c3cc6dbe3914aa2def7bfe08a", kill_on_drop: false }` [INFO] [stdout] 39932dfb69f798e12171809ec22b61b202bef48c3cc6dbe3914aa2def7bfe08a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a28923fc999afd0b752bde26330a9a9c43236623a34b565fd3e4814698f6d59c [INFO] running `Command { std: "docker" "start" "-a" "a28923fc999afd0b752bde26330a9a9c43236623a34b565fd3e4814698f6d59c", 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.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling icu_properties_data v1.5.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 serde_json v1.0.135 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustls v0.23.20 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling apistos-schemars v0.8.21 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling opentelemetry v0.26.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling apistos-schemars_derive v0.8.21 [INFO] [stderr] Compiling garde_derive v0.20.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling parse-size v1.1.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling actix-multipart-derive v0.6.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling geo-types v0.7.14 [INFO] [stderr] Compiling geozero v0.14.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling wkt v0.11.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling garde_derive v0.21.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling garde v0.20.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling geojson v0.24.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling proc_macro2_helper v0.2.10 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling prost-derive v0.13.4 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling mutually_exclusive_features v0.1.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling rand_derive2 v0.1.21 [INFO] [stderr] Compiling zxcvbn v3.1.0 [INFO] [stderr] Compiling garde v0.21.0 [INFO] [stderr] Compiling apistos-models v0.4.2 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling tracing-bunyan-formatter v0.3.10 [INFO] [stderr] Compiling rs-snowflake v0.6.0 [INFO] [stderr] Compiling config v0.15.4 [INFO] [stderr] Compiling prost v0.13.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling opentelemetry_sdk v0.26.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tracing-opentelemetry v0.27.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.3 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling opentelemetry-proto v0.26.1 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling opentelemetry-otlp v0.26.0 [INFO] [stderr] Compiling oauth2 v0.1.0 (/opt/rustwide/workdir/crates/oauth2) [INFO] [stderr] Compiling apistos-gen v0.4.2 [INFO] [stderr] Compiling actix-multipart v0.6.2 [INFO] [stderr] Compiling garde-actix-web v0.9.0 [INFO] [stderr] Compiling apistos-plugins v0.4.2 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling tracing-actix-web v0.7.15 [INFO] [stderr] Compiling apistos-scalar v0.4.2 [INFO] [stderr] Compiling apistos-core v0.4.2 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling apistos v0.4.2 [INFO] [stderr] Compiling matcha-back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stdout] --> src/presentation/dto/auth_dto.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stdout] --> src/presentation/dto/auth_dto.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::types::snowflake::Snowflake` [INFO] [stdout] --> src/services/auth_service.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::shared::types::snowflake::Snowflake; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_infos` [INFO] [stdout] --> src/presentation/controllers/auth_controller.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | peer_infos: PeerInfos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_infos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/presentation/controllers/user_controller.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let profile = user_profile_service [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/infrastructure/repositories/oauth_provider_repo.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Acquire, Executor, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted_account` [INFO] [stdout] --> src/infrastructure/repositories/oauth_account_repo.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let deleted_account = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:52 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/services/auth_service.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let user = match provider_account { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEMPLATE_DIR` is never used [INFO] [stdout] --> src/domain/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TEMPLATE_DIR: &str = "templates/email"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/domain/entities/oauth_account.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OAuthAccount { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub user_id: Snowflake, [INFO] [stdout] 8 | pub provider_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub provider_user_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub expires_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub updated_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `email` are never read [INFO] [stdout] --> src/domain/entities/user.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PartialUser { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartialUser` 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 functions `get_by_id`, `get_by_user_id`, `update`, and `delete` are never used [INFO] [stdout] --> src/domain/repositories/oauth_account_repo.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait OAuthAccountRepository: Send + Sync { [INFO] [stdout] | ---------------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | async fn get_by_user_id<'a, A>(conn: A, user_id: Snowflake) -> sqlx::Result, sqlx::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_by_id`, `get_all`, `update`, and `delete` are never used [INFO] [stdout] --> src/domain/repositories/oauth_provider_repo.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait OAuthProviderRepository { [INFO] [stdout] | ----------------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | async fn get_all<'a, A>(conn: A) -> sqlx::Result, sqlx::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `limit` and `offset` are never used [INFO] [stdout] --> src/domain/repositories/repository.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait QueryParams: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 13 | fn limit(&self) -> i64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | fn offset(&self) -> i64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/domain/repositories/user_profile_repo.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait UserProfileRepository: Send + Sync { [INFO] [stdout] | --------------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_by_email` and `delete` are never used [INFO] [stdout] --> src/domain/repositories/user_repo.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait UserRepository: Send + Sync { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | async fn get_by_email<'a, A>(conn: A, email: &str) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdate` is never constructed [INFO] [stdout] --> src/infrastructure/models/user.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserUpdate` 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 fields are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct UserProfileUpdate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 96 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub avatar_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 98 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 99 | pub age: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 100 | pub gender: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 101 | pub sexual_orientation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | pub rating: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct ProfileTagSqlx { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 108 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `profile_tag_id`, and `created_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct UserProfileTagSqlx { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 114 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 115 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub profile_tag_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProfileTagInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct UserProfileTagInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileTagInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `viewer_profile_id`, and `viewed_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProfileView { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 128 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 129 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | pub viewer_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | pub viewed_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileViewInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct ProfileViewInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileViewInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `liker_profile_id`, and `liked_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ProfileLike { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 142 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 143 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub liker_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub liked_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileLike` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileLikeInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ProfileLikeInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileLikeInsert` 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 functions `from_user` and `from_partial_user` are never used [INFO] [stdout] --> src/presentation/dto/user_dto.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PartialUserDto { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn from_user(user: User) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn from_partial_user(partial_user: PartialUser) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user` and `is_authenticated` are never used [INFO] [stdout] --> src/presentation/extractors/auth_extractor.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn user(&self) -> Option<&User> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PlatformHeader(String); [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PlatformHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PlatformHeader { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 14 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct VersionHeader(String); [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VersionHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl VersionHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 36 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ProductHeader(String); [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ProductHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ProductHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 58 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/auth_service.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl AuthServiceImpl { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/user_profile_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UserProfileServiceImpl { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/user_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UserServiceImpl { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip_address`, `user_agent`, `product`, `version`, and `platform` are never read [INFO] [stdout] --> src/shared/types/peer_infos.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PeerInfos { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | pub ip_address: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | pub product: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub platform: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 34s [INFO] running `Command { std: "docker" "inspect" "a28923fc999afd0b752bde26330a9a9c43236623a34b565fd3e4814698f6d59c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a28923fc999afd0b752bde26330a9a9c43236623a34b565fd3e4814698f6d59c", kill_on_drop: false }` [INFO] [stdout] a28923fc999afd0b752bde26330a9a9c43236623a34b565fd3e4814698f6d59c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5878d2b8795b741ea24a826e90af3c0be0e730197a28207929197a94a677847a [INFO] running `Command { std: "docker" "start" "-a" "5878d2b8795b741ea24a826e90af3c0be0e730197a28207929197a94a677847a", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stdout] --> src/presentation/dto/auth_dto.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stdout] --> src/presentation/dto/auth_dto.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::types::snowflake::Snowflake` [INFO] [stdout] --> src/services/auth_service.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::shared::types::snowflake::Snowflake; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_infos` [INFO] [stdout] --> src/presentation/controllers/auth_controller.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | peer_infos: PeerInfos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_infos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/presentation/controllers/user_controller.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let profile = user_profile_service [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/infrastructure/repositories/oauth_provider_repo.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Acquire, Executor, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted_account` [INFO] [stdout] --> src/infrastructure/repositories/oauth_account_repo.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let deleted_account = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:52 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/services/auth_service.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let user = match provider_account { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEMPLATE_DIR` is never used [INFO] [stdout] --> src/domain/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TEMPLATE_DIR: &str = "templates/email"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/domain/entities/oauth_account.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OAuthAccount { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub user_id: Snowflake, [INFO] [stdout] 8 | pub provider_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub provider_user_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub expires_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub updated_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `email` are never read [INFO] [stdout] --> src/domain/entities/user.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PartialUser { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartialUser` 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 functions `get_by_id`, `get_by_user_id`, `update`, and `delete` are never used [INFO] [stdout] --> src/domain/repositories/oauth_account_repo.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait OAuthAccountRepository: Send + Sync { [INFO] [stdout] | ---------------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | async fn get_by_user_id<'a, A>(conn: A, user_id: Snowflake) -> sqlx::Result, sqlx::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_by_id`, `get_all`, `update`, and `delete` are never used [INFO] [stdout] --> src/domain/repositories/oauth_provider_repo.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait OAuthProviderRepository { [INFO] [stdout] | ----------------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | async fn get_all<'a, A>(conn: A) -> sqlx::Result, sqlx::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `limit` and `offset` are never used [INFO] [stdout] --> src/domain/repositories/repository.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait QueryParams: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 13 | fn limit(&self) -> i64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | fn offset(&self) -> i64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/domain/repositories/user_profile_repo.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait UserProfileRepository: Send + Sync { [INFO] [stdout] | --------------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_by_email` and `delete` are never used [INFO] [stdout] --> src/domain/repositories/user_repo.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait UserRepository: Send + Sync { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | async fn get_by_email<'a, A>(conn: A, email: &str) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdate` is never constructed [INFO] [stdout] --> src/infrastructure/models/user.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserUpdate` 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 fields are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct UserProfileUpdate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 96 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub avatar_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 98 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 99 | pub age: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 100 | pub gender: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 101 | pub sexual_orientation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | pub rating: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct ProfileTagSqlx { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 108 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `profile_tag_id`, and `created_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct UserProfileTagSqlx { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 114 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 115 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub profile_tag_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProfileTagInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct UserProfileTagInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileTagInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `viewer_profile_id`, and `viewed_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProfileView { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 128 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 129 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | pub viewer_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | pub viewed_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileViewInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct ProfileViewInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileViewInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `liker_profile_id`, and `liked_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ProfileLike { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 142 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 143 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub liker_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub liked_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileLike` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileLikeInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ProfileLikeInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileLikeInsert` 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 functions `from_user` and `from_partial_user` are never used [INFO] [stdout] --> src/presentation/dto/user_dto.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PartialUserDto { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn from_user(user: User) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn from_partial_user(partial_user: PartialUser) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user` and `is_authenticated` are never used [INFO] [stdout] --> src/presentation/extractors/auth_extractor.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn user(&self) -> Option<&User> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling matcha-back v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PlatformHeader(String); [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PlatformHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PlatformHeader { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 14 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct VersionHeader(String); [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VersionHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl VersionHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 36 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ProductHeader(String); [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ProductHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ProductHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 58 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/auth_service.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl AuthServiceImpl { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/user_profile_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UserProfileServiceImpl { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/user_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UserServiceImpl { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip_address`, `user_agent`, `product`, `version`, and `platform` are never read [INFO] [stdout] --> src/shared/types/peer_infos.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PeerInfos { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | pub ip_address: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | pub product: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub platform: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stdout] --> src/presentation/dto/auth_dto.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stdout] --> src/presentation/dto/auth_dto.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shared::types::snowflake::Snowflake` [INFO] [stdout] --> src/services/auth_service.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::shared::types::snowflake::Snowflake; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_infos` [INFO] [stdout] --> src/presentation/controllers/auth_controller.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | peer_infos: PeerInfos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_infos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/presentation/controllers/user_controller.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let profile = user_profile_service [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Executor` [INFO] [stdout] --> src/infrastructure/repositories/oauth_provider_repo.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx::{Acquire, Executor, Postgres}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted_account` [INFO] [stdout] --> src/infrastructure/repositories/oauth_account_repo.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let deleted_account = sqlx::query_as!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `profile` [INFO] [stdout] --> src/infrastructure/repositories/user_profile.rs:153:52 [INFO] [stdout] | [INFO] [stdout] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/services/auth_service.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let user = match provider_account { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEMPLATE_DIR` is never used [INFO] [stdout] --> src/domain/constants.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const TEMPLATE_DIR: &str = "templates/email"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/domain/entities/oauth_account.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct OAuthAccount { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 6 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub user_id: Snowflake, [INFO] [stdout] 8 | pub provider_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub provider_user_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub refresh_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub expires_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub updated_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAuthAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `email` are never read [INFO] [stdout] --> src/domain/entities/user.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct PartialUser { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 37 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartialUser` 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 functions `get_by_id`, `get_by_user_id`, `update`, and `delete` are never used [INFO] [stdout] --> src/domain/repositories/oauth_account_repo.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait OAuthAccountRepository: Send + Sync { [INFO] [stdout] | ---------------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | async fn get_by_user_id<'a, A>(conn: A, user_id: Snowflake) -> sqlx::Result, sqlx::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_by_id`, `get_all`, `update`, and `delete` are never used [INFO] [stdout] --> src/domain/repositories/oauth_provider_repo.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait OAuthProviderRepository { [INFO] [stdout] | ----------------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | async fn get_all<'a, A>(conn: A) -> sqlx::Result, sqlx::Error> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `limit` and `offset` are never used [INFO] [stdout] --> src/domain/repositories/repository.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait QueryParams: Send + Sync { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 13 | fn limit(&self) -> i64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | fn offset(&self) -> i64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update` is never used [INFO] [stdout] --> src/domain/repositories/user_profile_repo.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait UserProfileRepository: Send + Sync { [INFO] [stdout] | --------------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | async fn update<'a, A>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get_by_email` and `delete` are never used [INFO] [stdout] --> src/domain/repositories/user_repo.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait UserRepository: Send + Sync { [INFO] [stdout] | -------------- associated functions in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | async fn get_by_email<'a, A>(conn: A, email: &str) -> sqlx::Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserUpdate` is never constructed [INFO] [stdout] --> src/infrastructure/models/user.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct UserUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserUpdate` 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 fields are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct UserProfileUpdate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 96 | pub name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 97 | pub avatar_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 98 | pub bio: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 99 | pub age: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 100 | pub gender: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 101 | pub sexual_orientation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | pub location: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 103 | pub rating: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct ProfileTagSqlx { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 108 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 109 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `profile_tag_id`, and `created_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct UserProfileTagSqlx { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 114 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 115 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub profile_tag_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub created_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserProfileTagInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct UserProfileTagInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserProfileTagInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `viewer_profile_id`, and `viewed_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct ProfileView { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 128 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 129 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 130 | pub viewer_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | pub viewed_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileViewInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct ProfileViewInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileViewInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `user_profile_id`, `liker_profile_id`, and `liked_at` are never read [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ProfileLike { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 142 | pub id: Snowflake, [INFO] [stdout] | ^^ [INFO] [stdout] 143 | pub user_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub liker_profile_id: Snowflake, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub liked_at: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileLike` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProfileLikeInsert` is never constructed [INFO] [stdout] --> src/infrastructure/models/user_profile.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct ProfileLikeInsert { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProfileLikeInsert` 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 functions `from_user` and `from_partial_user` are never used [INFO] [stdout] --> src/presentation/dto/user_dto.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PartialUserDto { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 38 | pub fn from_user(user: User) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn from_partial_user(partial_user: PartialUser) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `user` and `is_authenticated` are never used [INFO] [stdout] --> src/presentation/extractors/auth_extractor.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Session { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn user(&self) -> Option<&User> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PlatformHeader(String); [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `PlatformHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PlatformHeader { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 14 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct VersionHeader(String); [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `VersionHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl VersionHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 36 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ProductHeader(String); [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `ProductHeader` 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: method `inner` is never used [INFO] [stdout] --> src/presentation/extractors/headers_extractor.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl ProductHeader { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 58 | pub fn inner(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/auth_service.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl AuthServiceImpl { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/user_profile_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UserProfileServiceImpl { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/services/user_service.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl UserServiceImpl { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip_address`, `user_agent`, `product`, `version`, and `platform` are never read [INFO] [stdout] --> src/shared/types/peer_infos.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PeerInfos { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | pub ip_address: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | pub user_agent: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | pub product: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub platform: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.50s [INFO] running `Command { std: "docker" "inspect" "5878d2b8795b741ea24a826e90af3c0be0e730197a28207929197a94a677847a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5878d2b8795b741ea24a826e90af3c0be0e730197a28207929197a94a677847a", kill_on_drop: false }` [INFO] [stdout] 5878d2b8795b741ea24a826e90af3c0be0e730197a28207929197a94a677847a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79157545f7e3e642a23f59301541e7b4db6032d33e620842b6dde9cc3b7cb675 [INFO] running `Command { std: "docker" "start" "-a" "79157545f7e3e642a23f59301541e7b4db6032d33e620842b6dde9cc3b7cb675", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stderr] --> src/presentation/dto/auth_dto.rs:9:56 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `js-sys` [INFO] [stderr] --> src/presentation/dto/auth_dto.rs:37:56 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Deserialize, Debug, ApiComponent, JsonSchema, Validate)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `fake`, `faker`, `lettre`, `mail-template`, and `mailing` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Validate` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Validate` may come from an old version of the `garde_derive` crate, try updating your dependency with `cargo update -p garde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Validate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::shared::types::snowflake::Snowflake` [INFO] [stderr] --> src/services/auth_service.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | use crate::shared::types::snowflake::Snowflake; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `peer_infos` [INFO] [stderr] --> src/presentation/controllers/auth_controller.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | peer_infos: PeerInfos, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_infos` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `profile` [INFO] [stderr] --> src/presentation/controllers/user_controller.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let profile = user_profile_service [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Executor` [INFO] [stderr] --> src/infrastructure/repositories/oauth_provider_repo.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use sqlx::{Acquire, Executor, Postgres}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deleted_account` [INFO] [stderr] --> src/infrastructure/repositories/oauth_account_repo.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | let deleted_account = sqlx::query_as!( [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deleted_account` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `conn` [INFO] [stderr] --> src/infrastructure/repositories/user_profile.rs:153:28 [INFO] [stderr] | [INFO] [stderr] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/infrastructure/repositories/user_profile.rs:153:37 [INFO] [stderr] | [INFO] [stderr] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `profile` [INFO] [stderr] --> src/infrastructure/repositories/user_profile.rs:153:52 [INFO] [stderr] | [INFO] [stderr] 153 | async fn update<'a, A>(conn: A, id: Snowflake, profile: UserProfileUpdate) -> sqlx::Result [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_profile` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/services/auth_service.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | let user = match provider_account { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: constant `TEMPLATE_DIR` is never used [INFO] [stderr] --> src/domain/constants.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const TEMPLATE_DIR: &str = "templates/email"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/domain/entities/oauth_account.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct OAuthAccount { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 6 | pub id: Snowflake, [INFO] [stderr] | ^^ [INFO] [stderr] 7 | pub user_id: Snowflake, [INFO] [stderr] 8 | pub provider_id: Snowflake, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 9 | pub provider_user_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | pub access_token: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 11 | pub refresh_token: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 12 | pub expires_at: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 13 | pub created_at: chrono::NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 14 | pub updated_at: chrono::NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OAuthAccount` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `email` are never read [INFO] [stderr] --> src/domain/entities/user.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct PartialUser { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 37 | pub id: Snowflake, [INFO] [stderr] | ^^ [INFO] [stderr] 38 | pub email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PartialUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `get_by_id`, `get_by_user_id`, `update`, and `delete` are never used [INFO] [stderr] --> src/domain/repositories/oauth_account_repo.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub trait OAuthAccountRepository: Send + Sync { [INFO] [stderr] | ---------------------- associated functions in this trait [INFO] [stderr] ... [INFO] [stderr] 15 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | async fn get_by_user_id<'a, A>(conn: A, user_id: Snowflake) -> sqlx::Result, sqlx::Error> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 31 | async fn update<'a, A>( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `get_by_id`, `get_all`, `update`, and `delete` are never used [INFO] [stderr] --> src/domain/repositories/oauth_provider_repo.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait OAuthProviderRepository { [INFO] [stderr] | ----------------------- associated functions in this trait [INFO] [stderr] ... [INFO] [stderr] 14 | async fn get_by_id<'a, A>(conn: A, id: Snowflake) -> sqlx::Result [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | async fn get_all<'a, A>(conn: A) -> sqlx::Result, sqlx::Error> [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | async fn update<'a, A>( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `limit` and `offset` are never used [INFO] [stderr] --> src/domain/repositories/repository.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub trait QueryParams: Send + Sync { [INFO] [stderr] | ----------- methods in this trait [INFO] [stderr] 13 | fn limit(&self) -> i64; [INFO] [stderr] | ^^^^^ [INFO] [stderr] 14 | fn offset(&self) -> i64; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `update` is never used [INFO] [stderr] --> src/domain/repositories/user_profile_repo.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub trait UserProfileRepository: Send + Sync { [INFO] [stderr] | --------------------- associated function in this trait [INFO] [stderr] ... [INFO] [stderr] 39 | async fn update<'a, A>( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `get_by_email` and `delete` are never used [INFO] [stderr] --> src/domain/repositories/user_repo.rs:35:14 [INFO] [stderr] | [INFO] [stderr] 26 | pub trait UserRepository: Send + Sync { [INFO] [stderr] | -------------- associated functions in this trait [INFO] [stderr] ... [INFO] [stderr] 35 | async fn get_by_email<'a, A>(conn: A, email: &str) -> sqlx::Result [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | async fn delete<'a, A>(conn: A, id: Snowflake) -> sqlx::Result<(), sqlx::Error> [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserUpdate` is never constructed [INFO] [stderr] --> src/infrastructure/models/user.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct UserUpdate { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 95 | pub struct UserProfileUpdate { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 96 | pub name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 97 | pub avatar_hash: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 98 | pub bio: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 99 | pub age: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 100 | pub gender: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 101 | pub sexual_orientation: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 102 | pub location: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 103 | pub rating: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserProfileUpdate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id` and `name` are never read [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 107 | pub struct ProfileTagSqlx { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 108 | pub id: Snowflake, [INFO] [stderr] | ^^ [INFO] [stderr] 109 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `user_profile_id`, `profile_tag_id`, and `created_at` are never read [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 113 | pub struct UserProfileTagSqlx { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 114 | pub id: Snowflake, [INFO] [stderr] | ^^ [INFO] [stderr] 115 | pub user_profile_id: Snowflake, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 116 | pub profile_tag_id: Snowflake, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 117 | pub created_at: chrono::NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserProfileTagSqlx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `UserProfileTagInsert` is never constructed [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 121 | pub struct UserProfileTagInsert { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UserProfileTagInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `user_profile_id`, `viewer_profile_id`, and `viewed_at` are never read [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 127 | pub struct ProfileView { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 128 | pub id: Snowflake, [INFO] [stderr] | ^^ [INFO] [stderr] 129 | pub user_profile_id: Snowflake, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 130 | pub viewer_profile_id: Snowflake, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 131 | pub viewed_at: chrono::NaiveDateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProfileView` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ProfileViewInsert` is never constructed [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:135:12 [INFO] [stderr] | [INFO] [stderr] 135 | pub struct ProfileViewInsert { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProfileViewInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `user_profile_id`, `liker_profile_id`, and `liked_at` are never read [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 141 | pub struct ProfileLike { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 142 | pub id: Snowflake, [INFO] [stderr] | ^^ [INFO] [stderr] 143 | pub user_profile_id: Snowflake, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 144 | pub liker_profile_id: Snowflake, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 145 | pub liked_at: chrono::NaiveDateTime, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProfileLike` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `ProfileLikeInsert` is never constructed [INFO] [stderr] --> src/infrastructure/models/user_profile.rs:149:12 [INFO] [stderr] | [INFO] [stderr] 149 | pub struct ProfileLikeInsert { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProfileLikeInsert` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `from_user` and `from_partial_user` are never used [INFO] [stderr] --> src/presentation/dto/user_dto.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 37 | impl PartialUserDto { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] 38 | pub fn from_user(user: User) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn from_partial_user(partial_user: PartialUser) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `user` and `is_authenticated` are never used [INFO] [stderr] --> src/presentation/extractors/auth_extractor.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl Session { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn user(&self) -> Option<&User> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn is_authenticated(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/presentation/extractors/headers_extractor.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct PlatformHeader(String); [INFO] [stderr] | -------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `PlatformHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `inner` is never used [INFO] [stderr] --> src/presentation/extractors/headers_extractor.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl PlatformHeader { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 14 | pub fn inner(&self) -> &str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/presentation/extractors/headers_extractor.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct VersionHeader(String); [INFO] [stderr] | ------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `VersionHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `inner` is never used [INFO] [stderr] --> src/presentation/extractors/headers_extractor.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl VersionHeader { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 36 | pub fn inner(&self) -> &str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/presentation/extractors/headers_extractor.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct ProductHeader(String); [INFO] [stderr] | ------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `ProductHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `inner` is never used [INFO] [stderr] --> src/presentation/extractors/headers_extractor.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl ProductHeader { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 58 | pub fn inner(&self) -> &str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/services/auth_service.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl AuthServiceImpl { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 35 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/services/user_profile_service.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl UserProfileServiceImpl { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/services/user_service.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl UserServiceImpl { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 19 | pub fn new(pool: Arc) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `ip_address`, `user_agent`, `product`, `version`, and `platform` are never read [INFO] [stderr] --> src/shared/types/peer_infos.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct PeerInfos { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 5 | pub ip_address: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 6 | pub user_agent: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 7 | pub product: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 8 | pub version: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 9 | pub platform: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PeerInfos` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `matcha-back` (lib) generated 40 warnings (run `cargo fix --lib -p matcha-back` to apply 1 suggestion) [INFO] [stderr] warning: `matcha-back` (lib test) generated 40 warnings (40 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/matcha_back-21a1e04992a855ce) [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/main.rs (/opt/rustwide/target/debug/deps/matcha_back-9ef2308732c95947) [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] Doc-tests matcha_back [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" "79157545f7e3e642a23f59301541e7b4db6032d33e620842b6dde9cc3b7cb675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79157545f7e3e642a23f59301541e7b4db6032d33e620842b6dde9cc3b7cb675", kill_on_drop: false }` [INFO] [stdout] 79157545f7e3e642a23f59301541e7b4db6032d33e620842b6dde9cc3b7cb675