Skip to content

pages build and deployment #90

pages build and deployment

pages build and deployment #90

GitHub Actions / clippy failed Sep 4, 2023 in 1s

clippy

40 errors, 33 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 40
Warning 33
Note 0
Help 0

Versions

  • rustc 1.72.0 (5680fa18f 2023-08-23)
  • cargo 1.72.0 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (5680fa1 2023-08-23)

Annotations

Check failure on line 9 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/tag.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 71 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 62 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 54 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 46 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/security_scheme.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 180 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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

Check failure on line 180 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type annotations needed

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| {
    |                              ++++++++

Check failure on line 33 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/schema.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 96 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 95 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 93 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 75 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 59 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 58 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 53 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 16 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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

Check failure on line 16 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/response.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type annotations needed

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| {
   |                      ++++++++

Check failure on line 57 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 54 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 24 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 22 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/request_body.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 29 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/paths.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 124 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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?

Check failure on line 120 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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>>`

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

Check failure on line 91 in /home/runner/.cargo/git/checkouts/paperclip-fb302a8bf201258d/6222e33/core/src/v3/operation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

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