refactor: Form に AuthorizationGuardDefinitions を実装 #1349
ci.yaml
on: push
rustfmt check
17s
Lint and test server
2m 57s
Annotations
4 errors and 4 warnings
unused variable: `form_use_case`:
presentation/src/form_handler.rs#L63
error: unused variable: `form_use_case`
--> presentation/src/form_handler.rs:63:9
|
63 | let form_use_case = FormUseCase {
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_form_use_case`
|
unused variable: `offset_and_limit`:
presentation/src/form_handler.rs#L61
error: unused variable: `offset_and_limit`
--> presentation/src/form_handler.rs:61:11
|
61 | Query(offset_and_limit): Query<OffsetAndLimit>,
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_and_limit`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
this function depends on never type fallback being `()`:
presentation/src/form_handler.rs#L59
error: this function depends on never type fallback being `()`
--> presentation/src/form_handler.rs:59:1
|
59 | / pub async fn public_form_list_handler(
60 | | State(repository): State<RealInfrastructureRepository>,
61 | | Query(offset_and_limit): Query<OffsetAndLimit>,
62 | | ) -> impl IntoResponse {
| |______________________^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: axum::response::IntoResponse` will fail
--> presentation/src/form_handler.rs:62:24
|
62 | ) -> impl IntoResponse {
| ________________________^
63 | | let form_use_case = FormUseCase {
64 | | form_repository: repository.form_repository(),
65 | | notification_repository: repository.notification_repository(),
... |
76 | | // }
77 | | }
| |_^
= note: `-D dependency-on-unit-never-type-fallback` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dependency_on_unit_never_type_fallback)]`
|
Lint and test server
Clippy had exited with the 101 exit code:
Checking cfg-if v1.0.0
Checking libc v0.2.167
Checking memchr v2.7.4
Checking serde v1.0.216
Checking pin-project-lite v0.2.15
Checking smallvec v1.13.2
Checking once_cell v1.20.2
Checking itoa v1.0.14
Checking futures-core v0.3.31
Checking bytes v1.9.0
Checking zerofrom v0.1.5
Checking stable_deref_trait v1.2.0
Checking yoke v0.7.5
Checking getrandom v0.2.15
Checking futures-io v0.3.31
Checking zerovec v0.10.4
Checking slab v0.4.9
Checking futures-sink v0.3.31
Checking value-bag v1.10.0
Checking litemap v0.7.4
Checking writeable v0.5.5
Checking scopeguard v1.2.0
Checking lock_api v0.4.12
Checking log v0.4.22
Checking parking_lot_core v0.9.10
Checking byteorder v1.5.0
Checking ryu v1.0.18
Checking parking_lot v0.12.3
Checking tinystr v0.7.6
Checking zerocopy v0.7.35
Checking tracing-core v0.1.33
Checking icu_locid v1.5.0
Checking spin v0.9.8
Checking icu_locid_transform_data v1.5.0
Checking percent-encoding v2.3.1
Checking icu_provider v1.5.0
Checking form_urlencoded v1.2.1
Checking icu_collections v1.5.0
Checking socket2 v0.5.8
Checking serde_json v1.0.133
Checking icu_locid_transform v1.5.0
Checking mio v1.0.3
Checking signal-hook-registry v1.4.2
Checking icu_properties_data v1.5.0
Checking pin-utils v0.1.0
Checking tracing v0.1.41
Checking tokio v1.42.0
Checking futures-channel v0.3.31
Checking icu_properties v1.5.1
Checking icu_normalizer_data v1.5.0
Checking futures-task v0.3.31
Checking utf16_iter v1.0.5
Checking utf8_iter v1.0.4
Checking write16 v1.0.0
Checking futures-util v0.3.31
Checking libm v0.2.11
Checking uuid v1.11.0
Checking rand_core v0.6.4
Checking subtle v2.6.1
Checking num-traits v0.2.19
Checking icu_normalizer v1.5.0
Compiling num-conv v0.1.0
Checking idna_adapter v1.2.0
Checking powerfmt v0.2.0
Compiling time-core v0.1.2
Compiling time-macros v0.2.19
Checking deranged v0.3.11
Checking idna v1.0.3
Checking ppv-lite86 v0.2.20
Checking const-oid v0.9.6
Checking url v2.5.4
Checking rand_chacha v0.3.1
Checking typenum v1.17.0
Checking rand v0.8.5
Checking fnv v1.0.7
Checking crossbeam-utils v0.8.20
Checking generic-array v0.14.7
Checking thiserror v1.0.69
Checking zeroize v1.8.1
Checking hex v0.4.3
Checking concurrent-queue v2.5.0
Checking parking v2.2.1
Checking equivalent v1.0.1
Checking hashbrown v0.15.2
Checking http v1.2.0
Checking time v0.3.37
Checking crypto-common v0.1.6
Checking block-buffer v0.10.4
Checking digest v0.10.7
Checking num-integer v0.1.46
Checking indexmap v2.7.0
Checking bitflags v2.6.0
Checking�[
|
rustfmt check:
/home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/form/models.rs#L926
Original:
```
```
Expected:
```
use super::*;
```
|
rustfmt check:
/home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/form/models.rs#L924
Original:
```
use super::*;
```
Expected:
```
```
|
rustfmt check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint and test server
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|