add routes endpoint #70
Annotations
2 errors and 1 warning
Create binary for x86_64-unknown-linux-gnu:
fpx/src/config.rs#L24
[clippy] reported by reviewdog 🐶
error[E0277]: the trait bound `url::Url: schemars::JsonSchema` is not satisfied
--> fpx/src/config.rs:24:23
|
24 | pub app_endpoint: Option<Url>,
| ^^^^^^^^^^^ the trait `schemars::JsonSchema` is not implemented for `url::Url`, which is required by `std::option::Option<url::Url>: schemars::JsonSchema`
|
= help: the following other types implement trait `schemars::JsonSchema`:
&'a T
&'a mut T
()
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
(T0, T1, T2, T3, T4, T5)
and 201 others
= note: required for `std::option::Option<url::Url>` to implement `schemars::JsonSchema`
note: required by a bound in `schemars::_private::insert_object_property`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/schemars-0.8.21/src/_private.rs:126:43
|
126 | pub fn insert_object_property<T: ?Sized + JsonSchema>(
| ^^^^^^^^^^ required by this bound in `insert_object_property`
Raw Output:
fpx/src/config.rs:24:23:e:error[E0277]: the trait bound `url::Url: schemars::JsonSchema` is not satisfied
--> fpx/src/config.rs:24:23
|
24 | pub app_endpoint: Option<Url>,
| ^^^^^^^^^^^ the trait `schemars::JsonSchema` is not implemented for `url::Url`, which is required by `std::option::Option<url::Url>: schemars::JsonSchema`
|
= help: the following other types implement trait `schemars::JsonSchema`:
&'a T
&'a mut T
()
(T0, T1)
(T0, T1, T2)
(T0, T1, T2, T3)
(T0, T1, T2, T3, T4)
(T0, T1, T2, T3, T4, T5)
and 201 others
= note: required for `std::option::Option<url::Url>` to implement `schemars::JsonSchema`
note: required by a bound in `schemars::_private::insert_object_property`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/schemars-0.8.21/src/_private.rs:126:43
|
126 | pub fn insert_object_property<T: ?Sized + JsonSchema>(
| ^^^^^^^^^^ required by this bound in `insert_object_property`
__END__
|
Create binary for x86_64-unknown-linux-gnu
reviewdog exited with status code: 1
|
Create binary for x86_64-unknown-linux-gnu
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|