pages build and deployment #90
pages-build-deployment
on: dynamic
build
35s
report-build-status
2s
deploy
8s
Annotations
40 errors and 33 warnings
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/tag.rs#L9
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/tag.rs:9:25
|
9 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs#L71
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs:71:33
|
71 | ... scopes,
| ^^^^^^ expected `IndexMap<String, String>`, found a different `IndexMap<String, String>`
|
= note: `IndexMap<String, String>` and `IndexMap<String, String>` have similar names, but are actually distinct types
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs#L62
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs:62:41
|
62 | ... scopes: scopes.clone(),
| ^^^^^^^^^^^^^^ expected `IndexMap<String, String>`, found a different `IndexMap<String, String>`
|
= note: `IndexMap<String, String>` and `IndexMap<String, String>` have similar names, but are actually distinct types
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs#L54
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs:54:41
|
54 | ... scopes: scopes.clone(),
| ^^^^^^^^^^^^^^ expected `IndexMap<String, String>`, found a different `IndexMap<String, String>`
|
= note: `IndexMap<String, String>` and `IndexMap<String, String>` have similar names, but are actually distinct types
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs#L46
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs:46:41
|
46 | ... scopes: scopes.clone(),
| ^^^^^^^^^^^^^^ expected `IndexMap<String, String>`, found a different `IndexMap<String, String>`
|
= note: `IndexMap<String, String>` and `IndexMap<String, String>` have similar names, but are actually distinct types
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, String>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs#L180
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs:180:31
|
180 | .fold(indexmap::IndexMap::new(), |mut i, b| {
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
| |
| arguments to this method are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs:178:21
|
178 | / properties
179 | | .iter()
180 | | .fold(indexmap::IndexMap::new(), |mut i, b| {
| | ------------------------- this argument influences the return type of `fold`
181 | | i.insert(b.0.to_string(), b.1.deref().clone().into());
182 | | i
183 | | })
| |__________________________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
type annotations needed:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs#L180
error[E0282]: type annotations needed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs:180:26
|
180 | .fold(indexmap::IndexMap::new(), |mut i, b| {
| ^^^^ cannot infer type of the type parameter `B` declared on the method `fold`
181 | i.insert(b.0.to_string(), b.1.deref().clone().into());
| - type must be known at this point
|
help: consider specifying the generic arguments
|
180 | .fold::<B, F>(indexmap::IndexMap::new(), |mut i, b| {
| ++++++++
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs#L33
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs:33:37
|
33 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L96
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:96:33
|
96 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L95
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:95:28
|
95 | links: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<Link>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L93
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:93:25
|
93 | map
| ^^^ expected `IndexMap<String, MediaType>`, found a different `IndexMap<String, MediaType>`
|
= note: `IndexMap<String, MediaType>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types
note: `IndexMap<String, MediaType>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, MediaType>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L75
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:75:30
|
75 | headers: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L59
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:59:20
|
59 | links: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<Link>>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<Link>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<Link>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L58
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:58:25
|
58 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L53
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:53:25
|
53 | map
| ^^^ expected `IndexMap<String, MediaType>`, found a different `IndexMap<String, MediaType>`
|
= note: `IndexMap<String, MediaType>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types
note: `IndexMap<String, MediaType>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, MediaType>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L16
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:16:23
|
16 | .fold(indexmap::IndexMap::new(), |mut i, b| {
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
| |
| arguments to this method are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:12:22
|
12 | headers: v2
| ______________________^
13 | | .response
14 | | .headers
15 | | .iter()
16 | | .fold(indexmap::IndexMap::new(), |mut i, b| {
| | ------------------------- this argument influences the return type of `fold`
... |
21 | | i
22 | | }),
| |__________________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
type annotations needed:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs#L16
error[E0282]: type annotations needed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs:16:18
|
16 | .fold(indexmap::IndexMap::new(), |mut i, b| {
| ^^^^ cannot infer type of the type parameter `B` declared on the method `fold`
17 | i.insert(
| - type must be known at this point
|
help: consider specifying the generic arguments
|
16 | .fold::<B, F>(indexmap::IndexMap::new(), |mut i, b| {
| ++++++++
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs#L57
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs:57:29
|
57 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs#L54
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs:54:21
|
54 | map
| ^^^ expected `IndexMap<String, MediaType>`, found a different `IndexMap<String, MediaType>`
|
= note: `IndexMap<String, MediaType>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types
note: `IndexMap<String, MediaType>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, MediaType>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs#L24
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs:24:25
|
24 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs#L22
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs:22:23
|
22 | examples: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/paths.rs#L29
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/paths.rs:29:25
|
29 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs#L124
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs:124:25
|
124 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
a value of type `Vec<indexmap::map::IndexMap<std::string::String, Vec<std::string::String>>>` cannot be built from an iterator over elements of type `IndexMap<std::string::String, Vec<std::string::String>>`:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs#L120
error[E0277]: a value of type `Vec<indexmap::map::IndexMap<std::string::String, Vec<std::string::String>>>` cannot be built from an iterator over elements of type `IndexMap<std::string::String, Vec<std::string::String>>`
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs:120:26
|
120 | .collect(),
| ^^^^^^^ value of type `Vec<indexmap::map::IndexMap<std::string::String, Vec<std::string::String>>>` cannot be built from `std::iter::Iterator<Item=IndexMap<std::string::String, Vec<std::string::String>>>`
|
= help: the trait `FromIterator<IndexMap<std::string::String, Vec<std::string::String>>>` is not implemented for `Vec<indexmap::map::IndexMap<std::string::String, Vec<std::string::String>>>`
= help: the trait `FromIterator<T>` is implemented for `Vec<T>`
note: the method call chain might not have had the expected associated types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs:114:26
|
112 | v2.security
| ----------- this expression has type `Vec<BTreeMap<String, Vec<String>>>`
113 | .iter()
| ------ `Iterator::Item` is `&BTreeMap<String, Vec<String>>` here
114 | .map(|s| {
| __________________________^
115 | | s.iter().fold(indexmap::IndexMap::new(), |mut i, (k, v)| {
116 | | i.insert(k.to_string(), v.clone());
117 | | i
118 | | })
119 | | })
| |__________________________^ `Iterator::Item` changed to `IndexMap<String, Vec<String>>` here
note: required by a bound in `collect`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:1891:5
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs#L91
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs:91:27
|
91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| {
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<StatusCode, ...>`, found `IndexMap<_, _>`
| |
| arguments to this method are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<StatusCode, ...>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<StatusCode, ...>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs:88:28
|
88 | responses: v2
| ____________________________^
89 | | .responses
90 | | .iter()
91 | | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| {
| | ------------------------- this argument influences the return type of `fold`
... |
103 | | i
104 | | }),
| |______________________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
type annotations needed:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs#L91
error[E0282]: type annotations needed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs:91:22
|
91 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| {
| ^^^^ cannot infer type of the type parameter `B` declared on the method `fold`
...
94 | i.insert(
| - type must be known at this point
|
help: consider specifying the generic arguments
|
91 | .fold::<B, F>(indexmap::IndexMap::new(), |mut i, (k, v)| {
| ++++++++
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs#L64
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:64:25
|
64 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs#L48
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:48:19
|
48 | .fold(indexmap::IndexMap::new(), |mut i, b| {
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
| |
| arguments to this method are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:45:30
|
45 | components.schemas = v2
| ______________________________^
46 | | .definitions
47 | | .iter()
48 | | .fold(indexmap::IndexMap::new(), |mut i, b| {
| | ------------------------- this argument influences the return type of `fold`
49 | | i.insert(b.0.to_string(), b.1.clone().into());
50 | | i
51 | | });
| |______________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs#L35
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:35:41
|
35 | paths: v2.paths.iter().fold(indexmap::IndexMap::new(), |mut i, b| {
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
| |
| arguments to this method are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:35:20
|
35 | paths: v2.paths.iter().fold(indexmap::IndexMap::new(), |mut i, b| {
| ^ ------------------------- this argument influences the return type of `fold`
| ____________________|
| |
36 | | i.insert(
37 | | b.0.to_string(),
38 | | openapiv3::ReferenceOr::Item(b.1.clone().into()),
39 | | );
40 | | i
41 | | }),
| |______________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs#L30
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:30:23
|
30 | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| {
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
| |
| arguments to this method are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:28:13
|
28 | / v2.extensions
29 | | .into_iter()
30 | | .fold(indexmap::IndexMap::new(), |mut i, (k, v)| {
| | ------------------------- this argument influences the return type of `fold`
31 | | i.insert(k, v);
32 | | i
33 | | });
| |__________________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs#L23
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:23:19
|
23 | .fold(indexmap::IndexMap::new(), |mut i, b| {
| ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
| |
| arguments to this method are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:20:32
|
20 | components.responses = v2
| ________________________________^
21 | | .responses
22 | | .iter()
23 | | .fold(indexmap::IndexMap::new(), |mut i, b| {
| | ------------------------- this argument influences the return type of `fold`
24 | | i.insert(b.0.to_string(), b.1.clone().into());
25 | | i
26 | | });
| |______________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
type annotations needed:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs#L23
error[E0282]: type annotations needed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/openapi.rs:23:14
|
23 | .fold(indexmap::IndexMap::new(), |mut i, b| {
| ^^^^ cannot infer type of the type parameter `B` declared on the method `fold`
24 | i.insert(b.0.to_string(), b.1.clone().into());
| - type must be known at this point
|
help: consider specifying the generic arguments
|
23 | .fold::<B, F>(indexmap::IndexMap::new(), |mut i, b| {
| ++++++++
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/license.rs#L8
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/license.rs:8:25
|
8 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/info.rs#L13
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/info.rs:13:17
|
12 | extensions: v2.extensions.into_iter().fold(
| ---- arguments to this method are incorrect
13 | indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
help: the return type of this call is `IndexMap<_, _>` due to the type of the argument passed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/info.rs:12:25
|
12 | extensions: v2.extensions.into_iter().fold(
| _________________________^
13 | | indexmap::IndexMap::new(),
| | ------------------------- this argument influences the return type of `fold`
14 | | |mut i, (k, v)| {
15 | | i.insert(k, v);
16 | | i
17 | | },
18 | | ),
| |_____________^
note: method defined here
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/iterator.rs:2474:8
|
type annotations needed:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/info.rs#L12
error[E0282]: type annotations needed
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/info.rs:12:51
|
12 | extensions: v2.extensions.into_iter().fold(
| ^^^^ cannot infer type of the type parameter `B` declared on the method `fold`
...
15 | i.insert(k, v);
| - type must be known at this point
|
help: consider specifying the generic arguments
|
12 | extensions: v2.extensions.into_iter().fold::<B, F>(
| ++++++++
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/header.rs#L13
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/header.rs:13:23
|
13 | examples: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, ReferenceOr<...>>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, ReferenceOr<...>>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, ReferenceOr<...>>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/header.rs#L12
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/header.rs:12:25
|
12 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/header.rs#L10
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/header.rs:10:66
|
10 | format: openapiv3::ParameterSchemaOrContent::Content(indexmap::IndexMap::new()),
| -------------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, MediaType>`, found `IndexMap<_, _>`
| |
| arguments to this enum variant are incorrect
|
= note: `IndexMap<_, _>` and `IndexMap<String, MediaType>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, MediaType>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openapiv3-1.0.3/src/parameter.rs:58:5
|
58 | Content(Content),
| ^^^^^^^
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/external_documentation.rs#L8
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/external_documentation.rs:8:25
|
8 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
mismatched types:
/home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/contact.rs#L9
error[E0308]: mismatched types
--> /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/contact.rs:9:25
|
9 | extensions: indexmap::IndexMap::new(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `IndexMap<String, Value>`, found `IndexMap<_, _>`
|
= note: `IndexMap<_, _>` and `IndexMap<String, Value>` have similar names, but are actually distinct types
note: `IndexMap<_, _>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.3/src/map.rs:71:1
|
71 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `IndexMap<String, Value>` is defined in crate `indexmap`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-2.0.0/src/map.rs:81:1
|
81 | pub struct IndexMap<K, V, S = RandomState> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `indexmap` are being used?
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
crates/rasn/src/ber/de.rs#L297
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> crates/rasn/src/ber/de.rs:297:41
|
297 | .map(|date| types::UtcTime::from_utc(date, chrono::Utc))
| ^^^^^^^^
|
use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead:
crates/rasn/src/ber/de.rs#L289
warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead
--> crates/rasn/src/ber/de.rs:289:85
|
289 | .map(|date| types::GeneralizedTime::from_utc(date, chrono::FixedOffset::east(0)))
| ^^^^
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
crates/rasn/src/ber/de.rs#L289
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> crates/rasn/src/ber/de.rs:289:49
|
289 | .map(|date| types::GeneralizedTime::from_utc(date, chrono::FixedOffset::east(0)))
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unused `tracing_subscriber::fmt::SubscriberBuilder` that must be used:
snmp-sim-cli/src/main.rs#L33
warning: unused `tracing_subscriber::fmt::SubscriberBuilder` that must be used
--> snmp-sim-cli/src/main.rs:33:9
|
33 | / tracing_subscriber::fmt()
34 | | .with_env_filter(filter)
35 | | .with_thread_names(true)
36 | | .with_ansi(false);
| |_____________________________^
|
= note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
|
33 | let _ = tracing_subscriber::fmt()
| +++++++
|
unnecessary closure used with `bool::then`:
crates/rasn/macros/src/asn_type.rs#L22
warning: unnecessary closure used with `bool::then`
--> crates/rasn/macros/src/asn_type.rs:22:37
|
22 | .filter_map(|(key, fields)| key.then(|| fields))
| ^^^^---------------
| |
| help: use `then_some(..)` instead: `then_some(fields)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
|
use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L142
warning: use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:142:32
|
142 | tail: CachePadded::new(Position {
| ^^^
|
use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L138
warning: use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:138:32
|
138 | head: CachePadded::new(Position {
| ^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L142
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:142:19
|
142 | tail: CachePadded::new(Position {
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L138
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:138:19
|
138 | head: CachePadded::new(Position {
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L131
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:131:11
|
131 | tail: CachePadded<Position<T>>,
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L128
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:128:11
|
128 | head: CachePadded<Position<T>>,
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L18
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:18:19
|
18 | use cache_padded::CachePadded;
| ^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L142
warning: use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:142:32
|
142 | tail: CachePadded::new(Position {
| ^^^
|
use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L138
warning: use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:138:32
|
138 | head: CachePadded::new(Position {
| ^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L142
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:142:19
|
142 | tail: CachePadded::new(Position {
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L138
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:138:19
|
138 | head: CachePadded::new(Position {
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L131
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:131:11
|
131 | tail: CachePadded<Position<T>>,
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L128
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:128:11
|
128 | head: CachePadded<Position<T>>,
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L18
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:18:19
|
18 | use cache_padded::CachePadded;
| ^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L142
warning: use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:142:32
|
142 | tail: CachePadded::new(Position {
| ^^^
|
use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L138
warning: use of deprecated associated function `cache_padded::CachePadded::<T>::new`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:138:32
|
138 | head: CachePadded::new(Position {
| ^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L142
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:142:19
|
142 | tail: CachePadded::new(Position {
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L138
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:138:19
|
138 | head: CachePadded::new(Position {
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L131
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:131:11
|
131 | tail: CachePadded<Position<T>>,
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L128
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:128:11
|
128 | head: CachePadded<Position<T>>,
| ^^^^^^^^^^^
|
use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).:
crates/actix-async/src/util/async_channel/unbounded.rs#L18
warning: use of deprecated struct `cache_padded::CachePadded`: This crate is now deprecated in favor of [crossbeam-utils::CachePadded](https://docs.rs/crossbeam-utils/latest/crossbeam_utils/struct.CachePadded.html).
--> crates/actix-async/src/util/async_channel/unbounded.rs:18:19
|
18 | use cache_padded::CachePadded;
| ^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
crates/rasn/src/ber/de.rs#L297
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> crates/rasn/src/ber/de.rs:297:41
|
297 | .map(|date| types::UtcTime::from_utc(date, chrono::Utc))
| ^^^^^^^^
|
use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead:
crates/rasn/src/ber/de.rs#L289
warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead
--> crates/rasn/src/ber/de.rs:289:85
|
289 | .map(|date| types::GeneralizedTime::from_utc(date, chrono::FixedOffset::east(0)))
| ^^^^
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
crates/rasn/src/ber/de.rs#L289
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> crates/rasn/src/ber/de.rs:289:49
|
289 | .map(|date| types::GeneralizedTime::from_utc(date, chrono::FixedOffset::east(0)))
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
crates/rasn/src/ber/de.rs#L297
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> crates/rasn/src/ber/de.rs:297:41
|
297 | .map(|date| types::UtcTime::from_utc(date, chrono::Utc))
| ^^^^^^^^
|
use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead:
crates/rasn/src/ber/de.rs#L289
warning: use of deprecated associated function `chrono::FixedOffset::east`: use `east_opt()` instead
--> crates/rasn/src/ber/de.rs:289:85
|
289 | .map(|date| types::GeneralizedTime::from_utc(date, chrono::FixedOffset::east(0)))
| ^^^^
|
use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead:
crates/rasn/src/ber/de.rs#L289
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> crates/rasn/src/ber/de.rs:289:49
|
289 | .map(|date| types::GeneralizedTime::from_utc(date, chrono::FixedOffset::east(0)))
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
unnecessary closure used with `bool::then`:
crates/rasn/macros/src/asn_type.rs#L22
warning: unnecessary closure used with `bool::then`
--> crates/rasn/macros/src/asn_type.rs:22:37
|
22 | .filter_map(|(key, fields)| key.then(|| fields))
| ^^^^---------------
| |
| help: use `then_some(..)` instead: `then_some(fields)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
github-pages
Expired
|
11.1 MB |
|